Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ics kernel repack for SC-02C
C Assembly Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources
.gitignore
README
compress.sh
mkrepackimg.sh
repack.sh
unpack.sh
zImage.lph
zImage.orig

README

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

Something went wrong with that request. Please try again.