Pages

Subscribe:

Ads 468x60px

Labels

Sabtu, 30 Juni 2012

[DEVELOPERS TOOLS] Unpack, repack boot.img, and editing boot logo




Samsung Galaxy Ace: Unpack and repack boot.img, editing boot logo
Ketut P. Kumajaya ketut.kumajaya @ xda-developers.com

Unpacking boot.img:

Code:
$ mkdir -p unpack
$ tools/unpackbootimg -i boot.img -o unpack
Extracting boot.img-ramdisk.gz

Code:
$ mkdir -p unpack/boot.img-ramdisk
$ cd unpack/boot.img-ramdisk 
$ gzip -dc ../boot.img-ramdisk.gz | cpio -i
$ cd ../../
Packing a new ramdisk:

Code:
$ tools/mkbootfs unpack/boot.img-ramdisk | gzip > unpack/boot.img-ramdisk.gz
Create a new boot.img:

Code:
$ tools/mkbootimg --kernel unpack/boot.img-zImage --ramdisk unpack/boot.img-ramdisk.gz -o boot.img-repack --base `cat unpack/boot.img-base`
Convert rle to png:

Code:
$ tools/from565 -rle < COOPER.rle > COOPER.raw
$ convert -size 320x480 -depth 8 rgb:COOPER.raw COOPER.png
Convert png to rle:

Code:
$ convert -depth 8 COOPER-new.png rgb:COOPER-new.raw
$ tools/to565 -rle < COOPER-new.raw > COOPER-new.rle
NOTE:
For developers only, don't ask me for support! Solve your problems by yourself!

PASSWORD:
As usual: ketut.kumajaya

Credit : http://forum.xda-developers.com/showthread.php?t=1241005

Attached Files
File Type: rar boot.img-tools.rar - [Click for QR Code] (66.4 KB, 1892 views)
File Type: zip blackhawk-tools.zip - [Click for QR Code] (282.5 KB, 733 views)   

0 komentar:

Posting Komentar