Flashing chinese Mi9 issues and getting stuck in bootloop - Xiaomi Mi 9 Questions & Answers

Hi all,
So over the last day I have decided to install twrp and flash a new rom on my Chinese Mi9. Previously I have locked the bootdoader and installed the global rom. I have adb set up correctly and all relevant PC drivers.
So this is what I did and the problems I encountered. Hoping I can get some feedback as to what may have happened.
1 - Installed TWRP (mauronofrio) then it would get stuck on splash screen. Was told to install TWRP (LR.Team/wzsx150) which I did and it worked. I formatted and wiped my drive to get rid of encryption.
2 - I flashed EU rom (after editing script) using TWRP (wzsx150) then after install it would get stuck in bootloop.
3 - I installed TWRP (mauro) then installed EU rom and success, everything worked well. But I found with this EU rom, most of my apps would not install from play store or my Mi restore would not work, there were apps everywhere. Also EU rom was very buggy flashed it again and still the same issues so decided to go back to global rom. Too many apps would crash for no reason and even clearing cahce/data in app settings would not fix it.
4 - I flashed global rom on TWRP (mauro) and installed fine. But when restarted phone it got stuck in bootloop and couldn't get out of there. Had to use Miflash to flash the rom and start from scratch. I now lost TWRP and got Mi recovery back because of this.
5 - I flashed TWRP (mauro) again and tried global rom once again, flashed magisk etc and once installed rom, the thing got stuck in bootloop again.
6 - I now have flashed TWRP (wzsc150) and have installed global rom and it is installing and restoring fine. Once global rom has installed I have lost TWRP. I am also stuck in bootloop and can't get out.
So basically no TWRP works on my phone.
I have managed to flash phone back to original condition with the global rom. On a positive it still works and the storage is unencrypted.
Does anyone have any ideas or suggestions why my Chinese Mi9 doesn't like TWRP (mauro) and it always gets stuck in bootloop. I just want root access on my phone and google pay to work with unlocked bootloader.
Thank you

This seems to be the theme with 8GB version? I have this version too and makes me worried. I still have about 5 days till unlock insha Allah

These TWRP for Mi 9 are quite beta (no working decryption, no proper backup and restore for example).
If you want to have it, you must use custom rom like EU one.
Stock rom auto re-flashs Mi recovery, period.
BTW, I don't find any unbearable bug the EU rom (most of guys here also have no problem with it), just reinstall the app, backup program such as Titanium backup may introduce a lot of errors...
Sent from my MI 9 using Tapatalk

The apps were fresh installation from Google restore. Even when I deleted them and installed again they still crashed. Gmail, Waze and even checking software version in settings all made it crashed.
So now if I were to install twrp and euro rom again, it shouldn't delete my user data as I no longer need to unencrypt my storage right? Will euro rom just overwrite global rom and keep all my data

ted presley said:
These TWRP for Mi 9 are quite beta (no working decryption, no proper backup and restore for example).
If you want to have it, you must use custom rom like EU one.
Stock rom auto re-flashs Mi recovery, period.
BTW, I don't find any unbearable bug the EU rom (most of guys here also have no problem with it), just reinstall the app, backup program such as Titanium backup may introduce a lot of errors...
Click to expand...
Click to collapse
Do you think when I installed this rom I never did a wipe and all my apps were there on start up. Do you think this might be a cause of certain apps crashing?

Rommco05 said:
...for example I have EEA variant and lastly using Global Dev rom. I still geting regulary updates even when I have TWRP (mauronofrio) and root. Only before every update I need flash stock boot and recovery. Then update phone and then flash back TWRP and Magisk. All the time working my old Magisk + Xposed (Ed) modules working without reinstalling them. Little out of topic here but just wanted to say
Click to expand...
Click to collapse
So with a custom rom like EU rom, everytime there is an update do you have to flash back twrp etc? Do the updates work OTA?

Rommco05 said:
I was talking about official Global Developer rom. To answer your questions. With EU you always need reflash Magisk for sure, if also twrp I don't remember. Yes EU have OTA updates but only full packages and need be flashed over twrp so all bloadware is back.
Click to expand...
Click to collapse
But when you flash back, you don't wipe the cache/data and lose all your stuff do you?

Ok, managed to flash to EU rom with no problems. Works great. Will updating with the updater delete my stuff?

perryano said:
Ok, managed to flash to EU rom with no problems. Works great. Will updating with the updater delete my stuff?
Click to expand...
Click to collapse
It won't.
Sent from my MI 9 using Tapatalk

ted presley said:
It won't.
Sent from my MI 9 using Tapatalk
Click to expand...
Click to collapse
Thank you for all your help with this Ted. It has helped a lot.
So I did the OTA update this morning successfully, but noticed before doing the flash in TWRP, there was a message saying it had to do it that way due to my device been encrypted. That's funny because I have formatted then wiped the drive before installing the rom. Is this a true message?

Always do a full wipe when flashing to a different variant of miui since current twrp has issues on decryption. I also had tons of problems from just resetting only without wiping data. For example flashing to eu from china stable everything worked from just doing factory reset. But google play cannot download any app that has an obb attached for some reason. Most likely problems with file encryption so i did a full wipe now everything works properly.

I'm not able to make TWRP work, its successfully install on terminal and when I reboot and hot volume Up key it bringing me to FASTBOOT mode, and if I do restart system, it and then hold Volume Up key, its again the stock Recovery.
My device is Chinese 8GiB 128GiB. any help will be appreciated. I want to install Xiaomi.eu rom as my current stock Chinese rom with google app giving me horrible battery life, standby battery drain is too bad.

QuakeString said:
I'm not able to make TWRP work, its successfully install on terminal and when I reboot and hot volume Up key it bringing me to FASTBOOT mode, and if I do restart system, it and then hold Volume Up key, its again the stock Recovery.
My device is Chinese 8GiB 128GiB. any help will be appreciated. I want to install Xiaomi.eu rom as my current stock Chinese rom with google app giving me horrible battery life, standby battery drain is too bad.
Click to expand...
Click to collapse
You need to do it quickly.
After successfully installed TWRP in fastboot, hold power button to power off (it will restart instead of completely off), when the screen gone black, very quickly hold the volume up button, hold it until you see the twrp screen.
If you are not quick enough, the phone will boot up and stock recovery will be automatically intstall back, you have to start over: install twrp again.
Sent from my MI 9 using Tapatalk

Related

Installing Official MIUI using TWRP Discussion

Hey Guys, anyone already tried the link below on installing Official MIUI using TWRP?
How to Install Official Rom with TWRP Recovery!
I've been meaning to try Official MIUI for a long time now, and by doing so I ran obstacles along the way either using MIFlash tool or TWRP - nothing works. But I just saw the method I linked above, and could be the missing piece I need to install the rom thru TWRP.
The OP of that tried it with Redmi 3S. So I'm just wondering maybe someone here already made it worked with MI5?
I could update from global dev 6.11.10 to global dev 7.1.19 with miui built in updater . After downloading nougat it rebooted to twrp and installed the rom normally. The only thing is i lost twrp replaced by stock one .
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Sent from my MI 5 using Tapatalk
Click to expand...
Click to collapse
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
selmandeli said:
What should I wipe in TWRP - data; system; cache; dalvik? Which of them?
Click to expand...
Click to collapse
recommended is for you to wipe data,system,dalvik and cache to avoid possible force close window pop out when opening an app, however if you are going to one rom to another eg. aosp-miui global-dev or anything in particular i found out that wiping everything (avoid the efs partition of course) is the best choice for peace of mind, one final thought is only do this if you had other means to bring your phone back to life if other recovery method such as the ability to boot into edl mode is working for you and always do a full system backup of your current rom just in case, hope that helps
iArtrix said:
Download latest MIUI and flash normal with twrp if update is fastboot method twrp replace to stock recovery
Click to expand...
Click to collapse
Currently, I am using MIUI EU rom and TWRP 3.0.2.0 . Ive tried several times of flashing official global MIUI and failed several times. So tried my luck with miflash tool months ago, but still unsuccessfull. And that's the reason I posted the method above, maybe it is the thing that I am missing.
But, it still continues to puzzle me why others , and even you, can successfully install official MIUI thru TWRP. weird.
can't find the line they talk about in that script. Did anyone managed to install miui trough TWRP on the Mi5?

TWRP telling me device is encrypted on clean install with no lock screen

While trying to go from a custom ROM to the official global stable, I'm having issues. I used Mi Flash to install the rom with no issue, but when I boot into TWRP with fastboot, it tells me the data is encrypted. I have no lock screen on and I can't decrypt it because default_password didn't work. I'm going to try to explain to the best of my ability exactly what I was trying and what I did to get here.
Starting point: Epic Rom
I used mi flash tool to install official Nougat Global Stable ROM.
I accidentally lock my bootloader doing this, but no big deal, I unlock it again with the tool xiaomi provides.
I guess the official ROM has it's own recovery, since it overwrote TWRP.
I reflash TWRP, and use fastboot to boot into it.
I wanted to install magisk, so I boot the phone, download it, and boot back into TWRP from the command line.
Here's where I notice the data is encrypted and I can't access internal storage to install magisk.
I start over and reflash the global rom and twrp, this time not setting a lock screen at all.
Still encrypted.
Wipe userdata and repeat.
Still encrypted.
I'm lost at this point. I can't even flash a custom ROM because I again can't get into my internal storage in TWRP to install it. Does anyone have any ideas? I'm a bit desperate at this point
After a little bit more searching, it seems it automatically encrypts if supersu isn't installed. Is there a way around this for magisk?
I recently had the same issue with the global stable rom, twrp wouldn't show anything in my internal storage. How I fixed it was miflashing the latest global stable developer rom instead an then twrp , an that did it..... I was able to see internal storage. For some reason the global stable doesn't allow you to see the storage. Hope that helps
kjm2323 said:
I recently had the same issue with the global stable rom, twrp wouldn't show anything in my internal storage. How I fixed it was miflashing the latest global stable developer rom instead an then twrp , an that did it..... I was able to see internal storage. For some reason the global stable doesn't allow you to see the storage. Hope that helps
Click to expand...
Click to collapse
Brilliant, this worked! My issue now is that, as far as I can tell, developer ROM isn't on MIUI9? That seems strange, but I guess I may go back to a custom ROM in this case.
master565 said:
Brilliant, this worked! My issue now is that, as far as I can tell, developer ROM isn't on MIUI9? That seems strange, but I guess I may go back to a custom ROM in this case.
Click to expand...
Click to collapse
I know I'm on the latest an it is miui8, which I'm fine with... The device runs great an has everything I need. Just a heads up I didn't shut the updater off an left my phone on wifi. When I woke up in the morning it auto updated to the newest rom an I lost twrp, SU, xposed.... Had to re-do all that. Everything worked but just a pain. You don't get that auto update running a custom rom.

Infinite bootloop after update global stable

Hello guys, I really need your help!
I've just spent 5 hours trying to fix my Xiaomi Mi 8 bootloop.
Everything began this morning when I started a common update. After the reboot I got just an infinite bootloop on the white word "MI" that i get every time I turn the phone on.
I bought the phone from China with a Global rom already installed and the bootloader unlocked. I can access fastboot.
Here what I did today, until now:
-I decided to install a TWRP, only the 3.2.3.0 worked after many attemps with other versions.
-From twrp I flashed the last xiaomi eu stable. Result? Bootloop was still there.
-I flashed the last xiaomi eu weekly. Result? Bootloop there.
-I decided to go through Mi Flash.
-I installed the tool and downloaded the last Global Stable for fastboot installation.
-I flashed the global from Mi Flash. Result? Bootloop is here.
I don't really know what to do. Every time i did factory reset from twrp. I tried also to make the factory reset from fastboot command. I tried everything I could find online. No solution, same infinite bootloop.
Any suggestion? Thank you very much
Simone
Did your find a solution? I have the same problem.
Odoslané z MI 8 pomocou Tapatalku
Hi, after many attemps I installed the xiaomi.eu!
I could install china stable from mi flash, but I was not satisfied with a lot of Chinese apps. After that I installed again the twrp and I could put the ROM pixel experience. After pixel experience if I am not wrong I tried another twrp (I need to check) with which I could install the Xiaomi EU!!! Now I don't want to update anymore
If you need help I can check the version of the last twrp I have used! I guess it was an anti backroll protection because I could install the last china dev but nothing else, neither from that twrp.
If you need help ask,
Bye bye
is it because of encryption issue? from the first day i use mi8, i always on decrypt.
my step to flash any rom is:
1. flash rom
2. magisk
3. flash dm-verity
never had bootloop issue
flashing dm-verity should fix it.
simoooo17 said:
If you need help I can check the version of the last twrp I have used! I guess it was an anti backroll protection because I could install the last china dev but nothing else, neither from that twrp.
Click to expand...
Click to collapse
Hi I have/had the same problem!
- The only rom I got working was the "xiaomi.eu_multi_MI8_V10.0.11.0.OEACNFH_v10-8.1." which I stil use.
- I also can get the the official "dipper_global_images_V10.0.2.0.OEAMIFH_20180912.0000.00_8.1_global" rom working but it stil keeps updating to the latest version after a while. If that happends I get the bootloop problem.
So I'm stuck at an android 8.1 .EU rom and I'm scared to update to the latest stable android 9.0 rom because of the bootloops and/or to brick it and to lose al my data again.
So my questions:
1 - do you use the latest stable ROM, (which one) at the moment?
2- how did you install it?
3 - which TWRP did you use to flash the .EU rom?
4 - I use an 8.1 .EU rom. Do you think I can update without losing al data again (my wife will kill me if I have to reinstall again)?
5- Any idea why we have this problem?
I really like to update to android 9.0
I just saw (!) that they released an official version of TWRP for the Mi 8 at https://twrp.me/xiaomi/xiaomimi8.html
Thanks in advance!
Hello, I have solved using a different TWRP with which I could install the xiaomi.eu weekly! I tried a lot of twrp until that one worked
Where can I find this twrp version? Anders on which exact version are you on?

MIUI update bricked my phone?!

My Mi 8 got bricked by the latest MIUI update. I installed the software update from settings and clicked reboot and it booted straight to TWRP (more on that in a bit). I tried rebooting to system but it just went straight back to TWRP. I have unlocked the bootloader and also rooted my phone but as I kept the stock ROM I wouldn't think this would break it. In hindsight, after doing a bit of looking around it seems like people tend to reflash stock.img before updating or something when they've rooted their phone? Wish I'd known that before I clicked update.
I tried flashing a different ROM but when I go to reboot it just says "no OS installed. Are you sure you want to reboot?" and just goes into bootloop stuck on the Mi logo
using fastboot adb tools I can boot it into TWRP (has never worked using the volume and power buttons) and flashing ROMs seems to go okay but reboot says no OS installed and it bootloops, as I said.
I've tried flashing the latest MIUI build for my device, pixel experience, lineage OS and all of them yield the same results. Happy to answer any questions and try out any suggestions that anyone has. I'm really quite desperate!
SOLUTION: I flashed the stock firmware using the xiaomi mi flash tool. This fixed pretty much everything apart from now the camera doesn't work lol
What twrp you are using?
dimitrisverlis said:
what twrp you are using?
Click to expand...
Click to collapse
twrp-3.2.1-0611
Wipe everything, FORMAT data and update xiaomi firmware.

mi 9 acting STUPID? (bootlooping with any recovery or rom)

so i am on the miui eu weekly up stream and with the last 3 updates my phone is acting odd. first i am unable to root the phone now. if i try the the phone will reboot and act VERY strange, all apps freeze on opening, wifi, bluetooth and other modules dont work anymore and then a hard freeze. remove magisk and the system is back to normal. i cant even use most recoveries, i can only use like 2 specific chinese recoveries or else zips, updates and roms fail to install and bootloop.
Edit: upon looking further it seems my data partition was corrupt somehow, i dont know how but i had to edl flash it to factory to get it working again.
Well, I don't have your problems even my ROM is EU. Please confirm:
1. Which one of TWRP do you have ?
2. Any new ROM detected please always download it and then reboot to recovery and then update it.
God bless
Kris
do it all over again, make sure you flash the latest global stable in fastboot mode instead of in TWRP.

Categories

Resources