[Xiaomi Mi Note Pro] underlines:
Table of contents

Go to post 2 for ROM Mirrors

Developer ROM + SuperSu Root + Custom TWRP Recovery + google apps

Go back from TWRP recovery to original Mi Recovery

Change Fonts to any font (not using Theme Store fonts)

Remove spell-checker (red underlines) when typing

Notifications are delayed for Whatsapp and other apps

Preview app screen in taskmanager

Unbrick Mi Note Pro / Flash Fastboot ROM

Backup EFS / IMEI

Restore EFS / IMEI - recover after you get no signal no IMEI

Increase & Boost Headphone Volume

--------

1. - Developer ROM + SuperSu Root + Custom TWRP Recovery + google apps

Download these:

- mi note pro developer rom (full ROM pack) from http://en.miui.com/download-273.html or from a mirror in the second post

- copy the zip to your device (dont extract the zip)

- twrp.img from https://mega.nz/#!q40WWSIB!tZN38HAzpIKQXbsRkwVJBkyGr5f1OUPaIZkxt3Bfiak

- copy the img file to your device

- opengapps in the configuration: ARM64 > 5.1 > nano from here: http://opengapps.org/

- copy opengapps zip to your device (don't extract the zip)

Then:

flash developer rom via updater app (click menu > choose update package > select downloaded rom zip)

wait until rom is completely flashed and phone reboots automatically

install super su from google play, start it, allow root access, let it install super su binary via normal mode

install flashify from google play, start it and grant root access

flash the twrp recovery.img file in flashify

turn off phone, boot into twrp recovery (hold power + volume up button until it boots into recovery)

flash (install) opengapps nano zip in twrp recovery

be happy with a stable system

Important: You permanently flashed TWRP recovery, so the MIUI Updater app will not work. If you want to update your rom, just download the full developer ROM from http://en.miui.com/download-273.html to your device. Reboot to TWRP recovery (hold power + volume up button) and install the downloaded full ROM zip.

2. - Go back from TWRP recovery to original Mi Recovery

Install Minimal ADB & Fastboot from here https://www.androidfilehost.com/?fid=24052804347803384

Download the original Mi Recovery img file form here: https://mega.nz/#!kdhUyIIT!r3zUx_6OoKiusgPWRSBYhltvHP48RLfhuSnZ59wXF2k

Copy the mirecovery.img to your computer's c:\ drive

Enter fastboot mode by turning phone off and then holding down Power+Volume Down buttons until it boots into fastmode

Connect phone up to PC by USB cable

In your computer's startmenu find the adb link and open it. A command prompt should appear

Type

fastboot flash recovery C:\mirecovery.img

and press enter

if you would like to keep your current TWRP recovery and only boot into Mi Recovery once, then type

fastboot boot c:\mirecovery.img

and press enter instead

Credits: Kahun

Original thread: http://en.miui.com/thread-124319-1-1.html

3. - Change Fonts to any font (not using Theme Store fonts)

Install iFont from Google Play: https://play.google.com/store/apps/details?id=com.kapp.ifont

Use one of the fonts in the app or copy your own font into sdcard/iFont folder

Dont use MIUI Mode from iFont, use the root mode to apply fonts

Device will reboot and new font will be applied automatically without using theme store fonts

4. - Remove spell-checker (red underlines) when typing

turn on developer options (Go To "Settings > About Phone > MIUI version" and tap "MIUI version" many times until developer mode appears)

turn on usb debugging in developer options ("Settings" > "Additional Settings" > "Developer Options" > "USB Debugging")

on your PC downlolad and install minimal adb and fastboot drivers ( http://xdaforums.com/showthread.php?t=2317790 )

connect your device via usb to your PC, wait 2 minutes until adb drivers have been installed

run the installed adb link in your start menu, a cmd window opens op

enter:

adb shell

and press enter

enter:

settings put secure spell_checker_enabled 0

and press enter

close cmd, disconnect phone, spell checking is disabled

5. - Notifications are delayed for Whatsapp and other apps

Install https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer and set all heartbeat times to a lower value

Open the apps you want to allow running on background and send you instant push notifications (Whatsapp etc)

Press Menu button

You see the opened apps in your taskmanager.

Swipe down all the apps that you want to let run in the background.

A small lock icon will appear above them.

6. - Preview app screen in taskmanager

When you open the task manager by pressing the menu button, pinch out with two fingers.

A preview of all apps will be displayed in your task manager from now on (even after a reboot)

7. - Unbrick Mi Note Pro / Flash Fastboot ROM

Download fastboot rom from here: stable: http://update.miui.com/updates/v1/fullromdownload.php?d=leo&b=F&r=cn&n= developer: http://update.miui.com/updates/v1/fullromdownload.php?d=leo&b=X&r=cn&n=

Download, install and run Mi Flash from here: http://bigota.d.miui.com/tools/MiPhone2015731.exe

Turn off the device. Press the Volume–down key and the Power button and hold them some time until your device enters Fastboot mode.

Connect the device to the Windows PC/laptop via a micro USB cable

Decompress the downloaded fastboot rom. Open the folder for the decompressed ROM pack, and copy its whole path, example C:\Users\administrator\Downloads\mi_note_pro\fastbootrom\

open MiFlash.exe and paste the previously copied path into the address bar of MiFlash on the top.

Click on Refresh, and MiFlash should automatically recognize your device. Then click flash to flash the ROM file to the device.

Wait until the progress bar inside MiFlash turns fully green, which means the ROM has been successfully installed. Then after a few minutes of waiting, your device should automatically boot to the new version.

Video of how to flash fastboot rom

8. - Backup EFS / IMEI

install and start minimal adb and fastboot

enable usb debug in your phone's developer settings

connect phone to pc via usb

in the adb commandline window that you opened in step 1, enter:

adb devices

if list of devices attached is not empty, your connection is successful, otherwise install MiPhone Manager, restart computer

enter:

adb shell

enter:

su

on your phone accept the root request popup window by SuperSu, your phone obviously must be rooted (how to root)

if you have a Xiaomi Mi Note Pro 64gb (codename: leo) then skip to step 14, if you have a different phone continue all steps

enter:

mount

find the path that contains /system, on Xiaomi Mi Note Pro it's: /dev/block/bootdevice/by-name/system

enter:

ls -al <path you found above, without system>

in our example device the Mi Note Pro it's:

ls -al /dev/block/bootdevice/by-name/

find all entries containing modem and modemst For the Mi Note Pro it's:

modem -> /dev/block/mmcblk0p36
modemst1 -> /dev/block/mmcblk0p28
modemst2 -> /dev/block/mmcblk0p29

enter:

dd if=/dev/block/mmcblk0p36 of=/sdcard/modem.img bs=4096

enter:

dd if=/dev/block/mmcblk0p28 of=/sdcard/modemst1.img bs=4096

enter:

dd if=/dev/block/mmcblk0p29 of=/sdcard/modemst2.img bs=4096

9. - Restore EFS / IMEI - recover after you get no signal no IMEI

if you've lost your efs/modem/imei because of a bad flash, you can restore the backups you've created

above

open minimal adb, connect phone via usb, while usb debug is on

enter in the minimal adb command line window:

adb shell

enter:

su

enter:

dd if=/sdcard/modem.img of=/dev/block/mmcblk0p36

enter:

dd if=/sdcard/modemst1.img of=/dev/block/mmcblk0p28

enter:

dd if=/sdcard/modemst2.img of=/dev/block/mmcblk0p29

restart phone

10. - Increase & Boost Headphone Volume

You need to be rooted

Install AlsaMixer

Start it

Click Menu > Settings and change Mode from alsa_amixer scontrols to alsa_amixer controls

Restart phone

Open AlsaMixer again

Use the search function and search for HPHL Volume and HPHR Volume and star both to add them to Favorites

Use the search function and search for RX1 Digital Volume and RX2 Digital Volume and star both

Change both HPHL / HPHR Volume to a value between 15-20 (Recommended is starting from 15, apply to both and reboot your device, then test listening to a song with your headphones on max volume, if you don't like it, increase all values one step)

Change both RX1 / RX2 Digital Volume to a value between 89-96 (Recommended is starting from 89, apply to both and reboot your device, then test listening to a song with your headphones on max volume, if you don't like it, increase all values one step)