{guide}[how to] porting guide for aosp [how to]{guide}

Search This thread

The Archangel

Senior Member
Sep 2, 2010
6,189
3,715
Virginia beach
HTC phones typically with HTC. Samsung with Samsung, an so on. Yes you can do cross platform, but that'll take a lot of extra work.

If I helped, give thanks, if you please.
........Death before dishonor........
Team inferno
Leader
 

Jbazt_katuforzs

Senior Member
Mar 25, 2008
762
96
Baliuag Bulacan
Is it possible to port an HTC custom rom to an MTK processor dual sim brand like alcatel? Both share the same ARM cpu and both MDPI screen? Thanks a lot! The custom rom to be ported uses a kernel while theres no kernel available for the base aosp of alcatel

Sent from my HTC Glacier using xda premium
 
Last edited:

saranhai

Inactive Recognized Developer
Mar 5, 2011
5,059
3,286
Nowhere
Is it possible to port an HTC custom rom to an MTK processor dual sim brand like alcatel? Both share the same ARM cpu and both MDPI screen? Thanks a lot! The custom rom to be ported uses a kernel while theres no kernel available for the base aosp of alcatel

Sent from my HTC Glacier using xda premium

i hope you're not porting Sense over... as long as it's not Sense, it should be fine...porting Sense is...ugh
 
  • Like
Reactions: Jbazt_katuforzs

Jbazt_katuforzs

Senior Member
Mar 25, 2008
762
96
Baliuag Bulacan
no wanted to port cyanogen7. Wow so you say its not that complicated? Thats a good news!!! Do i need a kitchen for that or copying and pasting files from the port to the base will do the trick?

Sent from my HTC Glacier using xda premium[/QUOTE]



Sent from my HTC Glacier using xda premium
 

0.0

Senior Member
Jan 12, 2010
6,829
3,275
thank you OP for this guide. it was the thing that helped me get started on porting an actual ROM! :D
 

Synthetic.Nightmare

Inactive Recognized Developer
Mar 29, 2011
952
1,211
Well since you're making an ics guide later, then there's nothing that needs to be changed for this one. Its fine. Its pretty straight forward once everything is set up :)

sent from my myTouch 4G

This one works just as well for ics aosp. There are a couple of other smaller things he left out but those things may vary from rom to rom. I think its good that the guide gives you just enough info, so you have to actually go through the learning process and ask around a bit.

Sent from my HTC Glacier using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 50
    I would say I’m pretty good at porting AOSP roms, can do them before my cig is half way done.
    Well this guide will help out with a good amount of it, ill try to cover much as I possibly can. Ill post links to the needed programs.

    android kitchen: http://xdaforums.com/showthread.php?t=633246

    notepad++ http://notepad-plus-plus.org/download/v5.9.8.html

    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. edit: another part i forgot to add take the modules file an switch them over also

    Step 12. Open the android kitchen back up again. now you can delete the cm7 working folder
    Type 1,find your port,hit enter,2.
    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 the touchscreen gets issue
    copy all files in /system/usr/idc from base to port.

    Hopefully this guide will help you out with your porting need, if you have any other questions just pm me an Ill try to help you out. Or you could google your problem first too.


    if you think i missed anything,let me an ill add it.

    an if a mod thinks this should be moved or as a sticky,well who am i to stop him.

    If you use this guide to port, give some credit, so other people will know also. :) thanks

    People who provided useful info:
    Hdorius
    7

    If you are going to use this guide and release a port, please give us some credit! thanks!



    6775769240_9aeb945c41_z.jpg








    -Team Inferno-
    2
    Ported roms with my guide

    [PORT/ROM/MOD] [ICS] The Collective's Melchizedek http://xdaforums.com/showthread.php?t=1578803
    2
    I'm going to give another try now that we have these easier directions thanks always wanted to learn how to port.

    Sent from my HTC Glacier using xda premium

    That's what I've been doing for the longest time, how you think black ice came to be, lol. Used my own guide.

    If I helped, give thanks, if you please.
    ........Death before dishonor........
    Team inferno
    Leader
    2
    Pretty straightforward, although you should mention you need Linux or cygwin for the kitchen :)

    Sent from my HTC Glacier using xda premium

    Well I would hope when they go to the thread, they'd read that also. You can't give them everything, how would people learn?

    If I helped, give thanks, if you please.
    ........Death before dishonor........
    Team inferno
    Leader