forked from xiaolu/galaxys2_kernel_repack
-
Notifications
You must be signed in to change notification settings - Fork 0
galaxys-cm7miui-kernel/galaxys2_kernel_repack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Please edit repack.sh: # you should point where your cross-compiler is COMPILER=/home/xiaolu/bin/android-toolchain-eabi/bin/arm-eabi COMPILER_LIB=/home/xiaolu/bin/android-toolchain-eabi/lib/gcc/arm-eabi/4.5.4 Unpack zImage,Example: ./unpack.sh zImagesm189 sm189 Generate a cpio packed initramfs,Example: ./gen_initramfs.sh -o initramfs.cpio -u 0 -g 0 ./initramfs-sample Repack zImage,Example: ./repack.sh zImagesy22rc2 initramfs.cpio zImage Padding sufile to zImage offset=7000000,Example: ./repack.sh zImagesm189 sm189.cpio zImage su how to use sufile: dd if=/dev/block/mmcblk0p5 of=/system/app/Superuser.apk skip=7026336 seek=0 bs=1 count=196640 dd if=/dev/block/mmcblk0p5 of=/system/bin/su skip=7000000 seek=0 bs=1 count=26336 Use tar.xz In the end of the zImage: ./repack.sh zImagesy262 initramfs.cpio zImage payload how to use,pls read initramfs-sample/sbin/script/post-init.sh & recovery.sh recovery.tar.xz and boot.tar.xz in resources directory,you can customize. Custom zImage compression type: ./repack.sh zImagesy262 initramfs.cpio zImage gzip or ./repack.sh zImagesy262 initramfs.cpio zImage payload gzip
About
unpack s2 kernel and rebuild
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published