yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Step-han:
Yea, you lose TWRP. But flash twrp.zip after ota and you will still have it.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nicotin3:
Thanks for the help. Managed this time not to get the bootloop recovery issue.

-Uninstalled all Magisk Modules

-Restart system

-Downloaded update via Oxygen Updater

-Restart to twrp

-Install OTA update in twrp

-Install TWRP installer

-reboot to TWRP

-Install Magisk

-wipe davlik

-reboot system

-another reboot (as some of the apps were not loading)

-install back all magisk modules

All ok now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tenchi4U:
That's what I read earlier, but somebody recommended doing it, so I figured the OTHER way wasn't working, ao I'd give it a go.

That said, others say you still can.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] bcool_1:
I am getting this error in TWRP when I am flashing anything.

Is there any solution?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] alxioa:
install slot a? or B,?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I'm working on this, i'm waiting an answer from mine 5g tester

Another user report me this, can you try to unmount system from twrp menu/mount options and try again?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] androidfreak11:
is it that important to uninstall all the magisk modules? i did the same as you, just without deleting the modules and i am stuck with recovery bootloop :(
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nicotin3:
Nothing touched on the slots. I have two phones and did the same procedure. On one of them it was automatically selected slot A and on the other B. Just let it as it is.

---------- Post added at 12:42 PM ---------- Previous post was at 12:42 PM ----------

Looks like that's the problem.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] androidfreak11:
so i installed the magisk uninstaller via twrp, but still my phone only boots in recovery every time .. would you mind helping me?

what i wanted to achive: update to 9.5.7

what i did:

- download 9.5.7 ota from xda

- update via twrp

- flash twrp.zip in twrp

- flash magisk

- wipe cache

- reboot -> recovery bootloop

what i then did:

- update via twrp

- magisk uninstaller

- reboot -> recovery bootloop (this time the stock recovery appears which is normal)

i also tried changing slots, but problem persists .. any idea?

UPDATE: how i got the phone to boot -> fastboot flash boot C:\adb\twrp-3.3.1-20-guacamole.img, which is superstrange! isn't it?

now wifi isn't working sadly .. will have to install a custom kernel

UPDATE_2:

- reboot to recovery

- install twrp v29.zip

- install magisk

- install elemental x 1.0.5

now i have twrp, magisk, root and am running the newest 9.5.7

maybe this will help someone
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] enursed:
Same for me :(

It only Boots to Android with the twrp-3.3.1-20-guacamole.img, with

twrp-3.3.1-29-guacamole.img it bootloops to Recovery.

What i also found, that with Fastboot boot twrp-3.3.1-29-guacamole.img it decypts Data, i flash twrp Installer zip (20 and 29), boot into twrp, Data cant be decrypted anymore.

Later at Home will Testing more, for now i use this hotboot to be able to use my Phone
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nicotin3:
The difference I guess it's a reboot to recovery, after flashing twrp.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] androidfreak11:
ehm no i don't think so, as it does this without me even wanting to reboot to recovery .. something strange is going on there, but for now i don't mind, as long as i can get it back to work
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mikkis2k:
Wich is best? Official or unofficial .29? ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Please all, when you got a problem, bootloop, error in twrp, unable to do something, please be sure you have followed the guides properly and when you write here you have problem just follow this guidelines for the bugreport:

- Write what rom and version you have actually;

- Write which device you have, gm1910, gm1913, gm1917, gm1915, gm1920, gm1911.

- Write which twrp you are using (Unofficial, Officia and the version);

- If you got an error in the twrp flashing a zip, after got the error make a log using this command : "cat /tmp/recovery.log" or if you are using adb with "adb shell cat /tmp/recovery.log". Copy the output in a text file and send me it.

- Write what are you trying to do;

- Write how you flash the twrp and magisk, just write what you do.

If you don't give me this infos i can't help you.

If something doesn't work, don't just complain, but try to get the problem resolved by giving all the information you have.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djtosh:
hi, the first step says unlock your bootloader. where is the guide to do this on oneplus 7 pro?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] zefunezu:
Hi guys,

so this is my first time with a OP (GM1913) phone, coming from Samsung Galaxy.

I am stuck in a Bootloop after updating to 9.5.7.

I was running 9.5.6 as well as Renovate ICE Rom 1.2 and some Magisk Modules (v4a, vanced, nfs-injector..). Also I have twrp up and running. Substratum was active as well.

I downloaded the full update and let it install. Before rebooting I installed Magisk again (not direct but to inactive slot) and then I let the phone reboot. Then the phone was stuck at the Oneplus bootlogo for quite some time and I became impatient and force rebooted the phone again (rebootet fast as usual now). I flashed twrp (official 3.3.1 -0) again in magisk and after rebooting again I installed magisk once more (direct install) .

Now i noticed that the system was buggy (substratum theme not working correctly in settings). Also i could not check the OS version as the setttings app would crash every time.

After that i rebootet into twrp in order to restore my nandbackup wich was completed. However, now I can't reboot anymore as I am stuck in a bootloop (boots unitl the "unlocked bootloader" warning).

I would appreciate any help. Not sure what to do right now as the process is a bit different to my past Galaxy phones.

Best regards
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lieblingsbesuch:
will the installation process ever become as handy as for the 6/6t models or will this stage of development be normal?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
The modules should be disabled before update the rom, you need to wipe data now
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ZLYWXD:
sir，maybe flash oos rom before format data is Necessary？
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] zefunezu:
Hey, thanks for the reply.

Actually I figured it out without wiping data.

I downloaded and flashed the stock 9.5.7 zip file. Naturally twrp and magisk are broken now.

I installed twrp using fastboot and could then flash magisk through twrp.

Settings were crashing because of Renovate ICE Rom. After uninstalling that module in magisk the crash was gone.

Also I had to reinstall the other modules as they werent having any effect.

No wipe though, thankfully.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] electricl:
Anybody with a patched bootimage for gm1913?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] bassie112:
For other idiots like me who flashed TWRP to boot and have a messed up boot (but working before update and don't want to reset): you can get it out of boot loop by flashing TWRP again to boot using fastboot and then flash Magisk using TWRP. Maybe it helps others because it took me a while to get it out of boot loop.

https://xdaforums.com/showpost.php?p=79684135&postcount=558
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Eric214:
So it looks like you can flash any of the TWRP, official or unofficial in Magisk now? Is this correct? And will this be the case going forward? That would make things very easy and still have the option to flash it in fastboot as well.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nostradomis:
The data structure under /sdcard/ is written not during oos Flash, but instead from a 'firstboot' script during sys init.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djtosh:
Sending 'boot.img' (56624 KB) OKAY [ 1.243s]

Booting FAILED (remote: 'unknown command')

fastboot: error: Command failed

Press any key to continue . . .

Please somebody tell me why this is happening?

I have unlocked my bootloader and get this when i attempt to install twrp, have tried using fastboot, and also via all in one tool. same problem either way
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Update your stock rom, you need of the newer bootloader that support the command
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] enursed:
which fastboot command you are using?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
they probably not updated to new OTA or are using 5G version.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djtosh:
I'm using 5g version, whats the significance of this?

---------- Post added at 08:44 PM ---------- Previous post was at 08:23 PM ----------

I have gm1920 so 9.5.3 is the latest version.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
5g version cant use fastboot boot at the moment they not fixed the fastboot boot command on there yet

so you have to use the other guides on first post to flash this via magisk manager but need root first
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djtosh:
ah ok cheers pal :good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 19blacktiger77:
Happy to hear that! ;)

---------- Post added at 11:16 PM ---------- Previous post was at 11:01 PM ----------

Did you allow System modification in TWRP?

Try to manually mount System before the kernel installation.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
Unlocking your bootloader is the same on all devices with unlockable bootloaders.

fastboot oem unlock

If you have the tmobile version, you need to get an unlock token from oneplus.com/unlock_token

The directions are on that site.

I dont see that anyone replied to your question. If they did, disregard.

But, does nobody look stuff up anymore? It's not like this is top secret information. Google will show results if you search.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jaco2k:
So, I have some findings to report on how to update - it seems that as mentioned, there is no way to avoid bootloops without reinstalling Magisk modules.

Two approaches: uninstall all the Magisk modules first and reboot to make sure they are gone...

...or flash the Magisk uninstaller to regain boot.

- Download OTA full zip

- Flash latest TWRP (I have 3.3.1 29)

- Reboot to recovery

- Flash the OTA (do not reboot!)

- Flash the TWRP installer ZiP in TWRP (this will flash TWRP to both slots)

- Reboot to recovery

- Flash Magisk uninstaller (only if you did not remove the modules before starting)

- Flash Magisk

- Reboot to system

...reinstall all your Magisk modules
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sultan.of.swing:
Not sure why everyone has bootloops, Here is my process.

Unlock bootloader, go through setup and enable usb debugging.

reboot to fastboot and fastboot boot twrp, once in TWRP I flash the TWRP installer

Reboot to OOS just fine. From there I download Magisk and reboot to TWRP and flash Magisk.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] zniper89:
Just go in to settings in magisk manager and activate core mode and reboot, that is what I did and it works
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] boybkol:
Is there a decryption key in the twrp recovery? When i press cancel and go straight to the install menu my internal storage is not showing up, i couldn't find the twrp installer. Any help would be greatly appreciated.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Is the same security code you have in the phone...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] boybkol:
Thank you so much for the quick response.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] dadoc04:
I think its because of certain magisk modules.... Updating has been pretty easy for me but the only module i use is for Google phone
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
New TWRP 3.3.1-30 guacamole:

Added gm1910 Support.

TWRP 3.3.1-30 Unofficial by mauronofrio

TWRP 3.3.1-30 Unofficial Installer by mauronofrio

Please [MENTION=2613111]Phil_Libra[/MENTION] can you test this build?

I need also someone with 5g version test it.

Just report these 2 values, take these when you are in twrp:

adb shell getprop ro.product.model

adb shell getprop ro.product.device
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] dadoc04:
You're awesome!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I will wait for some feedback from 5g and china users before pubblish a new official update
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
Im on 5G but not able to test flashing ROM.

However 2 values are:

adb shell getprop ro.product.model = GM1920

adb shell getprop ro.product.device = OnePlus7ProNR
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] baiosss:
I would like to ask, if I'm rooted with Magisk, without TWRP recovery and want to flash/install the official one, what I have to do so I don't lose root permissions?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Flash installer and then flash magisk again.

Oh yes, perfect, is not needed to flash a stock rom, this is enough. Have you took these props from the twrp or when your phone is on?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
While I was in TWRP
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Phil_Libra:
It works now, thanks for that update:D

adb shell getprop ro.product.model = GM1910
adb shell getprop ro.product.device = OnePlus7Pro
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] baiosss:
After that I'll have twrp permanentely or it needs to install everytime after an OTA?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Perfect, thanks for the feedback, i'm pushing it in the official build.

All time after the OTA you will need to flash again twrp and magisk, the method to do it is in the first post
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kyledowling:
You don't need it as long as the "fastboot boot" command works. Boot TWRP, adb sideload TWRP installer, reboot recovery, then install anything else you want.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jaco2k:
Yes, that worked... Up to the moment I was back up and disabled core mode to regain my modules.

You still have root that way, but you will notice that in core mode the modules are not active.

As soon as I enabled that and rebooted it threw me into the bootloop.

To regain boot I had to flash Magisk uninstaller, flash Magisk again and then when it booted, re-add all my modules.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] electricl:
I'm trying to update to the latest version of oxygen os. I havent installed TWRP. I'm running renovate ice 1.2 with a couple of other mods. It's confusing with so many guides and so many different ways of doing things. I would appreciate a guide if you have the time. Thank you.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] coolvabs:
Thanks so much, ended my one week struggle and saved me a wipe.... Because of this guide I could successfully update to 9.5.7:svetius::good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
So I tried the ota update.. didn't work.. instant revovery bootloop went into stock recovery -> went into fastboot -> flashed twrp -> changed slot from b to a (because I thought a should be fine as I was using that slot until now) -> rebooted to system and now my phone is dead. I had bootloader unlocked screen and now its just black and reacts to nothing I do. I think I ****ed up?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
How did you update ota update?

It was an incremental or a full rom?

Which OnePlus 7 pro you have?

Have you some magisk modules before flash the ota update?

Have you a twrp flashed before ota update?

How did you flashed the twrp through fastboot?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
I updated the ota via oxygen updater

Full rom

OnePlus 7 GM1913 - says the back of my phone ( GM1917 - says my PC when I connect it via usb) but I'm in germany and also bought the eu version so it should be GM1913 guess the pc is just stupid

I had vanced and kirisakura companion but I deactivated them before rebooting for update (maybe should've done that before downloading the update?)

For some reason I couldn't flash twrp via magisk I don't know why tho

i flashed twrp in fastboot with this: fastboot flash boot guacamole-twrp.img

after that I booted in recovery, it decrypted and I changed slots
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Man what the hell are you doing?

First of all we here are in the OnePlus 7 pro thread and you have a OnePlus 7 not pro ( thread here: https://xdaforums.com/oneplus-7/development/recovery-unofficial-twrp-recovery-t3932943)

Why did you flashed the twrp in the boot partition? Where did you see this? Why don't you followed the guide in first post?

What i can reccomend you is now, flash the right twrp, use it to flash again the update, then again twrp and magisk.

If you want to be speedy you can try to flash only magisk in twrp and the rom should boot, but you will not have the stock kernel but the one in the twrp.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
Im using the pro, I edited the post above I made a typo^^

I flashed the twrp in the boot partition because that same command saved my ass when I first got that phone and had a recovery bootloop. I flashed it in the boot partition and twrp booted up afterwards I rebooted into system and everything was fine. So why did I do it? Because it works I don't know why and I dont care if I shouldn't do it because it worked every time I had bootloops.

Edit: phone just booted took it quite a while now just started showing oneplus logo and booted up. Seems like I'm back on slot a and everything is working fine. Just need to figure out how to update without killing my phone lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Good for you, next time it will not work and we will be here point and head
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
It's not like I didn't try other things first (not today but before when I had bootloops when I tried rooting the phone) I've read trough the whole thread and tried everything that worked for other people but it just didn't for me. Same with your instructions on the first post they just don't work for me so I had to try a different way and well it worked and I hope my way keeps working for me because every other way I found didn't. I also don't know why all those ways working for other people aren't working for me since I really followed the instructions step by step.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] zniper89:
You wrote that it didn't work to flash twrp with magisk manager, what file did you try to flash? The. Img or the. Zip?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
The zip, it worked when I just tried it again I have no idea why it did not work before. But I'm still not able to boot into system after updating. I followed the instructions from first post:

After rebooting my phone looped into recovery and wouldn't boot from slot b. I set slot to a again and it booted 9.5.6 again. I really have no idea why this isn't working. I never had trouble rooting and updating my old phones. This is my first phone with a/b and I just don't understand why the instructions won't work for me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] zniper89:
Does twrp remain? Try the magisk uinstall. Zip and flash magisk tru trwp, it is what I had to do
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 19blacktiger77:
Boot with TWRP through fastboot, install the TWRP zip, install the Magisk Uninstaller on both slot, then OTA, then TWRP installer again and then Magisk.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vickyjusme:
I am on 9.5.7 on GM1911. I followed the recommended method in the first post rooted now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] miffymiffy:
I'm on gm1910 and I've been using twrp since release. I notice that it is only now supported. What does that actually mean?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
With the -29 i added a new script for device selection, this script will understand which type of OnePlus 7 Pro you have and then it will select the props, needed to flash a stock rom. In the -29 i thought that the chinese version was the same of the global and some people report me they have problems to flash stock roms, so in the -30 i fixed that.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
After I did that I was once again bootlooping into recovery but decryption wasn't working anymore (I flashed the -30 installer zip) but I was using -30 before too and decryption was working properly. I changed slots to A and the phone booted up normally (without ota obviously) and twrp decrypted as it should) I really don't understand this
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] VeNoM141:
Hi am on latest build 9.5.7 GM21AA...and my model is GM1911 india...can i flash twrp ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
yes you can flash this twrp on all OnePlus 7 Pro Versions
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Flapjack:
I'm having the same problem and am as stumped as you are. I've tried what feels like everything. As soon as I reboot, one boot fail (quick flash of OnePlus logo then boot back to warning screen), then immediately after that, it boots to TWRP, but without encryption.

If I'm flashing from within the ROM, I can get back by switching to the boot slot I was on before the OTA. If I download and flash the OTA from inside TWRP (again with the same no-decryption option TWRP), I have to boot to fastboot, boot to the twrp.img, then restore from backup.

I'm starting to lose my mind here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
i think to avoid people getting into messes the guide should be:

for OTA updates:

Install OTA via OxygenOS but do not reboot

Open magisk manager and install magisk onto inactive slot

Reboot

Install TWRP as normal
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] C3C076:
Just to confirm the above steps worked to root and keep stock recovery.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
Im seriously glad I'm not the only one with that problem. But yeah same I tried everything I found in this thread but just nothing works.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tenchi4U:
I was on 9.5.6 on a GM1917 (international op7p) with TWRP and root. I tried everything suggested here but always ended up in the TWRP bootloop after the full OTA (local update + TWRP & Magisk reinstall before rebooting) and a failed update (when I got out the bootloop).

I ended up backing everything up (Titanium Backup + OTG USB thumb drive + Google backup), doing a COMPLETE factory wipe/clean install, then loading TWRP using fastboot and then Magisk in TWRP.

Was NOT my preferred route, but I'm finally on 9.5.7 (from 9.5.6) with working TWRP and root (latest versions).

We'll see how the next update goes. The weird thing was the update from 9.5.3 to 9.5.6 worked fine using the OP suggested method.