yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Bro [MENTION=4712355]mauronofrio[/MENTION] please try and sort out issue to boot twrp using .img. Sooner or later without it we get stuck and have no options.

Today I installed some wrong zip and got stuck in boot loop. Then I went to recovery (twrp .65 latest was already installed before through Magisk so I went to twrp recovery) flashed OB1 zip, flashed twrp installer and flashed Magisk zip. When restarted I could boot, but Magisk was not installed.

So patched boot, went to fastboot and flashed patched Magisk boot file. But stuck in bootloop.

I flashed boot.img from fastboot and could boot again. But now for some system files getting disturbed, Magisk is not installing and hence no option to go to twrp. So neither can restore my backup nor install twrp without Magisk.

Ultimately if I could boot into twrp through fastboot then I could have been saved and could have restored backup or reflashed the ROM. But now will have to format data to remove problem if any with system so that Magisk can be installed.

I really request you to please try if possible that we can boot into twrp as it can be handy in all bootloops if Magisk cannot be installed.

In case I can do anything to save my data and install Magisk and twrp please let me know as I have run out of all ideas and think format data or reset system is only solution. Thanks buddy
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
It was like this on op6T when first released until oneplus added the commands in the bootloader.

Once out of beta hopefully they will be added.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
Yeah even the early days of the 7 Pro had this issue. 9.5.3 was not able to boot twrp from fastboot, and updating to a new OOS version fixed that issue. So most likely the stable release of Android 10 will be fixed.... I HOPE! I've held off on ALL the preview builds and the beta just to have a full stable solution ???
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] tdamocles:
I'm on the latest version and can't seem to get into twrp with the correct password. How do I fix?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] paatha13:
That was your mistake you did and stuck in bootlopp.

Since you had functional twrp why not boot to twrp and flash magisk and reboot?

No needed to flash patched boot image throuth fastboot it's only for thouse don't have twrp installed in their device.

https://xdaforums.com/showpost.php?p=80185974&postcount=599
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Brother we all are here to make mistakes. Aren't we or else why we would come to xda. We would have been happy with devices shipped by OEM's without experimenting or exploring anything :)

Thanks for your time and advise brother.

I could brother flash system and boot in fastboot and recover from bootloop with Magisk also installed after flashing patchedboot.img I was lucky to save data this time and recover from bootloop.

Have a good day... :good:

---------- Post added at 12:35 PM ---------- Previous post was at 12:31 PM ----------

All that said but being able to boot twrp in fastboot is something essential to any device and also is preferred and optimal way to operate twrp and a rooted device. I wish luck and success [MENTION=4712355]mauronofrio[/MENTION]. You would certainly be able to find out a solution to this sooner than later. Have a nice weekend.

I must say this working twrp is what is making us aspire to live with this device. Had we did not have any working custom recovery for our device what could have we done. Thanks for your time and effort [MENTION=4712355]mauronofrio[/MENTION].
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Arden144:
He won't find a solution because it's a OnePlus problem
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Yes sir I understand. Maybe in future things work out and OnePlus or Twrp help find a solution to it. We all can keep trying and keep waiting.

Sir [MENTION=8690129]Arden144[/MENTION] your threads and posts have been very helpful to me and community in general. I thank you for your honest replies, help and support threads.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Arden144:
I wouldn't be too worried. I'm sure OnePlus will fix it in time for the next beta or at least for Q stable.

Thanks for the kind words :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xiaowang0131:
stack on boot twrp

bootloader:unlocked

OS: OOS Android Q open beta 1

model GM1910

When I enter fastboot mode and use "fast boot XXX.img" the result says success(both on official 3.3.1-4 and unofficial 65)

but when booting , the device display logo with oneplus and words "fast boot mode" and got stuck in showing it.

While stucking , I can use terminal to let it reboot to recovery bootloader or system. So it is responding, but yet I tried serverial times with the two version above but I still cannot enter the twrp. I even tried wipe all data/encript data option , but still cannot boot the twrp.

Could you tell me what is wrong with me?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
https://xdaforums.com/showpost.php?p=80195310&postcount=1423
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] alberto8523:
All works great with 3.3.1-65 and OB1!

Thank you [MENTION=4712355]mauronofrio[/MENTION]!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xiaowang0131:
Excuse me ,where can I find Android Q 's boot.img?

I read the post before(forgive me I do not speak english ), and found out there is an issue in oneplus.

I found the boot img in your fastboot mode zip.

So it is okay for doing this?

1. patch magisk with the boot.img and reboot with it

2. flash the magisk zip in magisk

3.flash the twrp zip in magisk

4. reboot and enter twrp ,everything works well

Can it be fine? So that I will be able to enter twrp normally?

Hoping to get your reply! Thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Boot.img can be found in your stock oos zip file of Android Q downloaded by you. It is to be extracted by you.

But the points 1 to 4 are not right. You should go to Magisk 19.3 thread and read OP there. There is also a link to installation instructions there, kindly read it many times before proceeding or else you may need your phone.

Order is, after extracting boot.img

1. Patch boot.img using Magisk manager

2. Boot to fastboot

3. Flash patchedboot.img from fastboot

4. Reboot

5 Flash TWRP from Magisk, latest version 3.3.1-65

Your bootloader must be unlocked before doing any of the above steps.

This is written well articulated in method 3 in OP of this respective thread.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xiaowang0131:
Thanks, but there is another problem.

I enter the twrp successfully, but I found errors in terminal, and the twrp did not ask my password for data. So I found internal storage 0MB.

How can I deal with it?

____

My fault, I flash the 52 twrp , everthing is fine with 65TAT
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
[/COLOR]Now, there some problems with Android Q, i worked for few days to see if possible to make the TWRP boots from fastboot, but actually i'm unable to make a TWRP that boots from fastboot in Android Q., i don't know if it is a bootloader problem, a kernel problem or a twrp problem. (I actually think it is a bootloader problem in all cases)

[MENTION=4712355]mauronofrio[/MENTION] can I patch boot.img with twrp. Will the effort be worth it. Will it make sense and is it workable. Please guide me and enlighten me on this. Thanks in advance for your support. I am asking on this so that in case of emergency when required it could used to boot twrp.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] shadowikr:
https://drive.google.com/file/d/15P8fz3t1xvyyBAfs82Mk0R9H7m5FRqV2/view

heres a download for the patched boot.img only for ob1

On your phone download and install magisk manager

On your PC open cmd or where ever your fastboot files are at

type

fastboot boot *drag the download in here*

press enter, your phone should start to boot up

then open magisk manager and direct install magisk again

then install twrp installer from magisk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
No bro this I have already done. My concern was when we are in bootloop, we cannot boot into twrp and have limited options but to use fastboot. So if I could have a boot.img patched with twrp, then I can use it in fastboot to use twrp.

Like we patch boot.img in Magisk and Magisk is installed. In same way we can patch boot.img with twrp and we can boot into twrp in fastboot. This was possible earlier with fastboot boot twrp.img but now in Android Q it's not possible. So I was thinking an alternative for it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ivoe:
Edit: removed quotes since it was to long imo.

You can find all official links for oos via their telegram

(updated almost daily for all OnePlus phones)

Includes Android Q as well.

I wipe via twrp "slider"(I do it like 3times it's not necessary tho)

Flash twrp

Flash oos

Flash magisk

Reboot

I AM NOT RESPONSIBLE FOR YOUR DEVICE. (JUST A DISCLAIMER)

most roms have the same flashing method.

If your already rooted turn off all modules then do the steps.

To get out of bootloop you need to use the official download/install tool.

I've bootlooped like 30times since having the phone. (don't wipe system)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Zielony360:
USB OTG doesn't work on this TWRP, including newest -65 build. It doesn't even have power in USB port, because SD card reader doesn't light up. On system OTG works fine.

dmesg doesn't say anything about USB during injecting.

---------- Post added at 09:33 PM ---------- Previous post was at 09:33 PM ----------

USB OTG doesn't work on this TWRP, including newest -65 build. It doesn't even have power in USB port, because SD card reader doesn't light up. On system OTG works fine.

dmesg doesn't say anything about USB during injecting.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lollyjay:
Did you try to mount external storage?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Zielony360:
Yes, but it was not possible, because USB block device doesn't exist.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lollyjay:
That's strange, because it is working fine for me. :confused:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] marko94:
Same here
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
So let's say in my case, I'm on 9.5.13 with twrp already installed. Would this mean I can flash Android Q beta, then TWRP zip from TWRP like I always have and be fine? The patched boot image thing you mention is if I DON'T already have TWRP and I'm running Android Q correct?

Side question: I'm running my phone decrypted, does that work as expected with Android Q?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] khalisz:
Thank you [MENTION=4712355]mauronofrio[/MENTION] for this update. :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
yes just update the twrp and use it with android Q, the patched boot.img should be used if you have not a twrp installed
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
And Android Q works just fine on decrypted storage?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
Yes.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
Ran into a snag here. So I'm running 9.5.13 decrypted with Magisk and TWRP -65. I tried to installed the open beta, and it installed fine, then flashed TWRP zip. I then rebooted back to recovery and my phone just went black and froze that way. Got stuck and had to use MSM tool to get out of that. Why could this be?

No Magisk modules, I removed mine.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Xerxes_2:
I'm on Android 10 and a Magisk module caused bootloop.

Android 10 can't boot into twrp.img and I can only flash the stock boot.img.

I want to save all my data and keep root, what should I do?

Update

Use the new magisk canary build to clear all modules and my phone finally boot up with root
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] paatha13:
[RECOVERY][3.3.1-65][U][guacamole]Official/Unofficial TWRP recovery for OnePlus 7 Pro

Today tried to restore a backup that took 2 weeks ego with open beta Android 10.

All went well at restoring no any errors no nothing suspicious at twrp.

But upon restart the phone the phone stuck to fastboot mode and never boot normally.

I'm decrypted as always but why couldn't boot normally,isn't 65 version full support decrypted?

Yes with 65 version I can flash clean install open beta and take backup of it without issue,but restore by not working is bummer.

This only happening with open beta no any other Pie rom.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Aporzio:
So from what I gather you have to flash root after every time you flash the twrp installer zip. Is this correct?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] :
Yep
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ivoe:
Unable to download from androidfilehost?

I've used 3 phones and 2 laptops and nothing is working.

This is the first time this has happened.

Is there a mirror?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Guitarpanda:
Hello, I recently followed the guide and switched my T-Mobile firmware over to international. I was then able to unlock the bootloader via fastboot. I currently am on 3.5.3 oos after unlocking the bootloader. I had been trying to flash the patched boot image and get root and twrp running, but keep getting a "image file is corrupted, unable to mount" error. I can't figure out what I'm doing wrong. Also, since I don't have twrp or root currently, can I update my phone first to the newest firmware and then install twrp or do I need to do it on 3.5.3 first then reflash twrp after updating as I've read here? Thank you
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lollyjay:
First update to the 3.5.13. Then come back to this thread.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Guitarpanda:
Will do.. thanks. Last time I checked there wasn't a patched .13 image, but that was a couple of day ago. Thanks again.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lollyjay:
Don't bother with the patched boot image. Now is the time to learn how to install twrp and magisk ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Guitarpanda:
Lol will try to figure it out. I came from the Nexus 6 which was far easier thus far. :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lollyjay:
You can do it ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Sildran:
Nevermind, didn't search enough :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 1Speede1:
i tried to switch f2fs

do backup data

format data to f2fs

restore data and got 255 error

if i formate to ext4 the backup is restored
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
Makes sense if it's a ext4 backup.

Try making backup with f2fs and see if it restores
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] alxioa:
i try to get in with the boot in the recovery (fastboot boot naime.img ) without flash but it stick to me in the fastboot mode. he doesn't come back in. stays sticky.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
That's been said for beta 1. You need to flash an already patched boot image for beta 1 that you gotta make yourself, and then flash the twrp zip from magisk manager.

BUT, I'm curious, are you on beta 1 or beta 2?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] alxioa:
beta 2.! what files are you trying to put? in beta 1 I had the last recovery of a regular ..3.65!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Guitarpanda:
You were right. Did the update and got twrp and magisk working now. Thanks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Marco589:
so you are on beta 2, arent you?

as I was used to doing with the stable update, I can flash the TWRP by magisk, right?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Yes you can.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
So, I followed a guide to flash Internation Firmware and then upgrade to DP3 to bypass T-Mobile OEM lock..

I'm OEM Unlocked and Unlocked Bootloader but when I try to boot the TWRP.img

I get.. this error...

Sending 'boot.img' (56016 KB) OKAY [ 1.379s]

Booting FAILED (remote: 'unknown command')

fastboot: error: Command failed

thoughts?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
It is not possible to boot twrp.img in Android Q. We will have to install twrp the zip file in Android Q. It can be done through Magisk as of now. Please use latest twrp 3.3.1.65 incase you want to install on Android Q
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
Could you give me a step by step? don't wanna brick this phone
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Install Magisk if not installed

From Magisk goto modules, choose + sign and choose twrp.zip kept in internal storage. Magisk will install and give you option to reboot device

Reboot and done.

Hope this helps.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
How do you install Magsik without TWRP?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] shadowikr:
You have to boot a boot.img with magisk installed on to it then when it boots you install twrp through magisk then magisk through twrp
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
Okay, where do you get a boot.img with magisk?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Extract boot.img from your ROM zip.

Install Magisk manager patch it and then flash it through fastboot to boot partition.

Brother you cannot just keep asking questions, please go to Magisk thread read installation instructions and then try. You can ask your doubts in threads but we cannot be spoon fed. We need to do little bit of effort to try and atlest read threads and try to understand basics.

I am there to try and help to best of my knowledge but then you also atlest try and read few OP posts at least. Best Wishes. Good Day
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
He's the issue I run into, which is why I'm being so cautious..

I followed this https://xdaforums.com/oneplus-7-pro/how-to/guide-root-oneplus-7-pro-patched-boot-t3931205

and when it goes to reboot the device it defaults to the bootloader when you try to goto recover it goes to bootloader
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Nothing to worry. Just flash your boot.img from bootloader and you would reboot.

Fastboot flash boot boot.img

It would help you reboot.

You should try and learn things rather than just waiting for others bro. Be careful with what you do, study well before trying and then start. Everyone is here to help.

You have a working device now. Else just be happy with what you have d enjoy the fabulous device as it is.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Virus1x:
Tried it didn't work everytime i flash it reboots and goes right back into bootloader.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Use MSM tool from the thread or Fastboot flash Rom from the thread. You would be good to go again brother.

OnePlus 7 pro forum has both threads. MSM tool is easiest by mauronofrio, who is OP of this thread as well. Please use it and your phone would be good to go again.

Please check the thread and all is easy and self explanatory. Good luck and Good Day
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] shadowikr:
For open beta 2 here u go https://drive.google.com/file/d/16tpiKPiGeCTXTPZRXi4rubQTaBEz61dl/view?usp=drivesdk

On a computer open cmd or your where ever your fastboot files are at and type

Fastboot boot *drag download here*

Enter

After it boots install magisk manager and install twrp zip in magisk

Then reboot to twrp and install magisk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] hibby50:
Have you actually gotten this to work on OB2? I can't fasboot boot twrp it just hangs until I fastboot reboot.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lollyjay:
Same here
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] shadowikr:
Yes It works I have done it, fastbooting a recovery image causes it to hang but it's not the same with a boot.img, the file I left is a boot image, it will give u temp root until u install twrp then install root through twrp
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Marco589:
Done it!

it works great :D

thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] KapilNagpal01:
Happy you did it :good:

---------- Post added at 06:54 AM ---------- Previous post was at 06:46 AM ----------

In Android Q you cannot boot into twrp using img file. So either patch OB2 boot.img file in magisk yourself and then flash it to get magisk and root or you can ask someone to give you patchedboot.img for OB2.

But try to do patch yourself it would be better. You may seek help in case you find it difficult but still give it a try. Everyone is here to help.

Once flashed patchedboot.img you reboot and then install twrp.zip from Magisk module section. You will get twrp.

It is just a matter of time and will be fixed. Even Pixel devices have same issue with twrp post Android Q.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] null0seven:
In Android Q, ob2 flashing .img works fine, if you have the latest drivers, Adb, Fastboot apps. No errors, but when reboots to twrp it hangs on a black screen with a white Fastboot Logo.

If you follow this you will get Magisk to work & you can flash twrp by Magisk.

https://xdaforums.com/oneplus-7-pro/how-to/magisk-patched-boot-image-oneplus-7-pro-t3964345
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] crunchybutternut:
Here is how I got it to work on Android Q OB2:

(I tried many different times, and ran in various issues, but this process actually got root working. Some steps may seem redundant, but bear with me.)

Prerequisites:

If you've tried other methods, be sure to first flash back to the original boot.img, and uninstall Magisk Manager.

Download latest adb/fastboot files from here.

Steps:

Download magisk_patched.img from here, and place in your adb folder.

Open CMD/Powershell, and CD to directory where adb/fastboot are.

Type: adb reboot bootloader and hit Enter.

Type: fastboot flash boot magisk_patched.img and hit Enter.

Type: fastboot reboot bootloader and hit Enter.

Type: fastboot boot magisk_patched.img and hit Enter.

On your phone, open Magisk Manager, and follow prompts to install and reboot.

You should be all set, but may also see an option to update Magisk afterwards.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] redpoint73:
If doing fastboot flash of the TWRP.img file, what partition do you think you are flashing it to? In other words, what is the command syntax you are using?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
Should be something like

fastboot flash boot_a or boot_b twrp.img It needs to get flashed to current-slot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] tech_head:
Neither install guide has a direct install of the TWRP image.

The factory boot image must be patched or you will hang.

Look at the install guides.

You boot with the image.

You flash TWRP.zip, then you must flash Magisk.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
Not on Q. Just use local upgrade method. BUT DO NOT REBOOT then flash twrp with magisk and magisk to inactive slot after ota then reboot.

I don't need an install guide ????. I Was just answering a question that was asked.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] pyry666:
Just one important point to add, use magisk 14.4 canary..14.3 works fine for root but some banking apps and hide does not. Just fyi and no disrespect