Mi 9T only booting to TWRP - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi! I just tried to install my first custom ROM, and I don't really think it worked...
Can someone please look through the steps I took and tell me exactly where I f-ed up and why I'm an idiot? Right now my phone shows the boot logo for a few seconds, and then boots right to TWRP.
Here is what I did:
1. I downloaded resurrection remix and magisk to my computer and transferred the .zips to my Mi 9T.
2. I booted to (the official) TWRP and made a backup. Now, here I know I really f-ed up, because I didn't save the backup on my computer, only on the phone... And I know exactly how stupid that is right now.
3. Anyways, I wiped the data and such according to instructions...
4. ...and installed first the ROM, then magisk.
5. When I tried to reboot it went into TWRP again, and the files looked like they were encrypted. I tried to restore the backup, but of course it was also encrypted.
6. Okay, a tiny bit of panic. Since I can't really do anything, I feel like the only option is to format the data (was that a bad idea? maybe, probably...)
7. I install the latest firmware for Europe and try to install the ROM again. (without magisk this time)
8. it boots (with the xiaomi boot logo) and then straight to TWRP.
9. The last thing I tried was installing xiaomi.eu, and this gave some progress. Now it has a new boot-logo (white Mi logo with mi.com under it. No "powered by android" text). It takes a bit longer to boot, but eventually goes back to TWRP.
I am so sorry if I'm stupid, but can someone please help me with this?
Edit: I solved it. Just had to format data and reboot.

pmcbkr said:
...
3. Anyways, I wiped the data and such according to instructions...
Click to expand...
Click to collapse
Wipe is not the same as format - wiping is much less than formating
If Instructions say to Format, you had to FORMAT DATA (not to wipe)

Related

Xiaomi Mi A1 Bricked, inifnite loop, I really don't know what's happening :( HELP

Hi, I have owned my Xiaomi Mi A1 like 5 days ago, and after a day I had it in my hands I rooted the device with Magisk 14.1 in TWRP, well, after I day I rooted the phone the update of oreo just realesed and my cellphone was avalible to install it, so I decided to unroot my phone, and there is where the ALL the problem started... Seems like when I flashed Magisk it didin't make a backup of the original boot.img so when I flashed the magisk uninstaller it didn't boot into the phone, it sent me to recovery again, so I tried installing the Magisk installer again and it let me boot.
After watching that I tried to flash the latest ROM in MiFlash but it just didn't do nothing, it flashed in 1 second and nothing happened to the phone.
Yesterday after all of that happened I tried to update the phone manually while rooted with TWRP, I found a backup of oreo of TWRP, so I restored that backup in TWRP and it booted me to oreo finally, after booting it to oreo I decided to go back to TWRP to restore my data backup of Nougat to restore all my apps and that stuff but when I booted into recovery it asked for decrypt my storage (as always), so I tried to decrypt it with the pattern I always used before and it just didn't let me, it just failed I don't know why, I booted into the system again trying to remove that stuff but it just didn't let me, the button to remove it was unavalible, it just let me remove my pattern to unlock the phone, so I removed it to see if it would work and it just make the things worse, I booted into recovery again and it didn't let me again, so I tried to boot into system AGAIN and it just didn't let me, just infinite loop, and recovery just removed, so I booted into recovery with fastboot mode and it didn't ask me for any decryption, it just let me in, but without mounting my internal storage, it just didn't, I tried to wipe the data option and after that it worked again, internal storage appeared again, after it I flashed the recovery into both slots.
Well, the last thing I did is restore the backup of oreo again that I found in XDA, but it just give me infinite loop, it's been like half of hour or more "booting", I'm so frustated and worried about this, tell me that there is a solution for this, the phone is literaly new, just five days with it... That version of magisk literally ruined my phone, lol
Ok mate, I suggest you go back to the last factory fastboot Xiaomi source. You flash this with the MiFlash tool.
The first file you need is the latest fastboot rom. This is in the tgz/tar format.
tissot_images_7.12.19_20171219.0000.00_7.1_d39fa89aaf.tgz
Extract this tgz and the subsequent tar file so that you get a directory (containing .bat files and an image folder).
Download MiFlash2017-7-20-0.zip - it must be this version.
Get your phone into fastboot mode with at least 25% battery charge.
Follow the instructions to use MiFlash here https://forum.xda-developers.com/mi-a1/how-to/rom-factory-images-t3688548
Good luck!

Stuck on Sony logo after flashing OmniROM

So I decided to finally flash OmniROM 9.0 on my XC, and started having some problems.
Basically, I went completely from stock (already unlocked the BL):
1. Installed TWRP 3.3.1-0
2. Rebooted to TWRP and did a factory reset (because it said so on the install guide: https://docs.omnirom.org/Installing_Omni_on_your_device)
3. Flashed OmniROM 9.0 Weekly from the SD card
4. Unsuccesfully installed Open GApps because error 64 (apparently was supposed to use the ARM64 version, even though CPU-Z stated I was on ARM)
5. Installed Magisk 19.3
6. Wiped Dalvik/ART cache and Cache partitions
7. Installed TWRP app to /system and rebooted
Now it gets stuck on the Sony logo every time I power it on.
I tried leaving it for about 15 minutes to see if it was taking so long because of a fresh install, but previously I tried installing Paranoid Android and the boot up took only a few seconds, so obviously that wasn't going to work.
I tried rebooting multiple times, wiping the cache partitions again, uninstalled the TWRP app, did another factory reset, tried fixing contexts, and it still gets stuck on the Sony logo.
At this point I'm not sure if I should just give up, because none of the ROMs I tried flashing actually worked, which includes Resurrection Remix, Paranoid Android and LineageOS, and now OmniROM as well. So far, I haven't found anyone with the same problem as me, except https://www.reddit.com/r/SonyXperia/comments/acot9y/trying_to_install_omnirom_on_my_x_compact_stuck, but that's not quite the same.
EDIT: After flashing the ODM image, the phone booted up, but it's asking me for a password. I tried typing "password", and it said the password was correct, but my data was corrupt. It offered me a factory reset, but it made no difference. This is nothing new to me, the same thing happened when I tried flashing Paranoid Android. Should I do a clean install, like, wipe Internal storage and System?
1. The device has the latest stock ftf
2. The device has an unlocked bootloader
3. The ODM image zip (version 9) has been downloaded from HERE, and the ODM image has been extracted from it
4. The WEEKLY zip file has been downloaded and copied to the device
Looks like u skipped Step #3
z0mg.jer1Cho said:
1. The device has the latest stock ftf
2. The device has an unlocked bootloader
3. The ODM image zip (version 9) has been downloaded from HERE, and the ODM image has been extracted from it
4. The WEEKLY zip file has been downloaded and copied to the device
Looks like u skipped Step #3
Click to expand...
Click to collapse
Right, I'm an idiot. I'll try again and see if that works.
ŽeljkoLončar said:
So I decided to finally flash OmniROM 9.0 on my XC, and started having some problems.
EDIT: After flashing the ODM image, the phone booted up, but it's asking me for a password. I tried typing "password", and it said the password was correct, but my data was corrupt. It offered me a factory reset, but it made no difference. This is nothing new to me, the same thing happened when I tried flashing Paranoid Android. Should I do a clean install, like, wipe Internal storage and System?
Click to expand...
Click to collapse
Did u boot the Phone after u've installed the default firmware?
z0mg.jer1Cho said:
Did u boot the Phone after u've installed the default firmware?
Click to expand...
Click to collapse
Yes, I did. Went through the setup and everything. Ttied it multiple times, didn't make a difference.
ŽeljkoLončar said:
Yes, I did. Went through the setup and everything. Ttied it multiple times, didn't make a difference.
Click to expand...
Click to collapse
Dont boot the Phone after installing the Factory Firmware. After u've installed it, just go on with the flashing procedure as told you in OPs thread
Same issue
I have exactly the same issue. Recovery successfully flashed, did a factory reset, successfully installed Omnirom, and then I reboot into a permanent white screen with the Sony logo in the center...
After several tries I gave up and installed the stock firmware again using Sony's flash tool Emma.

[SOLVED] Bootloop since TWRP installation

Hi Everyone,
The first thing I did after flashing TWRP on my RN7 was a BackUp with TWRP of all my partitions. (It was the first time i launched it, so i also saved the Miui Recovery).
Then I tried to boot on the system but I get stucked in the "Redmi by Xiaomi" screen.
I tried to install an AOSPExtended Rom but it didn't worked.
I flashed Orange Fox and retrayed to flash AOSPExtended. It didn't worked either because it was designed for violet and not for Lavander (facepalm).
I tried an Unofficial LineageOS found on XDA, the installation worked but I'm stuck in a bootloop since.
The Redmi by Xiaomi screen starts over and over. I can't even turn off my phone.
I tried to reboot after wiping Cache, System, Vendor, Data and Dalvik (just to see if I would be able to turn it off) but same result.
Do you have any Ideas?
Thanks a lot!
Which rom did you have while taking the first backup?
Wipe System, Data, Cache, then reboot the recovery and then restore the backup of System, Data and Boot. Don't restore recovery. See if this works.
Lisatio said:
Hi Everyone,
The first thing I did after flashing TWRP on my RN7 was a BackUp with TWRP of all my partitions. (It was the first time i launched it, so i also saved the Miui Recovery).
Then I tried to boot on the system but I get stucked in the "Redmi by Xiaomi" screen.
I tried to install an AOSPExtended Rom but it didn't worked.
I flashed Orange Fox and retrayed to flash AOSPExtended. It didn't worked either because it was designed for violet and not for Lavander (facepalm).
I tried an Unofficial LineageOS found on XDA, the installation worked but I'm stuck in a bootloop since.
The Redmi by Xiaomi screen starts over and over. I can't even turn off my phone.
I tried to reboot after wiping Cache, System, Vendor, Data and Dalvik (just to see if I would be able to turn it off) but same result.
Do you have any Ideas?
Thanks a lot!
Click to expand...
Click to collapse
Flash a custom ROM with the latest OrangeFox, then format the data partition (Menu->Manage Partitions->Data->Format data->"yes"), then reboot to system.
Do NOT try to restore your TWRP backups.
I finally tried an other Lineage Os Rom from XDA and it finally worked.
But I don't really know why.
The first one I tried to install was in fact a Potato OS... (You can download it from the same page!)
But still, this ROM was for Lavander too, I don't understand why it didn't worked....
Anyway my phone is OK now! Thanks a lot!
DarthJabba9 said:
Flash a custom ROM with the latest OrangeFox, then format the data partition (Menu->Manage Partitions->Data->Format data->"yes"), then reboot to system.
Do NOT try to restore your TWRP backups.
Click to expand...
Click to collapse
What would happen if I tried to restore my Backup?
Lisatio said:
What would happen if I tried to restore my Backup?
Click to expand...
Click to collapse
What would happen is :crying: Returning to MIUI from a custom ROM is a can of worms. There are instructions here: https://wiki.orangefox.tech/en/guides. But even that is not guaranteed to do the job.
DarthJabba9 said:
What would happen is :crying: Returning to MIUI from a custom ROM is a can of worms. There are instructions here: https://wiki.orangefox.tech/en/guides. But even that is not guaranteed to do the job.
Click to expand...
Click to collapse
Thanks a lot, I won't try then!
Do I have to Edit my thread title with a [SOLVED] sign?
Lisatio said:
...Do I have to Edit my thread title with a [SOLVED] sign?
Click to expand...
Click to collapse
I think that would be a good thing, otherwise, people will stumble upon it, and keep posting.

[PROBLEM] Stuck on Android One logo

Hey!
I installed LineageOs on my Xiaomi Mi A1, everything went okay but when I installed the Gapps, it got stuck on the LineageOs logo. The volume button wasn't working right, yet somehow, I manage to enter TWRP and wipe that OS and restore the backup with the original Android One. But when I boot it, it got stuck on Android logo, unable to enter fastboot, TWRP or hard reset because of the volume button not working.
I don't know what else to do, to be honest...
p.d.: I'm new here, sorry if this is not the right section to ask.
Are you 100% sure that you have chosen right version of GApps? because i never had any issues with GApps causing boot loop. BTW what lineage os version 16 or 17 ?
I never had any luck restoring stock rom backup via TWRP either i have no idea why whenever i restore it will stuck on androidone logo.
royalasif said:
Are you 100% sure that you have chosen right version of GApps? because i never had any issues with GApps causing boot loop. BTW what lineage os version 16 or 17 ?
I never had any luck restoring stock rom backup via TWRP either i have no idea why whenever i restore it will stuck on androidone logo.
Click to expand...
Click to collapse
I chose Android 10 GApps since I installed LineageOS 17. I thought it was the right version.
So TWRP can't be used for stock rom? I didn't know, maybe that's what got me stuck on Android One logo.
Any idea on how to get out from that loop? ?
Dont worry bootloop is not a problem download pixel experience it include gapps boot ur phone to twrp copy rom into internal or sd card Wipe system , data , cache and install the rom ..
TWRP should backup and restore stock image but i think there is something with this phone which wont let twrp to apply system restore i have done it 10 times and i failed everytime.
Edit: do let me know how it goes:good:
royalasif said:
Dont worry bootloop is not a problem download pixel experience it include gapps boot ur phone to twrp copy rom into internal or sd card Wipe system , data , cache and install the rom ..
TWRP should backup and restore stock image but i think there is something with this phone which wont let twrp to apply system restore i have done it 10 times and i failed everytime.
Edit: do let me know how it goes:good:
Click to expand...
Click to collapse
Definitely I'll try Pixel Experience! Seems like a good choice. I still need to figure out how to enter Fastboot or TWRP without the volume button.
try adb cmd if it works if not then u have to boot your device to EDL mode by test point method and then flash stock rom
ranjodhricky said:
try adb cmd if it works if not then u have to boot your device to EDL mode by test point method and then flash stock rom
Click to expand...
Click to collapse
Adb cmd won't recognize the device, so I'll have to boot it to EDL mode. Is there any guide here? I don't know how to do it.

[Solved] It's impossible to install LineageOS on my 6T.

Hello everybody.
Twice I tried to install LineageOS 18 on my 6T, equipped with latest OxygenOS/Android 11 version, without any success despite having followed several tutorials on Youtube and on websites.
Two days ago I unlocked the bootloader, I restarted the phone from the PC in Fastboot mode and I tried to install the TWRP recovery, always getting an error and when it seemed that I had succeeded the phone restarted showing the message "Qualcomm Crashdump" and the phone was dead.
Fortunately, a Wipe Data from the Recovery allowed me to get the 6T working again.
Last night I tried again by installing the LineageOS recovery first, I restarted the phone and I realized that it was in bootloop.
At this point I could only restart it in Recovery or Fastboot mode, without being able to start the 6T correctly; not even a wipe data helped me.
At that point I used the MSM download Tool, with which I was able to reinstall OxygenOS v9.xx and restart the 6T, then updating it to OxygenOS 11.
The drawback now is that when I turn on the phone it takes over a minute to boot (the two dots around the OnePlus symbol make a good 37 laps, after which the phone starts up and works perfectly).
How can I fix this slow boot problem?
And why has it become so difficult to install a custom ROM on the 6T? It occurs to me that OnePlus has deliberately complicated things to hinder modding.
dequadim said:
Hello everybody.
Twice I tried to install LineageOS 18 on my 6T, equipped with latest OxygenOS/Android 11 version, without any success despite having followed several tutorials on Youtube and on websites.
Two days ago I unlocked the bootloader, I restarted the phone from the PC in Fastboot mode and I tried to install the TWRP recovery, always getting an error and when it seemed that I had succeeded the phone restarted showing the message "Qualcomm Crashdump" and the phone was dead.
Fortunately, a Wipe Data from the Recovery allowed me to get the 6T working again.
Last night I tried again by installing the LineageOS recovery first, I restarted the phone and I realized that it was in bootloop.
At this point I could only restart it in Recovery or Fastboot mode, without being able to start the 6T correctly; not even a wipe data helped me.
At that point I used the MSM download Tool, with which I was able to reinstall OxygenOS v9.xx and restart the 6T, then updating it to OxygenOS 11.
The drawback now is that when I turn on the phone it takes over a minute to boot (the two dots around the OnePlus symbol make a good 37 laps, after which the phone starts up and works perfectly).
How can I fix this slow boot problem?
And why has it become so difficult to install a custom ROM on the 6T? It occurs to me that OnePlus has deliberately complicated things to hinder modding.
Click to expand...
Click to collapse
Did you get twrp installed? Wipe data by typing yes after flashing?
dequadim said:
Hello everybody.
Twice I tried to install LineageOS 18 on my 6T, equipped with latest OxygenOS/Android 11 version, without any success despite having followed several tutorials on Youtube and on websites.
Two days ago I unlocked the bootloader, I restarted the phone from the PC in Fastboot mode and I tried to install the TWRP recovery, always getting an error and when it seemed that I had succeeded the phone restarted showing the message "Qualcomm Crashdump" and the phone was dead.
Fortunately, a Wipe Data from the Recovery allowed me to get the 6T working again.
Last night I tried again by installing the LineageOS recovery first, I restarted the phone and I realized that it was in bootloop.
At this point I could only restart it in Recovery or Fastboot mode, without being able to start the 6T correctly; not even a wipe data helped me.
At that point I used the MSM download Tool, with which I was able to reinstall OxygenOS v9.xx and restart the 6T, then updating it to OxygenOS 11.
The drawback now is that when I turn on the phone it takes over a minute to boot (the two dots around the OnePlus symbol make a good 37 laps, after which the phone starts up and works perfectly).
How can I fix this slow boot problem?
And why has it become so difficult to install a custom ROM on the 6T? It occurs to me that OnePlus has deliberately complicated things to hinder modding.
Click to expand...
Click to collapse
You can follow this. If you want to install lineage os and want Google service make sure follow the "non gapp version" under installation method.
Havoc Flashing Notes for OnePlus 6 /6T from OOS 11 [Using TWRP Recovery]
1. Clean Flash : 2. Dirty Flash 3. Update oos base 1. Clean Flash : 🔊 Make sure you've backed up whatever data you want to keep to somewhere that's not on your phone; we're going to format the data partition and you're going to lose everything from internal storage. Basic requirements ○...
telegra.ph
Thanks for replies.
I must add this point: my 6T has OxygenOS v11.1.1.1; maybe this the reason of the problem? Maybe OnePlus did something that screws any modding attempt?
I simply followed the instructions found on YouTube, in the LineageOS' Fajita page and installed TWRP, but my 6T went in "Qualcomm Crashdump" and TWRP was not working → phone bricked.
Then I've tried installing, in the same way via ADB and Fastoot commands the Lineage Recovery, that has worked but when I tried to boot system, keeping OxygenOS, the phone went in bootloop.
So where is the error/fault?
Please, help me with a step-by-step tutorial that lead me to successfully install TWRP and LineageOS on my 6T.
dequadim said:
Thanks for replies.
I must add this point: my 6T has OxygenOS v11.1.1.1; maybe this the reason of the problem? Maybe OnePlus did something that screws any modding attempt?
I simply followed the instructions found on YouTube, in the LineageOS' Fajita page and installed TWRP, but my 6T went in "Qualcomm Crashdump" and TWRP was not working → phone bricked.
Then I've tried installing, in the same way via ADB and Fastoot commands the Lineage Recovery, that has worked but when I tried to boot system, keeping OxygenOS, the phone went in bootloop.
So where is the error/fault?
Please, help me with a step-by-step tutorial that lead me to successfully install TWRP and LineageOS on my
Click to expand...
Click to collapse
OnePlus definitely didn't do anything to make it harder. You need to fastboot boot twrp.img then flash the twrp installer zip. I'll attach both In next post. Reboot to recovery. Then install OOS, twrp installer, reboot to recovery. Install oos again, twrp installer again, reboot to recovery. Now install lineage, twrp installer, reboot to recovery. Install lineage again, twrp installer again, reboot to recovery. Factory reset and wipe data by typing yes. Boot to system
The img is for fastboot boot
The zip is for installing in twrp
Thanks for your reply.
I'm still wondering how to speed up the boot.
dequadim said:
Thanks for your reply.
I'm still wondering how to speed up the boot.
Click to expand...
Click to collapse
If everything is installed correctly it won't take long to boot
Brettroth said:
If everything is installed correctly it won't take long to boot
Click to expand...
Click to collapse
There is clearly something wrong, as my 6T's boot is slow.
Furthermore, the Recovery of the previous message is the one I downloaded three days ago and that made me go to the 6T in Qualcomm Crashdump.
I repeat my request: where can I find a safe and updated guide that explains how to install LineageOS without risk?
If you can't fastboot boot into that twrp on a11 without crash dumping there is something really wrong
If you can't fastboot boot into that twrp on a11 without crash dumping there is something really
dequadim said:
There is clearly something wrong, as my 6T's boot is slow.
Furthermore, the Recovery of the previous message is the one I downloaded three days ago and that made me go to the 6T in Qualcomm Crashdump.
I repeat my request: where can I find a safe and updated guide that explains how to install LineageOS without risk?
Click to expand...
Click to collapse
You sure you didn't try 3.6.0_9?
Clearing your cache might help with current boot. But once you install a new os everything will run smooth like it should
Thank you for the advice.
1) I've downloaded "twrp-3.6.0_9-0-fajita.img" and tried to install it several times, getting errors and then bricking my phone.
2) I have already cleared the cache several times from Recovery, without anything having changed; the two white dots on the boot screen continue to rotate 37 times around the red dot before the phone starts up and then works perfectly.
It occurred to me that the MSM Download Tool program uses a decrypted image of the original firmware; could this possibly be the cause of the long boot?
dequadim said:
Thank you for the advice.
1) I've downloaded "twrp-3.6.0_9-0-fajita.img" and tried to install it several times, getting errors and then bricking my phone.
2) I have already cleared the cache several times from Recovery, without anything having changed; the two white dots on the boot screen continue to rotate 37 times around the red dot before the phone starts up and then works perfectly.
It occurred to me that the MSM Download Tool program uses a decrypted image of the original firmware; could this possibly be the cause of the long boot?
Click to expand...
Click to collapse
That twrp version always will crash dump on a11. Use the one I sent
I followed these steps:
after having managed to make MSM Download Tool detect the phone in EDL mode, I proceeded by reinstalling OOS v9.0.13, after which I reconfigured the phone and restored the apps backup stored in my Google account.
Later, I don't remember the details well, I received the update notification for OOS v10 and later for OOs v11.1.2.2.
I don't remember exactly where the boot started to stretch, however this is more or less the process I followed to bring my 6T back to life.
Brettroth said:
That twrp version always will crash dump on a11. Use the one I sent
Click to expand...
Click to collapse
Are you sure that this TWRP will work without problems?
I've tried also with Lineage Recovery for Fajita, resulting with the 6T in bootloop :-(
dequadim said:
Are you sure that this TWRP will work without problems?
I've tried also with Lineage Recovery for Fajita, resulting with the 6T in bootloop :-(
Click to expand...
Click to collapse
I promise it works. I do t know what happened with your previous updating and msm tool but something sounds messed up. Just get twrp running and ease all your problems. Clean flashing and getting everything fresh
Brettroth said:
I promise it works. I do t know what happened with your previous updating and msm tool but something sounds messed up. Just get twrp running and ease all your problems. Clean flashing and getting everything fresh
Click to expand...
Click to collapse
Keep your finger crossed...
Another question: assuming I can install TWRP and make it working, LineageOS image must be copied in the 6T's internal SD and proceeding to install from TWRP?
dequadim said:
Another question: assuming I can install TWRP and make it working, LineageOS image must be copied in the 6T's internal SD and proceeding to install from TWRP?
Click to expand...
Click to collapse
Or you could use USB OTG. Or a PC and use adb sideload

Categories

Resources