5,597,313 Members 36,653 Now Online
XDA Developers Android and Mobile Development Forum

[ROM][P760/P768][P769][2013/12/18] MIUI-3.12.13 (unofficial)

Tip us?
 
artit
Old
(Last edited by artit; 18th December 2013 at 06:31 AM.)
#1  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Default [ROM][P760/P768][P769][2013/12/18] MIUI-3.12.13 (unofficial)

MIUI v5 (3.12.13) for P760/P768 and P769

Quote:
Most of bugs are fixed and it's very stable after test it about a week. There're some know issues you should aware of, so please read it carefully below.

Only for P760/P768 and P769 phone with Unlocked bootloader! (should work with P765)

Thanks AntonX for his P769 kernel and files.
Thanks Versatil2010 and NGD1 to help me test P769 ROM
Features
  • Update to MIUI v5 - 3.12.13
  • Based on my CM 10.1.3 unofficial 20131214 (build only for this rom, not publish)
  • Jellybean 4.2.2
  • Aroma installer for choosing phone model, applications and enable NFC (for P760 only, my P768 kernel didn't compile with NFC enabled)
  • Swap internal/external sdcard
  • MTP / UMS (enable via mtp.sh & ums.sh)
  • Reduce headset volume and increase speaker volume
  • Move app2sd using Titanium Backup
  • XperiaT keyboard by Ghostfreak NB
  • Multi language support with patch, include these languages
  • Enable some Settings (some works some don't work), ex. Front key light, Multi touch config, display color (I think these don't work), Noise supression (Don't know this work or not)
  • MIUICamera
  • Boot to Recovery in Power menu
  • Navigation bar mod (selectable in Aroma installer)
  • Modified Kernel by AntonX (P769) from this thread
    • Compiled with Linaro 4.7
    • Extended frequency table with 200MHz, 1200MHz, 1350MHz (overclocking doesn't work on some phones)
    • Slightly undervolted
    • Userspace voltage control. Use SetCPU, VoltageControl, or similar. Warning: Save a recovery script with either of these programs before playing with voltages!
    • GPU is extended with 384MHz, IVA with 430 MHz
    • Selectable screen-off maximum frequency
    • Included SmartassV2 governor, SIO scheduler.
    • Few performance tweaks.
  • Modified Kernel 30.0.31 CM+ for OMAP board (P760/P768).
    • OC - 300, 600, 800, 1008, 1200 Not OC by default, you can use CPU control app from market to set max frequency
    • UV - 925, 1075, 1175, 1275, 1350
    • Add SIO, SIOPLUS, FIFO, ROW and VR I/O scheduler (Default : CFQ)
    • Add sanjose, lazy, interactiveX, ondemandx, pegasusq, adaptive, adaptivex, smartass2, zenx and abyssplug CPU Governor (Default : interactive)

Change log - What is changed since my last update (3.11.29)
How to install
  • CWM Backup your phone.
  • Download rom and put it in sdcard.
  • Download Google Apps for MIUI and put it in sdcard. (I remove google setting which conflict with MIUI and some rarely used app. You can reinstall it in market)
  • Boot into recovery and Clear cache, dalvik cache and format /system. (Full wipe is recommended)
  • Flash rom, then flash Google Apps for MIUI. Please select your phone model (P765 user should select P760).
  • Flash all patch by order (If any)
  • Reboot.

Download Link
  • 2013/12/18 - 3.12.13 upgrade patch (You must on 3.11.22 or later before flash this)
    • English/Chinese md5:06c965e8ac1327f5901c90503562b691
    • Multi languages, coming soon md5:
  • 2013/11/27 - 3.11.22 full rom

Recommend Apps
  • Weather BZ. It's compatible with MIUI Weather (thanks @garik345 for this info)
  • Titanium Backup. Some app install directly to sdcard some don't. You can use this app to move app to sdcard.
  • FasterGPS. You can use this program to change your gps config & region.

MIUI Usage & Tips
Bugs
  • Lyric in 4x4 Music widget scroll all the way to bottom. Don't know this is my bug or widget bug?
  • Sound is muted when you got another call during conversation.
  • MiuiCamera flash may not work in the first shot, (Set flash on)
  • In Browser, select text in link not work.
  • Recording sound is too low (fixed in next update)

Known issues
  • Sometime my Wifi MAC address reset to 00:00:00:00:00:00, solve by reboot phone 2 times (or 1 time if it's solved). I rarely got this problem, but it still there. I think it occur after some app error.
  • In Play Store, if you got download via wifi only while on 3G, it's because download limit setting in Download app. Please open download app and adjust download limit to 20M.

Bugs Fixed/Feature Added
  • 2013/12/18
    • Update to MIUI v5 3.12.13
    • Fix recording sound too low
  • 2013/11/27
    • Update to MIUI v5 3.11.22
    • MiuiCamera from latest Mi2 device
    • Add bluetooth audio fix (need testing, fix came from AntonX rom)
    • Add in call volume adjustment (fix came from AntonX rom)
    • Fix Call waiting FC

What's next
  • MIUI update weekly, I'll update this rom every two weeks.

Screen shot






Version History
 
  • 2013/12/18 v.1.2
    • Update to MIUI v5 3.12.13
    • Fix recording sound too low
  • 2013/11/27 v.1.1
    • Update to MIUI v5 3.11.22
    • MiuiCamera from latest Mi2 device
    • Add bluetooth audio fix (need testing, fix came from AntonX rom)
    • Add in call volume adjustment (fix came from AntonX rom)
    • Fix Call waiting FC
  • 2013/10/30 v.1.0
    • P760/P768, md5:cb7155c1b5d783272dd9d7462511fa33
    • P769 md5:7a69fbf0bc834b9d7ca6ce100d2e64b6
    • Multi languages patch - 3.10.25, md5:b8827219ca5175829d93f51e84c545d7
    • Build separate rom for P760/768 and P769
    • [Added] MIUI Camera
    • [Added] Update to MIUI v5 - 3.10.25
    • [Removed] Remove CM Trebuchet because it don't work (and I don't want to find out why.)
    • [Added]Create a multi language patch instead of include it in rom.
    • [Added] modified framework to enable nav bar. You can select it in Aroma.
    • [Added] Boot to Recovery menu (Thanks ZduneX25)
  • 2013/10/24 - RC.1 release MIUIv5_L9_RC1.zip, md5:61c5fd416d59ad61c1df543f529997e1
    • [Removed] SDCard emulated
    • [Added] Swap internal/External SDCard
    • [Added] UMS/MTP script (/system/xbin/ums.sh, mtp.sh)
    • [Added] Move app2sd using Titanium Backup (Sorry no option in MIUI App setting)
    • [Added] XperiaT keyboard by Ghostfreak NB
    • [Added] Multi language support
    • [Added] Update to MIUI v5 3.10.18
    • [Fixed] Music FC (MIUI update)
    • [Fixed] LGE Guard FC (MIUI update)
    • [Fixed] Long press Home, Back & Menu works in Buttons setting
    • [Fixed] Background blur/transparent effect not work. (Fixed with my workaround patch)
    • [Fixed] MIUI dialog background is black (ex. Shutdown dialog)
    • [Fixed] CPUBooster & NetworkConfig works
  • 2013/10/12 - BETA.2 release MIUIv5_L9_BETA2.zip, md5:352e9272f95d34e6e4fb1485f7d7cd41
    • [Added] Now support P769. Big thanks to AntonX for his P769 kernel and files
    • [Added] Add all CM & MIUI removed apps back
    • [Added] Modify Aroma installer to allow application selection
    • [Fixed] Long press Home to bring Recent app may not work. After fixed it still not work well with "Menu" button.
    • [Fixed] Menu item in "Display" below "Font size" display as @2131495341
    • [Fixed] Add MIUI shutdown screen
    • [Added] Emulate internal sdcard
    • [Fixed] Music & Pictures don't show in player/gallery.
    • [Fixed] Screenshot reboot your phone. (Vol- + Power)
    • Bugs
      • Music sometime get FC because sdcard is FAT32 and Music require some ext4 feature.
      • All MIUI background blur/transparent effect not work.
  • 2013/10/10 - Patch 02 for BETA1 P760 md5:a883a38075902eda4e44dc9f43c38bf0, P768 md5:cb8670033b3dba611208815b4b3ac9dc
    • [Added] Swap internal/external sdcard
    • [Added] UMS
    • [Fixed] Music & Pictures don't show in player/gallery
  • 2013/10/10 - Patch 01 for BETA1 Flash in recovery over BETA1 version, md5:e7e659c1f7f78b1cecd835a42d914ea7
    • [Fixed] Long press Home to bring Recent app may not work. After tested, Recent app action don't work well on "Menu" and "Home" button. I switch it to "Back" and it always works.
    • [Removed] Weather app only display City in China You can install other weather app from market
    • [Fixed] Menu item in "Display" below "Font size" display as @ 2131495341
    • [Added] MIUI shutdown screen
  • 2013/10/10 - BETA.1 release MIUIv5_L9_BETA1.zip, md5:d39f641cc466a1ebb38ec63a63e534c0
    • Based on my CM 10.1.3 unofficial 20130927
    • Modified Kernel 30.0.31 CM+ for OMAP board (P760/P768).
    • Jellybean 4.2.2
    • Aroma installer for choosing phone model and enable NFC (for P760 only, my P768 kernel didn't compile with NFC enabled)
    • Emulate SDCard
    • Reduce headset volume and increase speaker volume
    • OC - 300, 600, 800, 1008, 1200 Not OC by default, you can use CPU control app from market to set max frequency
    • UV - 925, 1075, 1175, 1275, 1350
    • Add SIO, SIOPLUS, FIFO, ROW and VR I/O scheduler (Default : CFQ)
    • Add sanjose, lazy, interactiveX, wheatley, ondemandx, pegasusq, adaptive, adaptivex, smartass2, zenx and abyssplug CPU Governor (Default : interactive)
    • MTP (internal/external) and PTP
    • Remove some CM apps (CMUpdater, CMAccount, CMFilemanager, Torch, Trebuchet, Apollo, and more...)
    • Bugs
      • Sometime my Wifi MAC address reset to 00:00:00:00:00:00, solve by reboot phone 2 times (or 1 time if it's solved).
      • Don't use Permission Manager app (MIUI on green background) on desktop to enable root. Please use same app in System folder. You will get FC if mess with it.
      • You cannot view files and folders that created by last rom on internal/external sd on computer, in Gallery or Music. But it show in File manager. If you want your Music app to able to play your music please copy it after install rom. Strange I think it something about permission.
      • In Browser, select text in link and Magnifier not work. Due to webkit problem.
      • Weather app only display City in China
      • Menu item in "Display" below "Font size" display as @ 2131495341
      • There're annoying background sound when you touch screen, please disable touch sound to get rid of it.
      • I cannot remove CM gallery because Camera is in that apk. And for this strange CM approach you will get error com.android.camera not found in logcat. Don't report this to me.
      • There're also some method not found error in logcat, all about user right & permission.


Credits
  • CM Team for base rom & P760 device tree
  • MIUI Team for patchrom & MIUIv5
  • artas182x for UV value
  • amnik & mateo1111 for kernel source that I review and add OC to my based rom
  • dtrail1 for JBX Kernel, I get i/o schedule & cpu governor source from this kernel
  • AntonX for his P769 kernel and files, and some bugs fix
  • Ghostfreak NB for XperiaT keyboard
  • ZduneX25 for Boot to Recovery power menu
The Following 43 Users Say Thank You to artit For This Useful Post: [ Click to Expand ]
 
artit
Old
(Last edited by artit; 26th November 2013 at 03:34 PM.)
#2  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
HOW TO (Update : 2013/11/27)

Flash over last version
  1. You can flash new version over old version
  2. Put rom & gapps for MIUI in sdcard
  3. Boot to recovery
  4. Wipe cache & dalvik cache
  5. Flash rom & gapps
  6. Reboot

Flash this ROM over CM10.1
  1. Didn't try it yet

Enable OC, change I/O scheduler and chnage CPU governor
  1. You need to enable enable root permission first. Do it by open Permissions, MIUI logo on green background in System folder (Don't use Permission Manager on Desktop).
  2. Select "Manage ROOT permission" > "Enable permission manager"
  3. Install some CPU control app from market. I use "No frill CPU control". You can set frequency, I/O scheduler and CPU governor.
  4. Read more about CPU governor at http://forum.xda-developers.com/show....php?t=1792369 and http://translate.google.com/translat...ejegyzest.html
  5. Read more about I/O scheduler at https://www.vincentkong.com/wiki/and...io-schedulers/
  6. Please test all changes before select "Set on Boot" because if something go wrong you can reboot your phone to revert it.
  7. If you select "Set on Boot" you must allow CPU control application to Auto Start in MIUI Auto-Start app. If not it'll not work.

Cannot connect to wireless access point
This problem mostly occur when you got some error at first boot. The problem is error interrupt startup service to write proper MAC address data to file. Your wifi mac address will be 00:00:00:00:00:00
If you got this problem during normal use please reboot your phone once or twice to solve it.

If above solution doesn't work try
  1. Use file manager or adb to delete /data/misc/wifi folder from your phone
  2. Reboot (disconnect usb cable to make sure there're no error at startup)

Safely switch between MTP/UMS in this ROM
  • You can run mtp.sh or ums.sh using script manager widget (install from play store) or terminal to switch between MTP and UMS.
  • Some usb dialog don't changed according to the mode you just switch to, please reboot your phone to make a proper change.
  • In UMS mode, don't try to click enable Mass Storage button because it'll unmount sdcard.
  • In UMS mode, don't set usb connection to "Mount sdcard" because it'll unmount sdcard upon connected.
  • Please set usb connection mode to "Charge only"

How to remove unused MIUI Chinese app
You can remove following apps
  • SuperMarket, MIUI chinese market. You can use root file explorer to remove /system/app/supermarket.apk
  • Some pre-install chinese apps setup files in /data/preinstall_apps. Just delete preinstall_apps folder.
  • Some pre-install chinese apps, delete AlipayMsp.apk, MiShop.apk and Userbook.apk from /data/app/

How to port MIUI v5 to using other CM rom as based
This is how I port my MIUI v5 to P769
  • Find CM 10.1.3 based rom that work on your phone (I used AntonX CM 10.1.3 rom)
  • Download MIUI v5 (may work with others MIUI that use CM 10.1.3 as based)
  • Copy following files from MIUI rom to based rom
Code:
/etc/
	license/
	permission_config.json
	pinyinindex.ldf
	telocation.ldf
	weather_city.db
	yellowpage.db

/fonts/
	Miui-Bold.ttf
	Miui-Regular.ttf
	TobysHand.ttf

/framework/
	android.policy.jar
	framework-miui-res.apk
	framework-res.apk
	framework.jar
	framework_ext.jar
	services.jar
	telephony-common.jar
	
/lib/
	content-types.properties
	libFreqFilter.so
	libMiuiGalleryJNI.so
	libaudiofp.so
	libffmpeg_xm.so
	libffplayer_jni.so
	libimageprocessor_jni.so
	libimageutilities_jni.so
	libjni_resource_drm.so
	libjni_resource_patcher.so
	libkeygen_jni.so
	liblbesec.so
	liblocSDK_2_5OEM.so
	libmp3lame.so
	libpatcher_jni.so
	libphotocli.so
	libshell.so
	libshell_jni.so
	libshellservice.so
	
/media/
	audio/  (missing files only or just copy all files)
	lockscreen/
	theme/
	wallpaper/
	bootanimation.zip
	
/xbin/
	shelld
	su

/etc/vold.conf
  • Extract based rom boot.img and add following lines at the end of init.rc file
Code:
service shelld /system/xbin/shelld
    class main
  • Add additional jar to BOOTCLASSPATH, after framework.jar as below
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework_ext.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
  • You may need to edit sdcard mount point in following files to match internal/external sdcard setting.
    • /etc/vold.conf
    • /init.lgep{MODEL}board.rc
    • /res/xml/storage_list.xml in framework-res.apk (decompiled)
Below is what I used in my rom
/etc/vold.conf
Code:
dev_mount sdcard /storage/sdcard0 auto /devices/platform/omap/omap_hsmmc.0/mmc_host
/init.lgep{MODEL}board.rc
Code:
...
on init
    # See storage config details at http://source.android.com/tech/storage/
    
    mkdir /storage/sdcard0 0666 system system
    mkdir /storage/sdcard1 0555 shell shell

    export EXTERNAL_STORAGE /storage/sdcard0

    # Support legacy paths
    symlink /storage/sdcard0 /sdcard
    symlink /storage/sdcard0 /mnt/sdcard
...
# create virtual SD card at /mnt/sdcard, based on the /data/media directory
# daemon will drop to user/group system/media_rw after initializing
# underlying files in /data/media will be created with user and group media_rw (1023)
# FUSE daemon
service sdcard /system/bin/sdcard /data/media /storage/sdcard1 1023 1023
    class main
/res/xml/storage_list.xml in framework-res.apk (decompiled)
Code:
<?xml version="1.0" encoding="utf-8"?>
<StorageList
  xmlns:android="http://schemas.android.com/apk/res/android">
    <storage android:mountPoint="/storage/sdcard0" android:storageDescription="@string/storage_sd_card" android:primary="true" android:removable="true" android:allowMassStorage="true" />
    <storage android:mountPoint="/storage/sdcard1" android:storageDescription="@string/storage_internal" android:emulated="true" android:mtpReserve="100" />
</StorageList>
The Following 10 Users Say Thank You to artit For This Useful Post: [ Click to Expand ]
 
simosimi
Old
#3  
simosimi's Avatar
Member
Thanks Meter 10
Posts: 57
Join Date: Jul 2013
Location: Rome
too many bugs... i will try it after some fixes...
 
mussi96
Old
#4  
mussi96's Avatar
Senior Member
Thanks Meter 13
Posts: 173
Join Date: May 2013
Location: Bangalore
After applying a theme it gives me an err on showing the theme has unfortunately stopped plus many more bugs it was there on gariks rom too..

Sent from my LG-P760 using xda app-developers app
 
artit
Old
#5  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Quote:
Originally Posted by mussi96 View Post
After applying a theme it gives me an err on showing the theme has unfortunately stopped plus many more bugs it was there on gariks rom too..

Sent from my LG-P760 using xda app-developers app
I don't sign in to test theme yet. I'll give it a try and see what's the problem.
The Following User Says Thank You to artit For This Useful Post: [ Click to Expand ]
 
artit
Old
(Last edited by artit; 9th October 2013 at 05:43 PM.)
#6  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Quote:
Originally Posted by mussi96 View Post
After applying a theme it gives me an err on showing the theme has unfortunately stopped plus many more bugs it was there on gariks rom too..

Sent from my LG-P760 using xda app-developers app
It works on my phone. Can you give me your logcat?

Oh I didn't notice that your phone model is P760, wait for other user before I'll try to switch to that kernel and test again. And which theme you apply, I apply "Tinylove" with no error.

edit: I also tried "Tasteful" theme and it works fine.
 
NGD1
Old
#7  
NGD1's Avatar
Member
Thanks Meter 14
Posts: 94
Join Date: Apr 2012
Location: Deland
Can this work for the p769?

Sent from my LG-P769 using Tapatalk 4
 
smoke2tun
Old
#8  
Member
Thanks Meter 5
Posts: 51
Join Date: May 2010
Location: Braila
I'm verry happy to se miui developed for our LG's. I'll be flashing this myself in a couple of days on my P760.
 
ulaon
Old
(Last edited by ulaon; 9th October 2013 at 06:31 PM.)
#9  
Member
Thanks Meter 8
Posts: 84
Join Date: Apr 2012
Location: Poznan
Default Yupi

I have waited to see post titled "miui" on this section since I have bought my LG L9. I am very glad to see this downloading rom right now and will be flashing as soon as it is download

Good luck in further development of it
 
artit
Old
#10  
Senior Member - OP
Thanks Meter 581
Posts: 747
Join Date: Aug 2011
Location: Pathumthani
Just found new annoying error. Long press home button don't work when there are open window. I have to press it 3-4 times to bring recent app up.

Sent from my LG-P768 using xda app-developers app

The Following User Says Thank You to artit For This Useful Post: [ Click to Expand ]
Tags
miui, p760, p768, rom
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes