yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max Guides, News, & Discussion] nonoganosus:
[MENTION=2352960]ethan21[/MENTION] , [MENTION=2782217]pang2000[/MENTION]

Found the solution, on page 22. Flash MIUI8.1.2

Since I'm not very techie with these kind of things, I just replaced recovery.img with twrp, flashed the entire rom, then booted into TWRP instead. Got that sorted out, now running CM14.1. Cheers to all.
[Xiaomi Mi Max Guides, News, & Discussion] panyan:
My new 128/4 arrived with 8.0.3 on it

1) update to 8.0.3->8.1.3

-http://en.miui.com/thread-414209-1-1.html

-http://en.miui.com/thread-307139-1-1.html

2) unlock bootloader

-http://en.miui.com/thread-280561-1-1.html

3) Update to 8.1.3-8.1.6 (OTA)

4) flash TWRP (With one from the start of this thread)

5) flash RR-N-v5.8.0-20161223-helium in TWRP

-https://xdaforums.com/mi-max/development/rom-resurrection-remix-t3507372

6) flash gapps, ARM64 in TWRP

-http://opengapps.org/

My 3/64 info:

EMMC: Samsung

DDR: Samsung

LCD: TIANMA FHD R63350 VIDEO PANEL

TOUCH IC: Focaltech

TP Maker: Ofilm

Bootloader: Locked

My 4/128 info:

EMMC: Hynix

DDR: Micron

LCD: TIANMA FHD R63350 VIDEO PANEL

IC: Focaltech

TP: 0Film

Bootloader: Unlocked
[Xiaomi Mi Max Guides, News, & Discussion] lrcquest:
if already on 8.1.6 with locked bootloader, will this method work? can i directly unlock bootloader without downgrading?
[Xiaomi Mi Max Guides, News, & Discussion] panyan:
above :)
[Xiaomi Mi Max Guides, News, & Discussion] StardustGeass:
Hello guys, I want to report my experiment using this guide..

Mi Max Hydrogen 32GB

MIUI 8.1.6, LOCKED BOOTLOADER

So, at first I tried flashing Hydrogen TWRP from 1st post, but unsuccessfully entered TWRP (as others reported here as well), but it still boots fine if I press power button only.

Then, I installed fastboot ROM MIUI 8.1.2 from someone on this thread.

Boots successfully.

Turned it off again, enter EDL, and installed Hydrogen TWRP from 1st post.

Unplugged, Vol up and power on, successfully entered TWRP.

1st, it asked password for encryption, I press cancel.

2nd, asked to modify system, I swiped.

Ok, after that I move to MOUNT (as shown in instructions).

Here's whats funny: The system already unmounted.

But, since I thought I was doing well in instructions, I keep going on.

After that, I flashed 3 zipped files:

- Resurrection Remix 5.7.4

- OpenGapps Pico

- Xposed given on RR thread.

As I remember, no failure at all.

And then, I forgot that I haven't formatted data, so I does it after flashing those files (Is this where I was wrong?)

Nothing fishy so far, so I reboot to system.

TADA!!!

The device now unable to turn on (vibrates, shows a glimpse of MI logo than turned off), tried EDL mode but no success (Quallcomm 900E).

Question:

Is it really because I formatted the data after flashing ROM? (I thought it was like factory reset?)

Or, is there anything else gone wrongly?

I made sure that all my files are for hydrogen, so it is not because I flash wrong version.
[Xiaomi Mi Max Guides, News, & Discussion] seking:
I hope you are on unlocked bootloader. If you are on locked bootloader there are many solutions already posted here. If you go on trying you will be able to enter EDL mode. This happened to me also. After many tries i was able to enter EDL mode. Moreover you should unmount system which is as you say was correct.
[Xiaomi Mi Max Guides, News, & Discussion] StardustGeass:
Sadly, no... My bootloader is still locked (that's why I tried this guide).

I want to try disassembling the phone, but since I'm still on warranty, I'm able to send it back for a replacement.

Yep, the thing I want to know is, at which part I do the wrong thing?

As I said, I am unable to unmount the system because the system itself already unmounted when I go there. Should I mount and unmount it?

I forgot to mention,

When I try go to MTP mode as the guide says, my PC can't detect it at all. So, I flashed the ROM using a OTG Flashdisk (Sandisk one, with FAT32 file system).

Anyone can help solving this? So other users trying to do the guide can avoid the problem I got.
[Xiaomi Mi Max Guides, News, & Discussion] tinkko:
My Mi Max has upgraded to MIUI 8.1.6.0 and when I tried to log into recovery mode (power and volumes+) and did not go there and show the phone with USB cable (mipcsuite.com). So, I tired to connect with Mi PC suite and application did not connect to phone with USB cable. Is there any way to get back TWRP recovery mode, thanks in advance.
[Xiaomi Mi Max Guides, News, & Discussion] StardustGeass:
I think for newer OS, you need to unlock the bootloader. Otherwise, it won't succeed.
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
For me MTP did only work after inserting a SD card to the phone. The internal storage couldn't be mounted (maybe because it is encrypted / is it encrypted?!?).

Unmount system is correct but it isn't mounted when following the guide so i don't know why to mention it.
[Xiaomi Mi Max Guides, News, & Discussion] StardustGeass:
Ok, that clarifies... I dont insert SD Card inside, so perhaps that's why it doesnt show up.

But, do you succeed in using the guide?

Rooting etc in locked bootloader?
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
Yes, but i was on MIUI 7 when i followed it. But anyway - as it was told already here - TWRP won't boot on any ROM >8.1.3. So you have to enter EDL mode (it works even if you flashed a newer rom! already did this after accidently flashing 8.1.4). Then you must flash a rom <8.1.4 and then you can flash TWRP in EDL mode. But nevertheless - you can't go further than 8.1.3 without officially unlocking the bootloader (which in my case worked absolutely flawlessly beeing on 8.1.3 global stable rooted. Request to mi was "getting mi max from gearbest and want to update to miui 8"). After offical unlock every rom works.
[Xiaomi Mi Max Guides, News, & Discussion] StardustGeass:
Actually, my MI account is already given permission to unlock the bootloader.

I had a redmi note 3 pro, and I did unlocked it several times.

Somehow, when I changed to mi max, the mi unlocker said that "the account is different".

Google-d it, tried the tips given (login to i.mi site etc), but did not work..

That's the reason why I finally tried this guide.

Xiaomi unlocking bootloader process is clearly just damn annoying...

Well, that's the price I have to pay for a great phone with minimum price xD
[Xiaomi Mi Max Guides, News, & Discussion] legal mantra:
i TRIED BUT MY PHONE SAYS "can not read from port com10.

I'm 128 gb 8.1.6.0(MBDMIDI)
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
Had the same with a new Mi Max from Gearbest with MIUI 7... Got the message at MIUI7, got the message at MIUI 8 after OTA but after flashing TWRP via EDL and then Global Stable 8.1.3 with superSU the unlock process worked flawlessly - on 2 phones with the same rom state!

---------- Post added at 06:30 AM ---------- Previous post was at 06:28 AM ----------

What exactly did you try and at what step do you have a problem?

8.1.6 by the way can't be unlocked via EDL!
[Xiaomi Mi Max Guides, News, & Discussion] tinkko:
Yes, I did officially unlock the bootloader but with newer OS, I lost TWRP recovery mode, so I had to downgrade and log into TWRP again, afraid to upgrade MIUI latest version.
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
If you are in unlocked state you can just flash TWRP via fastboot (fastboot flash recovery xxxx.img) afaik (never done that on this phone so far)!?

How did it happen to loose twrp? I downloaded 8.1.6 from the link of the first post, flashes it via TWRP and i still have TWRP.
[Xiaomi Mi Max Guides, News, & Discussion] tinkko:
I have not done the upgrading the latest MI OS, I just did form android setting and upgrade to latest, it went automatically into TWRP, patched byself, and got into 8.1.6. Later I have run the root access application and didn't work, so I was going to install superSU and tried to log into TWRP and can't get into it. Screen shows that phone with USB cable when I pressed volume + and Power button, finally, had to to again to get back old version. If I download and run from TWRP, it could be work but afraid to test out,
[Xiaomi Mi Max Guides, News, & Discussion] seking:
one new thing. After updating to new rom, i am not able to back up with MIUI in MIUI custom rom back up locally. Did any of you experience the same? Day by day xiami is tightening the screws on us.
[Xiaomi Mi Max Guides, News, & Discussion] tinkko:
I have done the clean refresh for MI 8.1.6 version and also TWRP as well in MiFresh but I did setup till my MiMax is up and running, sorry, my original version is 8.1.2, rooted, unlock bootloader, TWRP working. After 8.1.6 installed, I logged into TWRP and no longer working, shows as phone with USB cable on screen.

So, I did clean install Lineage OS, everything is fine, I can log into TWRP, but some applications are not working so I got back to MI 8.1.2 with work TWRP, is there any solution that I can update to lastest MI with working TWRP, thanks.
[Xiaomi Mi Max Guides, News, & Discussion] dyurdz:
Any body has a link for v8.1.2.0 for Mi Max Prime?
[Xiaomi Mi Max Guides, News, & Discussion] gcherogiorgos:
Hi,

I follow steps 1 to 10, but when I try to boot the phone with vol up in order to get into TWRP, the phone simply shows the Mi logo for half a sec and then a blank screen.

What's up with that?
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
Unfortunately the thread creator doesn't change his post. This doesn't work if you try it with or to a version >8.1.3. please see a couple of posts before this, there you will see what to do. You have to install <81.4 through edl and then reboot into edl and install TWRP. After this you can't go further than 8.1.3 or you unlock officially.
[Xiaomi Mi Max Guides, News, & Discussion] gcherogiorgos:
Yes indeed. Thank you. :)

I found knk1990's excellent post (#215) and was able to boot into TWRP once I downgraded from 8.1.6 to 8.1.2.

I've installed SuperSU. If I upgrade to 8.1.6 now I will lose root, right? :confused:
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
If you upgrade to 8.1.6 without official unlock you will lose TWRP too.
[Xiaomi Mi Max Guides, News, & Discussion] lexknight:
UPDATE... was able to boot into EDL mode, and flashed the 8.1.9 Global from there, back up and working now. .... THANK GOD !!!

Didn't realize that in EDL mode, the phone doesn't actually show anything... hit the refresh on the MiFlash tool and saw the Port 6, so tried it and it worked... :victory:

Not sure if I am officially "Bricked" or not. I had deleted a system file, I know stupid. So I went into TWRP and dirty flashed the 8.1.6 Global rom, I had been on 8.1.3 before. I didn't do any wipes at all. When I rebooted it will flash the small MI logo for less than an second, then NOTHING. I tried booting back into TWRP, nothing happens. I can boot into FASTBOOT, and tried to fash a fast boot rom, but gives "error:"Flash sbli error".

What should I try or am I officially bricked, and need to take my phone apart like this thread says.

thanks for any help.
[Xiaomi Mi Max Guides, News, & Discussion] Bob02:
Mi Logo Shows up briefly at Step. 10

Need Help!

This is what I did:

-Vol up + Vol down then plug in USB

-PC shows device as COM6

-Browse to extracted TWRPMax(32Gb) file to suit my Mi Max 32gb Hydrogen

-Click flash with the save user data option checked

-Click flash and it is successful.

-I unplug phone and hold down Vol up key + Power button.

-Phone shows the Mi logo for a split second then shuts off.

I then boot back into MIUI 8.1.6.0 by holding down power button.

TWRP is not installed.

Any idea what is happening?

If needed I can provide a video.

Edit: Sorry I just saw the posts before and I will try downgrading before I flash TWRP
[Xiaomi Mi Max Guides, News, & Discussion] legal mantra:
I am not even able to downgrade. I tried to downgrade in fastboot method as it is giving error in EDL it flashed successfully but rom is still 8.1.9 :(.

How should I downgrade now. btw I already got the permission to unlock bootloader but thats giving error.
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
What error do you get in EDL?
[Xiaomi Mi Max Guides, News, & Discussion] legal mantra:
can not read from port com 4
[Xiaomi Mi Max Guides, News, & Discussion] b3i5i53ibi:
Which version of MiFlash Tool do you have? I had the same error with normal MiFlash Tool, but you need to use MiFlash Beta, then it worked for me.
[Xiaomi Mi Max Guides, News, & Discussion] boris03:
Guys,

When reading through the thread this means we should leave our fingers from TWRP and root unless the phone is officially unlocked!

Downgrading and having trouble like hell isn´t really an alternative - you may better update the OP to avoid people having trouble, am i right?

I also search for a method to get TWRP and root to my MIMAX without unlocking but it seems this isn´t a valid approach anymore because XIAOMI is kicking us:crying:
[Xiaomi Mi Max Guides, News, & Discussion] obliviousryuk:
HI. I have a 16gb/2gb variant of Mi Max, what twrp should I flash? would the 32gb twrp do just fine?
[Xiaomi Mi Max Guides, News, & Discussion] jbilla:
Rooting

Thanks for your guide Doom,

I just want to root my phone and mine is hydrogen

please explain the process again if i want the OTAs coming what should i have to do. even after rooting.

Thank you
[Xiaomi Mi Max Guides, News, & Discussion] Mr.K999:
no 4G doom?
[Xiaomi Mi Max Guides, News, & Discussion] kyler084:
What do you mean by '4g doom' never had any 4g issues with my max prime in the UK
[Xiaomi Mi Max Guides, News, & Discussion] Mr.K999:
sorry for my bad english ?... can u show me how to set it to 4G? i see no option in my setting
[Xiaomi Mi Max Guides, News, & Discussion] kyler084:
Go to sim and networks click on the sim in use View attachment 4019301

Click proffered network type and select Lte or 4g
[Xiaomi Mi Max Guides, News, & Discussion] Mr.K999:
just 3g and 2g in the option
[Xiaomi Mi Max Guides, News, & Discussion] kyler084:
Are you sure your carrier supports 4g??
[Xiaomi Mi Max Guides, News, & Discussion] Mr.K999:
yup
[Xiaomi Mi Max Guides, News, & Discussion] kyler084:
Send me a screenshot of about phone if you could its strange
[Xiaomi Mi Max Guides, News, & Discussion] Mr.K999:
tryin to upload pic with png and jpeg format but it say post creation failed, must load specific type of pic?
[Xiaomi Mi Max Guides, News, & Discussion] Mr.K999:
sorry, a lil bug in my phone... load done... :silly:
[Xiaomi Mi Max Guides, News, & Discussion] RAMBO29:
Hi rusty96379 ,

Thanks for your steps which I followed.Mi flash showed TWRP was flashed,however when I reboot with vol+ and power, it vibrated and powered off.Rebooted and went to normal screen,next reboot the standard recovery came. I suspect the normal recovery is overwriting TWRP. Anything that can be helpful?

Thanks
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
Did anyone install 8.1.9? It's not available for TWRP install but on the classic way. I have an unlocked Mi Max 128GB and i'm not sure

a) how to install 8.1.9 without TWRP?

b) if i can just flash TWRP via fastboot afterwards

Thanks
[Xiaomi Mi Max Guides, News, & Discussion] @ndroidvn:
in step 3, you forgot to link the URL to TWRP download file.

pls edit it.
[Xiaomi Mi Max Guides, News, & Discussion] keithleyson:
Hi guys can I install LineageOS using this method (not unlocking the bootloader)?
[Xiaomi Mi Max Guides, News, & Discussion] lrcquest:
Can't link account. Does dpi change affect this?
[Xiaomi Mi Max Guides, News, & Discussion] keithleyson:
For those who have the same query as me with regards to LineageOS despite having a locked bootloader, I just want to confirm that I have successfully flashed LineageOS 14.1 immediately after I have flashed TWRP. I am now running LineageOS with various tweaks to make my device as close to a stock Google Pixel.
[Xiaomi Mi Max Guides, News, & Discussion] elpanatibu:
hello. if i unlock the bootloader and root my phone, ota will be disable?
[Xiaomi Mi Max Guides, News, & Discussion] lckjosh:
After i flash twrp, my phone dosent reboot into recovery. Pressing power and vol+ just shows the miui logo for half a second, then the screen goes black. If I reboot to system, twrp is also not installed. What should I do?
[Xiaomi Mi Max Guides, News, & Discussion] hhadi:
Hi

I followed the instruction and flashed. But when I try to boot with volume up, screen shows logo for a fraction of a second and shuts down. adb reboot recovery also results in factory recovery. Any idea what is wrong?

Thanks
[Xiaomi Mi Max Guides, News, & Discussion] hhadi:
The problem is solved. I flashed 8.1.3 and did the procedure again.
[Xiaomi Mi Max Guides, News, & Discussion] valence23e:
Im just new to the xiaomi phones. I tried the tutorial but i cant seem to get past #10. It doesnt go to twrp when i press vol up +pwr button. Any help will be greatly appreciated. Thank you in advance :)
[Xiaomi Mi Max Guides, News, & Discussion] pawwaap:
In first point HYDROGEN PC drivers are linked, are they suitable for HELIUM too?

What kind of ROMs can we flash this way, e.g. can we flash custom Nugat ROMs like [ROM][UNOFFICIAL][7.1.1][HYDROGEN/HELIUM]LineageOS 14.1 and will it work stable?

Especially, could we flash some latest TWRP, e.g. [RECOVERY][UNOFFICIAL_MOD][UPDATED-02-21-2017] TWRP 3.0.3-2 for hydrogen/helium?

A newbie in MiMax HELIUM 3GB, please be lenient ;)
[Xiaomi Mi Max Guides, News, & Discussion] spoinkyness:
Will this guide work for the official 8.2 rom or do I neew a newer version of TWRP and Root? Thanks!
[Xiaomi Mi Max Guides, News, & Discussion] legal mantra:
Have u unlocked bootloader?
[Xiaomi Mi Max Guides, News, & Discussion] spoinkyness:
I have requested for the bootloader to be unlocked but I have not received any text message or email confirming my request. I was hoping I could use this method for 8.2. I do have the TWRP and SU compatible for 8.2 global.
[Xiaomi Mi Max Guides, News, & Discussion] gagas1:
Could you please give download links and instructions on how you went back to 8.1.3 Thanks
[Xiaomi Mi Max Guides, News, & Discussion] pawwaap:
And what about multiROM functionality?

HELIUM 364GB ;) locked BL, Nigel's

[ROM][UNOFFICIAL][7.1.1][HYDROGEN/HELIUM]LineageOS 14.1
[Xiaomi Mi Max Guides, News, & Discussion] Anubis1965:
I followed all the steps except for installing a new ROM - I simply kept what I had (Android version 6.0.1 MIUI Global 8.2). The Xiaomi Flash tool reported a successful flashing of TWRP, however when I rebooted pressing VOL+ and PWR I did not get TWRP.

Am I doing something wrong or this method does not work with the ROM version I have? The Mi Max is a 4GB RAM/128 GB ROM model.
[Xiaomi Mi Max Guides, News, & Discussion] BetchaByGulay:
I am also encountering this issue/error. Could anyone help us out? :crying::crying::crying:
[Xiaomi Mi Max Guides, News, & Discussion] noob456:
Hallo!

This guide was written a while ago.

Now I've got my Mi Max with:

Android 6.0.1 MMB29M

MIUI 8.2.1.0 (MBCMIDL) Stable

kernel 3.10.84-perf-gfe86e7b

bootloader UNLOCKED

I only need to root the phone! Please tell me, will it work if I follow what's in the guide?

Is it safe or only rooting can also brick my phone?

Is it better if bootloader is unlocked or it doesn't matter?

Will the root stay if I upgrade MIUI in the future when they release new versions?
[Xiaomi Mi Max Guides, News, & Discussion] redindian:
Dont know but nobody is replying, i am also facing same, i've got the sms to unlock mi max but getting error that you device isnt support by MI unlock, i m on Android 6.0.1 -MMB29M, MIUI 8.2.1.0 (MBCMIDL) Stable - Hydrogen.
[Xiaomi Mi Max Guides, News, & Discussion] redindian:
Dirty flashing is not working on 8.2 hydrogen, i tried and got the message FLASHING SUCCESS but i m unable to boot in twrp.
[Xiaomi Mi Max Guides, News, & Discussion] keithleyson:
For those having issues with MIUI 8.2.1 check here if this works for you

https://xdaforums.com/mi-max/how-to/guide-installing-miui-v8-2-1-twrp-root-t3573550
[Xiaomi Mi Max Guides, News, & Discussion] redindian:
Can i use the same method for mi max 8.2.3.0 ?
[Xiaomi Mi Max Guides, News, & Discussion] tinkko:
I have done the in test installation for [ROM][7.1.x] AOSP - CAF [LA.UM.5.6.r1-04300-89xx.0] and all good for few minutes and then phone was restarted and into looping stage afterward, I can get into TWRP and wipe out and reinstall this ROM and it happened again. So I did wipe out and restore my original ROM [ROM][OFFICIAL][7.1.2]RESURRECTION REMIX [5.8.3] and phone was restart again and into lopping stage, even restoration was not finished yet. I have tried many times, same issue even I can get into TWRP, deleted everything. Phone was live for few minutes and went into looping stage.

I don't know how to sort out the issue, please guide me for the way to fix it up, many thanks.
[Xiaomi Mi Max Guides, News, & Discussion] kdb424:
Just curious if anyone has tried to request your unlock code, then use this guide, then when you eventually get your unlock permission, flash back to stock and finish unlocking. Basically I'm curious if it's the device that gets the unlock, or if changing rom would invalidate the unlock code.

EDIT: Guess I won't have a chance to test. I requested an unlock code today as my phone is supposed to arrive tomorrow, got the text 2 minutes after, and approved just minutes after that. Guess I'll be unlocking my device when it gets here.
[Xiaomi Mi Max Guides, News, & Discussion] riviery:
Phone don't enter recovery mode or TWRP.

Hi,

I was soft bricked and device wasn't entering recovery mode, thus I found this method and made the steps exactly as described, but my device don't enter TWRP, with Mi logo flashing and disapearing (like it was before - not changes). I also tried flashing an older MIUI (8.0.3), still with no results. The phone enters EDL mode, it's detected correctly by MiFlash Beta (COMxx) and the flashing apparently came successful, but my phone not even boot in normal mode, only showing mi logo for one second and turning off (soft bricked). However, it still boots in fastboot and EDL modes. I already try flash using QFIL, with the same results (QFIL says the flashing was done, but phone don't works same way).

I made a video showing the situation:

youtu.be/mAhM2pAxsYw

Any advices?
[Xiaomi Mi Max Guides, News, & Discussion] kdb424:
I can personally recommend unlocking officially. You can get an unlock allowed in 15 minutes in my experience and it doesn't affect warranty. I like what this is trying to do, and considered as I have seen reports of it taking a month, but it took me 15 minutes from requesting permission to having the phone completely unlocked with no chance of brick.
[Xiaomi Mi Max Guides, News, & Discussion] riviery:
I already applied and receive my Unlock Permission from Xiaomi but, when I try to unlock, the process is interrupted with message "This account is not bound to this device". Researching forums I've discovered that it was because I don't change some settings on system when it was functional, and obviously I can't change that now. I still waiting some more days to try again, but I suspect that it won't work.
[Xiaomi Mi Max Guides, News, & Discussion] kdb424:
Flash a full stock rom, and use an older unlock tool. It bypasses the 3 day requirement using the old tool, and there should be no issues at all on a bone stock rom. After that, it's yours to mod and fully unlocked.
[Xiaomi Mi Max Guides, News, & Discussion] riviery:
I just tried this way, and I got a different message from two old Mi Unlock tools (v1.1.1111.11231 and v1.1.0317.1):

"Сouldn`t verify device.

Current account is different from the account info on the device. "

Should I try another version of MiFlash Unlock?
[Xiaomi Mi Max Guides, News, & Discussion] kdb424:
I would recommend version 1.1.1111.1_en which is what I have used and it worked amazingly. That's been the only version I have used that has worked without the waiting 72 hours.