Phone keeps booting into twrp - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I tried flashing evolution x 11 today, after wiping i realized i forgot to update the vendor, so i tried restoring thr backup but that didnt work so i downloaded the latest vendor and flashed it followed by the rom but it still didnt work. So i flashed an old android 10 rom but that didnt work either. Anything i do, it just keeps booting into recovery.

is formatting data gonna help?

SatouKazuma said:
is formatting data gonna help?
Click to expand...
Click to collapse
Yes. Also read this thread, mainly posts 2 & 3. It has very useful info about backup, restore, etc for encrypted phones.

format first, download latest vendor for your phone https://downloads.akhilnarang.dev/MIUI/raphael/ from here. flash vendor, reboot recovery, then flash everything else.

Related

[Q] Moto X 2014 5.0.2 update broke my phone

Hello everybody,
I'm new, I hope someone can help me here ... I'm quite sure somewhere on these forums there must already be answers for my problem but I'm too dumb to find them.
I have the European? 2014 Moto X (not sure how to get the exact model now?!)
Unlocked bootloader, rooted.
Everything was fine, except today I got the 5.0.2 (?) OTA update ...
I didn't want to do it, but it kept asking. The moment I pressed "don't ask again" the phone rebooted
and now it's stuck at the white bootup screen (Motorola logo)
I somehow managed to get into the fastboot? mode once, by somehow pressing buttons at startup ... but, well
My two questions are:
1. Can I still backup my data, photos, textfiles, etc etc
2. How do I go back to a working system. (maybe without loosing my data)
Please tell me if it's possible, and how ... or please push me into the right directions.
But as I'm half panicking detailed instructions would be so fantastic.
Personally, how I would recover data, is boot to fastboot and flash TWRP again (since you indicated you were unlocked boot loader). In TWRP, plug in the device to a computer via USB and your files will be there. Then you can reflash the stock firmware and be good to go. If you are comfortable flashing the firmware through fastboot, you can choose to not wipe data and you should be all set.
It may be worth trying just clearing the cache and seeing if you can boot.
Sent from my Moto X 2015 Pure Edition using Tapatalk
xKroniK13x said:
Personally, how I would recover data, is boot to fastboot and flash TWRP again (since you indicated you were unlocked boot loader). In TWRP, plug in the device to a computer via USB and your files will be there. Then you can reflash the stock firmware and be good to go. If you are comfortable flashing the firmware through fastboot, you can choose to not wipe data and you should be all set.
It may be worth trying just clearing the cache and seeing if you can boot.
Click to expand...
Click to collapse
Hey! Thanks a lot!
I did fastboot boot twrp, and managed to backup my data on the internat storage! Yeah! Thanks!! <3
Now to part 2, I tried to wipe the cache partition in TWRP, but it doesn't help; when I reboot it still only shows the white logo..
Should I wipe other partitions aswell? (davikcache?)
If there's a way without loosing the phone setup, it would be great.
(Installed apps ... open tabs in firefox etc ...)
I also have a "online nandroid" backup, I think from back then, right after I rooted.
Would I restore the system.img from there?
Will this remove installed apps?
Or should I restore all partitions made by online nandroid backup?!
(I thought this would be better than... or how would I find the right stock firmware online for my device?)
Sorry for being such a beginner!!!!
psssss said:
Hey! Thanks a lot!
I did fastboot boot twrp, and managed to backup my data on the internat storage! Yeah! Thanks!! <3
Now to part 2, I tried to wipe the cache partition in TWRP, but it doesn't help; when I reboot it still only shows the white logo..
Should I wipe other partitions aswell? (davikcache?)
If there's a way without loosing the phone setup, it would be great.
(Installed apps ... open tabs in firefox etc ...)
I also have a "online nandroid" backup, I think from back then, right after I rooted.
Would I restore the system.img from there?
Will this remove installed apps?
Or should I restore all partitions made by online nandroid backup?!
(I thought this would be better than... or how would I find the right stock firmware online for my device?)
Sorry for being such a beginner!!!!
Click to expand...
Click to collapse
Lollipop actually doesn't use dalvik, so that won't help. If you have a nandroid, you of course can restore to that but it would likely lose your apps/settings. You can try restoring just the system, it sort of depends on what went wrong. In my experience being stuck not booting, I generally just reflash everything. Not the most convenient but it is the most effective.
Sent from my Moto X 2015 Pure Edition using Tapatalk
xKroniK13x said:
Lollipop actually doesn't use dalvik, so that won't help. If you have a nandroid, you of course can restore to that but it would likely lose your apps/settings. You can try restoring just the system, it sort of depends on what went wrong. In my experience being stuck not booting, I generally just reflash everything. Not the most convenient but it is the most effective.
Click to expand...
Click to collapse
Hey xKroniK13x,
thanks a lot for caring!
Of course, catastrophy happened:
I did fastboot boot twrp and tried to restore system from there, didn't work so I restored system _and boot from my nandroid backup there
guess this was very stupid because
Now my phone boots right into the fastboot mode, and I can't fastboot boot TWRP anymore,
it says "incomplete boot image for booting"
partition sizes wrong, etc etc ...
what I did now was flashing TWRP, at least this worked and I can boot it from the phone now.
So, please, one more time help (for a very stupid user ):
1. I guess keeping my apps and settings is out of discussion now, haha
But is there a way, with unlocked bootloader, TWRP installed to go back to stock?
2. Now ... given my phone is not completely broken, I just thought about installing CM?!
Would this be recommended? is it working fine?
I'm just thinking about it, because with Cyanogenmod I won't have problems like this in the future, right?
(OTA updates destroying my phone because of root....)
Whoa, I'm sorry for posting this here, but ... :angel:
psssss said:
Hey xKroniK13x,
thanks a lot for caring!
Of course, catastrophy happened:
I did fastboot boot twrp and tried to restore system from there, didn't work so I restored system _and boot from my nandroid backup there
guess this was very stupid because
Now my phone boots right into the fastboot mode, and I can't fastboot boot TWRP anymore,
it says "incomplete boot image for booting"
partition sizes wrong, etc etc ...
what I did now was flashing TWRP, at least this worked and I can boot it from the phone now.
So, please, one more time help (for a very stupid user ):
1. I guess keeping my apps and settings is out of discussion now, haha
But is there a way, with unlocked bootloader, TWRP installed to go back to stock?
2. Now ... given my phone is not completely broken, I just thought about installing CM?!
Would this be recommended? is it working fine?
I'm just thinking about it, because with Cyanogenmod I won't have problems like this in the future, right?
(OTA updates destroying my phone because of root....)
Whoa, I'm sorry for posting this here, but ... :angel:
Click to expand...
Click to collapse
If you've been contemplating installing a ROM, now would be a good time to do so. Just remember to wipe the data on the phone even though it doesn't boot. And CM OTA shouldn't cause issues like this, it just flashes the zip file in your recovery. Doesn't care about root or anything of course. Otherwise, if you'd like to do stock, just use MDM to get the firmware and flash away. Hope this helped!
Sent from my Moto X 2015 Pure Edition using Tapatalk
Hi !
I have exactly the same problem.
Can you tell us how you did to fix the bootloop ?
Thank you
benjo22 said:
Hi !
I have exactly the same problem.
Can you tell us how you did to fix the bootloop ?
Thank you
Click to expand...
Click to collapse
Try clearing your cache in a recovery/fastboot, or reflash the firmware! No guarantee the cache will fix it, but sometimes it will.
Sent from my Moto X 2015 Pure Edition using Tapatalk
Thank you for your help.
Clearing the cache doesn't work, so I'm searching for others ways...
Can you tell me how to flash the firmware with adb ?
Thanks
Edit : I have an European version
benjo22 said:
Thank you for your help.
Clearing the cache doesn't work, so I'm searching for others ways...
Can you tell me how to flash the firmware with adb ?
Thanks
Edit : I have an European version
Click to expand...
Click to collapse
That is answered in the FAQ thread... It is a guide for Moto G but it is applicable for this device too. http://forum.xda-developers.com/showthread.php?t=2876769
Sent from my Moto X 2015 Pure Edition using Tapatalk
@xKroniK13x
Hey, thanks for somehow guiding me through this :victory:
MDM didn't work, so I just went for the CM 12.1 nightly.
I also had concerns because in my attempts to clear cache etc etc I had "wrong partition size" etc etc
But CM installed without problems!
(Just one more question- there can't be any problems in the future because of messed up partitions, right? Does CM fix this by installing? Or should I stop caring, if it works, it works, right?!)
In fact, CM runs great, fantastic on my phone.
I lost some app data, and most annoyingly my SMS, but ...
Other than that, I'm really happy with CM :laugh:
@benjo22
Hey, I tried to fix it by clearing cache partitions from a fastboot TWRP (I don't know how you call it, I just booted TWRP without installing it)
This didn't work, so I tried to restore a nandroid backup,
but this made it even worse. (partition errors, only fastboot mode, etc etc)
Just booting with TWRP without installing also didn't work anymore,
so I put TWRP on the phone, which luckily worked, downloaded CM 12.1, installed it via TWRP,
never did it before, but I was lucky, it seems like it worked great!
Even kept my "SD CARD" data, but lost apps and some data ...
So I didn't fix the bootloop, but I hope I made it better, futureproof...
Glad you got up and running. CM shouldn't cause any future issues as far as partitions and such.
Sent from my Moto X 2015 Pure Edition using Tapatalk

TWRP can't flash anything.

I recently dusted off my Nexus 6 to test a few projects on and wanted to update everything. But no matter what I try within TWRP, every zip/img fails. Any guidance on how to repair the filesystem would be helpful. The attached images is the error. For now it seems shamu has been beached:crying:
Running TWP 3.1.1.0
ROM: LineageOS, not sure which version
Android version: 7.1.1
Bootloader is unlocked
Update to the latest TWRP and see if that helps. You want version 3.2.1-0.
https://dl.twrp.me/shamu/
Thanks, I just tried that. I was able to flash the recovery img through adb, but any attempt to flash a zip through fails with the same errors
format data on twrp you will lose everything so do backup
belive ihave the same problen but when i formated data with twrp the problem is gone so got to twrp - wipe -format data Type yes
ctrl1122 said:
Thanks, I just tried that. I was able to flash the recovery img through adb, but any attempt to flash a zip through fails with the same errors
Click to expand...
Click to collapse
Your safest bet would be going for a factory image, and then reflash twrp and then try again to see if everything is allright.
Or try formatting data from TWRP, like person above me mentioned. USB Drive+otg adapter might come in handy to keep stuff you want to flash there
VarDes said:
Your safest bet would be going for a factory image, and then reflash twrp and then try again to see if everything is allright.
Or try formatting data from TWRP, like person above me mentioned. USB Drive+otg adapter might come in handy to keep stuff you want to flash there
Click to expand...
Click to collapse
I'll give this a shot, seems likely it will rebuild the corrupted bits.
MiroALG said:
format data on twrp you will lose everything so do backup
belive ihave the same problen but when i formated data with twrp the problem is gone so got to twrp - wipe -format data Type yes
Click to expand...
Click to collapse
After doing this, data fails mount in TWRP. I will tryflashing a factory image. Thanks!
ctrl1122 said:
I'll give this a shot, seems likely it will rebuild the corrupted bits.
After doing this, data fails mount in TWRP. I will tryflashing a factory image. Thanks!
Click to expand...
Click to collapse
no problem back to stock with NRT then root and flash twrp and try it will fix all your problem
---------- Post added at 02:13 AM ---------- Previous post was at 02:12 AM ----------
MiroALG said:
no problem back to stock with NRT then root and flash twrp and try it will fix all your problem
Click to expand...
Click to collapse
but when you format your data you need to reboot to recovery again the copy your rom zip and gapps to your phone with pc or otg and flash
ctrl1122 said:
I'll give this a shot, seems likely it will rebuild the corrupted bits.
After doing this, data fails mount in TWRP. I will tryflashing a factory image. Thanks!
Click to expand...
Click to collapse
Success! Running the latest build now. Thanks everyone, I appreciate your time.

I think my MI8 got bricked

1. yesterday, i was using lasted PE 9.0 as my daily driver.
2. My phone got a little lag so I tried to reboot my phone but it couldn't so I hard reset it.
3. The phone got into bootloop
4. Access TWRP, it seems like my date got corrupted cause i lost all my data and internal storage show nothing
5. Tried format date but got error: Can not mount persist
6. Use MIFlash to flash the 9.6.20, 9.6.27 (global) and 9.5.9 (china) and the phone still got stuck in the MI + android logo screen.
P/s: as i checked the phone still got unlocked. i can still install TWRP in fastboot but flash any rom got error 7
Update: every TWRP i tried got bootloop and made me lost persist except this https://drive.google.com/open?id=1HiQsS5bZOKA4AV89S9CieQfphzCRSYcj
I think this is the best for fixing any errors in Android 9. After fixing u can install another TWRP
Now using PE, it seems i cant flash any MIUI
That wasn't a brick/ It was a encryption issue
Go to Wipe, Format Data, type yes, reboot to recovery, wipe system and flash any rom you want!
Glad you fixed, miui, is **** anyways, who needs it lop
huytoan9882 said:
1. yesterday, i was using lasted PE 9.0 as my daily driver.
2. My phone got a little lag so I tried to reboot my phone but it couldn't so I hard reset it.
3. The phone got into bootloop
4. Access TWRP, it seems like my date got corrupted cause i lost all my data and internal storage show nothing
5. Tried format date but got error: Can not mount persist
6. Use MIFlash to flash the 9.6.20, 9.6.27 (global) and 9.5.9 (china) and the phone still got stuck in the MI + android logo screen.
P/s: as i checked the phone still got unlocked. i can still install TWRP in fastboot but flash any rom got error 7
Update: every TWRP i tried got bootloop and made me lost persist except this
I think this is the best for fixing any errors in Android 9. After fixing u can install another TWRP
Now using PE, it seems i cant flash any MIUI
Click to expand...
Click to collapse
You can try changing all partition to f2fs (or any other format) and then changing back to ext4.
It worked for me...
Aronfjil said:
You can try changing all partition to f2fs (or any other format) and then changing back to ext4.
It worked for me...
Click to expand...
Click to collapse
Can you tell me how?
Now i just flash the twrp then flash persist again. Then everything is fine
huytoan9882 said:
Can you tell me how?
Now i just flash the twrp then flash persist again. Then everything is fine
Click to expand...
Click to collapse
Boot in to twrp Wipe/advanced wipe/select system + cache + data(one at a time) then press change or repair system file and select f2fs and continue as I mentioned before.
Updates please....

Bootloop to twrp

Hello, I have flashed twrp, made a backup and tried to flash arrow os on my xiaomi mi 9t pro. However, now I'm stuck and it's just booting to twrp automatically. I've tried restoring boot, system, vendor, but no success. Does anyone know what to do? Also, how do I figure out which vendor I have, I didn't look previously and now it's not booting (so I could try to flash the original rom).
krifpv said:
Hello, I have flashed twrp, made a backup and tried to flash arrow os on my xiaomi mi 9t pro. However, now I'm stuck and it's just booting to twrp automatically. I've tried restoring boot, system, vendor, but no success. Does anyone know what to do? Also, how do I figure out which vendor I have, I didn't look previously and now it's not booting (so I could try to flash the original rom).
Click to expand...
Click to collapse
You probably needed to Format (not just Wipe) Data.
This is a MUST whenever you flash custom ROMs - something that everyone must read/learn about before going for custom ROMs
However, if you messed up your vendor or other partitions, you will probably need to flash the full tgz/fastboot firmware - Google is your friend
zgfg said:
You probably needed to Format (not just Wipe) Data.
This is a MUST whenever you flash custom ROMs - something that everyone must read/learn about before going for custom ROMs
However, if you messed up your vendor or other partitions, xou will probably need to flash the full tgz/recovery firmware - Google is your friend
Click to expand...
Click to collapse
Oh my ****ing god. Thank you so so much!! Formatting data worked!
zgfg said:
You probably needed to Format (not just Wipe) Data.
This is a MUST whenever you flash custom ROMs - something that everyone must read/learn about before going for custom ROMs
However, if you messed up your vendor or other partitions, you will probably need to flash the full tgz/fastboot firmware - Google is your friend
Click to expand...
Click to collapse
Google is not your friend when you want help with your phone. There is so much bad information that is easily found when using Google (same with YouTube). If you are not sure what you're doing, how can you verify a random article/video is giving good information.
Better to stick with XDA where many members can verify info and advice. XDA search is your friend.
krifpv said:
Oh my ****ing god. Thank you so so much!! Formatting data worked!
Click to expand...
Click to collapse
You need to format data whenever you flash over MIUI (or MIUI derived custom ROM).
Flashing over another AOSP ROM you won't need to format data. However it is strongly advised to remove lockscreen security before updating a custom ROM or flashing a new custom ROM.

Question PLEASE HELP Can't Flash EU rom to Mi 11 ultra without Bricking

I'm having a big problem. I've had to unbrick my Mi11 ultra 5 times with the miflash tool because every time I flash the custom rom through TWRP it complete then reboots with no OS. I copy the rom to the phone. Go in to TWRP and then I go to install and find the zip file. I choose it and it goes through the process but it still reboots into TWRP with no OS. I've tried it with and without root with Magisk. WHAT AM I DOING WRONG?! Please help. Here is the link for the ROM I'm trying to use https://androidfilehost.com/?fid=14943124697586336463
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Yes, as above. If you don't format data with the confirmation of yes in the twrp wipe menu, it will alway go back to twrp.
The reason is that when you change kernal branch, there may be partition differences between them. A format clears out old data crossing the new partition layout and allows boot.
portamento said:
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Click to expand...
Click to collapse
Buddy as best try to flash over Fastboot, then after that install TWRP and mount all partitions. Then klick wipe-- factory reset and wipe and after that format data with confirm yes. after that you need to install inject TWRP inject. You can find it in ADVANCED. After that klick fix Contexts. And reboot.
After that the OS will reinstall . Try it, that will work 100%
portamento said:
Format data after flashing the EU ROM.
The first time you load the system, the screen will stay a loooong time with the MIUI logo; don't panic and be patient.
Hope it works for you.
Regards.
Click to expand...
Click to collapse
Sathelp said:
Yes, as above. If you don't format data with the confirmation of yes in the twrp wipe menu, it will alway go back to twrp.
The reason is that when you change kernal branch, there may be partition differences between them. A format clears out old data crossing the new partition layout and allows boot.
Click to expand...
Click to collapse
THANK YOU BOTH!!! IT WAS CAUSE I DIDNT FORMAT DATA AFTER THE ROM INSTALL!! Thank you so much
Mag_e said:
THANK YOU BOTH!!! IT WAS CAUSE I DIDNT FORMAT DATA AFTER THE ROM INSTALL!! Thank you so much
Click to expand...
Click to collapse
Glad to know that it worked . I had the same problem when I changed from European stock ROM to Xiaomi.eu one. The tutorials I read didn't say anything about formatting data after installing the new ROM.
Mag_e said:
I'm having a big problem. I've had to unbrick my Mi11 ultra 5 times with the miflash tool because every time I flash the custom rom through TWRP it complete then reboots with no OS. I copy the rom to the phone. Go in to TWRP and then I go to install and find the zip file. I choose it and it goes through the process but it still reboots into TWRP with no OS. I've tried it with and without root with Magisk. WHAT AM I DOING WRONG?! Please help. Here is the link for the ROM I'm trying to use https://androidfilehost.com/?fid=14943124697586336463
Click to expand...
Click to collapse
Check this steps

Categories

Resources