Happening now! New Honor Phone Launch
FORUMS
Remove All Ads from XDA

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

1,833 posts
Thanks Meter: 5,729
 
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.


PORT:

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

Quote:

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

copy
/app
/framework
/media
/fonts folders and replace in cm9 folder.


repack your zip and let it boot.
if it doesn't boot then copy /system/lib/libandroid_runtime.so from target rom and repack your rom.zip 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


Quote:

for HTC Devices

Quote:

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.

Quote:

to fix graphichal issues,

decompile framework.jar

change these files with cm9 base

smali\smali\android\os
Environment
SystemProperties
smali\smali\android\view
HardwareCanvas
HardwareRenderer$Gl20Renderer
HardwareRenderer$GlRenderer
HardwareRenderer

enjoy!

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
 
 
1st May 2012, 11:46 PM |#2  
Senior Member
Thanks Meter: 40
 
More
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, 09:06 AM |#3  
Senior Member
Thanks Meter: 38
 
More
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, 07:09 AM |#4  
dhk.-'s Avatar
Senior Member
Flag Rancagua
Thanks Meter: 1,037
 
Donate to Me
More
I get the same that in miui v4... boot loop and adb says no device
6th May 2012, 03:52 AM |#5  
alphadog32's Avatar
Senior Member
Flag Miami, FL
Thanks Meter: 391
 
Donate to Me
More
I get AtCmdFwd error.
6th May 2012, 05:04 AM |#6  
verynuclear's Avatar
Senior Member
Flag UAE
Thanks Meter: 284
 
More
Could you post the link of latest cm9 base?
15th May 2012, 12:22 AM |#7  
mg2195's Avatar
Senior Member
Flag RSM
Thanks Meter: 2,610
 
Donate to Me
More
im getting stuck in a bootloop...

INFO:
Device-Samsung Infuse
CM9 Base being used to port- http://forum.xda-developers.com/show....php?t=1601844
Rom trying to port- http://www.slimroms.com/ (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, 139 views)
File Type: txt errors only.txt - [Click for QR Code] (6.9 KB, 70 views)
File Type: txt Fatal.txt - [Click for QR Code] (2.2 KB, 63 views)
15th May 2012, 01:16 AM |#8  
mg2195's Avatar
Senior Member
Flag RSM
Thanks Meter: 2,610
 
Donate to Me
More
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 slimics...now 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, 05:01 AM |#9  
medicjunKie's Avatar
Senior Member
Thanks Meter: 270
 
More
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, 11:05 AM |#10  
oguzhan mobile's Avatar
Senior Member
Flag Bursa
Thanks Meter: 228
 
More
how to port aosp ics to cm9?
16th May 2012, 06:29 PM |#11  
Sesme's Avatar
Senior Member
Flag Toletvm
Thanks Meter: 1,015
 
Donate to Me
More
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)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes