Unlock Bootloder
Flash using china ROM, i’m using Redmi Note 4 Latest China Stable Version
dont forget to replace the cust.img inside rom folder with this , otherwise you will get error status da exceed max num :
If still eror, reboot pc and phone
Register the phone to the mi account
Login to MiFlashUnlock using Mi Accout ID
Testing from fastboot menu, using fastboot devices command
Using SP_Flash_Tool_v5.1620_Win
Xposed
File No. 1: XposedInstaller_3.0-alpha4.apk from here
File No. 2: Now there is option of downloading v86 or v87, read this article
Becasue i’m using android 6 Marsmellow so i’m gonna use SDK23 for MIUI based on Android v6.0 (Marshmallow)
File No. 3: Xposed-uninstaller*.zip from here to uninstall the framework.
for MIUI ROMs build after 29th December 2016, v86 may lead to boot loops. Hence have v87 also handy
Remove Download Limit
go to the downloads app, then settings, then set to unlimited |
Install Gapps
Download this file