[Samsung Infuse 4G] mg2195:
Alot of people have been asking me how i ported Slim ICS, soooo...i made a tutorial on how i port AOSP ICS roms...this is a general tutorial that should be just enough to get the port to boot. your port will not be flawless and it will probably have some major bugs that need fixing which are usually fixed by libs.

This should work with all AOSP ICS roms except those formated in a MTD file system (MTD is not supported by the infuse)...but for best compatibilty use a similar phone like the galaxy s...also before porting if you plan on uploading it you must get permission first!!! Dont make the same mistake i made with slim...

http://www.youtube.com/watch?v=loFHhYf0ca4

Guide:

***DISCLAIMER***

i am not responsible to any damdge caused to your phone by following this tutorial, you are doing this at your own risk. Before beginning you can not be afraid to mess with system file, to experiment, to get boot loops or even completely destroy your phone-for the infuse this is highly unlikely

if you fear bootloops or bricking a phone than you should not follow this tutorial

this guide should work for all phones and all AOSP roms, however every rom is different so some may require extra steps which you will be on your own for...this should be enough to get you to boot up though.

***END OF DISCLAIMER***

if you have any questions please feel free to comment bellow, dont message me on youtube i probably wont answer...if you do comment i may or may not help you, but maybe somebody else will. i have a busy life, and am constantly busy with the infuse and can not spend the time to address everyones issues...but by commenting maybe some one will help.

TOOLS/PROGRAMS NEEDED:

1) 7zip or other archive program

2) text editor, for windows i would use notepad++

STEPS:

1) download CM9 for your device or other AOSP based ics rom ***This is your base rom, you will use this to replace files in the rom you want to port***

What ever firmware your base is is the firmware you will be able to port...EX: 4.0.4 base=4.0.4 port

***for this tut i will be using CM9 4.0.4 for the infuse found here: http://xdaforums.com/showthread.php?t=1601844 ***

2) download rom you want ported ***it can be from any phone, but for best compatibilty/least amount of bugs use a rom from a similar device, since i have an infuse i will use a Galaxy S ICS rom"

3) open up the CM9 or whatever base rom you are using with 7zip (dont extract it just view the archive...for 7zip right click rom, go to 7zip option and choose view archive)

4) delete the following folders in the system folder: app, framework, media, and fonts

5) open up the rom you want to port and use the app, framework, media, and fonts folder to replace the ones you just deleted in the cm9 base

6) copy libandroid_runtime.so *located in /system/lib/* from the rom you want to port into the cm9 base (you are replacing the one already in there) keep a copy of the one in CM9...if it doesnt boot up put the CM9 one back in

OPTIONAL/NOT NEEDED to make the rom run

a) go to build.prop and change the name of the rom

b) change the name of the CM9 base zip to whatever you are porting

7) place the rom on your sd card and flash...if you get bootloops do a logcat

If your rom is unresponsive/not working right you may need to replace some stuff in the /system/lib/ with stuff from the rom you are porting (just compare the rom you are porting with cm9 and whenever you see something missing in the CM9 base or dif size switch it over BUT keep a backup of the unresponsive one that booted...this part is all trial and error) i can not help you with this part...you are on your own, but feel free to comment and i may try and help or someone else may try and help

Also logcats will help in diagnosing problems...

please dont pm me for help, comment on this thread and if i have time i will try and help...or someone else will. im really busy, im a junior in highschool, so i have homework monday-friday, not to mention that my 92 year old great aunt is moving in with us as she can no longer take care of her self alone so i will be busy taken her to appointments and what not.

If i could i would help each and every one of you guys...but i just dont have the time to help everyone so if we can restrict the questions and answers to here hopefully we can limit the amount of questions asked.