Stuck in Fastboot (No Recovery) - OnePlus 7 Pro Questions & Answers

I've tried and according to CMD, succesfully flashed the recovery, but I can't boot into it. From Fastboot and selecting recovery it takes me right back to Fastboot. I've used the MSM Tool, but my phone keeps powering on automatically when connected to my PC and puts itself right back into Fastboot.

EchoX860 said:
I've tried and according to CMD, succesfully flashed the recovery, but I can't boot into it. From Fastboot and selecting recovery it takes me right back to Fastboot. I've used the MSM Tool, but my phone keeps powering on automatically when connected to my PC and puts itself right back into Fastboot.
Click to expand...
Click to collapse
I assume you are talking about TWRP custom recovery? You aren't supposed to flash TWRP in cmd (fastboot). Proper sequence is to fastboot boot TWRP.img, which temporarily does a remote boot of the TWRP img that resides on your computer. Once the phone is "booted" TWRP, flash the TWRP installer zip. Then flash Magisk, otherwise the phone might not boot (after flashing TWRP zip).
Also, make sure you are using an updated version TWRP. Current version is -75 from here (also has instructions on how to install properly): https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322
Reason for the difference in TWRP installation method, is due to the A/B partition scheme on the 7 Pro. With this scheme, there is no longer a discrete recovery partition, but rather recovery is a portion of the boot.img. As the boot.img partition also contains the kernel, you can't flash recovery directly from fastboot. The installer zip extracts your phone's specific boot partition, patches it to install TWRP, then re-installs the boot.img back to the phone.

Related

Can't exit bootloader after trying to reinstall TWRP on android 10

I updated to android 10 an hour ago, and placed my phone into the bootloader so I could re-flash TWRP. After I ran the command (fastboot flash boot C:\Users\USER\Downloads\twrp-3.3.1-4-guacamole.img), and tried rebooting, I couldn't leave the bootloader. I've tried using the buttons, trying to push the img to the phone and force it into TWRP, but nothing works. I think I didn't enable USB debugging when I entered the bootloader, but it was enabled before I updated.
It's a known issue, the commands aren't included in the bootloader for q yet. We need to wait for OnePlus to add them. To fix your problem, try fastboot booting the magisk patched boot.img for the 10 beta.
USB Debugging has nothing to do with fastboot.... Just flash stock boot img or a patched with twrp/magisk and boot your phone usually
mercenaryhmster said:
It's a known issue, the commands aren't included in the bootloader for q yet. We need to wait for OnePlus to add them. To fix your problem, try fastboot booting the magisk patched boot.img for the 10 beta.
Click to expand...
Click to collapse
Where do I find the patched boot image?
TheEndernaut said:
Where do I find the patched boot image?
Click to expand...
Click to collapse
If nothing helps, try to reflash with MsmDownloadTool.
TheEndernaut said:
Where do I find the patched boot image?
Click to expand...
Click to collapse
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
Also, once you flashed boot image and booted into Android, Download the twrp INSTALLER and install it via magisk module
From here
https://www.androidfilehost.com/?fid=1899786940962578045
GUGUITOMTG4 said:
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
Also, once you flashed boot image and booted into Android, Download the twrp INSTALLER and install it via magisk module
From here
https://www.androidfilehost.com/?fid=1899786940962578045
Click to expand...
Click to collapse
Was able to get past the bootloader, but once I swipe up to load the device, it blacks out
GUGUITOMTG4 said:
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
Also, once you flashed boot image and booted into Android, Download the twrp INSTALLER and install it via magisk module
From here
https://www.androidfilehost.com/?fid=1899786940962578045
Click to expand...
Click to collapse
I can't find the menue in magisk manager where I can install TWRP
TheEndernaut said:
I can't find the menue in magisk manager where I can install TWRP
Click to expand...
Click to collapse
Hamburger (upper left), modules, plus icon (bottom center), browse to twrp installer zip.
TheEndernaut said:
I updated to android 10 an hour ago, and placed my phone into the bootloader so I could re-flash TWRP. After I ran the command (fastboot flash boot C:\Users\USER\Downloads\twrp-3.3.1-4-guacamole.img), and tried rebooting, I couldn't leave the bootloader. I've tried using the buttons, trying to push the img to the phone and force it into TWRP, but nothing works. I think I didn't enable USB debugging when I entered the bootloader, but it was enabled before I updated.
Click to expand...
Click to collapse
First you don't flash the TWRP image.
That image is used as a fastboot boot. It is not to be flashed.
Normally, you would boot with that image and flash the TWRP zip to make it permanent.
Once TWRP is flashed, you need to also flash Magisk.
To get out of the situation you are in, you need a stock boot image to flash.
Once that is done, you can start over.
Read the instructions carefully before flashing images.
johnx818 said:
Hamburger (upper left), modules, plus icon (bottom center), browse to twrp installer zip.
Click to expand...
Click to collapse
There is no modules page
johnx818 said:
Hamburger (upper left), modules, plus icon (bottom center), browse to twrp installer zip.
Click to expand...
Click to collapse
There is no modules menu
tech_head said:
First you don't flash the TWRP image.
That image is used as a fastboot boot. It is not to be flashed.
Normally, you would boot with that image and flash the TWRP zip to make it permanent.
Once TWRP is flashed, you need to also flash Magisk.
To get out of the situation you are in, you need a stock boot image to flash.
Once that is done, you can start over.
Read the instructions carefully before flashing images.
Click to expand...
Click to collapse
Just to clarify then, when I run fastboot flash boot TWRP, I use the zip? If not, what command am I using?!
The command is "fastboot boot recoveryfilaneme.img" using the .img file
TheEndernaut said:
Just to clarify then, when I run fastboot flash boot TWRP, I use the zip? If not, what command am I using?!
Click to expand...
Click to collapse
No, no, no.
TWRP can only be flashed from either TWRP or Magisk.
On this device, you can only boot the image file. You can only flash the zip while running a booted TWRP or from the Magisk Manager.
TheEndernaut said:
Just to clarify then, when I run fastboot flash boot TWRP, I use the zip? If not, what command am I using?!
Click to expand...
Click to collapse
Hope I can explain myself. You are using a command you shouldn't be using: fastboot FLASH boot, you shouldn't flash the image from fastboot, you need to use that image to boot into recovery and then flash recovery itself from INSIDE recovery, then you NEED to flash Magisk from inside recovery too.
The command is: fastboot boot recovery.img
Btw, you can't see the "modules" option in Magisk because I think you flashed stock boot.img. Try flashing Magisk patched boot img and then flash recovery in Magisk as it was said before.
Did you click all the 3 buttons at once?
TheEndernaut said:
After I ran the command (fastboot flash boot C:\Users\USER\Downloads\twrp-3.3.1-4-guacamole.img)
Click to expand...
Click to collapse
This is not a command you will find in any guide for this device (at least not any guide that is correct)!
The command you used, flashed the image to over-write the boot partition, which is essentially the kernel. You no longer have a kernel, so of course the phone cannot properly boot to OS. This is also not the correct way to install TWRP, so therefore you have no TWRP installed on the phone, either.
Proper sequence to install TWRP would have been:
1) fastboot boot TWRP.img
This only "boots" into TWRP, but does not install it. I know the syntax here is confusing. "boot" versus "flash boot" do completely different things. In this case "boot" is the action. In the command you used "flash" is the action, and the "boot" partition is the location.
2) Flash TWRP installer zip
3) Flash Magisk
At this point, the easiest path is probably to do what was suggested in Reply #6 above (flash patched boot image, boot to OS, open Magisk and install TWRP from Magisk).
redpoint73 said:
This is not a command you will find in any guide for this device (at least not any guide that is correct)!
The command you used, flashed the image to over-write the boot partition, which is essentially the kernel. You no longer have a kernel, so of course the phone cannot properly boot to OS. This is also not the correct way to install TWRP, so therefore you have no TWRP installed on the phone, either.
Proper sequence to install TWRP would have been:
1) fastboot boot TWRP.img
This only "boots" into TWRP, but does not install it. I know the syntax here is confusing. "boot" versus "flash boot" do completely different things. In this case "boot" is the action. In the command you used "flash" is the action, and the "boot" partition is the location.
2) Flash TWRP installer zip
3) Flash Magisk
At this point, the easiest path is probably to do what was suggested in Reply #6 above (flash patched boot image, boot to OS, open Magisk and install TWRP from Magisk).
Click to expand...
Click to collapse
How do you install TWRP from Magisk?
blade35 said:
How do you install TWRP from Magisk?
Click to expand...
Click to collapse
Magisk/Modules/+/Select TWRP installer.zip

TWRP on OB 1

Anyone know how to flash or boot TWRP on that Android 10 OB 1. I tried booting with fastboot and it just sits on the fastboot mode screen and flashing it just continuously kicks me back to the bootloader.
I'm not on OB1, but from what I understand the command to boot TWRP doesn't work yet. And you can't flash TWRP in fastboot (can only flash it in TWRP or Magisk). Depending on what TWRP file/fastboot command, you might not even be flashing it to the right partition!
I believe the sequence is:
1) Install Magisk Manager
2) Fastboot flash patched boot image
3) Reboot, open Magisk Manager
4) Flash TWRP installer zip, like it is a Magisk module.
https://forum.xda-developers.com/on...isk-patched-boot-image-oneplus-7-pro-t3964345
And more info here: https://forum.xda-developers.com/oneplus-7-pro/help/rooting-android-10-t3964863

Stuck on "Bootloader is unlocked" screen, can't boot into recovery

So I wanted to root my op6 after updating to android 10
(OnePlus6Oxygen_22_OTA_041_all_1911142043_dde113e53cd0f9.zip)
I tried booting into twrp via fastboot using fastboot flash boot twrp.img (twrp-3.3.1-x_blu_spark_v9.101_op6.img, my bootloader is unlocked).
I then tried rebooting directly into twrp, but now it's just stuck on the "Bootloader is unlocked" screen.
I can still boot into fastboot, but I can't boot into recovery or reboot normally since it just gets stuck on the bootloader unlocked screen.
Please Help!
Edit1: Changing my boot slot from b to a gives me access to the stock recovery. not sure where to go from here though.
Edit2:Fortunately, ManikandanGuru had uploaded the stock boot.img, which works perfectly.
happened to me too. you just did a mistake and flashed the twrp recovery not to the recovery directory, you flashed it to the boot. if you want to make your recovery "twrp recovery", you just needed to do "fastboot flash recovery twrp.img. and if you want to make the "twrp recovery" only once (recommended), just do "fastboot boot twrp.img". now the only thing you can do is to flash the stock boot.img, like you did, or just to send your phone to phones fixing lab (like i did). it's much better and safe. they just flash on your phone the original oneplus 6 boot.img, not the stock one.
btw, i recommend you to use other twrp.img that built specially for android 10 (its safe, i use it). you can download it from https://drive.google.com/file/d/1Ndts4-CLP3o0kvs8wL40w3HLoyqMfwfy/view?usp=sharing (dont worry i uploaded it by myself).
good luck
Happen to me yesterday....boot on bootloader and use some tools from Mauro frio to reinstall everything with a batch-file...

[CLOSED] i can't get out of twrp

kk
kraken-gz said:
i managed to flash twrp via fastboot, with command:
fastboot flash recovery recovery.img
and then i applied:
fastboot boot recovery
and it booted into twrp (yay), but when i try to reboot it into system (or poweroff, and on), it boots into twrp. succesfully managed to replace stock recovery, but now i cant go into system. i got backup of system, but i don't know how to boot into system now.
phone is Allview Viva H801
I don't know how i can get into fastboot now via twrp. Is there way to communicate with twrp via PC. because twrp terminal , closes keyboard when i press key 'b', which makes it impossible to type any command (to get into fastboot )
can i fix this via twrp as i cant go into bootloader
Click to expand...
Click to collapse
TWRP don't have reboot bootloader option!?
Re-flash Stock ROM.
Thread closed as OP removed the content from the opening post.

How To Guide Xiaomi 12S Ultra TWRP(unofficial)

12S Ultra unofficial TWRP - link MEGA
Credit - UnofficialTWRP
They released TWRP under 12S Pro, but the code name is Thor which stands for 12S Ultra, and after flashing, I do confirm this is for 12S Ultra.
now they have a proper 12S Ultra section!
Download the image and rename as recovery.img for simplicity.
fastboot boot recovery.img (or full file name)
in TWRP, go to "Advanced" and "flash this twrp."
edit: the recovery image file is too large to be flashed directly via fastboot, so you need to boot first then flash using twrp!
edit2: backup and restore function may not be working properly on this version of twrp! I get boot loops everytime I do a full system backup and full restore after bricking the device, especially on the data partition. Clean installing rom then restoring data only still get boot loops. so use it with caution.
I suggest you to use 3rd party backup apps to do backups on apps and data, and stick to the flashing and other functions only for twrp.
original source unofficialtwrp.com
Nabicook said:
12S Ultra unofficial TWRP - link MEGA
Credit - UnofficialTWRP
They released TWRP under 12S Pro, but the code name is Thor which stands for 12S Ultra, and after flashing, I do confirm this is for 12S Ultra.
Download the image and rename as recovery.img for simplicity.
fastboot boot recovery.img (or full file name)
in TWRP, go to Advanced and flash this twrp.
original source unofficialtwrp.com
Click to expand...
Click to collapse
Awesome thanks. But why not Fastboot flash recovery recovery.img?
No. You must type fastboot flash boot recovey. img
dungnghien said:
No. You must type fastboot flash boot recovey. img
Click to expand...
Click to collapse
No I'm pretty sure it's:
fastboot flash recovery twrp.img
However my question was why the method outlined by @Nabicook vs this method. Is it because of the dual partition?
GodKingKnight said:
Awesome thanks. But why not Fastboot flash recovery recovery.img?
Click to expand...
Click to collapse
Because not only it is the method unofficialtwrp suggested, but also the size of the recovery img file is too large to be flashed via fastboot.
I already tried
fastboot flash recovery recovery.img
fastboot flash recovery_a recovery.img
and so on, but all failed.
only way to properly install this version of twrp is to boot first then let twrp to install itself to both a/b partitions.
Hi!
I'm following your guide...and after uploading recovery nothing happens
rebooting into recovery through ADB or just using buttons...still sends me into fastboot mode
What can I do?
joiliko said:
Hi!
I'm following your guide...and after uploading recovery nothing happens
rebooting into recovery through ADB or just using buttons...still sends me into fastboot mode
What can I do?
Click to expand...
Click to collapse
are you sure you did
fastboot boot (your recovery file name).img
it should automatically boot into twrp without touching anything from fastboot mode.
then install twrp through the advanced option in twrp
Nabicook said:
are you sure you did
fastboot boot (your recovery file name).img
Click to expand...
Click to collapse
Great many thanks! I was actually doing flash boot
Nabicook said:
then install twrp through the advanced option in twrp
Click to expand...
Click to collapse
Still having issues:
After flashing twrp + magisk, reboot sends me into fastboot mode ..
As I get it, previously I've messed up with boot image, flashing recovery into that partition
So question is:
Do I need to reflash stock boot.img (need help with getting it, stock recovery rom is packed into .bin and I'm unable to extract boot image
Or can I simply reflash stock ROM (in recovery or fastboot mode?)
*my phone is unlocked already
joiliko said:
Still having issues:
After flashing twrp + magisk, reboot sends me into fastboot mode ..
As I get it, previously I've messed up with boot image, flashing recovery into that partition
So question is:
Do I need to reflash stock boot.img (need help with getting it, stock recovery rom is packed into .bin and I'm unable to extract boot image
Or can I simply reflash stock ROM (in recovery or fastboot mode?)
*my phone is unlocked already
Click to expand...
Click to collapse
yeah you can try flashing stock boot img, and if that doesnt work, you can download fastboot rom and flash stock rom using flash all without wiping data(there is .bat file that says something like install without formatting).
That will fix any kind of brick issues of xiaomi device, and you just redo the twrp part.
joiliko said:
Still having issues:
After flashing twrp + magisk, reboot sends me into fastboot mode ..
As I get it, previously I've messed up with boot image, flashing recovery into that partition
So question is:
Do I need to reflash stock boot.img (need help with getting it, stock recovery rom is packed into .bin and I'm unable to extract boot image
Or can I simply reflash stock ROM (in recovery or fastboot mode?)
*my phone is unlocked already
Click to expand...
Click to collapse
How to Extract payload.bin and get stock boot image file
To extract the payload.bin file from Android stock firmware and get stock boot image file, you should refer to the instructions given in here.
www.droidwin.com
My idea worked!
I used the method above to extract boot.img & flashed it successfully
Can someone tell me why wipe data and settings dosent work on my 12s ultra every time reboots the twrp after i press the icon... Im try at 7.5 version the same and on 7.2

Categories

Resources