mkasick / android_kernel_samsung_jfltevzw

Verizon Wireless Galaxy S 4 kernel with kexec functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To build source-based kernel:

1. Set CROSS_COMPILE to an appropriate path prefix, e.g.,

   export CROSS_COMPILE=../cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-

2. Build kernel:

   make VARIANT_DEFCONFIG=jf_vzw_defconfig \
        SELINUX_DEFCONFIG=jfselinux_defconfig jf_defconfig
   make -j 4


And to merge the kernel into recovery:

3. Pull recovery partition from device:

   adb reboot recovery
   adb root
   adb shell 'dd if=/dev/block/mmcblk0p21 of=/tmp/recovery.img bs=262144'
   adb pull /tmp/recovery.img

4. Merge newly-built zImage into recovery.img:

   ../cm/out/host/linux-x86/bin/unpackbootimg -i recovery.img
   cp arch/arm/boot/zImage recovery.img-zImage

   ../cm/out/host/linux-x86/bin/mkbootimg --kernel recovery.img-zImage \
       --ramdisk recovery.img-ramdisk.gz \
       --cmdline "`cat recovery.img-cmdline`" --base 0x80200000 \
       --pagesize 2048 --ramdisk_offset 0x02000000 -o recovery.img

About

Verizon Wireless Galaxy S 4 kernel with kexec functionality.

License:Other


Languages

Language:C 96.6%Language:Assembly 2.0%Language:C++ 0.9%Language:Objective-C 0.4%Language:Perl 0.1%Language:Shell 0.0%Language:Python 0.0%Language:Scilab 0.0%Language:Awk 0.0%Language:SuperCollider 0.0%Language:JavaScript 0.0%Language:Graphviz (DOT) 0.0%Language:Erlang 0.0%Language:ASP 0.0%Language:Vim Script 0.0%Language:XSLT 0.0%