Flashing Custom rom i get stuck at fast boot but flashing xiaomi.eu works fine - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi,
I've done countless steps and watched a ton of videos today but still can't answer this and it feels like I'm missing something simple.
I received my xiaomi 9t today and quickly unlocked the bootloader (no wait time possibly because I had a Mi8 before hand so I already had an account). I've since installed TWRP as well as tried OrangeFox Recovery and still can't get any custom roms to work, it goes directly to the fastboot screen. I can get back into TWRP and flash xiaomi.eu rom, no issue but as soon as I go to a custom rom I get fastboot.
I've flashed my Mi 8 countless times but I can't seem to get this to go. I've tried making sure the mounts were correct, I've flashed a disable forced encryption thing that I saw on some youtube videos and still nothing works.
Thanks in advance,
Joe

AbsoluteZero said:
Hi,
I've done countless steps and watched a ton of videos today but still can't answer this and it feels like I'm missing something simple.
I received my xiaomi 9t today and quickly unlocked the bootloader (no wait time possibly because I had a Mi8 before hand so I already had an account). I've since installed TWRP as well as tried OrangeFox Recovery and still can't get any custom roms to work, it goes directly to the fastboot screen. I can get back into TWRP and flash xiaomi.eu rom, no issue but as soon as I go to a custom rom I get fastboot.
I've flashed my Mi 8 countless times but I can't seem to get this to go. I've tried making sure the mounts were correct, I've flashed a disable forced encryption thing that I saw on some youtube videos and still nothing works.
Thanks in advance,
Joe
Click to expand...
Click to collapse
Hello, what OrangeFox version did you install?
You should try with R10.1_1 if you are using latest one.
If your phone is working with xiaomi.eu ROMs..., do you know xiaomi.eu ROMs are custom ROMs?
You generally only have to "Format Data" in TWRP before flashing another ROM (stock or custom).
Good luck!

Hi,
Thank you for the reply. I now have OrangeFox R10.1_1 installed. sorry I should've said other custom roms aren't working xiaomi.eu seems to be fine for some reason.
I just installed OrangeFox, reflashed xiaomi.eu and booted, worked fine. Then I went back, formatted data, rebooted back to recovery, flashed AOSPextended and gapps pico. Rebooted to system and it went to the fastboot screen again. I noticed it says during the AOSP install that "Root Status: Disabled" could that be a problem?
Thanks again for your help.

AbsoluteZero said:
Hi,
I've done countless steps and watched a ton of videos today but still can't answer this and it feels like I'm missing something simple.
I received my xiaomi 9t today and quickly unlocked the bootloader (no wait time possibly because I had a Mi8 before hand so I already had an account). I've since installed TWRP as well as tried OrangeFox Recovery and still can't get any custom roms to work, it goes directly to the fastboot screen. I can get back into TWRP and flash xiaomi.eu rom, no issue but as soon as I go to a custom rom I get fastboot.
I've flashed my Mi 8 countless times but I can't seem to get this to go. I've tried making sure the mounts were correct, I've flashed a disable forced encryption thing that I saw on some youtube videos and still nothing works.
Thanks in advance,
Joe
Click to expand...
Click to collapse
Use the official TWRP.

You should install latest stable xiaomi.eu rom or install latest China rom through MI flash, you need latest vendor partition for latest custom roms to boot properly.

jaggyjags said:
You should install latest stable xiaomi.eu rom or install latest China rom through MI flash, you need latest vendor partition for latest custom roms to boot properly.
Click to expand...
Click to collapse
I installed the latest Global Rom 11.0.5. via OrangeFox. I couldn't get it to go with Mi Flash. Not sure how to create the flash_all.bat and where to get all the files from. Is that the same? What are the steps from here?
Thank you

The same exact issue I am facing. Tried multiple custom roms and everything failed to boot only resulting in bricked or error. Even my previous budget phone redmi 3s was much better than this.

Related

Having problem rooting my Axon 7 A2017U

Hey guys, first of all sorry about my english, im french.
So my problem is: I tried rooting my Axon 7 A2017U many times, with different guides. I always end up with a softbricked phone, having to restore to stock using MiFlash.
My bootloader is unlocked, i have stock recovery and stock rom for now.
Whenever i flash TWRP, either the signed one (from @tenfar) or unsigned (and up to date) ones, i can't go past the menu saying something like "your phone cant be checked for corruption, please lock your phone [...]" it just freeze. i did read somewhere that i should flash chainfire's root or a special .zip that, i guess, disabled some check that could prevent booting a phone with unsigned stuff/edited system (after flashing TWRP, so it could boot) that didn't work out. i think i found that information in some LineageOS thread here on XDA.
My ultimate goal would be to get a rooted stock nougat 7.1.1, up to date TWRP recovery and to be able to switch to LineageOS to try it out soon.
For what it is worth, i rooted many phones over the years, so while i'm no expert, i should be able to follow most of the steps you give me.
Thanks alot!
What version of TWRP did you flash first?
I have the same root problem i can not install in twrp install in twrp ok but su application displays no root cause i have latest twrp
KwesiJnr said:
What version of TWRP did you flash first?
Click to expand...
Click to collapse
this
https://forum.xda-developers.com/axon-7/development/recovery-official-twrp-zte-axon-7-t3515715
And @tenfar's signed one
KwesiJnr said:
What version of TWRP did you flash first?
Click to expand...
Click to collapse
this
https://forum.xda-developers.com/axon-7/development/recovery-official-twrp-zte-axon-7-t3515715
And @tenfar's signed one
Okay. Download and flash this one alone via fastboot and see what happens. This is one the I personally use. It is required for any of the newer versions to work properly.
twrp-3.0.2-2-a2017u.img
You can choose to rename it to just recovery.img, then:
1. fastboot flash recovery recovery.img
or
2.
if you choose to work with the same filename:
fastboot flash recovery twrp-3.0.2-2-a2017u.img
Select reboot to recovery from the bootloader menu now and try again.
Either way, should work fine. I know you mentioned you knew the basics, but just want to be sure.
Also forgot to mention. If TWRP works but you still can't get your phone to boot, you need to follow this guide here
You can start from the part that says:
-----------------------------------------------------
UPDATING FROM B20_Boot / B20 / B27 / B29 / B15(N)
-----------------------------------------------------
Again, that's the ROM I personally use if I want to go back to stock, not the one from the ZTE site.
Gonna try it and give feedback. thanks for taking time to help!
edit: im downloading the rom from the link you shared.
like you said, i can get TWRP to boot but not the phone.
So if i use full stock from ZTE, it can't boot with modified recovery?
edit 2: i don't know what worked, i think it might be the bootstack. or the rom by DrakenFX. now i can boot to the rom with a TWRP recovery installed. It worked, but i soft bricked again trying to flash SuperSU. So now i'm retrying with an updated TWRP.
I haven't tried that yet, but I really suspect that's the reason you're having problems. I rarely use pure stock ROMs. Like you, I'm not an expert in Android Development so I can't tell you why. Just been a flashaholic for years so made a few observations.
Which supersu are you installing? If you're swiping to the right in twrp, you need to install the dm-verity zip or supersu 2.79. There's some issues with newer builds.
Everything is working like a charm! Now im going to finally give lineageOS a try
I used Chainfire's SuperSU 2.79 stable.
Edit : Everything is working flawlessly! I'm running the lastest LineageOS nightly with root (Chainfire's 2.79). Followed their instruction and installation was smooth as butter. I should also point out i flashed the lastest official TWRP which seems more stable than the one @KwesiJnr suggested. The one he suggested was giving me some "can't read X partition" in red text everywhere in the log section, which the official one doesn't do. It was doing his job properly anyway though.
I can't thank @KwesiJnr enough, it helped me find the single mistake i was making.
lololo2 said:
Everything is working like a charm! Now im going to finally give lineageOS a try
I used Chainfire's SuperSU 2.79 stable
Click to expand...
Click to collapse
Glad you're up and running root. :good:
lololo2 said:
Everything is working like a charm! Now im going to finally give lineageOS a try
I used Chainfire's SuperSU 2.79 stable.
Edit : Everything is working flawlessly! I'm running the lastest LineageOS nightly with root (Chainfire's 2.79). Followed their instruction and installation was smooth as butter. I should also point out i flashed the lastest official TWRP which seems more stable than the one @KwesiJnr suggested. The one he suggested was giving me some "can't read X partition" in red text everywhere in the log section, which the official one doesn't do. It was doing his job properly anyway though.
I can't thank @KwesiJnr enough, it helped me find the single mistake i was making.
Click to expand...
Click to collapse
Yeah, like I mentioned before that was the base TWRP you needed to flash first, before any of the newer ones. You weren't intended to use it indefinitely.
There's a lot of Dev love for our device now and support is growing ... exciting new ROMs cropping up. Don't hesitate to try them out.

Bricked Mi A1

Managed to brick my A1. The only screen its able to go to is either fastbook, or recovery. And even then, doesn't always necessarily boot into recovery, have to plug into computer and go into command prompt (fastboot boot oreo_3.2.2_recovery.img) to get it into TWRP.
Currently can't seem to flash *any* roms, I have a stock rom ("tissot_100108_stock" cant remember where i got it from). Which successfully flashes, but then on reboot gets stuck on the Android One screen. Longest i have waited before giving up is an hour. Even when i flash this rom and reboot, i get a message on TWRP saying "No OS installed"
Tried doing this: [wont let me post link] (MiFlash) method and got an error, basically does not work.
Super frustrated, at my wits end, would just like to flash stock rom and sell this thing or let it sit in a drawer at this point. Thanks in advance.
same problem here...
I have the exact same issue and also came here for that to ask for help.
Xiaomi Mi A1 was running 8.1 OTA updated and then I tried to flash Lineage, but it did not work. I wiped my phone and now it can't install anything, not via TWRP nor with Mi Flash.
I hope we can find a solution.
cantras said:
I have the exact same issue and also came here for that to ask for help.
Xiaomi Mi A1 was running 8.1 OTA updated and then I tried to flash Lineage, but it did not work. I wiped my phone and now it can't install anything, not via TWRP nor with Mi Flash.
I hope we can find a solution.
Click to expand...
Click to collapse
hopefully! i posted on the xiaomi subreddit but no help. i was on 8.0 when i started this whole misadventure.
I got somewhere, I think.
I went into TWRP, switched from B to A booting. It then starts Android but gets stuck in the boot screen of Android one with the colored bar.
I then tried MiFlash again, going directly to the folder which containts the .bat files. It started flashing it finally.
I am back to a working system.
Let me know if it works for you.
you guys should try flashing the latest stock rom 8.1 July running the bat file of your choice located in the factory image through fastboot
the different custom recoveries and miflash are sometimes buggy
run the script directly on fastboot
Sent from my Nexus 6 using Tapatalk

Bootloop on anything except stock MIUI

When I try to flash any ROM other than stock Global 10.3.11.0 (PFJMIXM), I get a bootloop: either it directly boots into fastboot after showing the MI logo once, or it keeps rebooting and showing the MI logo. The only way out is to flash stock MIUI via mifirm.
I have tried Lineage, ParanoidAndroid and Pixel Experience and carefully followed the instructions in the thread. I am using the greek TWRP 3.3.1-12-08-19 by geoanto555. In fact, when I first unlocked the bootloader yesterday, I was able to get Lineage working, but then I tried a different ROM and since then I can't even get Lineage to boot.
Any ideas?
My LineageOS guide links to the twrp I'm using, which is the russian one and not the greek one. The greek one seems to have issues. Also, always wipe -> format data between roms. Finally, check on which miui are the roms based. My lineage is based on latest global. Other I've seen are based on 10.3.9.0 or even 10.3.6.0, so they obviously won't work correctly with 10.3.11.0.
ImperfectIguana said:
When I try to flash any ROM other than stock Global 10.3.11.0 (PFJMIXM), I get a bootloop: either it directly boots into fastboot after showing the MI logo once, or it keeps rebooting and showing the MI logo. The only way out is to flash stock MIUI via mifirm.
I have tried Lineage, ParanoidAndroid and Pixel Experience and carefully followed the instructions in the thread. I am using the greek TWRP 3.3.1-12-08-19 by geoanto555. In fact, when I first unlocked the bootloader yesterday, I was able to get Lineage working, but then I tried a different ROM and since then I can't even get Lineage to boot.
Any ideas?
Click to expand...
Click to collapse
Tru to use the Russian fix twrp and make a format data coz your phone is encrypted

Which stable rom and how should I flash?

Hi,
A few months back I unlocked the bootloader, installed TWRP (I don't know which version, probably letsmakecakes version) and flashed a LOS build from Darkjoker. I ran into a few problems, like asking password on first boot and a Zip Treble compatibility error while trying to flash the rom. I can't recall how I overcome it, I think I deleted something inside the rom zip and then it worked I believe.
But this is an old build, it has a few major bugs (data not working for me, sometimes the phone freezes while connecting to certain networks, etc). I'm dying to change it.
I want to mantain the feel of LOS and stock Android (I don't need costumization), and I've looked into LOS 16 from AmulyaX and Pixel Experience 9.0. Which one would you guys recommend?
Also, with the problems I had when first flashing this phone, I'm a bit afraid of the process. I want to install OrangeFox Recovery and one of these roms. How should I procceed? Can you ELI5 please?
Thank you!
I unlocked my bootloader just yesterday. And before that I made sure that I remove all security locks including screen lock and app lock. This way TWRP did not encrypt my phone. After flashing TWRP I booted into recovery and flashed Orange Fox Recovery zip and it automatically booted into itself. I wanted to stick with MIUI bcz of the battery backup and smoothness so I went for RevOS MIUI. Loving the ROM so far.

Stuck in fastboot after flashing TWRP (Mi 9T)

First of all why did this happen, presumably I wasn't doing anything wrong or uninformed. I just unlocked the bootloader successfully, afterward as many threads claimed I flashed twrp-3.3.1-2-davinci-fix, and now it simply wont boot neither to system nor twrp. Why did this happen?
Does anyone know how to fix this? Thank you!
Mi 9T (M1903F10G)
Did you try to power off and then turn back on holding power and volume up? I had this issue yesterday but doing the vol up and power got me to twrp then did format and it booted up
cmlucht said:
Did you try to power off and then turn back on holding power and volume up? I had this issue yesterday but doing the vol up and power got me to TWRP then did format and it booted up
Click to expand...
Click to collapse
Thank you for your reply. You can't even power off, it will simply bootloop forever into fastboot. Nonetheless I managed to fix it by flashing fastboot ROM using MIFlash, but man, didn't expect root solutions to be this complicated, unstable, and outdated for our beloved Mi 9T. I simply want to achieve root in the stock rom, and wasted 7 hours yesterday and still got nowhere. I come from a classic LG G2, when things were much simple and straight forward back then. You can stop reading here, but now I had to:
Wait 1 week for bootloader unlock.
Flash TWRP, which soft bricked my phone right away. Why on earth, a recovery image provided in many reliable tutorials from multiple sources cause soft-brick in the second step is beyond my comprehension. I am still genuinely curious why did this happen, and why such a broken image is still circulating here?
Then I had to inform myself all about Anti Rollback, in order to prevent it happening, and concluded that MiFlash is safe, so I got MiFlash and a fastboot rom.
Apparently Mi Flash is terribly buggy and kept showing .net error exceptions because a "LOG" folder was missing in root folder, so let's waste one hour scratching our heads what the hell is happening because the developer missed a simple MkDir line during development.
After creating LOG folder, and installing drivers, couldn't flash any fastboot ROM because my 9T antiroll back number is 1 while fastboot rom ARB index was 0.
Then it appears that this error has actually nothing to do with ARB, but it is because I had to a) start MiFlash from C:\, b) remove name spaces in target address and c) shorten fastboot ROM folder name. So I had to get all these 3 variables right in order to resurrect my phone. MiFlash terrible programming didn't stop at step 4) but it extends into showing entirely confusing ARB errors that have nothing to with the real problem, rather petty programming bugs such as folder naming.
Finally managed to boot up 9T, and we're back at square one.
Afterward successfully flashed mauronofrio TWRP including vbmeta and got recovery working.
I decided to try out few custom ROMs since all my data were erased anyway, but it appears my system was encrypted and TWRP showed encrypted alphanumeric characters, so I had to format data in order to flash files.
Now every-time I flash stock ROM .zip I lose TWRP, and every-time I reflash mauronofrio TWRP I end up in recovery bootloop, and so I can't manage to have both at same time in order to move with the Magisk flash.
10 steps and 7 hours later and still got nowhere, just risked bricking my phone.
Now we have to deal with
a) bootloader wait,
b) twrp encryption mess,
c) anti roll back risk,
d) buggy MiFlash
e) safety net measures
f) no custom ROMs that are pre-rooted and simple
g) dependency of stock ROM files - meaning you can't wipe everything including system and just flash custom ROM .zips, like I used to do with 5 android phones before this one. Now you are somehow dependent on original ROM files which probably means you will have to base install stock MI before you flash anything Xiaomi.EU, Evolution X, PixelExperience etc.​ When did things get so complicated? It seems every year new limitations are introduced and the sheer combination to get them all right give headaches.
Anyway, all I want is to install latest stock ROM from TWRP and keep TWRP so I can also flash Magisk. In other words, how to simply have a rooted stock?
Your mistake is to not use Official TWRP instead of an old TWRP version...
Micdu70 said:
Your mistake is to not use Official TWRP instead of an old TWRP version...
Click to expand...
Click to collapse
Thanks for your reply! Yes, that must have been it. Those outdated tutorials should be removed.
Now I flashed miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM through latest TWRP, but it removed TWRP. When I reflash latest TWRP then it ends up in bootloop.
EDIT: Ended up reflashing all over again using MiFlash. Now the only problem remaining is which version of Magisk is compatible with miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM?
What are you flashing with? I am now using xiaomitools v2 and it installed twrp and magisk with no problems.
I flashed the EU custom stable, I was global but I wanted to compare the 2 and I like the EU better.
I came from a non rootable lg g7.
I have not flashed custom ROMs since my old Galaxy note days.
cmlucht said:
What are you flashing with? I am now using xiaomitools v2 and it installed twrp and magisk with no problems.
I flashed the EU custom stable, I was global but I wanted to compare the 2 and I like the EU better.
I came from a non rootable lg g7.
I have not flashed custom ROMs since my old Galaxy note days.
Click to expand...
Click to collapse
Never heard of XiaomiTools v2, it seems like a great alternative. I used buggy MiFlash to flash fastboot ROM, flashed TWRP, then got a bootloop, formatted data from TWRP and flashed Magisk. It seems everything is working fine now, but in the future I'll make sure to check XiaomiTools v2.
I never used stock ROMs in any of my past phones, first thing I did when I bought a new phone is unlock bootloader and install Lineage or Cyanogenmod back in the days. But somehow I like MIUI so all I needed was root.
It is hard to believe that there are actually phones that have no root at all.
blackmatrix64 said:
Thank you for your reply. You can't even power off, it will simply bootloop forever into fastboot. Nonetheless I managed to fix it by flashing fastboot ROM using MIFlash, but man, didn't expect root solutions to be this complicated, unstable, and outdated for our beloved Mi 9T. I simply want to achieve root in the stock rom, and wasted 7 hours yesterday and still got nowhere. I come from a classic LG G2, when things were much simple and straight forward back then. You can stop reading here, but now I had to:
Wait 1 week for bootloader unlock.
Flash TWRP, which soft bricked my phone right away. Why on earth, a recovery image provided in many reliable tutorials from multiple sources cause soft-brick in the second step is beyond my comprehension. I am still genuinely curious why did this happen, and why such a broken image is still circulating here?
Then I had to inform myself all about Anti Rollback, in order to prevent it happening, and concluded that MiFlash is safe, so I got MiFlash and a fastboot rom.
Apparently Mi Flash is terribly buggy and kept showing .net error exceptions because a "LOG" folder was missing in root folder, so let's waste one hour scratching our heads what the hell is happening because the developer missed a simple MkDir line during development.
After creating LOG folder, and installing drivers, couldn't flash any fastboot ROM because my 9T antiroll back number is 1 while fastboot rom ARB index was 0.
Then it appears that this error has actually nothing to do with ARB, but it is because I had to a) start MiFlash from C:\, b) remove name spaces in target address and c) shorten fastboot ROM folder name. So I had to get all these 3 variables right in order to resurrect my phone. MiFlash terrible programming didn't stop at step 4) but it extends into showing entirely confusing ARB errors that have nothing to with the real problem, rather petty programming bugs such as folder naming.
Finally managed to boot up 9T, and we're back at square one.
Afterward successfully flashed mauronofrio TWRP including vbmeta and got recovery working.
I decided to try out few custom ROMs since all my data were erased anyway, but it appears my system was encrypted and TWRP showed encrypted alphanumeric characters, so I had to format data in order to flash files.
Now every-time I flash stock ROM .zip I lose TWRP, and every-time I reflash mauronofrio TWRP I end up in recovery bootloop, and so I can't manage to have both at same time in order to move with the Magisk flash.
10 steps and 7 hours later and still got nowhere, just risked bricking my phone.
Now we have to deal with
a) bootloader wait,
b) twrp encryption mess,
c) anti roll back risk,
d) buggy MiFlash
e) safety net measures
f) no custom ROMs that are pre-rooted and simple
g) dependency of stock ROM files - meaning you can't wipe everything including system and just flash custom ROM .zips, like I used to do with 5 android phones before this one. Now you are somehow dependent on original ROM files which probably means you will have to base install stock MI before you flash anything Xiaomi.EU, Evolution X, PixelExperience etc.​ When did things get so complicated? It seems every year new limitations are introduced and the sheer combination to get them all right give headaches.
Anyway, all I want is to install latest stock ROM from TWRP and keep TWRP so I can also flash Magisk. In other words, how to simply have a rooted stock?
Click to expand...
Click to collapse
Hey, I'm facing the same issue you faced here. Waited 7 days to unlock bootloader, after unlocking it, flashed a twrp i found on one of the youtube tutorials. Immediate bootloop. Im fairly new to all of this, and dont understand what certain words even mean tbh. Do you mind guiding me in fixing my phone? Any help would be really appreciated. Thank you.
blackmatrix64 said:
Never heard of XiaomiTools v2, it seems like a great alternative. I used buggy MiFlash to flash fastboot ROM, flashed TWRP, then got a bootloop, formatted data from TWRP and flashed Magisk. It seems everything is working fine now, but in the future I'll make sure to check XiaomiTools v2.
I never used stock ROMs in any of my past phones, first thing I did when I bought a new phone is unlock bootloader and install Lineage or Cyanogenmod back in the days. But somehow I like MIUI so all I needed was root.
It is hard to believe that there are actually phones that have no root at all.
Click to expand...
Click to collapse
i miss the Cyanogenmod days

Categories

Resources