so here iam making a guide for ppl who wold like to port miui to xperia MDPI...noob friendly
soon ill make a guide for how to port HDPI rom to MDPI..
ill be tell u ppl how to make a miui rom with aroma installer...
and this how i port.
So lets start
STEP:-1
Things u need to before porting.
1.META-INF folder (iam giving my roms meta-inf folder.) http://www.mediafire.com/download.php?g2f3d233tkvteua
2.APKTOOL http://www.mediafire.com/download.php?ba8bqcf9lpfiu6mhttp://www.wuala.com/neroyoung/XDA%20ROM%20Dev%20Tools/APKTool.rar/
3.APK MANAGER ICS http://www.mediafire.com/download.php?ba8bqcf9lpfiu6m
4.DEV FILES (giving my roms dev files) http://www.mediafire.com/download.php?z3onaugfr4nr65r
5.NOTE PAD++
6.WINRAR
7.BASE ROM OF ARC S FROM MIUIANDROID.com
8.BASE .587 ROM OF xperia MDPI (any one of mini pro,mini,lww,active)
9.PROPER KNOWLEDGE OF COMPILING AND DECOMPILING .
10.CALM MIND
STEP:-2
In system folder
From xperia mdpi .587 base rom
delete:
app
framework
fonts
media
open arc s miui rom archive with winrar and replace with those files above folders.DONT CLOSE ARCHIVE
now Open lib folder and copy some files from the arc s archive.
content-types.properties
liblbesec.so
liblocSDK_2.5OEM.so
Open etc Folder and copy some files from arc s archive
yellowpage.db
telocation.td
go to permissions folder in etc folder and add some files from arc s archive
miui-framework.xml
com.google.android.media.effects.xml
com.google.widevine.software.drm.xml
com.google.android.maps.xml
STEP:-3
Modifying build prop
change the underlined texts with notepad++ according to ur versions
STEP:-4
BUILD PROP TWEAKS
add thses to ur build prop ..
STEP:-5
Disabling auto brightness to make the leds to work.
1-decompile framework-res.apk
2-after decompiling goto res>values>bools.xml
3-u will see this line
4-change that 'true' to 'false'
5. recompile and put the file in system/framework folder.
BLACK BAR removing.
1-decompile MiuiSystemUI.apk
2-goto res>values> drawables.xml
3-delete this line
4-recompile it and paste it in system/app folder.
STEP:-6
Changing some things in meta-inf folder.
change the highlighted things according to ur rom
1-aroma config file
2-goto meta-inf>com>google>android>aroma>license
and write what every u want.
STEP:-7
Setting up folders.
so after doing all these
u should have these folder
META-INF
DEV
SYSTEM
make a zip of these folders...and ur done with the new miui rom
sorry for my bad presentation
CREDITS
Lens_flare (for giving idea how to do it)
jj doctor
soon ill make a guide for how to port HDPI rom to MDPI..
ill be tell u ppl how to make a miui rom with aroma installer...
and this how i port.
So lets start
STEP:-1
Things u need to before porting.
1.META-INF folder (iam giving my roms meta-inf folder.) http://www.mediafire.com/download.php?g2f3d233tkvteua
2.APKTOOL http://www.mediafire.com/download.php?ba8bqcf9lpfiu6mhttp://www.wuala.com/neroyoung/XDA%20ROM%20Dev%20Tools/APKTool.rar/
3.APK MANAGER ICS http://www.mediafire.com/download.php?ba8bqcf9lpfiu6m
4.DEV FILES (giving my roms dev files) http://www.mediafire.com/download.php?z3onaugfr4nr65r
5.NOTE PAD++
6.WINRAR
7.BASE ROM OF ARC S FROM MIUIANDROID.com
8.BASE .587 ROM OF xperia MDPI (any one of mini pro,mini,lww,active)
9.PROPER KNOWLEDGE OF COMPILING AND DECOMPILING .
10.CALM MIND
STEP:-2
In system folder
From xperia mdpi .587 base rom
delete:
app
framework
fonts
media
open arc s miui rom archive with winrar and replace with those files above folders.DONT CLOSE ARCHIVE
now Open lib folder and copy some files from the arc s archive.
content-types.properties
liblbesec.so
liblocSDK_2.5OEM.so
Open etc Folder and copy some files from arc s archive
yellowpage.db
telocation.td
go to permissions folder in etc folder and add some files from arc s archive
miui-framework.xml
com.google.android.media.effects.xml
com.google.widevine.software.drm.xml
com.google.android.maps.xml
STEP:-3
Modifying build prop
change the underlined texts with notepad++ according to ur versions
Code:
################# Updating of the SW Version #################
ro.semc.version.fs_revision=4.1.B.0.587
ro.build.id=4.1.B.0.587
ro.build.display.id=[U]4.1.B.0.587[/U]
##### Values from product package metadata #####
ro.semc.product.model=SK17i
ro.semc.ms_type_id=AAD-3880097-AV
ro.semc.version.fs=WORLD-i
ro.semc.product.name=Xperia mini pro
ro.semc.product.device=SK17
ro.product.model=SK17i
# begin build properties
# autogenerated by buildinfo.sh
ro.build.version.incremental=[U]2.9.29[/U]
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.type=user
ro.product.board=
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Sony Ericsson
ro.product.locale.language=en
ro.product.locale.region=cn
persist.sys.timezone=Asia/Shanghai
ro.wifi.channels=
ro.board.platform=msm7x30
# ro.build.product is obsolete; use ro.product.device
# Do not try to parse ro.build.description or .fingerprint
ro.build.characteristics=default
# end build properties
#
# system.prop for mango
# ADDED BY BUILD SCRIPT
ro.rommanager.developerid=miuiandroid
ro.modversion=MIUIAndroid-[U]2.9.29-EN-SK17i
STEP:-4
BUILD PROP TWEAKS
add thses to ur build prop ..
Code:
# System props for audio
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=false
persist.audio.hp=true
# System prop to select audio resampler quality
af.resampler.quality=255
# Miscellaneous Tweaks!
persist.sys.purgeable_assets=1
windowsmgr.max_events_per_sec=150
# Render UI with GPU
debug.sf.hw=1
# Battery Saving Tweak
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.mot.eri.losalert.delay=1000
# Fastest! 2G/3G/WiFi Settings
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=0
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
# Other Tweaks
ro.kernel.android.checkjni=0
ro.max.fling_velocity=8000
video.accelerate.hw=1
Debug.performance.tuning=1
debug.composition.type=gpu
debug.composition.type=cpu
STEP:-5
Disabling auto brightness to make the leds to work.
1-decompile framework-res.apk
2-after decompiling goto res>values>bools.xml
3-u will see this line
Code:
<bool name="config_automatic_brightness_available">[COLOR="Red"]true[/COLOR]</bool>
5. recompile and put the file in system/framework folder.
BLACK BAR removing.
1-decompile MiuiSystemUI.apk
2-goto res>values> drawables.xml
3-delete this line
Code:
<item type="drawable" name="notification_header_bg">#ff000000</item>
STEP:-6
Changing some things in meta-inf folder.
change the highlighted things according to ur rom
1-aroma config file
2-goto meta-inf>com>google>android>aroma>license
and write what every u want.
STEP:-7
Setting up folders.
so after doing all these
u should have these folder
META-INF
DEV
SYSTEM
make a zip of these folders...and ur done with the new miui rom
sorry for my bad presentation
CREDITS
Lens_flare (for giving idea how to do it)
jj doctor
Last edited: