Guide: Porting AOSP ROMs made simple, thanks to Mr. Highway

8

Android Kitchen

Have you ever wondered how to port an Android Open Source Project (AOSP) ROM? If so, you’ll be surprised to find out there’s not a whole heckuva lot to the process. In fact, Mr.Highway from XDA is so confident that anyone who can read and follow directions can do it that he decided to put together this step-by-step guide which explains the process from start to finish. Keep in mind, if this sounds like something that’s over your head, it might be best to pass on trying this. If you’ve got the cojones and you’re not intimidated by using Android Kitchen and Notepad++, take a look at the steps below.

Again, all credit goes to Mr.Highway, I did not devise this method, nor have I personally tested it.

Step 1. Well find the rom you want to port over,duh.

Step 2. Make sure you have the android kitchen and notepad++, on your computer an setup correctly.

Step 3. Put the rom your porting in the original update folder(ya know the one for the kitchen….)

Step 4. Setup a working folder, itll ask you the change the updater-script DON’T DO ANYTHING DO IT, leave it how it is!

Step 5. Find another base rom for your phone, preferably cm7, do the same thing your did to your port. Fyi: hope you labeled each working folder. an dont delete the working folder you just created,select yes to move it

Step 6. Copy the boot.img from the cm7 rom over to your port.

Step 7. Find the build.prop in your port. Right click on it, select “edit with notepad++”

Here’s where you need to read everything as I put it, if you mess up, well that’s not my problem .

Step 8. Find the “ro.product.device” “ro.product.board” “ro.product.product”. change those to your device.
If you cant remember the exact name of your device,look at the cm7 build.prop for reference. When you done that save it.

Step 9. Navigate to “META-INF\com\google\android” find the updater-script. Right click on it, edit with notepad++. (btw always use that program when editing stuff with android,soo much easier)

Step 10. Edit the device, board an product to match your device. If one of them is missing, don’t worry bout it. Then save it when your done.

Step 11. Navigate to system/lib/hw. Do that on both your port an cm7 rom. Copy the sensor, lights an gps from cm7 over to your port. Optional: delete the ones from the original device.

Step 12. Open the android kitchen back up again.
Type 99
Then hit 1.
Hit enter again
Sign the rom
You can either name the rom or not. Id suggest you so you don’t get confused by any other files.

If you followed this correctly, your rom should boot with no problem. If you get error 7 or 6, look below.

If you get error 7 in recovery, you didn’t edit your build.prop correctly. Go back an check it, find your mistake then, re-run it in the kitchen

If you get error 6 in recovery,you need to check your updater-script, you probably didn’t edit that correctly. Go find your mistake in it an fix it, then re-run it in the kitchen.

If you’d like to try this out, make sure to stop by the original thread to join in the discussion. Now, get in that kitchen and bake me up some AOSP goodness for the HTC Amaze, preferably in the flavor of an Ice Cream Sandwich. Just don’t burn down the house in the process, OK?

About the Author

Tony Simons
Android addict would be the two words I would use to describe myself. It’s the first thing I check in the morning, and the last thing I check before bed. I’m 30 years old, my first Android phone was the G1, shortly after its launch. I have also owned a myTouch 3G, and I have a myTouch 4G, which I am absolutely in love with. Other than Android, I’m a father, brother, college student, and almost-full-time employee at a local brewery/restaurant here in the cornfields of Iowa. If there’s anything you’d like to know, please feel free to hit me up. I’m a pretty nice guy, and I respond as quickly as I can. Thanks for stopping by!

  • Zepplin76

    Thanks .. here goes making a Bionic port!

  • http://www.comhack.com Josh Sabboth

    Great post, thanks a lot Tony!!

    • http://androidspin.com Tony Simons

      Not a problem! Let me know if you cook something nice up!

  • rash

    does this work with ics (desire)? thnkx

  • Craigtut

    I’m pretty sure this won’t work on the amaze 4g. All we have are the drivers for sense, not cm7. The biggest problem we have is connecting up our drivers.

  • Olumide

    I would like to port jellybean to an ics device.
    is it possible with kitchen? or any other way?

    • maurice

      no you cant port different android versions, can only build from source

      • sourabh

        How can we do it then?

© 2012  AndroidSPIN. All rights reserved.
A Subsidiary of MobileTweek Inc.