Sunday 8 April 2012

Guide to port MIUI v4 to your Device





that is a method created by proxuser  to port miui for our devices.








Here is the instructions :

take a any cm9 or aosp based ics rom as base. with this guide, you can port miui4 from any device to your one. for best compatibility use own brand base to port. if you have desire s then port from htc devices. if galaxy nexus then try port from nexus s


first of all replace complete folders with miui4 one.
system/app
system/framework


copy libandroid_runtime.so lib from miui 4 (rom you port). without this file rom will not boot.
replace media folder with base rom (that themes, wallpaper, audio from miui work)

copy telocation.db and yellowpage.db to /system/etc folder.
copy content-types.properties file to /system/lib


copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script
set_perm(0, 0, 06755, "/system/xbin/invoke-as");

(for backup & themes app work)
copy liblbesec.so from miui 4 to /system/lib and give permission on updater-script

set_perm(0, 0, 0755, "/system/lib/liblbesec.so");

(for superuser app from miui work)

change values from build.prop


ro.build.id=MIUI
ro.build.display.id=MIUI
ro.build.version.incremental=2.x.x (version number)

ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
if your base rom has issues, these issues will seen on this port too. example, if camera not works on base rom, then will on miui4 port also not work!

then add your stuff (updated apps, wallpaper or installer whatever you want )

make your zip and there is it.

Warning : Do not Copy. DMCA protected content

Filled Under:

0 comments:

Post a Comment