TWRP recovery wont stick - OnePlus 3T Questions & Answers

Hey guys,
I just got my 1+3T and I immediately installed a custom ROM on it.
It works fine, but I cant get TWRP to stick.
When I reboot into recovery via ADB or advanced power menu the phone screen goes black with a white LED on top.
The phone is encrypted and I disabled force encrypt, but the only way for me to get into the recovery is to use fastboot command (booting recovery from fastboot mode doesnt work either), which works just fine.
When the phone gets stuck with the white LED my device manager shows the phone as "Qualcomm 9008". (I installed the drivers just in case I ever brick it)
Im using the latest 3.0.3.0 TWRP.
Any help is much appreciated!
/edit!
I managed to get it working! For everyone who may have the same problem, here is what I did.
I looked up the TWRP thread and found this:
jcadduono said:
DECRYPTION NOT WORKING?
If your device isn't decrypting in TWRP, chances are you still have the old crypto key format from the 3.5.1 release firmware.
You can solve this by updating to 3.5.3 and changing your boot up password in your device OS's settings.
By changing your password after updating to 3.5.3 or newer, your OS will rewrite your crypto key to be compatible with TWRP.
You are free to disable your password after this if you don't want one, and TWRP will decrypt with the default password.
Click to expand...
Click to collapse
So I wiped the whole phone, downloaded and flashed the latest OxygenOS from the offical website, set a startup password and rebooted.
Deleted the password, booted into fastboot and reflashed TWRP. Now TWRP stays and I can boot into it from fastboot mode.

If you are on 4.0 or 4.0.1...Try the latest twrp 3.0.3.1 beta..

Related

Help! Softbrick! Bootloader locked unable to wipe

hi guys bought a 3t today,
whilst trying out the new beta i wanted to flash freedom,
so i downloaded the toolkit and twrp wouldnt work , after different twrp the twrp was encrypted with a password which i hadnt set.
but i read that changing my pin password to a written password might work which i did change (standard password i use for majority of things)
well the phone will not start now, it will start with dm verity is nor started in enforcing mode, will boot load and then ask for a password which my password doesnt work...
so ive tried going into recovery which just doesn't work literally restarts the phone straight away
tried installed stock recovery and twrp via fastboot but nothing works
the bootloader is locked and will not unlock via typical fastboot commands or even the toolkit....
going out of my mind
i cant even wipe via fastboot
oh and NO the phone is not stolen!!!
fixed had to follow the mega unbrick post but took a few attemps
Encryption f* up your phone when moving between different encryption libraries recoverys, almost the most common fault experienced on this phone due to dm verity enforced encryption per default.

Cannot install TWRP recovery

Which is weird as it worked before.
Basic stuff. Android 6.0.1, MIUI 8.1
Bootloader unlocked
USB ADB drivers installed
Debugging on
Run TWRP and device is recognised, TWRP isntalled successfully but when I reboot phone into recovery, I get the standard "phone connected to usb cable" graphic. Im at a loss to know it wont go into TWRP, suggestions please?
Need to root to adjust in cqll volume settings, thx.
2bullish said:
Which is weird as it worked before.
Basic stuff. Android 6.0.1, MIUI 8.1
Bootloader unlocked
USB ADB drivers installed
Debugging on
Run TWRP and device is recognised, TWRP isntalled successfully but when I reboot phone into recovery, I get the standard "phone connected to usb cable" graphic. Im at a loss to know it wont go into TWRP, suggestions please?
Need to root to adjust in cqll volume settings, thx.
Click to expand...
Click to collapse
Not sure about alle the steps you did or did not do.
But if you install TWRP and then reboot back to MIUI, it will overwrite the recovery again.
From the TWRP.me site:
fastboot flash recovery twrp.img
fastboot reboot
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
Ok, followed all the steps exactly, the phone boots into twrp, then i reboot in system, or let it reboot by disconnecting, same thing happens. Black screen MI logo, bootloader unlock, in red, at the bottom of the screen with an open padlock.
Now it wont boot at all.
This is weird, I can boot into fastboot and recovery but when i try to flash, the device is redognised but i cannot see it in the drop down menu to find the rom. Grrrrrr im stuck.
2bullish said:
This is weird, I can boot into fastboot and recovery but when i try to flash, the device is redognised but i cannot see it in the drop down menu to find the rom. Grrrrrr im stuck.
Click to expand...
Click to collapse
OK, if you want to keep MIUI, just flash MIUI again and it should install the needed firmware, recovery etc.
You can use the recovery zip for this or the fastboot gz version to install (both should work).
If you want a custom rom installed, go to the Lineage thread (i use that since feb, with weekly updates) or another one.
Read the first few post carefully, but if you want to install it (Lineage), do flash the firmware first via recovery before flashing the rom (don't forget this one).
Update. I can get into TWRP recovery but have no back up.
If I try to boot into system I get a black screen with Mi logo and a red unlocked boot loader padlock graphic.
If i boot into fast boot and run miflash, the phone is recognised but the sd storage does not appear in the drop down at all.
I cannot use the pcsuite software and if the phone is not in TWRP or fastboot mode it is on the black screen with logo with red unlocked padlock and is not recognised by the PC. I dont know what else to do, any help will be greatly appreciated.
Found out the problem it was supersu, gonna try a different version
2bullish said:
Found out the problem it was supersu, gonna try a different version
Click to expand...
Click to collapse
Glad you found the problem.
I think that MIUI has already build in the SU via the Developer options, but i'm not sure of that.
If you think of Lineage, just flash the Lineage Su addon after the Lineage rom.
Works great.
2bullish said:
Update. I can get into TWRP recovery but have no back up.
If I try to boot into system I get a black screen with Mi logo and a red unlocked boot loader padlock graphic.
If i boot into fast boot and run miflash, the phone is recognised but the sd storage does not appear in the drop down at all.
I cannot use the pcsuite software and if the phone is not in TWRP or fastboot mode it is on the black screen with logo with red unlocked padlock and is not recognised by the PC. I dont know what else to do, any help will be greatly appreciated.
Click to expand...
Click to collapse
MIUI has some sort of verification on boot. If it detects a custom recovery different from stock one, it won't boot. You need to use zcx twrp. It can bypass this verification.

TWRP boots to a black screen

I was following the TWRP installation guide, did the necessary stuff (bootloader unlocking, drivers on the PC etc.) but when I first try booting the TWRP .img with the fastboot boot command, I get a black screen. I mean not even turned on. Doing adb devices returns my device and that it's in recovery, from that state, I can reboot to the system with no problems. Can someone help? Sorry if this has been answered, I didn't find a thread that's useful.
If you have a jdi panel try the Twrp which is on sourcefourge
Do you run android 9?
There is incompatibility between them, I found a TWRP which boots but I am not sure if it safe to use or NOT : https://forum.xda-developers.com/mi-a2/xiaomi-6x-wayne
But PitchBlack works like a charm . and PitchBlach supperts OTA update! and many other cool stuffs, but I prefer the original Theme of TWRP.

cannot access TWRP after successful flashing

Hi guys
today was my waiting time over and so i opend the bootloader and flashed:
Twrp_3.3.0_Cepheusv11
xiaomi.eu_multi_MI9_9.5.23_v10-9
Magisk-v19.2
all with success.
The phone (Global version, 6gb+128gb) boots normal and everything works fine up to the point where i want to boot in TWRP. After starting the phone with power+Vol up i get the mi unlocked screen and then for 1 second a black screen, then its reboot and i'm on the mi unlock screen again. Fastboot and normal system boot works fine, i have root over magisk and everything.
Any ideas how to get into twrp again?
Longer version:
After unlocking the bottloader i followed this guide-how-flashed-twrp-xiaomi-eu-rom but with newer files. For TWRP i used the Twrp_3.3.0_Cepheusv11 version from here. The eu rom came from sourceforge and the magisk version from here.
I flashed twrp over terminal from my pc with "fastboot flash recovery twrp.img" and uploaded the rom and magisk with "adb push rom.zip /tmp/" + "adb push magisk.zip /tmp/" to the ram. After disconnection the usb cable i hold down power+vol up while still in the fastboot mode and the phone reboots into twrp. from there it was strait following the guid eg. wipe menu, format data, confirmed with "yes", wipe menu again, factory reset. Install rom.zip, install magaisk.zip both without any errors. Reboot menu and select "do not install" for the twrp app.
From now on the eu rom started up, i connected to my wlan and connected the phone to my mi account and after that to my google account. The rest was normal installation.
After installing everything i debloated the phone with this list. Instead of pasting the full list i chose just the follwing parts:
Android Stuff: none
Google Stuff: none
Xiaomi Stuff: all
Xiaomi Apps: all
Extra Stuff: none
To be Tested yet (try at your own risk):
com.miui.compass
com.miui.calculator
com.miui.cloudservice.sysbase
com.miui.gallery
com.miui.screenrecorder
com.mi.webkit.core
com.miui.providers.weather
Unfortunately is the android.providers.calendar app in the xiaomi app list and my calender didn't sync to google without it. So i read a bit about the com.android.providers.calendar app and learned that it is a specific app for every version of android and i cannot simply use the version from my other phone.
Okay, i thougt, my system is just about 2 hours old i reflash the eu rom and magisk and be done with it. So said, i wanted to boot into twrp, powerd the phone off, hold down power+vol up and got the miui unlocked screen, after that 1 second of black screen and than the miui unlock screen again with is followed by the normal system boot.
First i thought i missed the right moment for holding the buttons down so i installed apps which allowed me to directly reboot into recovery.
But with ervery app it was the same: miui unlocked screen, after that 1 second of black screen and than the miui unlock screen again with is followed by the normal system boot.
So i reflashed twrp over the terminal "fastboot flash recovery twrp.img" and it was stated a success. But again only: miui unlocked screen, after that 1 second of black screen and than the miui unlock screen again with is followed by the normal system boot.
Next i tried to reboot into recovery from adb but it was the same result.
Next i tried to just boot twrp from terminal with "fastboot boot twrp.img" but again, same result.
Next i tried to install different versions of twrp. From beta8 to beta11 i flashed every version but again, same result.
Now i'm sitting here happy with a new eu rom and fully rooted but unhappy with the knowing i cannot update anymore. Any ideas how to get into twrp again?
Edit: i reinstalled my android.providers.calendar after i read the "How to Re-Install an Uninstalled App" section again ^^
I read somewhere the Chinese recovery should work with latest Xiaomi.eu. TWRP is still in early stages.
Re-flash the recovery in fastboot mode. After flashing don't reboot recovery with a command but reboot recovery by pressing vol+ and power, keep both pressed untill you see twrp booting. Happened with me as well but than got sorted by flashing again after setting up the rom, enabling usb debugging and going back into fastboot and flash. And can I ask why did you use version 11 when the latest on that recovery is v17 beta and a final version but v17 is good and decrypts as well, hope this helps, cheers.
version 17 is on this page: click on the mega link
https://forum.xda-developers.com/Mi-9/how-to/recovery-unofficial-twrp-recovery-3-2-3-t3912118/page10
Also try this recovery,
https://forum.xda-developers.com/Mi-9/development/twrp-3-3-0-arm64-gapps-support-t3925728
Xiaomi.eu
k4win said:
Hi guys
today was my waiting time over and so i opend the bootloader and flashed:
Twrp_3.3.0_Cepheusv11
xiaomi.eu_multi_MI9_9.5.23_v10-9
Magisk-v19.2
all with success.
The phone (Global version, 6gb+128gb) boots normal and everything works fine up to the point where i want to boot in TWRP. After starting the phone with power+Vol up i get the mi unlocked screen and then for 1 second a black screen, then its reboot and i'm on the mi unlock screen again. Fastboot and normal system boot works fine, i have root over magisk and everything.
Any ideas how to get into twrp again?
[...]
Click to expand...
Click to collapse
Hello, i had the same pb, try this recovery: https://forum.xda-developers.com/Mi-9/development/recovery-unofficial-twrp-xiaomi-mi-9-t3905825 it's ok for me.
@++

[FIXED] Fastboot? Recovery bootlooping, but never getting there

Hi All, I need fastboot!
Perhaps someone can help with my brick? I've unlocked the bootloader, installed TWRP and had lineageOS 18.1 installed once. The screen was dim so I tried to flash DotOS. And got a "failed to mount /tmp/com.android.resolv.apex to loop device /dev/block/loop16" error so I tried to reinstall stock 57 ROM.
I did "fastboot flash recovery boot.img" with the decrypted boot.img hoping to get colourOS recovery.
The phone is now bootlooping trying to get into recovery mode. It won't power off or respond to button presses except vol up + vol down seems to delay the reboot on a blank screen.
I was hoping to get to fastboot mode to flash TWRP. Can anyone help? Should I surrender and accept the bricking?
you can get back to stock by install the stock rom, vendor, and kernel with adb drivers and commands.
or
if your mobile is MIUI you can just use the software to revert back to stock rom remember it re-locks the bootloader and again you need to unlock
The phone is currently boot looping.
I can't even turn it off.
It displays RealME/Android logo, then small "> RECOVERY MODE" text at bottom, then "Orange State" text. Repeat..
It has no response to a usb cable - no usb messages in dmesg. So it is not detected by adb or fastboot.
When the battery finally goes flat, my only hope is that I can get fastboot to flash TWRP into the recovery partition. I am not confident of this :-(
frolyx said:
The phone is currently boot looping.
I can't even turn it off.
It displays RealME/Android logo, then small "> RECOVERY MODE" text at bottom, then "Orange State" text. Repeat..
It has no response to a usb cable - no usb messages in dmesg. So it is not detected by adb or fastboot.
When the battery finally goes flat, my only hope is that I can get fastboot to flash TWRP into the recovery partition. I am not confident of this :-(
Click to expand...
Click to collapse
did you ever get this solved and fixed? i have accidently done the same thing.
hey guys follow this youtube
managed to unbrick my phone
smiley.raver said:
did you ever get this solved and fixed? i have accidently done the same thing.
Click to expand...
Click to collapse
Not yet, but I will try the youtube method above..
This recovered the Phone!
But, win10 reported the MCT extractor contained a worm (the python script under linux didn't work). I'm not sure I can trust this phone 100% from now on LOL!
the bypass just deactivates mtk hardware verificaton as normally they have a special dongle they use with the software download
I havent had any issues
I will upload thw bypass i use which doesnt havw any virus

Categories

Resources