Giter Club home page Giter Club logo

initramfs_samsung_galaxy_s4's Introduction

Initramfs for Samsung Galaxy S4 Series Kernels

Including GT-I9500, GT-I9502 and SCH-I959

How to Use:

1. Compile a zImage
    cd {your source}/
    edit make_kernel.sh change i9502 to i9500 or i959 which should be your device.
    ./make_kernel.sh
2. To make a initramfs cpio image
    cp -a {your device}/boot-ramdisk {your place}/
    cd {your source}/
    find -name 'zImage' -exec cp -av {} {your place}/ \;
    find -name '*.ko' -exec cp -av {} {your place}/boot-ramdisk/lib/modules/ \;
    chmod -R g-w {your place}/boot-ramdisk/*
    cd {your place}/boot-ramdisk/
    find | cpio -H newc -o --quiet --file={your place}/boot-initramfs.cpio
    cd {your place}
    gzip -9 boot-initramfs.cpio
3. Make a boot.img
    {correct place}/mkbootimg --kernel {your place}/zImage --ramdisk {your place}/boot-initramfs.cpio.gz --board universal5410 --base 0x10000000 --pagesize 2048 --ramdiskaddr 0x11000000 -o {your place}/boot.img
    Then the output is {your place}/boot.img

initramfs_samsung_galaxy_s4's People

Contributors

maxfu avatar

Stargazers

Zhang Xin avatar

Watchers

James Cloos avatar  avatar

Forkers

kb5rir

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.