Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Quick rom customization question

OP KingSkeme

2nd February 2010, 03:59 PM   |  #1  
OP Senior Member
Thanks Meter: 0
 
163 posts
Join Date:Joined: Jan 2010
More
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??
2nd February 2010, 04:29 PM   |  #2  
OP Senior Member
Thanks Meter: 0
 
163 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by Amon_RA

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?
3rd February 2010, 01:59 AM   |  #3  
OP Senior Member
Thanks Meter: 0
 
163 posts
Join Date:Joined: Jan 2010
More
Can anyone give me some advice??
3rd February 2010, 06:38 AM   |  #4  
betelgeuse74's Avatar
Senior Member
Thanks Meter: 12
 
239 posts
Join Date:Joined: 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...)
3rd February 2010, 09:03 PM   |  #5  
KAwAtA's Avatar
Senior Member
Thanks Meter: 99
 
928 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by betelgeuse74

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!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes