TWRP boots to a black screen - Xiaomi Mi A2 / 6X Questions & Answers

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.

Related

[Q] Fire HD with only TWRP installed

Hi all, I've been searching online and I haven't found anything that helps or even directly applies, so I broke down and decided to ask for help.
I was working off the guide to root my kindle, install TWRP and then a ROM, first time doing this.
SO let me break down where I'm at:
-rooted
-TWRP installed
-there's no .zip that I can find to stall from (checked sdcard folder and all others)
-can't load into original OS, logo goes from orange to blue on its own, and hangs there
-when plugged into PC, it is recognized but says no drivers are installed for it (no matter how many times i try reinstalling it.)
- I can get it into fastboot mode, but can't seem to load anything (I've read that fastboot doesn't work with twrp)
- adb sideload doesn't seem to work, it cannot find device
So how can I get a .zip file loaded to twrp, or restore the device, without adb seeing the device?
Is there a specific way to install the drives, or a way to get the .zip loaded through fastboot that I'm not aware of?
I'm sorry if this has been addressed before, I haven't seen this exact issue, and the fixes that seem close haven't worked :
thanks guys!
G_G_L said:
Hi all, I've been searching online and I haven't found anything that helps or even directly applies, so I broke down and decided to ask for help.
I was working off the guide to root my kindle, install TWRP and then a ROM, first time doing this.
SO let me break down where I'm at:
-rooted
-TWRP installed
-there's no .zip that I can find to stall from (checked sdcard folder and all others)
-can't load into original OS, logo goes from orange to blue on its own, and hangs there
-when plugged into PC, it is recognized but says no drivers are installed for it (no matter how many times i try reinstalling it.)
- I can get it into fastboot mode, but can't seem to load anything (I've read that fastboot doesn't work with twrp)
- adb sideload doesn't seem to work, it cannot find device
So how can I get a .zip file loaded to twrp, or restore the device, without adb seeing the device?
Is there a specific way to install the drives, or a way to get the .zip loaded through fastboot that I'm not aware of?
I'm sorry if this has been addressed before, I haven't seen this exact issue, and the fixes that seem close haven't worked :
thanks guys!
Click to expand...
Click to collapse
Without a working ADB connection, you can't get a file to your device in TWRP. You can restore your system, recovery, and boot images with fastboot, but your device must be in fastboot mode first. If you decide to do that, you'll have to restore your stock system, recovery and boot images, saved from the 2nd bootloader install instructions, then start the whole process all over again.
soupmagnet said:
Without a working ADB connection, you can't get a file to your device in TWRP. You can restore your system, recovery, and boot images with fastboot, but your device must be in fastboot mode first. If you decide to do that, you'll have to restore your stock system, recovery and boot images, saved from the 2nd bootloader install instructions, then start the whole process all over again.
Click to expand...
Click to collapse
Cheers! Excellent advise! I got it restored to stock!
I used the img files from here: http://forum.xda-developers.com/showthread.php?t=1951254
and followed the fastboot directions here: http://forum.xda-developers.com/showthread.php?t=2277105
now try it again! (and hopefully succeed!)

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.

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.
@++

Lancelot enters fastbootd mode, does not communicate with adb and it's command, can't install twrp

Hello there.
Just like title says - I've got my hands on new Redmi 9 (lancelot) nfc 4/64 version. I've unlocked it from Mi stuff successfully yesterday and wanted to install there twrp, magisk and titanium backup to clean a bit and maybe to have foundations for further change of rom.
However, my phone gaves answers, that I do not understand correctly.
Firstly - after first instalation of twrp via adb it booted into this. However, after choosing option to boot to system from it, power off via ui and then another try to enter recovery...it gave me stock miui recovery again. When I've tried the same steps for second time, phone finished, but after restart it entered bootloop. I've followed steps from this guide - https://miui.blog/redmi-9/download-install-twrp-and-root-redmi-9-codename-lancelot/
After some time I've managed to make low-level rom instalation again (12.0.4 official lancelot rom, dated 31st of Mar, 21) to at least being able to communicate with it (done with usage of miflash 2018 version and rom in *.tgz file). This time, I've used help from this page - https://www.getdroidtips.com/guide-flash-miui-rom-xiaomi-devices/ - had some troubles with mediatek based phones before in my life, so it wasn't from scratch, but some time to understand it were needed.
Phone is working again, but this rom is based on Android 10 (which I would like to keep, if it won't cause too much trouble). And I think because of that fastboot mode changed now into fastbootD mode, where old commands from adb does not recognize the device, thus no flashing recovery action etc can be taken.
Is there a workaround here? I've stumbled across some articles about installing clean Generic System Image with Android 10 on this phone (since it has been released with android greater, than number 8), but again - this requires to have custom recovery, prefeably twrp. I cannot do anything about it, because I got back to stock recovery (which now at least works, yesterday phone was so twisted at one point, that he cannot even load this recovery, but somehow managed to open system and fastboot modes normally (!!!)).
Is there a way to work it out? Older miui version, older android version, then twrp, then update via twrp? Or an alternative method, since google changed something in partitions again (not sure, if I get it right, but it might be it)? I would actually like to stay somewhere around miui (at least let it be official with ota support without too much issues), but without twrp I cannot do anything. I also do know, that there aren't any official twrp/pbrp yet (just betas). Could it also be the issue with troubles with installing it and staying it on the phone?
buczek0711 said:
Hello there.
Just like title says - I've got my hands on new Redmi 9 (lancelot) nfc 4/64 version. I've unlocked it from Mi stuff successfully yesterday and wanted to install there twrp, magisk and titanium backup to clean a bit and maybe to have foundations for further change of rom.
However, my phone gaves answers, that I do not understand correctly.
Firstly - after first instalation of twrp via adb it booted into this. However, after choosing option to boot to system from it, power off via ui and then another try to enter recovery...it gave me stock miui recovery again. When I've tried the same steps for second time, phone finished, but after restart it entered bootloop. I've followed steps from this guide - https://miui.blog/redmi-9/download-install-twrp-and-root-redmi-9-codename-lancelot/
After some time I've managed to make low-level rom instalation again (12.0.4 official lancelot rom, dated 31st of Mar, 21) to at least being able to communicate with it (done with usage of miflash 2018 version and rom in *.tgz file). This time, I've used help from this page - https://www.getdroidtips.com/guide-flash-miui-rom-xiaomi-devices/ - had some troubles with mediatek based phones before in my life, so it wasn't from scratch, but some time to understand it were needed.
Phone is working again, but this rom is based on Android 10 (which I would like to keep, if it won't cause too much trouble). And I think because of that fastboot mode changed now into fastbootD mode, where old commands from adb does not recognize the device, thus no flashing recovery action etc can be taken.
Is there a workaround here? I've stumbled across some articles about installing clean Generic System Image with Android 10 on this phone (since it has been released with android greater, than number 8), but again - this requires to have custom recovery, prefeably twrp. I cannot do anything about it, because I got back to stock recovery (which now at least works, yesterday phone was so twisted at one point, that he cannot even load this recovery, but somehow managed to open system and fastboot modes normally (!!!)).
Is there a way to work it out? Older miui version, older android version, then twrp, then update via twrp? Or an alternative method, since google changed something in partitions again (not sure, if I get it right, but it might be it)? I would actually like to stay somewhere around miui (at least let it be official with ota support without too much issues), but without twrp I cannot do anything. I also do know, that there aren't any official twrp/pbrp yet (just betas). Could it also be the issue with troubles with installing it and staying it on the phone?
Click to expand...
Click to collapse
After to flash TWRP you have to flash the vbmeta.img and then boot to TWRP not through commands but manually with hardware buttons, don't allow device to boot to system before to boot to custom recovery otherwise this will be overwritten again.
I've done that with this vbmeta, one and only difference might be that I was trying to get into twrp by commands (however, it did not work XD). Overwritten isn't an issue in my opinion, since I do have booted to recovery after installing it yesterday and then from it choose option "reboot to system". After poweroff from system and then trying to get into recovery, then stock showed.
I'm currently trying this - https://c.mi.com/oc/thread-3312019-1-0.html
After putting this command to cmd - bcdedit /set testsigning on lancelot shows somewhere, but I cannot install it (most likely due to this issue about encrypted drivers). I'll try to overcome it now.
Yea, well, I've tried this method from link listed above, phone still enters fastbootd mode, still is not-visible from cmd started from google platform tools folder (which a subfolder to working adb). Not sure what to do now.
buczek0711 said:
I've done that with this vbmeta, one and only difference might be that I was trying to get into twrp by commands (however, it did not work XD). Overwritten isn't an issue in my opinion, since I do have booted to recovery after installing it yesterday and then from it choose option "reboot to system". After poweroff from system and then trying to get into recovery, then stock showed.
I'm currently trying this - https://c.mi.com/oc/thread-3312019-1-0.html
After putting this command to cmd - bcdedit /set testsigning on lancelot shows somewhere, but I cannot install it (most likely due to this issue about encrypted drivers). I'll try to overcome it now.
Click to expand...
Click to collapse
No, this is not the method to boot to recovery from what I pointed out, you don't have to firstly power off device but from fastboot commands you can type either fastboot or fastbootd reboot and inmediately press the volume up till the TWRP logo appears, the fastboot/d command will act same as it be the power button.
The thread explains how to install unsigned drivers in Windows, not to set it on your Redmi but is for your PC. If you succesfully get the drivers installed then you have to reboot your PC entering again in safe mode (not normal mode) and from there the commands through fastbootd are generally the same than those for fastboot.
buczek0711 said:
Yea, well, I've tried this method from link listed above, phone still enters fastbootd mode, still is not-visible from cmd started from google platform tools folder (which a subfolder to working adb). Not sure what to do now.
Click to expand...
Click to collapse
Just to be sure you are doing fine and not missing something the adb commands work while device is on and fastboot/d commands work only in fastboot mode.
Can you attach some SS to see what you are typing and the error that brings the cmd?
Hm, you say, that I can type fastbootd into cmd and this will be recognised? It seems that it cannot be recognised in this case, when I'm trying to type fastbootd powershell says "unknown command".
Typing fastboot /d devices results in "waiting for device", despite phone being in fastbootd all the time.
I'll attach ss tomorrow - it is time to sleep for me now, gotta wake up early. Then we will also know something else, when it comes to behavior after restart pc (once again, I've done it all in one sit, it might be an issue here).
PS. if you want english errors, I'll have to use powershell - cmd is in my native language (polish). Found out, that it doesn't really matter, which program you use, powershell simply can do more, while cmd dates back 30 years or so.
Anyway - phone is still booting to miui 12 and android 10 normally, I do not set there google acc or lock yet, so don't know if there's any issue with it (most likely no).
I've also stumbled across some dude from indonesia, who had the same phone, miui 12.0.1 with android 10 and he installed successfully twrp, then magisk, but he also put some small img - misc misc.img. Could it be the issue?
I'm giving link to this material on YT -
FROM WHAT I SEE IN THE THUMBNAIL, this version of twrp is even the same (code number and english translated from chinese), that once worked here (md5 of the file might be different, though).
There's also an option to reinstall again whole adb, platform tools, drivers from official miunlock app etc, but since I do not had ANY android-related problems on this pc with previous phones, I'm not sure if this is worth our time.
And I think that if I would misspell something in cmd program would give me error instantly, instead of behaving like it was nothing - i've made tons of errors before and cmd/powershell always informed me about it in first line of their texts.
buczek0711 said:
Hm, you say, that I can type fastbootd into cmd and this will be recognised? It seems that it cannot be recognised in this case, when I'm trying to type fastbootd powershell says "unknown command".
Typing fastboot /d devices results in "waiting for device", despite phone being in fastbootd all the time.
Click to expand...
Click to collapse
Yes, fastboot works normally while in cmd, this is intended for that, no problem to enter firstly toi Power Shell but you can switch to cmd from PS just typing cmd and all the commands from here will be for cmd, doesn´t matter at all how many old is, cmd can work inside PS keeping the same aspect.
buczek0711 said:
I'll attach ss tomorrow - it is time to sleep for me now, gotta wake up early. Then we will also know something else, when it comes to behavior after restart pc (once again, I've done it all in one sit, it might be an issue here).
PS. if you want english errors, I'll have to use powershell - cmd is in my native language (polish). Found out, that it doesn't really matter, which program you use, powershell simply can do more, while cmd dates back 30 years or so.
Anyway - phone is still booting to miui 12 and android 10 normally, I do not set there google acc or lock yet, so don't know if there's any issue with it (most likely no).
I've also stumbled across some dude from indonesia, who had the same phone, miui 12.0.1 with android 10 and he installed successfully twrp, then magisk, but he also put some small img - misc misc.img. Could it be the issue?
I'm giving link to this material on YT -
FROM WHAT I SEE IN THE THUMBNAIL, this version of twrp is even the same (code number and english translated from chinese), that once worked here (md5 of the file might be different, though).
There's also an option to reinstall again whole adb, platform tools, drivers from official miunlock app etc, but since I do not had ANY android-related problems on this pc with previous phones, I'm not sure if this is worth our time.
And I think that if I would misspell something in cmd program would give me error instantly, instead of behaving like it was nothing - i've made tons of errors before and cmd/powershell always informed me about it in first line of their texts.
Click to expand...
Click to collapse
You don't need to reinstall nothing, just from the downloaded SDK platform do all that you want to avoid misspelling path and folder directories, I mean place the files you need to use in the same directory and open terminal prompt (PS) in the same folder where adb/fastboot binaries are, pressing right mouse button and shift at same time.
I feel you are missing something simply here, not so hard to do.
The misc.img partition that you mentioned is just to restore something that went wrong in the process.
But if you are happy with this Miui ROM then great. No hurry to answer that, give your time to rest.
I also feel, that there is something simply to overcome, Only the fastbootd is new Stuff to me. However, any time I was doing something with Snap, i was long after finish by the current time (almost a month with It and 3rd day with fastbootd issue).
I don't get it. Now when I've tried to enter fastboot mode...phone entered it (fastboot, not fastbootD). Then I've installed pitch black recovery and sucessfully booted into it by restarting phone and then pressing vol up. Now I'm trying with magisk and another entry to pbrp.
Second try gave me stock recovery again. What is wrong with it XD?
something is wrong. Installing twrp resulting in nothing (stock recovery is still there), installing pitch black resulting in successfully boot into new recovery. However, this recovery does not see any zip (magisk zip, to be exact, that I've put there before it to root phone). After boot into system and then power it off to boot into recovery...phone boots into stock recovery. Should I downgrade system to miui 11 to be able to get over it? Or should I wait until miui 12.5 enters redmi 9?
My tries of installing it has been done by using cmd with admin rights, if it does make any difference.
buczek0711 said:
something is wrong. Installing twrp resulting in nothing (stock recovery is still there), installing pitch black resulting in successfully boot into new recovery. However, this recovery does not see any zip (magisk zip, to be exact, that I've put there before it to root phone). After boot into system and then power it off to boot into recovery...phone boots into stock recovery. Should I downgrade system to miui 11 to be able to get over it? Or should I wait until miui 12.5 enters redmi 9?
My tries of installing it has been done by using cmd with admin rights, if it does make any difference.
Click to expand...
Click to collapse
I think you are not following the right direction, if you want consider what I pointed out; you don't have to power off device prior to boot to recovery for first time but you have to type from fastboot (no matter fastbootd) and inmediately from there boot to the custom recovery, when you succesfully booted to custom recovery then flash the recovery zip if there is one (PBR and OFR have one) and if not a zip then flash the image again to the recovery partition, also check if there is some installer apart from the image that can fix it in the ramdisk partition, at this point your issue is solved, next step is to reboot device to system normally, if you don't have any issue on that then OK but if you can´t there some steps more that you should do, but let this for last.
Ok, let's group it.
I do not think that particular matter of how do I restart phone matters here (at least, I do not believe it, that it does anything).
Option to restart to recovery from adb still not working.
Trying to find magisk.zip in main directory of internal storage still fails under pitch black recovery project.
From new stuff - I now got an error message, while opening pbrp, most likely with the issues about system being read-only (not sure though, since I do not remember it now, might look into it once more). I have the options to mount partitions, available from main menu, but since I do not used it at all before, I do not know, how to deal with it.
Also - my system boots normally, it must have overwritten recovery (or at least header of it) sometime during boot, since custom recovery is unavailable to access after first full reboot.
I'll try now to install newer version of twrp from yt that I've posted days back. I would also try with orange fox (however, i cannot find img for it, just source code, don't get it).
Is there someone, who can and will to help me?
Situation looks this - on this 12.0.4 MIUI with android 10 I'm unable to install ANY recovery (either phone do not restart to recovery after proper command from cmd or it boots into it, but after visiting system and then to recovery again it shows stock (even without any operations or updates from ota).
I cannot force to work either twrp 3.4.2b, twrp 3.5.2, pitch black recovery 3.0.0 beta.
After trying to install magisk 21.4 zip from twrp 3.4.2b phone entered bootloop, because f**k you, user, I cannot even get it to fastboot mode now (btw, fastboot now works, fastbootD is luckily a long-gone crap).
All cmd's have been run with admin rights. There are NO SUCH THING, as misspelling (cmd and adb would not execute command ,if it is misspelled, either command or filename). I've installed drivers once again and used cmd from dedicated folder with adb fastboot portable version (runned as admin, of course).
Now I'm downloading older version of rom for fastboot (miui 11.0.9) with android 10. Something has to finally work on this piece of junk.
Writting each time is success (cmd says "OKAY" nad displays time, it took to do so), downloading recovery image to start from it also works, there aren't any errors in cmd, yet phone still isn't working.
Where's the issue with it? Apart from being mediatek, which seems to somehow enormously hardened any flashing? I did not encounter anything like this with qualcomm, yet mediatek still manages to pisses me off with their really weird implementations and working (???) of their stuff.
another update from battlefield. Managed to finally get mediatek verify bypass in smart phone flashing tool, however it ended with forcing me to format anything in the phone (if not, program would not let me install anything).
Second problem is forcing me to disable verify, yet command fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img put in fastboot mode (yes, it works now) does not work, because adb says, that "--disable-verity" is not a recognised command.
SPFT cannot properly download images from phone and welcomes me with error about download exception, happening either in recovery part or in boot part. SInce I do have access to fastboot now, I can overcome it (I think).
Old miflash tool to install roms via fastboot says it cannot flash rom in locked stage (I might have lost unlocked status, but I'm not sure about it). Do you know ways to overcome it?
It is me again (inb4 use edit). Had to unlock phone again by using miphone unlocker (it went ok). Still cannot flash using SPFT, miflash started showing idiotic errors like "no file in directory" or "cannot access to directory" (it could before, I did not changed name of it). Will continue reporting of progress (or the so-called "progress").

[SOLVED] Stuck on TWRP splash screen after trying to OTA update PixelExperience. HELP!

I will try to keep it short. I installed PE on my mi 8 se and it was working fine then a OTA update arrived, i clicked install and it turned off and stuck on TWRP splash screen. there is no navigation or buttons, it doesn't turn off till the battery runs out. after charging it up again it shows the twrp screen. i can go to fastboot mode by pressing power+vol- but
Code:
fastboot devices
doesn't show any devices connected to my pc. my pc also doesn't recognizes the phone and marks it as "USB unknown" and updating it with android drives shows an error stating that its not compatible.
Code:
adb devices
shows my phone when in twrp screen but that's about it.
as it stands:
-
Code:
fastboot devices
doesn't recognize devices, i think because USB debugging was off but now i have no way of boot into my phone to turn it on
-
Code:
adb devices
recognizes my phone but i don't know what to do with it
-i read somewhere that pixel experience "FBE encrypts the phone so twrp is unable to access past encryption" but i don't know what that means
-currently my phone is a brick with twrp logo, so please HELP.
THANKS in advance for help.
siyyee said:
I will try to keep it short. I installed PE on my mi 8 se and it was working fine then a OTA update arrived, i clicked install and it turned off and stuck on TWRP splash screen. there is no navigation or buttons, it doesn't turn off till the battery runs out. after charging it up again it shows the twrp screen. i can go to fastboot mode by pressing power+vol- but
Code:
fastboot devices
doesn't show any devices connected to my pc. my pc also doesn't recognizes the phone and marks it as "USB unknown" and updating it with android drives shows an error stating that its not compatible.
Code:
adb devices
shows my phone when in twrp screen but that's about it.
as it stands:
-
Code:
fastboot devices
doesn't recognize devices, i think because USB debugging was off but now i have no way of boot into my phone to turn it on
-
Code:
adb devices
recognizes my phone but i don't know what to do with it
-i read somewhere that pixel experience "FBE encrypts the phone so twrp is unable to access past encryption" but i don't know what that means
-currently my phone is a brick with twrp logo, so please HELP.
THANKS in advance for help.
Click to expand...
Click to collapse
NOTES (Read First):
- Twrp can´t decrypt data in android 12, so you need to install updates or magisk via adb sideload. If you remove pin lock in android you can install updates normally, because data can be decrypted.
- Do a clean install if your coming from PE11 or PE12 Alpha. Don´t update. And follow instructions from "Install".
- This firmware and vendor included in rom is specific to this rom, don´t try to use them in other roms.
- This twrp will probably only work with this vendor and firmware, don´t use in other roms.
Install:
1 - Flash rom (this is needed to install proper vendor and firmware)
1 - Flash Recovery via adb (Download: https://drive.google.com/file/d/1Iqa4-sBwThUAAvJsFwl6oP-D4EzRcCyq/view)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM via adb sideload (Advanced -> ADB sideload)
6 - reboot system
Update:
1 - Reboot recovery
2 - Advanced -> ADB sideload
3 - Reboot system
beenmoov said:
NOTES (Read First):
- Twrp can´t decrypt data in android 12, so you need to install updates or magisk via adb sideload. If you remove pin lock in android you can install updates normally, because data can be decrypted.
- Do a clean install if your coming from PE11 or PE12 Alpha. Don´t update. And follow instructions from "Install".
- This firmware and vendor included in rom is specific to this rom, don´t try to use them in other roms.
- This twrp will probably only work with this vendor and firmware, don´t use in other roms.
Install:
1 - Flash rom (this is needed to install proper vendor and firmware)
1 - Flash Recovery via adb (Download: https://drive.google.com/file/d/1Iqa4-sBwThUAAvJsFwl6oP-D4EzRcCyq/view)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM via adb sideload (Advanced -> ADB sideload)
6 - reboot system
Update:
1 - Reboot recovery
2 - Advanced -> ADB sideload
3 - Reboot system
Click to expand...
Click to collapse
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
siyyee said:
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
Click to expand...
Click to collapse
Have you tried to reflash to miui with mi flash tools?
maybe changing the cable or installing drivers because if it's boot to bootloader you can Always do Something.
siyyee said:
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
Click to expand...
Click to collapse
you should install fastboot driver first so the computer can access your phone in fastboot mode. after that you can easily use fastboot command to reinstall twrp image. follow this guide: https://beebom.com/fastboot-not-detecting-device-windows-10/
hey guys,
sorry for late reponse but i managed to fix the problem, turns out the cable i was using was faulty so i changed it with the original one and wallah it recognized my device.
then i flashed stock rom and then xiaomi eu rom, now working great.
thanks for all the help.

Categories

Resources