• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][5.1.x][Unfficial][Pisces] MI3 TD CM-12.1/13.0/14.0 [2016-10-03]

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
Status in latest release:

Available
  • Dialing
  • Incoming Call
  • Hand free conversation
  • Phone conversation
  • Call recording
  • Single/Dual mic noise reduction
  • Vibration
  • NFC
  • Sensors
  • Auto brightness
  • Compass (seems buggy in some apps)
  • Charge only mode (Power down charging)
  • Power off alarm

Broken/Unavailable
  • App - FM
  • VPN/Shadowsocks? - need apps update for Android 5

Broken/Missing/WIP
  • Vibrate along with Music
  • Setting - Single/Dual mic mode

Since there'e isn't many ppl want this rom and updating this thread is hard, infomation in this thread is no longer being actively maintained, but rom files will keep being published in download links

XDA:DevDB Information
MI3TD, ROM for the Xiaomi Mi 3

Contributors
xuefer, xuefer
Source Code: https://github.com/MI3TD

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod

Version Information
Status: Alpha
Current Beta Version: 2016-10-03
Beta Release Date: 2016-10-03

Created 2015-03-06
Last Updated 2016-10-05
 
Last edited:

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
Download links
Tools:
(Required) Recovery
  • English TWRP2 for MI3 TD: TWRP2.8-12.1-20150523-UNOFFICIAL-pisces.zip, flashable zip with img inside
    • Dual System fully supported, can flash/boot system-2
    • Dual Data co-existing (when enabled), allow system-1 / system-2 use different data, recovery must be used to switch system along with data
    • Flash using "fastboot flash recovery recovery.img"
    • Data Media supported, auto patch system (mount_ext4.sh) to support /data/media, which can be standalone or merged into data partition
    • Re-partition Internal Storage (use Advanced -> Partition SD Card), merge or split data/media
    Download: @baidu, @androidfilehost (MD5: 5bd1176ccf0d2f2eb777a3df50612ab3)

new updates:

MI 3 TD CM 12.1/13.0 ROMs
  • MI3TD CM12.1/13.0/14.0-2016XXXX (CM: XXXX, Device: XXXX), latest random updates
    Download: @baidu | @360 9f89 | @androidfilehost
  • MI3TD CM12.1-20150528 (CM: 0528, Device: 0528)
    Download: @baidu | @androidfilehost | MD5: 136d1cada4b30223de2298d5d82ecd8b
  • MI3TD CM12.1-20150526 (CM: 0526, Device: 0526)
    Download: @baidu | @androidfilehost | MD5: 3ebaefcf6975529033f097ae03d05b62
  • MI3TD CM12.1-20150519 (CM: 0519, Device: 0426)
    Download: @baidu | @androidfilehost | MD5: 1ca1f2792a8960bb102c5fce4c56c131
  • MI3TD CM12.1-20150507 (CM: 0507, Device: 0426)
    Download: @baidu | @androidfilehost | MD5: a370104c8d2e2b3f6b24f625baa669c1
  • MI3TD CM12.1-20150426 (CM: 0426, Device: 0426)
    Download: @baidu | @androidfilehost | MD5: c65dabbdc0b0482860948bad533b92c9
  • MI3TD CM12.1-20150424 (CM: 0424, Device: 0424)
    Download: @baidu | @androidfilehost | MD5: 89dca605e0922f4ae920123175d1de29

MI 3 TD CM 12.0 ROMs
  • MI3TD CM12.0-20150420 (CM: 0420, Device: 0420)
    Download: @baidu| @androidfilehost | MD5: 64ccae192a8616307d7723e92b3bc5cf
  • MI3TD CM12.0-20150412 (CM: 0412, Device: 0412)
    Download: @baidu | @androidfilehost | MD5: 64ccae192a8616307d7723e92b3bc5cf
  • MI3TD CM12.0-20150316 (CM: 0316, Device: 0316)
    Download: @baidu | @androidfilehost | MD5: 155268021356ba018a63ff0cc67421bd
  • MI3TD CM12.0-20150304 (CM: 0304, Device: 0304)
    Download: @baidu | @androidfilehost | MD5: 68a7618a4706887fb948933ba46364c8
Optional downloads:

ChangeLog
[color=#ff0ff]2015-05-28[/color]
  • Fixed connectivity check by using g.cn as default check server
  • Updated CM to 05-28
[color=#ff0ff]2015-05-26[/color]
  • Optimized boot time (maybe hard to be noticed)
  • Updated kernel to 0522
  • Updated CM to 05-26 date
[color=#ff0ff]2015-04-26 ~ 2015-05-19[/color]
  • Updated CM to corresponding date

[color=#ff0ff]2015-04-24[/color]
  • Switch to CM-12.1
  • Updated CM to 20150424
  • Kernel updated to MI3TD_5.4.22 (3.4.35-g5971b39, Sat Apr 18 20:20:31 CST 2015)

[color=#ff0ff]2015-04-20[/color]
  • Added: Power off alarm (Both "Power Off" and "Power Off Charging" is supported)
  • Updated CM to 20150420

[color=#ff0ff]2015-04-12[/color]
  • Added: Support for System-2. Allow being installed to System-2 and boot from it.
  • Fixed: rework fix for recording issue
  • Added: U un-mount
  • Updated: libnfc*.so libtbb.so file to MIUI 5.3.20
  • Added: Power off alarm (Both "Power Off" and "Power Off Charging" is supported)
  • Fixed: Allow adb access to power off charging (only if authorized already)
  • Improved: Bigger charging icon
  • Added: Allow disabling APN
  • Added: Bluetooth A2DP sink (as client/speaker) (setprop persist.service.bt.a2dp.sink 1, restart bluetooth)
  • Fixed: Can't change USB Computer mode after selecting USB Charge Only
  • Changed: disabled Sms to Mms convertion
  • Added: Show 2G/3G after carrier name
  • Added: Vibration intensity setting
  • Improved: may reduce radio not initialized after boot
  • Updated CM to 20150412

2015-03-16
Warning: Only boot from 1st system as of now
  • Fixed: audio recording (which cashed video recording), this is a temp fix. may cause battery drain
  • Fixed: Bluetooth sharing
  • Fixed: volume key wake up
  • Fixed: variable button key light
  • Fixed: color settings battery/notification led
  • Added: hardware testing app
  • Fixed: charge only mode (power "off" charging), fix graph, fix led, fix percentage
  • Fixed: AudioFX FC
  • Improved: glove mode (in Settings -> Language & Input)
  • Improved: AMAPNetworkLocation (provided in MIUI rom), remove it if you wan't Gapps Network Location
  • Improved: charge only mode when connecting with computer (implemented by CM, MTP=off, adb=off, seems buggy, gray when clicked)
  • Improved: add dirac effect (not tested) from MIUI
  • Improved: compatible with datamedia mode (yet re-partition recovery script is not provided)
  • Improved: compatible with FAT32, NTFS, exFAT, ext4 USB disk
  • Improved: improved MIUI audio blob support for stability
  • Improved: disable wlbwservice which restart loop (may reduce battery drain)
  • Improved: vibrator was too weak, update to same as MIUI

2015-03-04
Warning: Only boot from 1st system as of now
  • Re-enable support non-PIC/non-PIE executable (Roll back some changes of AOSP/CM-12)
  • Fixes: Vibrator (was unsupported by CM-12)
  • Added: App to SD
  • Fixes: Phone (fixed fild)
  • Fixes: Audio (Updated MIUI API patch for CM-12)


Simplified steps to flash
  • fastboot flash recovery recovery.img (TWRP2 English)
  • fastboot reboot (while holding volume UP, to boot into TWRP2 recovery)
  • Switch system to "Current System: 1"
  • Select MI3 TD CM12 zip file from sdcard, flash
  • (Optionall) Flash Gapps

Simplified steps to return to stock rom
  • fastboot flash recovery images\recovery.img (the one from MIUI MI3TD flastboot package http://www.miui.com/shuaji-393.html)
  • fastboot flash boot+boot1 images\boot.img
  • fastboot flash system+system1 images\system.img
or follow the guide in http://www.miui.com/shuaji-393.html
 
Last edited:

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
The ROM is uploaded to baidu cloud storage @ china, if you have mirror the it to other country which is faster out of China, please send me the link for the thread

True Dual boot should be disabled because since MIUIv6 adds encryption to data is is not supported by this recovery hack
Please install to system 1, only
The recovery provided by my link is in Chinese menu, you may want to use English one. I don't have time to find English one for you
 
Last edited:
  • Like
Reactions: Chris_Wang

draven32

Member
May 16, 2014
49
4
0
The bugs i found till now

maps google search not working fc
, camera video force close on saving
, sometimes in calls just turning call on background on call reply
, graphics glitch on performance when trying antutu i have some screen glitches
storage not shown as normal don't see sd internal storage in settings only system storage

- antutu score 37055 performance 26540 on balanced

root works perfectly
 

draven32

Member
May 16, 2014
49
4
0
please update links

on baidu fails to download pleas put androidhost links or other sources that work well outside of china failed download every time

---------- Post added at 09:05 AM ---------- Previous post was at 08:52 AM ----------

when i reach the half of the download crashes for the first 5 min works great then jumps on low transfer then chrashes , that's strange on a gigabit connection use anything else for this but can't dowload it
 

draven32

Member
May 16, 2014
49
4
0
Finaly managed to install it

every bugs that i reported are fixed i'll try to see if i'll find any more bugs , sorry for tte delay but i had to write the kk recovery again via adb because it was overwriten by the cyanogen one , for now everything works only one request do you know someone to translate the kk recovery it took a week for me to find the options i don't know chinese and the tdb was not a option in the clasic one so arangement differs a litle from the english version .

i'll test it for any more bugs i will atatch screenshots
 

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
every bugs that i reported are fixed i'll try to see if i'll find any more bugs , sorry for tte delay but i had to write the kk recovery again via adb because it was overwriten by the cyanogen one , for now everything works only one request do you know someone to translate the kk recovery it took a week for me to find the options i don't know chinese and the tdb was not a option in the clasic one so arangement differs a litle from the english version .

i'll test it for any more bugs i will atatch screenshots
sorry, i don't have access to the source of this version of kk recovery
 

draven32

Member
May 16, 2014
49
4
0
good job

after all the fixes and an antutu test i found a 400 points boost , maps and voice work now still i will have to test on a long term bases to see the battery stats, no bugs except you reported i mean fm radio ,

there is a bit of lag in call animations but is easaly fix with reducing animation to 0.5

by the way can you put the internal sd in storage i only see system memory and i need to go to file explorer to see how much storage i have
 

draven32

Member
May 16, 2014
49
4
0
an ironical opinion about cm12 vs miui

for me at list it's more stable then miui v6 rom on miui v6 had some sim problems and found myself with no sim error mobile networks grayed out on cm12 never had that problem some small glitches but there were fixed ,

i mean this is ironical that a custom firmware works better then the original rom , if xuefer works the fm radio we will have a better rom than miui v6( i don't use that but i mean that is the only thing that is missing for me )



P.S : thanks xuefer for the fast support ,
 

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
FM app is not working for the lack of MIUI framework
SIM card may not work after a hot reboot, so make sure you can dial after boot (it's easier by checking carrier name, it seems different between working or now)
good to know most bug is fixed correctly. the animation is by CM or AOSP which i don't know, they should have tweaked it better i guess

the way MI3 TD partition the disk, emulating SD-card using a separated partition, is in-formal way and isn't supported by AOSP/CM
MIUI show it by hacking the framework code.

I could try to build a recovery with support for
  • true dual boot
  • English
  • datamedia (merged emulated-SD-card to data)

But It take some, and maybe donation. It seems not much non-China user is using MI3 TD. And a little (if not zero) of the China user like to donate