In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Mi Max 2


2017-10-03 08:13:24
2390 10

For Mi Max 2 (oxygen)

• Before following any step or asking any question, please read the guide & the below comments very carefully & thoroughly.
• You are choosing to make these modifications, I take no responsibility for bricked devices, dead or corrupt SD cards, accidental data wipe etc.
• This guide will be updated as new information, TWRP, methods are added. Do let me know if I have forgot to mention anything useful.

MIUI (pronounced as Me-You-I) is Xiaomi's custom built firmware on top of Android like Samsung's Grace UX, HTC's Sense, OnePlus's OxygenOS which runs on their smartphones. MIUI is also the second most popular Android firmware, after CyanogenMod. MIUI is based on Android's AOSP base with its own modifications and extensive features over the top. At first glance it resembles like a hybrid between Google's Material Design and Apple's iOS. But unlike Stock Android or iOS, MIUI is very intuitive, feature rich and has multiple tweaking options.
MIUI is updated regularly depending on the development branch. Xiaomi takes reports, feedback and suggestions from the community, addresses the bug-fixes and integrates new features upon request. Most of Xiaomi devices are regularly patched with monthly security updates. The flagship "Mi" series like Mi5, Mi6 receive quicker Android version updates than their budget "Redmi" series like Redmi 3S, Redmi Note 4 etc.

There are 2 development branches of MIUI ROMs for all Xiaomi devices.
A) Stable Builds
• It is updated on a monthly basis or longer
• New features are added slowly after testing
• Higher system stability and less bugs than Beta ROMs
• It has a four digit numbering scheme (X.X.X.X)
• For eg. 8.X.X.X is MIUI8 Stable Build
• Stable builds come in 2 variants
1. MIUI China Stable ROM
• This ROM is pre-installed on all Xiaomi devices sold in China.
• It is made for the Chinese market & contains Chinese MIUI apps.
• Google Apps are absent. You can install them manually.
• It supports Chinese & English languages.
2. MIUI Global Stable ROM
• This ROM is pre-installed on all Xiaomi devices sold outside China.
• It is made for the International market & contains English MIUI apps.
• Google apps are pre-installed by default.
• It supports 50+ languages.

B) Beta Builds
• It is updated on a weekly/bi-weekly basis or longer.
• New features are added quickly for testing.
• Lower system stability and more bugs than Stable builds.
• It has a three digit numbering scheme (X.X.X)
• For eg. 6.11.21 is MIUI8 Beta build for 21th Nov, 2016.
• This ROM is not pre-installed on any Xiaomi device.
• You can install Beta build over Stable build manually.
• Beta/Developer builds come in 2 variants.
1. MIUI China Beta ROM
• It is made for the Chinese market & contains Chinese MIUI apps.
• Google Apps are absent. You can install them manually.
• It supports Chinese & English language.
2. MIUI Global Beta ROM
• It is made for the International market & contains English MIUI apps.
• Google apps are pre-installed by default.
• Supports more than 50+ languages.

Vendor ROM aka Unofficial MIUI ROM
• Official MIUI ROM is found on Xiaomi devices that are bought from official channels
• Official channels include offline Xiaomi stores and online stores like,, etc.
• Vendor ROM is typically found on Xiaomi devices that are bought from unofficial channels/third-party resellers
• Unofficial channels include,,, etc.
• Resellers take any of the official MIUI ROMs and modify it by injecting malwares, adwares, promotional apps etc.
• Vendor ROM may or may not contain Chinese MIUI Apps or Google Apps
• Pre-2016, the Vendor ROM was flashed by the reseller via EDL mode which bypassed LOCKED bootloader status.
• Starting from 2017, Xiaomi decided to block EDL mode on their newer devices.
• If you have a vendor ROM, there are chances that the seller already might have unlocked your bootloader.
• Vendor ROMs can be identified by their odd 5 digit numbering scheme (X.X.X.X.X) eg. MIUI8, MIUI7
• Due to stability & security reasons, such ROMs should not be used and should be changed immediately.

Team Win Recovery Project is a custom recovery which is flashed over the stock recovery as it gives user more options such as flashing custom ROMs, kernels & scripts, take full system backups, restore backups, root etc.

1. TWRP by iscle:
• Based on Stock TWRP 3.1.1-0 with no modifications.
• Ported from Redmi Note 4 (mido)
• English language as default
• Need to flash dm-verity zip immediately after flashing this TWRP, else your phone wont boot.

2. TWRP by xuefer:
• Built using LineageOS 14.1 source
• Built and tweaked for Mi Max 2 (oxygen)
• Decryption support added for /data
• Faster transfer using adb push
• Extra fonts added

• Unlock bootloader here:
• Install "Minimal ADB+Fastboot Drivers":
• Download TWRP file and copy the file in the C:\Program Files (x86)\Minimal ADB and Fastboot folder
• Download dm-verity disabler and copy the file in your phone:
• Switch off phone. Hold Power + Volume Down to boot into fastboot mode. Connect it to PC.
• Inside the folder where TWRP file is present, open command prompt window.
• Type "fastboot devices". Your phone will get detected with serial number.
• Type "fastboot flash recovery ". TWRP will get flashed on your device.
• E.g. "fastboot flash recovery twrp_3.1.1-0.img".
• Type "fastboot boot ". You will boot into TWRP. Disconnect phone from PC.
• E.g. "fastboot boot twrp_3.1.1-0.img".
• On the screen, swipe to allow modifications and select your language. Uncheck "Keep system read-only"
• Select Install and then choose the dm-verity disabler zip and swipe to flash.
• Select Backup and check all partitions. Swipe to backup. The backup will be stored in "TWRP" folder
• Select Reboot and then system. You will be asked if you want to disable the stock recovery. Swipe to disable.
• You will boot into MIUI with TWRP installed.

These zips are meant to be flashed with TWRP with a specific order. Before flashing any zip make sure you have taken full backup of your device partitions using TWRP.

1. no-verity-opt-encrypt:
• Also called as dm-verity disabler/lazy flasher
• "dm-verity" is a feature in the MIUI kernel which checks and prevents the phone from booting normally if you modify the phone. (e.g. flash TWRP)
• To prevent that, you need to flash the dm-verity disabler zip which removes dm-verity check and also decrypts the /data partition so that you can boot into MIUI normally.
• Else you can flash a custom ROM immediately after flashing TWRP which removes the MIUI system and kernel

2. Xiaomi.EU ROM Patch:
• You need to install Xiaomi.EU ROM before installing these zips via TWRP.
• MIUI to Google Apps: Replaces default MIUI apps with Google apps.
• Google Now/Pixel Launcher: Replaces stock MIUI launcher and enables Google Assistant via build.prop tweak.
• DPI changer: Change values from stock 440 (low res, bigger) to 325 (high res, smaller).

• Unlocked bootloader with TWRP installed
• Phone partition backup using TWRP
• All data backup from internal storage (sms, contacts, files etc.)
• Official MIUI ROM encrypts /data partition, you will need to Wipe > Format Data to decrypt it completely else need to flash dm-verity disabler zip.

1. Rooting MIUI/LineageOS/AOSP ROM
• Boot into TWRP (Power+Volume Up)
• Install > Flash Magisk/SuperSU zip
• Reboot > System

2. Flashing official MIUI recovery ROM
• Boot into TWRP
• Wipe > Factory reset
• Install > Flash MIUI ROM zip
• Install > Flash dm-verity disabler zip
• Reboot > System

3. Flashing Xiaomi.EU MIUI ROM
• Boot into TWRP
• Wipe > Format data and Reboot > Recovery (if coming from official MIUI ROM)
• Wipe > Factory reset
• Install > Flash Xiaomi.EU MIUI ROM zip
• Reboot > System

4. Flashing LineageOS/AOSP ROM
• Boot into TWRP
• Wipe > Format data and Reboot > Recovery (if coming from official MIUI ROM)
• Factory reset
• Flash LineageOS/AOSP ROM zip
• Flash Google Apps zip
• Reboot to system

2017-10-03 08:13:24
Favorites13 RateRate

Semi Pro Bunny

1675444028 | from Redmi Note 4


thanks for giving information
2017-10-03 09:02:45

Advanced Bunny

Lutz | from Redmi Note 4


nicethe information given was usefull
2017-10-03 09:06:53

Master Bunny

Sanket | from Redmi 3S


nicee info
2017-10-03 09:24:22

Pro Bunny

rajeebrio | from Redmi 4A


Thanks for the info
2017-10-03 09:28:34

Read Only

1668414723 | from Redmi Note 4


nice information bro keep it up
2017-10-03 09:39:43

Semi Pro Bunny

1637065993 | from Redmi 4


it's amazing
2017-10-03 10:16:35

Advanced Bunny

1700872428 | from Redmi 4


no that whyai can
2017-10-03 16:44:35

Grandmaster Bunny

Prem | from Redmi Note 4


Good informative and useful information thanks for sharing this with us
2017-10-03 21:02:58

Read Only

Rashid kamaal | from Redmi Note 4


Nice information and the details
2017-10-03 23:29:45

Advanced Bunny

amalrakoff | from Redmi Note 4


masterflasher opp
2017-10-04 17:36:52
please sign in to reply.
Sign In Sign Up

Prathamesh Dhanorkar

Rookie Bunny

  • Followers


  • Threads


  • Replies


  • Points


Mi Explorers

Read moreGet new
Copyright©2010-2020, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list