Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,576 Members 37,806 Now Online
XDA Developers Android and Mobile Development Forum

Quick rom customization question

Tip us?
 
KingSkeme
Old
#1  
Senior Member - OP
Thanks Meter 0
Posts: 163
Join Date: Jan 2010
Default Quick rom customization question

Im trying to add some ringtones and apps into one of my favorite roms so things will be a little easier when Im testing out other roms...I think the new zip file I make though needs to be signed. Can anyone point me into the right direction??
 
KingSkeme
Old
#2  
Senior Member - OP
Thanks Meter 0
Posts: 163
Join Date: Jan 2010
Quote:
Originally Posted by Amon_RA View Post
You can get any custom ROM working on your Rogers Magic and basically on every HTC branded Magic around. If you like to "port" a custom Google-branded ROM to a HTC-branded ROM follow these steps :

- I assume that you have basic Linux knowledge and that you know how to set up your own environment and tools, unpack gz files and cpio them etc...

- Download these tools. They contain the JesusFreke's SignApp, William Enck's splitboot using my recompiled mkbootimg-H binary (including the HTC branded offsets), and a repack pearl script.

Now the actually work :

1. Get the boot.img and recovery.img from your original HTC branded Magic (fastboot my recovery image and use nandroid for this).
2. unpack the boot.img and recovery.img using unpack-H.pl.
3. move both kernels somewhere save, you'll need them later.
4. Download the google branded custom ROM you want to port, most of the custom ROMs come in the form of a update.zip file.
5. Extract the boot.img and recovery.img (if there is one) from the update.zip.
6. unpack the boot.img and recovery.img (same as step 2).
7. replace both kernels with the ones you saved previously in step 3.
8. repack boot boot.img and recovery.img using repack-H.pl
9. copy both boot.img and recovery.img in the update.zip package making sure you overwrite the existing ones inside with the new ones.
10. Sign the update.zip file with SignApp (see readme inside rar).
11. Copy the update.zip file to your SDcard.
12. fastboot my recovery image and choose data wipe and then update.
13. reboot

Good luck

This is where I get confused at. I read this "Usage:
java -jar signapk.jar testkey.x509.pem testkey.pk8 <update.zip> <update_signed.zip>" But I dont know how to do that...Im using OSX right now is there any way to do it or do I need linux?
 
KingSkeme
Old
#3  
Senior Member - OP
Thanks Meter 0
Posts: 163
Join Date: Jan 2010
Can anyone give me some advice??
 
betelgeuse74
Old
#4  
betelgeuse74's Avatar
Senior Member
Thanks Meter 12
Posts: 238
Join Date: Jun 2009
Here is everything you need to know:
http://forum.xda-developers.com/showthread.php?t=473580

(A search would have found you the answer faster than I did...)
 
KAwAtA
Old
#5  
KAwAtA's Avatar
Senior Member
Thanks Meter 99
Posts: 924
Join Date: Jan 2010
Quote:
Originally Posted by betelgeuse74 View Post
Here is everything you need to know:
http://forum.xda-developers.com/showthread.php?t=473580

(A search would have found you the answer faster than I did...)
Agreed

But at least he made the effort unlike some!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes