yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max Guides, News, & Discussion] Lovenom IX:
flashed twrp just to flash supersu and get root access on stock rom miui8 following your guide but stuck on mi logo now. i can access twrp. also checked system in mount option then rebooted but no luck.. can i save my stock roms data. can i access copy my data through otg? pls help.
[Xiaomi Mi Max Guides, News, & Discussion] SH1M4BD3:
hey OP did it work i mean with this step TWRP we did not unlock bootloader right?!, so when you have the twrp you can flash xiaomi.eu rom without need to worry bout booloop??
[Xiaomi Mi Max Guides, News, & Discussion] PassieWater:
when i try to flash with miflash.......worked before for flashing TWRP.......now it says "can not read from port com 10" .....? Miflash sees the device when i refresh.......

What goes wrong ?
[Xiaomi Mi Max Guides, News, & Discussion] Odorf:
As I mentioned in the other thread. I had the same issue. You need to remove battery and connect to PC and it will detect phone and flash. Be careful when you are opening up the phone that you don't catch the buttons.
[Xiaomi Mi Max Guides, News, & Discussion] PassieWater:
Gonna try it again. But just to be sure... when i connect the upper right metal dot to the metal thing above... must i hear the same 2 tone sound from my pc when i connect an usb device as i do that (as discribed in step 9 of hard brick solution)?
[Xiaomi Mi Max Guides, News, & Discussion] Odorf:
I didn't need to go that far. I just took out the battery and then held power up and volume up together and connected to PC. I then flashed the fast boot rom. I didn't get the cannot connect to com10 error. Good luck
[Xiaomi Mi Max Guides, News, & Discussion] PassieWater:
Thank you...Thank you...Thank you to Doom Slayer and everyone who participates in this thread.

I finally got it to work. You guys dont know how glad i am !!!!

I didnt know if i had to hold on to connect the metal dot and thing above so i have cramped fingers....took 17 minutes to flash....but it is worth it.

Flashed eu global rom which includes Dutch....YEAH !

Again....many many thanks for helping me getting my bricked phone to life again.

Greetzzzzzz
[Xiaomi Mi Max Guides, News, & Discussion] Doom Slayer:
Careful with flashing roms guys.

If u are 64-128 gb owner, look for MiMaxPro or 652 in the rom name.

It's better to flash Xiaomi eu rom, as I know it will work for sure. Stock roms,might have problems, unless u remove file that replaces recovery and install root.

Unfortunately my hdd is down, so I can't use my computer for now. If anyone who is willing to open his/her phone again, it would be great if you van they to flash some RR or CM13 without unlocking bootloader.

I believe that it may work,since LB is only blocking fastboot mode in my opinion.

My PC is dead now, and I can't do it now.

I am planning to do some rom development, and I am not sure do I need to unlock or not.
[Xiaomi Mi Max Guides, News, & Discussion] same240:
Hi, I'm totally new to MIUI and I want to flash EURO ROM in my 128GB Mi Max.

From your guide/step, I do not see need to unlock the bootloader first.

Should I unlock first by get the approval from Mi (submit a form and wait for few days to get the approval)?

Please advice, I hope can flash my Mi Max asap...cannot wait...
[Xiaomi Mi Max Guides, News, & Discussion] Lovenom IX:
Thanx Doomslayer

I'm with mi max 32 gb variant. was stuck in mi logo after flashing this (xiaomi.eu_multi_MIMAX_6.8.4_v8-6.0.zip) rom provided in your link. also tried unmont system before flashing. script mounted it while flashing but i didnt get any files in the system. however i succeede installing cm 13 & resurrection remix using your way over it. Tried fastboot rom to get me back to stock one but mi flash always gave an error. I was on windows 10. Then i flashed using windows 7. I succeeded getting back to stock miui8. Now in the link provided by you there are links under "DOWNLOAD STABLE (W/O ROOT, NO WEEKLY UPDATES)" by filehost as (xiaomi.eu_multi_MIMAX_V8.0.2.0.MBCCNDG_v8-6.0.zip). Can i try flashing this. Is it the correct rom for my device? And can i get root after flashing supersu on this rom? I just want miui rooted with locked bootloader. Thanx again..
[Xiaomi Mi Max Guides, News, & Discussion] sukudi:
flashed miui 7.5.7 using this method.everything is fine but wifi is not connecting at all. i had downgraded from miui 8. help pls
[Xiaomi Mi Max Guides, News, & Discussion] Doom Slayer:
If you will look at the topic name one more time, you may notice that this tutorial is for locked bootloder, therefore you won't find anything about unlocking it here. :D

If you get stuck with Mi Logo, reboot to recovery and flash supersu.

It most likely can happen on stable roms, since there is a protection of some kind, which can be putted down with supersu.

MIUI 7.5 is infamous with it's wifi problem, but there are plenty of roms available.

Stable have less futures, weekly have more bugs, but it's like there are different on every build, so with TWRP you have a new playground.
[Xiaomi Mi Max Guides, News, & Discussion] same240:
opps, so meaning actually no need to unlock the bootloader and I can flash my current ROM into EURO ROM by follow your guide here?

Sorry, I'm newbie to MIUI and bootloader things... :victory:

This is my current ROM:
[Xiaomi Mi Max Guides, News, & Discussion] ajsmsg78:
Hey Doom, I was playing around with some older firmware on my Helium and flashed older firmware that was I guess too old and I ended up in a brick again. I figured I'd try you're guide and give you feedback. After the computer recognized the phone (vol down and power is all I needed to press) XiaoMiFlash would not flash any of xiaomi's stock fastboot roms. All would return an error about not being able to connect to the port the phone was on. Sometimes it would say it was missing a programming file when it actually was there.

I ended up taking the custom twrp zip you posted and extracted it. I flashed it in XiaoMiFlash and it actually flashed but didn't do anything. So I moved the three config files (the xml ones I believe but not the dummy.img) from the stock rom to the twrp folder (except the ones in the root folder which is the flash-all folder) and overwrote the originals, then put all the files from the stock rom in the twrp folder. I then flashed that and it did flash but gave an error after flashing some of the firmware but the phone then booted. Then I was able to go into TWRP and flash the stock rom. It seems like XiaoMiFlash has quite a few bugs with the stock Xiaomi fastboot roms.

Just flashing the twrp zip alone did not unbrick. The firmware needs to be flashed as well. When you're bricked and you flash that custom twrp you still can't boot into anything but EDL mode until the proper firmware is flashed. Also, I don't think anyone should have to take apart their phone to unbrick. There's always a software workaround.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
My head is spinning... Glad I don't have to deal with all this xiaomi/miui stuff... And I consider myself pretty advanced user... Jeez...
[Xiaomi Mi Max Guides, News, & Discussion] seking:
using mi flash

I just want to flash twrp. My phone is hydrogen mi max 32gb bootloader locked. But when I connected mi flash as per your directions, the phone got detected and com 3 came up after windows seven automatically installed drivers. but my question is there are various ways of flashing. I dont want to flash rom or anything Just want to flash twrp and afterwards root it. I want to keep my present rom.

Which flash to select

1. Flash all

2. flash all except storage

3. flash all except data and storage

Thanks in anticipation

:)
[Xiaomi Mi Max Guides, News, & Discussion] sukudi:
wifi issue not resolved at all.....i am back to miui 8. wifi networks are seen. phone mac address is present but ip address shows as unavailable...so there is no connectivity. can anyone help resolve this
[Xiaomi Mi Max Guides, News, & Discussion] sukudi:
great....phone now stuck with mi logo and blue screen.
[Xiaomi Mi Max Guides, News, & Discussion] seking:
I managed to flash TWRP on my locked hydrogen. Then as per Doomslayer I installed the chinese stable rom. But the wifi is not working. I could not update or download anything. I went back to stock rom by flashing stock zip downloded. I am very happy with stock. There are no stable roms for this mobile.
[Xiaomi Mi Max Guides, News, & Discussion] Dacoco:
deleted

---------- Post added at 06:42 PM ---------- Previous post was at 06:06 PM ----------

Okay - i got my new 32GB Mi Max and managed to get root by following the steps 1-11 and then 16.

What i didn't know was that using an sd card is necessary (because the internal storage won't mount)

Now i want to flash MIUI 8 - and just to be absolutely sure - could you please confirm this?

1) When trying to do a BACKUP with TWRP before doing it i get the following errors:

Failed to decrypt data.

Unable to decrypt with default password. You may need to perform a Format Data.

Updating partition details...

...done

Unable to mount storage

Full SELinux support is present.

Updating partition details...

...done

Unable to mount storage

Is this just fine?

2) To perform step 12 (delete data):

Wipe -> Format Data

Right?

3) Then install

xiaomi.eu_multi_MIMAX_V8.0.2.0.MBCCNDG_v8-6.0

for Mi Max 32GB

Right?

4) Then install super SU

I'm a bit confused about the errors while trying a backup. Not that i absolutely need one but maybe this is an error which will brick the phone when processing to install miui 8.

Thank you very much!

EDIT:

Just tried it anyway. Wiped data and then try to install the ROM from 3 and Super SU.

ROM Installation did not work as i got error 7 and even though i formatted data i still got the error cannot decrypt data. but it can be mounted now!? whatever - error 7 seems to be an incompatible rom corresponding to a search on xda. But i use the correct rom. I have a 32GB and i flashed hydrogen rom "xiaomi.eu_multi_MIMAX_V8.0.2.0.MBCCNDG_v8-6.0" which should be fine!?

I now tried to reboot recovery to try again but the phone rebooted normally - first i got the mi logo, reboot, then mi logo with android down there and atm i'm waiting. Maybe this is the 15 Minutes you have to wait, don't know. Let's see... :/

EDIT2:

MIUI 8!!! :)

Thanks for the guide, but maybe you could add some things like

- you need an sd card to put the rom and supersu on it

- there appear some errors in twrp which seem to be totally fine
[Xiaomi Mi Max Guides, News, & Discussion] curiouso9:
got this error when try to flash twrp

''The file name, directory name, or volume label syntax is incorrect (0x8007007b: Open Programer "MPRG*.hex)'' :confused:

Hi dev, i think the OP guide need to be updated, as twrp.zip provided only contain .img

so this invalid, i only able to follow your guide on xiaomi forum as twrp file provided there is correct with bunch of .bat file inside.

and the link u given for full rom got issue as updater.script in zip wrote device requirement is hermes instead of helium

so this 1 not your fault but need to be state, as i confuse whether to edit it or not

now i redownload for mimax pro - updater script said its hydrogen, should be helium right.

can i just rename it to helium instead?.

glad to bought this device knowing that you also own Mi MAX :D

love ur rom from Z Ultra thread :D

edit

just now able to flash using old rom 8020 , bcause 8030 is set as hydrogen

did u ever try systemless root and xposed?
[Xiaomi Mi Max Guides, News, & Discussion] hammer77:
Please Help

I have followed the steps you described. When I open the Fastboot rom it just opens to a single file twice the size. I tried the steps with a custom rom and everything works as described until I try to flash and then I get this error: The Filename, directory name or volume label syntax is in correct.(ox8oo7007b: Open programmer "MPRG*.hex"). I have tried many different fastboot roms (all for the 64/128 GB Mimax) I have the 64Gb modle.

I can not seem to open the TGZ file to give me any sub folders, files or anything. Please fill this newbie in on the magical secret oh great masters.... LOL. I just want my awesome MI MAX back and working.

Thanks
[Xiaomi Mi Max Guides, News, & Discussion] seking:
[MENTION=1624665]hammer77[/MENTION] You should extract TGZ file and you should give path to the extracted folder from miflash
[Xiaomi Mi Max Guides, News, & Discussion] kurodoll:
thank for this guide.

questions though

1) Do I need to have an unlocked bootloader to flash twrp? (guessing from guide its a no)

2) Do I need to have an unlocked bootloader to flash root? (guessing from guide its a no)

3) what are the important thing i lose when i unlock my bootloader?

4) what are the important thing i gain when i unlock my bootloader?

thank you
[Xiaomi Mi Max Guides, News, & Discussion] seking:
For 1. no

2. no

3 when go to the unlocking page, you will be told of the consequences

4. nothing

In short my suggestion is do not unlock. Even my boot loader is locked but i still am enjoying root, twrp and chines table rom of smiui made in their kitchen. There is no boot loop, no fc etc.
[Xiaomi Mi Max Guides, News, & Discussion] kurodoll:
Thank a lot. Trying it now. Hope all goes well.
[Xiaomi Mi Max Guides, News, & Discussion] JaWe:
What am I doing wrong? I flashed TWRP following steps 1-11. Flashes ok and I can boot to TWRP but can't flash supersu, SD not mounted and I can't access/mount it. Also phone doesn't boot to android, phone gets stuck in Mi logo.
[Xiaomi Mi Max Guides, News, & Discussion] soupboy:
Still can't get into EDL mode. I've tried getting into EDL mode as per options in this site xiaomitips dot com slash guide slash how-to-put-mi-max-into-edl-mode

But still can't get into it for some reason

Edit -- Fixed the drivers I think?

Can someone help with installing the drivers? I'm using windows 10. Have disabled signature check and installed the drivers. I plug the phone in while having Volume +- pressed down and nothing. I have tried refreshing in both XiaomiMiFlash and MiFlash and nothing every appears. How do I know the phone is in EDL Mode? I hear windows make a sound as though something has been plugged in but the screen on the phone stays black and doesn't appear to give any indication on being in any mode.

Edit -- Fixed the adb commands

Also I've tried using the abd commands in command prompt but none of them appear to work should these work and is this a better way to get my phone into edl mode? Should they work?
[Xiaomi Mi Max Guides, News, & Discussion] imzargar:
Hi,

Trying to root my mi max (32gb) and when i connect cable and press volume buttons, the xiaomiflash beta shows com0 device and when i try to refresh, it says "nullable object must have a value". now if i try to flash it, the xiaomiflash stops working

Kindly help.
[Xiaomi Mi Max Guides, News, & Discussion] soupboy:
Finally got it to work. ADB Drivers had installed. My issue which you might want to mention at the start is that you need a USB port with enough power to be able to run the phone in EDL mode. As soon as I tried my PC instead of the laptop the phone was identified straight away and had no issues flashing.
[Xiaomi Mi Max Guides, News, & Discussion] incresiblevish:
Stuck at Mi logo

i have 32 gb max and i did as you have mentioned here and it did flashed successfully but i forgot to copy my supersu file on the phone, So i did nothing but went to twrp and just did system reboot and now it's just stuck at MI Logo since 20 minutes or so, is my phone bricked ? please help asap
[Xiaomi Mi Max Guides, News, & Discussion] wingryder:
sry,for digg

ing up an old post,but i couldnt stop myself from thanking you. it takes some mighty dedication to willfully hardbrick your device just to help us out ,especially knowing there is no compensation if u do really get ur phone into a completely unusable state.now if we ever face such a situation we know how to get out of it,ur effort will serve as a reference all along the lifetime of this device
[Xiaomi Mi Max Guides, News, & Discussion] halbox:
Partially worked for me

Hey there

First of all: THANK YOU! :D

I managed it to install http://xdaforums.com/mi-max/development/rom-miui-8-global-t3439698 in a former release (Miui 8.0.1).

Well... the Miui-Updater popped up and offered 8.0.2 and I thought "cool - the custom rom updates itself!" and just was dumb enough to click on install. The last I've seen was a short blinking of twrp maybe (? looked like it?) and then it went black.

Found your guide and with a good portion of terror and panic I really managed to disassemble my phone and even made MiFlash putting up a new TWRP for the MiMaxPro!!!

Wow - thanks for that to this point. Now ... well ... I'm still stuck, somehow.

After Flashing TWRP back on the phone and reasembling it, I couldnt boot into recovery. VOL+ and Power doesnt do anything, as well as VOL- and Power ... nothing happens.

When holding + and - and plugging in USB, I get connection for MiFlash and can re-Flash twrp, but I'm not able to boot into it?!?! What's happening there, and what am I doing wrong??? My beautiful prime is still black :(

Hope someone has another idea for me?
[Xiaomi Mi Max Guides, News, & Discussion] halbox:
Okay! I have to update:

After flashing TWRP several times on forced-Downloadmode (is there a way to solder a switch onto those red-dot-testpoint? xD), I finally thought it might be necessary to flash the whole rom THIS way. Found the global-dev-rom for my mi max, unpacked it and managed to flash it via MiFlash.

THAT brought me into a bootloop, but THIS way I managed to get into TWRP .. and that was it. Actually I'm flashing my desired Rom and ... you can't see how happy I am!!! :D

((just now I get the setupdialogues from MiUi ... yaaay!!!)
[Xiaomi Mi Max Guides, News, & Discussion] cleartalk:
Just need root

I'm new to flashing, but I have flashed a custom rom on Huawei P8 in the past.

I own a Mi max 32GB running Global ROM 8.0.1

My goal is to get root access on the phone, keeping the bootloader locked and to continue to receive official Xiaomi updates.

Unfortunately, the instructions are not 100% clear to a n00B like me.

Quote:

"6. Turn off the phone, plug the cable to PC and halfway to the phone. "

-HALFWAY? I'm not sure what this is supposed to mean.

Also:

"In order to update, you need to install OTA for offical rom via TWRP. Then without rebooting flash SuperSU, and finally using TWRP's file manager navigate to system folder and delete file named recovery from boot. Doing so will keep root and recovery"

- If a person follows the guide only to root the device without flashing a new ROM then I assume that statement is wrong?

As per my logic, I do not need to re-install OTA on my current Global ROM to continue to receive Xiaomi updates after flashing TWRP and SuperSU correct?

Also:

Quote "delete file named recovery from boot. Doing so will keep root and recovery"

-If I delete a file named "Recovery" from a folder called "Boot" ? -the phone is still capable of using recovery?

What am I deleting actually?

I'm sorry for all the questions, but I just don't want to end up with a bricked device.

Thankful for any clarification from more knowledgeable members.

Cheers,

Rick
[Xiaomi Mi Max Guides, News, & Discussion] halbox:
"Halfway" means it's in the slot but not "clicked in" far enough to establish a connection. Just so that you can connect it just in time when you press vol+ and vol- ... If you press the buttons and THEN begin to try to put the plug in the hole, you will most likely NOT get the EDL-Connection! ;)
[Xiaomi Mi Max Guides, News, & Discussion] cleartalk:
[MENTION=7795490]halbox[/MENTION]

Thanks a TON for the clarification!!! Now things start to make more sense :good:
[Xiaomi Mi Max Guides, News, & Discussion] seking:
In TWRP mount system

Then flash Supersu

Then boot:)
[Xiaomi Mi Max Guides, News, & Discussion] madscalp:
Hi all

My Mi Max is a 32 Gb with ROM Global Stable 8.0.2.0 ( no Dev)

Of course it's locked.

I'd like to know if this procedure is safe only to get TWRP and root ?
[Xiaomi Mi Max Guides, News, & Discussion] nicohs:
Yes,

of course
[Xiaomi Mi Max Guides, News, & Discussion] madscalp:
I flashed TWRP with success but after reboot in TWRP I am stuck in logo MI :(:(

How to do ?
[Xiaomi Mi Max Guides, News, & Discussion] nicohs:
Trigger power,

Power + volume up recovery clear dalvik and cache, reboot

---------- Post added at 07:43 AM ---------- Previous post was at 07:42 AM ----------

Don't fear with locked bootloader Is impossibile to brick I confirm you

---------- Post added at 07:45 AM ---------- Previous post was at 07:43 AM ----------

Verify recovery Is for hydrogen if not reflash
[Xiaomi Mi Max Guides, News, & Discussion] madscalp:
Thanks nicohs

but again stuck logo MI

message following after dalvik and cache clear

Failed to decrypt data

Unable to decrypt with default password

You may to perform a format data

Unable to mount storage

Failed to wipe dalvik

Unable to mount storage
[Xiaomi Mi Max Guides, News, & Discussion] nicohs:
You MUST read all the thread first, not only the end... Now go recovery no password (cancel) clear cache. And dalvik . Reboot

Good luck and don't worry is recoverable, no damage with locked bootloader.

I hope you flash only SuperSU for root, if flash all ROM without recovery backup first, you can only flash cm13 but better resurrection remix (less bug) and ask Xiaomi for unlock bootloader on the site, only unlocked bootloader can install MIUI from recovery direct or you can try edl fastboot reflash.
[Xiaomi Mi Max Guides, News, & Discussion] seking:
Mine is locked bootloader and I can confirm that we can flash MIUI stock zip from TWRP. I have done. But if you dont remove the stock recovery image from system folder after flash you will loose TWRP and hence root.
[Xiaomi Mi Max Guides, News, & Discussion] nicohs:
Seeking what version Mi Max do you have?

My is Chinese 2/16 hydrogen can't flash MIUI only cm or rr with locked, stuck MI logo, when unlocked (only wait 1 day Xiaomi for tool) all right...
[Xiaomi Mi Max Guides, News, & Discussion] waltharius:
I just installed multirom with this technique and it was super nice and fast installation.

But had one problem. I flash supersu, when I use root explorer I can go to folders in / (root) and check everything but when I try to use Secure Settings to work with Tasker it told me that I don't have root. Where is the problem?
[Xiaomi Mi Max Guides, News, & Discussion] simonwoo888:
Anybody having problem updating to the latest OTA, I followed doom slayer instructions below but after restart prompt say update failed.

1. In the phone after I download the update, system ask me reboot

2. After reboot , phone go into twrp, which I flash supersu, then delete the recovery-from-boot.bak file

3. Restart phone but update failed

AnyBody have this issue? ota is 8.0.2.0

Thanks

P.S. In order to update, you need to install OTA for offical rom via TWRP. Then without rebooting flash SuperSU, and finally using TWRP's file manager navigate to system folder and delete file named recovery from boot. Doing so will keep root and recovery.
[Xiaomi Mi Max Guides, News, & Discussion] nijel8:
No need to delete recovery-from-boot.bak, only if the name is recovery-from-boot.p
[Xiaomi Mi Max Guides, News, & Discussion] seking:
I have global 32gb/3gb ram version. My bootloader is locked even though i have permission from Xiami.

See the screenshots

:)
[Xiaomi Mi Max Guides, News, & Discussion] simonwoo888:
Thks nijel8, but I follow all the steps, ota fail to update. Anybody got this issue?

---------- Post added at 05:13 AM ---------- Previous post was at 05:11 AM ----------

Wait.. I think maybe I know why, Do I need to download the ota and save it somewhere and then load the ota from twrp?

Cuz I am doing the update via the phone itself not in twrp.
[Xiaomi Mi Max Guides, News, & Discussion] nicohs:
So you unmounted system, flash EU rom,supersu and delete recovery from boot?
[Xiaomi Mi Max Guides, News, & Discussion] seking:
No no it is not eu rom. It is smiui rom. I created it using their kitchen. It is quite a good rom pre rooted and with sound enhancement tools like Dolby atmos and viper4android. I am using it for my daily use. For this rom go to mi-globe com