This guide is a result of proxuser's guide..I have just updated it to include some more info...
I use this is in my own ports..Haven't had the need of doing anything else except a few smali changes etc to fix bugs
This should be enough to get it booting....
Check your CPU type and also the PORT type . Both should be the same:
http://smart4u.org/forum/Thread-List-of-devices-ARMv7-ARMv6-ARMv5
Also make sure you choose devices nearly identical and from the same manufacturer..
eg: HTC Desire and Nexus One, Desire HD and Desire S, HTC One V and Desire S etc...the list goes on...
The CM9 or ICS rom for your phone will be referred to as BASE. The MIUI Rom used for porting will be called PORT.
STEP 1:
Extract PORT to any folder and BASE to a working Kitchen folder or any other update.zip maker folder
STEP 2:
Delete app, framework and media folders from /system folder of BASE
Transfer these folders from PORT to BASE.
STEP 3:
Delete libandroid_runtime.so form /system/lib
Copy libandroid_runtime.so, content-types.properties and liblbesec.so from PORT /system/lib to BASE /system/lib
STEP 4:
Copy invoke-as from PORT /system/xbin to BASE
STEP 5:
Copy telocation.td , yellowpage.db and weather_city.db from PORT /system/etc to BASE
Copy miui-framework.xml from PORT /system/etc/permissions to BASE
STEP 6:
build.prop CHANGES:
ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (example: 2.8.3)
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
THE ONES BELOW IF THERE..DONT ADD THEM NOR DELETE
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
STEP 7
updater-script CHANGES:
1.) First to add a bit of style: put this: http://pastebin.com/iEDfSCdh
So as you can see...put it after the first line
2.) The important part
FIX SUPERUSER ISSUES:
Download: http://download.chainfire.eu/204/SuperSU/CWM-SuperSU-v0.94.zip
Put the SuperUser.apk to /system/app and replace /system/xbin/su with BASE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
for more info: http://xdaforums.com/showpost.php?p=28885450&postcount=2 (thanks Lens_Flare)
HIT THE THANKS BUTTON IF HELPED AND PLEASE LINK THE THREAD IF YOU MAKE A WORKING BUILD!!
I use this is in my own ports..Haven't had the need of doing anything else except a few smali changes etc to fix bugs
This should be enough to get it booting....
Check your CPU type and also the PORT type . Both should be the same:
http://smart4u.org/forum/Thread-List-of-devices-ARMv7-ARMv6-ARMv5
Also make sure you choose devices nearly identical and from the same manufacturer..
eg: HTC Desire and Nexus One, Desire HD and Desire S, HTC One V and Desire S etc...the list goes on...
The CM9 or ICS rom for your phone will be referred to as BASE. The MIUI Rom used for porting will be called PORT.
STEP 1:
Extract PORT to any folder and BASE to a working Kitchen folder or any other update.zip maker folder
STEP 2:
Delete app, framework and media folders from /system folder of BASE
Transfer these folders from PORT to BASE.
STEP 3:
Delete libandroid_runtime.so form /system/lib
Copy libandroid_runtime.so, content-types.properties and liblbesec.so from PORT /system/lib to BASE /system/lib
STEP 4:
Copy invoke-as from PORT /system/xbin to BASE
STEP 5:
Copy telocation.td , yellowpage.db and weather_city.db from PORT /system/etc to BASE
Copy miui-framework.xml from PORT /system/etc/permissions to BASE
STEP 6:
build.prop CHANGES:
ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (example: 2.8.3)
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
THE ONES BELOW IF THERE..DONT ADD THEM NOR DELETE
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
STEP 7
updater-script CHANGES:
1.) First to add a bit of style: put this: http://pastebin.com/iEDfSCdh
So as you can see...put it after the first line
2.) The important part
Code:
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
FIX SUPERUSER ISSUES:
Download: http://download.chainfire.eu/204/SuperSU/CWM-SuperSU-v0.94.zip
Put the SuperUser.apk to /system/app and replace /system/xbin/su with BASE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
for more info: http://xdaforums.com/showpost.php?p=28885450&postcount=2 (thanks Lens_Flare)
HIT THE THANKS BUTTON IF HELPED AND PLEASE LINK THE THREAD IF YOU MAKE A WORKING BUILD!!