Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ketut.kumajaya
Old
(Last edited by ketut.kumajaya; 1st January 2012 at 09:31 AM.)
#1  
Senior Member - OP
Thanks Meter 2978
Posts: 1,316
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
Default [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
Attached Files
File Type: rar boot.img-tools.rar - [Click for QR Code] (66.4 KB, 3308 views)
File Type: zip blackhawk-tools.zip - [Click for QR Code] (282.5 KB, 1513 views)
The Following 50 Users Say Thank You to ketut.kumajaya For This Useful Post: [ Click to Expand ]
 
equlog
Old
#2  
equlog's Avatar
Member
Thanks Meter 5
Posts: 31
Join Date: Jun 2011
Location: Málaga
Too usefull

Thanks.
 
fla.sh
Old
#3  
fla.sh's Avatar
Senior Member
Thanks Meter 423
Posts: 500
Join Date: Jun 2011
Location: <b>Location:</b>
You should get "Recognized Developer" title, ketut.kumajaya!
TeamCooper

Samsung Galaxy Ace S5830 | Sony Xperia ray
The Following 2 Users Say Thank You to fla.sh For This Useful Post: [ Click to Expand ]
 
ketut.kumajaya
Old
#4  
Senior Member - OP
Thanks Meter 2978
Posts: 1,316
Join Date: Apr 2011
Location: Bekasi

 
DONATE TO ME
If I have a Motorola Android device, maybe I can go back to www.MotorolaFans.com as a Developer
 
Lovetz
Old
(Last edited by Lovetz; 1st September 2011 at 05:40 PM.)
#5  
Lovetz's Avatar
Senior Member
Thanks Meter 1701
Posts: 1,492
Join Date: Apr 2007
Location: Petrozavodsk
ketut.kumajaya, is it possible to resize Data,System and Cache on Ace? Maybe something like this...?

For example, the size of the partition of Indian (S5830DDKQ5) firmware are different (+1Mb to system and cache) from those that have been in all previous firmwares (KPN, KPH...).
I do not answer to PM with questions whose are answers on the forum.
Siemens C-45
SonyEricsson T-310
Sagem myx-8
Qtek 8310 (Tornado)
Toshiba Portege G900 WM6.5.x Black Edition Transcend 80x 4Gb MultiSim Silver Pic-ADor 6.16i
Samsung Galaxy Ace * CM10.1 * Transcend MicroSD 16Gb class 6
Wexler Book T7008 * ICS 4.0.3 (20120531)
Zopo zp950+ * 4.2.1 * SanDisk 32 Gb class 10
The Following User Says Thank You to Lovetz For This Useful Post: [ Click to Expand ]
 
autotomy
Old
(Last edited by autotomy; 3rd September 2011 at 06:01 AM.)
#6  
Member
Thanks Meter 1
Posts: 38
Join Date: Jul 2011
Location: Bandung
EDITED---
guess we have to take boot.img from CWM backup images?
Is this doable under Windows? I tried but unpackbootimg wasn't recognized as a command
device and age doesn't matter, it's what's inside your head and heart that counts
 
huryiw
Old
#7  
huryiw's Avatar
Junior Member
Thanks Meter 2
Posts: 19
Join Date: Sep 2011
Location: Gresik
Nice work mas bro....

Tari Kecak is Awesome... ^^
 
CallMeVentus
Old
#8  
CallMeVentus's Avatar
Recognized Contributor
Thanks Meter 2635
Posts: 9,254
Join Date: Jul 2011
Location: Singapore
Quote:
Originally Posted by autotomy View Post
EDITED---
guess we have to take boot.img from CWM backup images?
Is this doable under Windows? I tried but unpackbootimg wasn't recognized as a command
It's only for Linux and its variants and derivatives
TeamCooper:
www.teamcooper.net



GitHub:
Personal: www.github.com/EmoBoiix3
CyanMobile: www.github.com/CyanMobile
TeamFun (a.k.a GingerDX): www.github.com/TeamFun

Read this if you are new to your Galaxy Ace





"My friends are my power, and I'm theirs!"
"I am the boy with the heart of pure light."
 
distan7
Old
#9  
distan7's Avatar
Senior Member
Thanks Meter 83
Posts: 284
Join Date: Mar 2011
Location: Jakarta-Indonesia
Quote:
Originally Posted by autotomy View Post
EDITED---
guess we have to take boot.img from CWM backup images?
Is this doable under Windows? I tried but unpackbootimg wasn't recognized as a command
Quote:
Originally Posted by EmoBoiix3 View Post
It's only for Linux and its variants and derivatives
Under Windows you can use JDK + Cygwin Custom Package + dsixda kitchen. Head to dsixda kitchen thread for more info. It's built for HTC but usable for Galaxy Ace / Mini (unpack / repack boot.img)
 
rickwyatt
Old
#10  
rickwyatt's Avatar
Senior Member
Thanks Meter 340
Posts: 1,170
Join Date: Feb 2007
Location: london

 
DONATE TO ME
iv tried to us JDK + Cygwin but once I build the boot.img and flash it my boot animations stop working dose anyone no why ?
 

My Phones Are:-

HTC One X : ISC Stock 4.0.4 Unlocked Bootloader & Rooted
Motorola Razr I : ICS Stock 4.0.4 Unlocked Bootloader & Rooted
Orange San Diego : 4.0.4 Rooted Stock
My Old Phones android Are:-
T-Mobile Pulse Mini > ZTE Racer > ZTE Blade > HTC HD2

My Old android Tablets Are:-
Dell Streak 7 16GB WiF > Archos g9 8gb > Samsung Note N7000 > Samsung Tab 2

Don't Forget To Say Thanks If I Helped You



 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...