TWRP recovery loop, what should I do? - Xiaomi Mi 6 Questions & Answers

Hey all. I got my mi6 recently. and I installed twrp on it, and flashed magisk. I was trying to install atmos in recovery mod, then I remembered that I hadn't already downloaded the file. For some damn reason I decided to wipe my device. however that didn't go well, and now I'm stuck on a twrp load loop.
I've already tried this command unsuccessfully.
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Also in desperation, I flashed my phone, rebooted it and etc.
What else can I try?

you can re-flash Twrp in fastboot mode, then boot to twrp, connect to you pc, it will recognize your phone as usb storage.
Down load you rom, copy it to your phone, then install rom by Twrp.

demonntl said:
you can re-flash Twrp in fastboot mode, then boot to twrp, connect to you pc, it will recognize your phone as usb storage.
Down load you rom, copy it to your phone, then install rom by Twrp.
Click to expand...
Click to collapse
I just tried that. Didn't work. Also, nothing changed.

amirography said:
I just tried that. Didn't work. Also, nothing changed.
Click to expand...
Click to collapse
have you tried to flash global rom with Miflash? in bootloader mode?

amirography said:
I just tried that. Didn't work. Also, nothing changed.
Click to expand...
Click to collapse
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.

Xiaomi download site is down
xdauser2018 said:
have you tried to flash global rom with Miflash? in bootloader mode?
Click to expand...
Click to collapse
demonntl said:
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Click to expand...
Click to collapse
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?

thewholuver94 said:
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
Click to expand...
Click to collapse
http://bigota.d.miui.com/V9.5.6.0.O...FA_20180410.0000.00_8.0_global_2a2234e1c5.tgz

xdauser2018 said:
have you tried to flash global rom with Miflash? in bootloader mode?
Click to expand...
Click to collapse
Haven't tried that. But it worth a shot.
demonntl said:
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Click to expand...
Click to collapse
didn't use miflash. The simple flashing didn't work however. I also tried reinstalling twrp.
thewholuver94 said:
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
Click to expand...
Click to collapse
you may need to use a mobile browser. But there are mirrors.

I managed to fix the problem, by accident.
I just wiped Dalvik cache and data using the wiping tool in twrp.
after the reboot, TWRP was gone, and a fresh rom was installed with all my data, gone. However, that already has happened. So it wasn't a great loss.
I'm not technical, so I don't really know what made caused the loop, or how another wipe fixed it. So if anyone can explain it better, the floor is yours.
Thanks for the support.

amirography said:
I managed to fix the problem, by accident.
I just wiped Dalvik cache and data using the wiping tool in twrp.
after the reboot, TWRP was gone, and a fresh rom was installed with all my data, gone. However, that already has happened. So it wasn't a great loss.
I'm not technical, so I don't really know what made caused the loop, or how another wipe fixed it. So if anyone can explain it better, the floor is yours.
Thanks for the support.
Click to expand...
Click to collapse
Have you enabled phone encryption before? It could be this.. After manual wipe of data partition you were able to boot again..

xdauser2018 said:
Have you enabled phone encryption before? It could be this.. After manual wipe of data partition you were able to boot again..
Click to expand...
Click to collapse
i have the same problem .... how can i disable encryprion?

rovaris said:
i have the same problem .... how can i disable encryprion?
Click to expand...
Click to collapse
Boot in Twrp, wipe, advanced wipe, format data

Related

Bootloop after flashing TWRP, CM13

I'm (or rather, was) on CM13 nightly, today I downloaded TWRP through Flashify and flashed it, previously I was using Philz Touch, now I have a bootloop. I just had a bootloop a few days ago and had to install everything over again, and I really don't feel like doing it again. What can I do?
Error503 said:
I'm (or rather, was) on CM13 nightly, today I downloaded TWRP through Flashify and flashed it, previously I was using Philz Touch, now I have a bootloop. I just had a bootloop a few days ago and had to install everything over again, and I really don't feel like doing it again. What can I do?
Click to expand...
Click to collapse
Can you enter the recovery mode? And if so I would recommend reflashing everything, that usually helps xD
Summoned Egar said:
Can you enter the recovery mode? And if so I would recommend reflashing everything, that usually helps xD
Click to expand...
Click to collapse
Yes I can, but I reeeeeally don't feel like going back to stock AGAIN, I was thinking maybe flashing CyanogenMod Recovery would help fix the issue since TWRP is apparently not compatible with Marshmallow, the problem is I can't get my PC to recognize my phone in fastboot mode therefore I can't flash the new recovery. Any ideas?
Error503 said:
Yes I can, but I reeeeeally don't feel like going back to stock AGAIN, I was thinking maybe flashing CyanogenMod Recovery would help fix the issue since TWRP is apparently not compatible with Marshmallow, the problem is I can't get my PC to recognize my phone in fastboot mode therefore I can't flash the new recovery. Any ideas?
Click to expand...
Click to collapse
Why didn't you backup your data? Always backup your data! Moreover, put the image to flash on your sd card
Summoned Egar said:
Why didn't you backup your data? Always backup your data! Moreover, put the image to flash on your sd card
Click to expand...
Click to collapse
Alright, I can do that. How do I flash it after it's on my SD?
Error503 said:
Alright, I can do that. How do I flash it after it's on my SD?
Click to expand...
Click to collapse
Wipe as usual, then in TWRP go to mount and choose external_sd, after that navigate up until you find the folder external_sd and load from there
You don't need to go back to stock. If you can enter recovery, you can wipe system (only) and dirty flash your cm13 over it. It usually works and dont lose your personal files nor installed apps. If it don't, do a full wipe and flash your rom again.

not able to get twrp in my oneplus 3

i flashed the twrp garak using fastboot once i booted into twrp but when i returned using advanced reboot bam! stock recovery is back ..how to fix it guys i want twrp
Go to fastboot mode and reflash the twrp recovery.
CyberCaptainKaz said:
Go to fastboot mode and reflash the twrp recovery.
Click to expand...
Click to collapse
i tried bro but after rebooting my device when i boot into recovery it again changes into oxygen recovery
try to force decryption and then re-flash it again. It's easiest if you use the OnePlus toolkit available here: http://forum.xda-developers.com/oneplus-3/development/toolkit-oneplus-3-toolkit-unlock-t3398799
I was having the same issue after going back to official OOS and wanting to switch over to my current rom which gave me issues since I didn't have modified TWRP.
The_Symbiote said:
try to force decryption and then re-flash it again. It's easiest if you use the OnePlus toolkit available here: http://forum.xda-developers.com/oneplus-3/development/toolkit-oneplus-3-toolkit-unlock-t3398799
I was having the same issue after going back to official OOS and wanting to switch over to my current rom which gave me issues since I didn't have modified TWRP.
Click to expand...
Click to collapse
will it wipe everything means apps,internal storage ?
kriss singhania said:
will it wipe everything means apps,internal storage ?
Click to expand...
Click to collapse
Yes it will. The toolkit will allow you to perform a full backup that you can restore later.
You can try flashing twrp from the toolkit, to see if it works. In my experience it didn't work until I forced decryption.
Try:
1. Fastboot erase recovery
2. Fastboot flash recovery "TWRP"
Puddi_Puddin said:
Try:
1. Fastboot erase recovery
2. Fastboot flash recovery "TWRP"
Click to expand...
Click to collapse
sure I'll try it
kriss singhania said:
sure I'll try it
Click to expand...
Click to collapse
it worked bro I'm rooted and installed twrp..thnx
Damn, this helped me out as well.
I think you are using the community build?

Unable to flash custom ROM

Hello,
I am unable to flash a custom ROM on my note 9 pro (joyeuse), I tried xiaomi.eu, havocos, evolutionx, lineageos, etc.
Also tried every possible recovery, no matter what I do when I hit system reboot, I land on the fastboot screen.
Followed the procedure, format data, wipe dalvik/cache tried disabling encryption, flash magisk, I'm out of ideas.
please help.
Logs would help.
Or even screenshots of any errors.
käsesockel said:
Hello,
I am unable to flash a custom ROM on my note 9 pro (joyeuse), I tried xiaomi.eu, havocos, evolutionx, lineageos, etc.
Also tried every possible recovery, no matter what I do when I hit system reboot, I land on the fastboot screen.
Followed the procedure, format data, wipe dalvik/cache tried disabling encryption, flash magisk, I'm out of ideas.
please help.
Click to expand...
Click to collapse
Follow rom install guide to the letter (and no extra steps either). If unsuccessful ask in the rom thread. You didn't have to open a new thread mentioning all these roms. It's hard to help you because each rom has a different procedure.
I've already tried everything.
Either bootloop or fastboot screen.
I followed the instructions exactly.
I would like to install Lineage-OS
have you unlocked your bootloader?
OrGiMaSu said:
have you unlocked your bootloader?
Click to expand...
Click to collapse
of course
Againandagain said:
of course
Click to expand...
Click to collapse
what recovery did you use?
copy all the file name
Oh, it is terrible.
After using MiFlash it is MI Recovery 3.0
I have to flash a new recovery. What is the best for flashing LOS?
I am currently loading "twrp-3.4.0.14-joyeuse-mauronofrio.img"
Againandagain said:
Oh, it is terrible.
After using MiFlash it is MI Recovery 3.0
I have to flash a new recovery. What is the best for flashing LOS?
I am currently loading "twrp-3.4.0.14-joyeuse-mauronofrio.img"
Click to expand...
Click to collapse
try this revocery
Againandagain said:
Oh, it is terrible.
After using MiFlash it is MI Recovery 3.0
I have to flash a new recovery. What is the best for flashing LOS?
I am currently loading "twrp-3.4.0.14-joyeuse-mauronofrio.img"
Click to expand...
Click to collapse
After installing TWRP are you immediately and succesfully rebooting to TWRP recovery before doing anything else? - if you do not do that, then you can end up back at MIUI recovery.
OrGiMaSu said:
try this revocery
Click to expand...
Click to collapse
I will try
... and now? Which Lineage-OS (17.1) and GApps.
Sorry, you have to help me.
OrGiMaSu said:
try this revocery
Click to expand...
Click to collapse
or this?
PBRP-miatoll-3.0.0-20201215-2038-UNOFFICIAL.zip
lineage-17.1-20201213-UNOFFICIAL-miatoll.zip
I found that on androidfilehost. Is that okay?
käsesockel said:
Hello,
I am unable to flash a custom ROM on my note 9 pro (joyeuse), I tried xiaomi.eu, havocos, evolutionx, lineageos, etc.
Also tried every possible recovery, no matter what I do when I hit system reboot, I land on the fastboot screen.
Followed the procedure, format data, wipe dalvik/cache tried disabling encryption, flash magisk, I'm out of ideas.
please help.
Click to expand...
Click to collapse
No need use recovery, Just download this gsi rom(https://sourceforge.net/projects/he...5011-HBTRIA-10-12-2020-GSI-Aonly.7z/download) and extract the 7z file, rename the extracted rom as system.img ,and type in fastboot cmd:
fastboot flash system C:\system.img, Which“ C:\system.img ” should be replaced by your rom's directory.
for powershell type .\fastboot flash C:\system.img
then fastboot reboot
I do not trust myself.
The last time always bootloop.
Can someone give me step by step instructions.
for example:
1. Wipe ...
2. do not Format ...
...
F**k off
Mi Recovery again.
Againandagain said:
I do not trust myself.
The last time always bootloop.
Can someone give me step by step instructions.
for example:
1. Wipe ...
2. do not Format ...
...
F**k off
Mi Recovery again.
Click to expand...
Click to collapse
use pbrp that I shared to you, and tell me your step installing recovery.
tell me, are u Indonesian? if yes hit me up on PM
OrGiMaSu said:
use pbrp that I shared to you, and tell me your step installing recovery.
tell me, are u Indonesian? if yes hit me up on PM
Click to expand...
Click to collapse
Sorry, german
Start ADB on Windows
Start Phone on fastboot-mode
fastboot flash recovery (renamed) PBRP.img
restart Phone
everything is okay, but Start Recovery again - MI-Recovery 3.0
Againandagain said:
Sorry, german
Start ADB on Windows
Start Phone on fastboot-mode
fastboot flash recovery (renamed) PBRP.img
restart Phone
everything is okay, but Start Recovery again - MI-Recovery 3.0
Click to expand...
Click to collapse
do this instead
copy pbrp.img to your internal
(on pc)
fastboot boot recovery pbrp.img
when you booted to pbrp, flash pbrp.img
reboot recovery
if you have telegram, it's better to join our discussion group t.me/miatollofficial
OrGiMaSu said:
do this instead
copy pbrp.img to your internal
(on pc)
fastboot boot recovery pbrp.img
when you booted to pbrp, flash pbrp.img
reboot recovery
if you have telegram, it's better to join our discussion group t.me/miatollofficial
Click to expand...
Click to collapse
Thank you
Telegram and many other tricks bring me Lineage-OS.
Now, I am trying to root.
Bootloop again
Againandagain said:
Thank you
Telegram and many other tricks bring me Lineage-OS.
Now, I am trying to root.
Bootloop again
Click to expand...
Click to collapse
what magisk version did u use?
use magisk 21.1

Question POCO F3 bricked

Hey, I just unlocked my bootloader after waiting for the 7 days today I wanted to install the MIUI EU, and i follow the steps that they have on their website, installed and boot into recovery mode TWRP format data, and install the ROM that i downloaded, after that the wipe on the cache. When i rebooted my phone he didn't boot and was stuck on POCO screen. After 1 hour it was stuck on that, I decided to try and flash stock firmware with miflash tool, did the steps and after 604 seconds it shows success on the result but it doesn't boot the same thing stuck on POCO screen.
You need to Format data. Not cache.
Then the phone will boot up just fine.
Go, do it again.
Try to flash it using miflash again.
Then Boot TWRP, then flash it again + ( FORMAT DATA)
laid1995 said:
Boot TWRP, then install it again.
Click to expand...
Click to collapse
I'm facing the issue that I cannot access the internal storage to flash the ROM now or paste it again
Don't freak out. Your phone is fine. As long as you can boot into Fastboot. Then you are fine.
skullgnik said:
I'm facing the issue that I cannot access the internal storage to flash the ROM now or paste it again
Click to expand...
Click to collapse
Try otg.
laid1995 said:
Try otg.
Click to expand...
Click to collapse
otg? sorry, I'm kinda new to this situation. I've flashed many custom ROMs before but have never had an issue. Yes, my phone can boot into Fastboot without a problem. Right now I'm downloading a different version of the stock firmware (IDK i think it could fix the not booting problem after the miflash tool) if it works i will leave it with the stock firmware if not i will try to find a solution to fix the issue of not accessing the internal storage on twrp
skullgnik said:
otg? sorry, I'm kinda new to this situation. I've flashed many custom ROMs before but have never had an issue. Yes, my phone can boot into Fastboot without a problem. Right now I'm downloading a different version of the stock firmware (IDK i think it could fix the not booting problem after the miflash tool) if it works i will leave it with the stock firmware if not i will try to find a solution to fix the issue of not accessing the internal storage on twrp
Click to expand...
Click to collapse
I had the same issue before. Just reflash the stock (be aware, don't select "Wipe data and lock")
When the phone boots up. Flash twrp or just boot it. Then flash Xiaomi EU then FORMAT DATA.
Everything will be just fine.
laid1995 said:
I had the same issue before. Just reflash the stock (be aware, don't select "Wipe data and lock")
When the phone boots up. Flash twrp or just boot it. Then flash Xiaomi EU then FORMAT DATA.
Everything will be just fine.
Click to expand...
Click to collapse
What option should I select then?
skullgnik said:
What option should I select then?
Click to expand...
Click to collapse
Please tell me you didn't select " wipe and lock " before !
i did
laid1995 said:
Please tell me you didn't select " wipe and lock " before
Click to expand...
Click to collapse
skullgnik said:
i did
Click to expand...
Click to collapse
welp...... Try unlocking the bootloader again
Do as he says. Hopefully it gets unlocked.
laid1995 said:
Do as he says. Hopefully it gets unlocked.
Click to expand...
Click to collapse
I already booted with another stock firmware, i just re-downloaded and it worked guess for now i will stick with the stock one. Thank you both for the help!
You're welcome.
As you wish, just try, at least to unlock bootloader since you're still fresh. As to make sure that it can be unlocked.
skullgnik said:
I already booted with another stock firmware, i just re-downloaded and it worked guess for now i will stick with the stock one. Thank you both for the help!
Click to expand...
Click to collapse
you don't have to use memeui, official EvolutionX just released today!
JustAnAverageGuy_19 said:
you don't have to use memeui, official EvolutionX just released today!
Click to expand...
Click to collapse
I will think later this day about installing a custom ROM. but I don't hate miui as much as people usually hate, I find some things extremely useful I just don't like some UI esthetics i prefer the minimalist look of pure android. But some things like the cloning apps are very handy to me. Some bugs that are present atm on custom ROMs for this device like the double-tap to wake up are very negative to me because I have always used that feature since 2014 and I'm extremely used to it.

Question Cannot install custom recovery in Poco f3 with Xiaomi EU ROM installed.

I recently flashed Xiaomi EU ROM on my Poco f3. Everything was running great until I tried to flash twrp. Everytime I try to flash twrp my phone boots into stock recovery .
When I use the latest 3.7 twrp my phone boots into the custom recovery but I cannot mount the data partition. Is there any solution to this ?
CodeNameLiquid said:
I recently flashed Xiaomi EU ROM on my Poco f3. Everything was running great until I tried to flash twrp. Everytime I try to flash twrp my phone boots into stock recovery .
When I use the latest 3.7 twrp my phone boots into the custom recovery but I cannot mount the data partition. Is there any solution to this ?
Click to expand...
Click to collapse
Try this one
https://dl.akr-developers.com/?file...OCOF3-Mi11X_v6.0_A12-alioth-skkk_b3647986.zip
BOOT VERSION
Installation:
Phone in fastboot mode
Cmd:
fastboot boot twrp.img
Power shell
./fastboot boot twrp.img
then in Twrp go to Advanced -> flash current TWRP.​
This link is not working can you provide any alternative ?
CodeNameLiquid said:
This link is not working can you provide any alternative ?
Click to expand...
Click to collapse
edited link.
I tried it but it didn't work. Everytime I try this my phone just powers off and I have to hold power button to start it and I still have the stock recovery
Also I don't know if it's important but I am rooted with latest magisk on Xiaomi EU rom
CodeNameLiquid said:
I tried it but it didn't work. Everytime I try this my phone just powers off and I have to hold power button to start it and I still have the stock recovery
Click to expand...
Click to collapse
Post the screen shot of Fastboot command.
Here you go...
CodeNameLiquid said:
Here you go...
Click to expand...
Click to collapse
You don't have a pc?
I have a pc but its very late at night so i used my other phone
Also when i use the latest twrp img it boots up but is unable to mount the data partition
CodeNameLiquid said:
I have a pc but its very late at night so i used my other phone
Also when i use the latest twrp img it boots up but is unable to mount the data partition
Click to expand...
Click to collapse
Try with a pc.
rename the twrp to twrp.img.
Most often is "possibly:
Unroot.
install Platform tools, put the twrp in the folder.
Run the command from platform tools.
The one you are trying to install is the last one.
I already did everything , tried every method still everytime twrp gets replaced
I also tried orangefox but still same result
I also had the same problem on lineage os
CodeNameLiquid said:
I already did everything , tried every method still everytime twrp gets replaced
I also tried orangefox but still same result
I also had the same problem on lineage os
Click to expand...
Click to collapse
For summary only version twrp-3.7.0_12-0-alioth-TeamWin.img worked?
Try to start from scratch:
Use Miflash without locking the bootloader.
Yes only the latest version booted but with a lot less features compared to the skkk twrp i used a while ago
I am afraid using miflash to flash eu rom on my phone would hard brick it
CodeNameLiquid said:
Yes only the latest version booted but with a lot less features compared to the skkk twrp i used a while ago
I am afraid using miflash to flash eu rom on my phone would hard brick it
Click to expand...
Click to collapse
You cannot flash a Xiaomi Eu rom with Miflash, only stock roms, EEA, Global etc..
Just don't lock the bootloader.
What exactly do you want to do with TWRP?
I want to remount my system partition as rw.
CodeNameLiquid said:
I want to remount my system partition as rw.
Click to expand...
Click to collapse
Due to dynamic and A/B partitions this is not directly possible without a dedicated script.
What kind of script ?
Also to let you know i was able to remount system as rw on most custom roms i had on my phone
CodeNameLiquid said:
What kind of script ?
Also to let you know i was able to remount system as rw on most custom roms i had on my phone
Click to expand...
Click to collapse
On MIUI not AOSP.
Can you tell me more about this script ?
CodeNameLiquid said:
Can you tell me more about this script ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/m/lebigmac.8039604/

Categories

Resources