Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
proxuser
Old
(Last edited by proxuser; 9th April 2012 at 12:37 AM.)
#1  
proxuser's Avatar
Senior Member - OP
Thanks Meter 5067
Posts: 1,495
Join Date: Jul 2010
Post [GUIDE] How to port MIUI v4 to your Device

Hi guys, last days i got messages about a guide port miui4 to each device.

that is my method i use on my miui4 ports.

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

Quote:
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. if you get bootloop, try with base libandroid_runtime.so file..
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

Quote:
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)
Quote:
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

Quote:
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. if you open your thread, dont forget give a link to based ics and port rom's.
that is method actually i use. for more info please use search on xda or ask on this thread. no private messages will answered from now.

(if you like this guide, just give 5 star and click to thanks button)
The Following 446 Users Say Thank You to proxuser For This Useful Post: [ Click to Expand ]
 
idogx
Old
#2  
Junior Member
Thanks Meter 48
Posts: 24
Join Date: Feb 2009
Location: ChuZhou
good good study day day up! thanks very much!
 
Rosemberg91
Old
#3  
Member
Thanks Meter 0
Posts: 45
Join Date: Nov 2010
Location: italy
thanks for your guide, work with tablet this guide???
 
fehery
Old
#4  
fehery's Avatar
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Nov 2010
Thx a lot,good work,please help me galaxy3.
 
rohith_luffy
Old
#5  
Member
Thanks Meter 0
Posts: 95
Join Date: May 2010
Location: hyderabad
any tips for motorola defy users (suggested rom base)..wajk is developing on a miuiv4 rom already .. but i thought i could give this method a try .


thanks
 
antaine
Old
#6  
antaine's Avatar
Senior Member
Thanks Meter 45
Posts: 365
Join Date: Jan 2011
Location: Paris
Does it work on ARMV6 CPU like in Galaxy 3 ??
Samsung Galaxy 3 - Cyanogen 7.1 alpha 6 with CM kernel 667 Mhz single-core (Dead.....)
HTC One S - Unlocked Bootloader Facepam S-Off (HBoot 2.15) With Cyanogen 10.1 Nightly with Bubba Kernel Non-OC up 1512MHz Dual Core CPU
Asus Nexus 7 32 GB Unlocked Bootloader With CyanogenMod 10.1 unofficial nightly with CM Kernel 1300 MHz Quad-Core

The Following User Says Thank You to antaine For This Useful Post: [ Click to Expand ]
 
idhbar
Old
#7  
idhbar's Avatar
Senior Member
Thanks Meter 105
Posts: 1,097
Join Date: Dec 2010
Is it possible to port miui tho HTC explore ?

HTC Sense 3.5,Android 2.3.5
 
Mr.Oug
Old
#8  
Senior Member
Thanks Meter 91
Posts: 495
Join Date: Dec 2011
Location: Pune
Quote:
Originally Posted by antaine View Post
Does it work on ARMV6 CPU like in Galaxy 3 ??
Same question here. But we have a cm9 rom all we need is miui but it I'd a arm6 device with ldpi screen

Sent from my GT-S5670 using xda premium
 
come at me bro
Old
#9  
Senior Member
Thanks Meter 64
Posts: 680
Join Date: Aug 2011

 
DONATE TO ME
We dont have a ice sandwich Rom on the vivid/hoilday would it be possible to port One this way

Sent from my HTC PH39100 using XDA App
If I've helped you out hit the "Thanks" button or buy me a beer
 
proxuser
Old
#10  
proxuser's Avatar
Senior Member - OP
Thanks Meter 5067
Posts: 1,495
Join Date: Jul 2010
I can't say anything about ldpi and mdpi devices. Miui is designed for hdpi devices. This guide is for hdpi devices only..

Some guys got it working on Mdpi devices with resizing but i don't know how's.

Quote:
Originally Posted by come at me bro View Post
We dont have a ice sandwich Rom on the vivid/hoilday would it be possible to port One this way

Sent from my HTC PH39100 using XDA App
I don't think. You need special kernel for that like cm9 .

Sent from my HTC Desire S using xda premium

The Following 2 Users Say Thank You to proxuser For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
miui, port
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...