forked from xiaolu/galaxys2_kernel_repack
-
Notifications
You must be signed in to change notification settings - Fork 0
JoeyZheng/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 zImagesy267 sm189 Repack zImage,Example: ./repack.sh zImagesy267 initramfs.cpio new_zImage or ./repack.sh zImagesy267 initramfs new_zImage Padding sufile to new_zImage offset=7000000,Example: ./repack.sh zImagesm189 sm189.cpio new_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 new_zImage: ./repack.sh zImagesy262 initramfs.cpio new_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 zImagesy267 initramfs.cpio new_zImage gzip or ./repack.sh zImagesy267 initramfs.cpio new_zImage payload gzip
About
unpack s2 kernel and rebuild
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published