Remove All Ads from XDA

[GUIDE] How to port AOSP ICS roms to your Device

1,837 posts
Thanks Meter: 5,736
Post Reply Email Thread
How to port any ICS AOSP based roms to your Device (AOKP, CM9 & many other)

- for best compatibilty
--> use same android versions. (4.0.4 -> 4.0.4 example)
--> use latest base from CM9 (is best choose for port) or any AOSPbased ICS ROM
--> use each brand for port (mean Desire HD -> Desire S or other HTC devices). you also can port other roms, but you will have issues.


-> download latest cm9 base and extract it
-> download target rom and extract it


for Camera
use Camera.apk from base rom for camera issues fix.

/fonts folders and replace in cm9 folder.

repack your zip and let it boot.
if it doesn't boot then copy /system/lib/ from target rom and repack your and install again.. if you get bootloop anyway, then just type in adb "adb logcat" and share it with us in this thread..

if you dont get success dont cry, just try to port another rom you can not port all roms


for HTC Devices


to fix network auto select,
decompile framework-res.apk
go to \framework-res\res\values\bools.xml change
<bool name="skip_restoring_network_selection">true</bool>
to false.


to fix graphichal issues,

decompile framework.jar

change these files with cm9 base



if you like this guide, just give 5 stars to thread and click thanks button
The Following 68 Users Say Thank You to proxuser For This Useful Post: [ View ] Gift proxuser Ad-Free
2nd May 2012, 12:46 AM |#2  
Senior Member
Thanks Meter: 40
hi, there, and i own a huawei u8800, we allready have a aosp ics 4.0.4 aurora room but i would like to have cm9 or aokp into our phone. in this case based is aosp ics aurora and ported will be cm9 or aokp for example? i´m right?
maybe is better port cm9 from desire z to my huawei u8800, since they have the same cpu and gpu.
dont want tou build a rom, just port.

please i need help. thanks anyway.
4th May 2012, 10:06 AM |#3  
Senior Member
Thanks Meter: 38
lol be thankful you have an ICS rom.. Huawei X6 users like me are trying our best to port from u8860's ICS.

I'd like to ask if the method works for a device that does not have official ICS? i.e. porting an ICS rom to official GB?

Kindly advise sir, and thanks again!
5th May 2012, 08:09 AM |#4  
dhk.-'s Avatar
Senior Member
Flag Rancagua
Thanks Meter: 1,145
I get the same that in miui v4... boot loop and adb says no device
6th May 2012, 04:52 AM |#5  
alphadog32's Avatar
Senior Member
Flag Miami, FL
Thanks Meter: 391
Donate to Me
I get AtCmdFwd error.
6th May 2012, 06:04 AM |#6  
verynuclear's Avatar
Senior Member
Flag UAE
Thanks Meter: 298
Could you post the link of latest cm9 base?
15th May 2012, 01:22 AM |#7  
mg2195's Avatar
Senior Member
Flag RSM
Thanks Meter: 2,610
Donate to Me
im getting stuck in a bootloop...

Device-Samsung Infuse
CM9 Base being used to port-
Rom trying to port- (the i9000 version aka galaxy s)

What i did:
1) opened cm9 base with 7zip, deleted app, framework, fonts, media folders
2) replaced deleted folders with app, framework, fonts and media folders from slim ics base 3.6
3) opened up slim ics 3.6 i9000 essentials with 7zip
4)navigated to app folder and moved apks files from ther to the cm9 base - did the same with framework, fonts, and media folders (I did not just copy the folders this time! i only copied the files inside the folders)
5) put zip on sdcard
6) rebooted and started log cat

any help would be apreciated if i dont answer back right away its because i have to pick my sister up from school
Here are the logcats: (All are the same logcat...but two of them are filtered)
Attached Files
File Type: txt Full Logcat.txt - [Click for QR Code] (134.3 KB, 141 views)
File Type: txt errors only.txt - [Click for QR Code] (6.9 KB, 74 views)
File Type: txt Fatal.txt - [Click for QR Code] (2.2 KB, 67 views)
15th May 2012, 02:16 AM |#8  
mg2195's Avatar
Senior Member
Flag RSM
Thanks Meter: 2,610
Donate to Me
I think I kniw what the problem is...gonna attemot a fix after dinner

EDIT i got out of the boot loops and booted into my portes to fix the bugs...there is ALOT

thanks for the guide will def give you some credit once i get this stable...may be getting some help from another dev
The Following User Says Thank You to mg2195 For This Useful Post: [ View ] Gift mg2195 Ad-Free
15th May 2012, 06:01 AM |#9  
medicjunKie's Avatar
Senior Member
Thanks Meter: 271
So as long as the base and ported roms are from the same manufacturer, this will work?

Sent from my LG-E739 using Tapatalk 2
15th May 2012, 12:05 PM |#10  
oguzhan mobile's Avatar
Senior Member
Flag Bursa
Thanks Meter: 229
how to port aosp ics to cm9?
16th May 2012, 07:29 PM |#11  
Sesme's Avatar
Senior Member
Flag Toletvm
Thanks Meter: 1,021
Donate to Me
good guide

You can add

Copy etc\cron

And etc\init.d files to run RomControl fix

The Following User Says Thank You to Sesme For This Useful Post: [ View ] Gift Sesme Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes