yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Encryption has been wonky since I returned to OnePlus on an OP6 (on the Samsung 7 and 8 everything custom was decrypted). It got so bad on the subsequent 6T that I was carrying around a USB drive with backups of my media, the latest OTA, twrp, and Magisk to support formatting internal storage almost every other day. Which is why I posted a recommendation for running permanently decrypted on the 7Pro early on this thread. Another user said decryption simply muddied the waters for others, so whatever. I won't describe how to decrypt here.

If I were you, I would BACK UP whatever you want to preserve from internal storage on a USB drive, and load that drive with the latest ota, twrp installer zip, and Magisk.

Then I would scorch earth wipe your 7Pro (the following will make you lose any photos downloads , etc) :

Boot into TWRP

- Flash full OTA

- Flash TWRP installer zip

Reboot into TWRP

- Flash full OTA

- Flash TWRP installer zip

Reboot into TWRP

- Flash Magisk

- Wipe your internal drive (you have to type "yes")

- Factory reset wipe

Reboot system

After initial setup, you MIGHT need to reboot into TWRP once more to flash Magisk again for root.

Good luck!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
Well yeah.. thats a way but it shouldn't be necessary to wipe everything just to get an update done. I mean I'm super glad I have this A/B Slot stuff now and it's great since the update isn't working for me and I don't need to be scared since I can always go back to my old slot, but it f*cking sucks that nothing is working and not knowing why is the worst part since the ways instructed here seem to work for almost everyone.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tenchi4U:
After the shenanigans I endured during that last update, I'm really considering going unencrypted.

Is it possible to do without doing a factory wipe/reset? I just did one to get 9.5.7 working and finally got my phone back to where I want it.

---------- Post added at 08:59 PM ---------- Previous post was at 08:55 PM ----------

I completely feel you. Like I said, NOT my preferred route, but I wasted solid day doing upteen permutations of suggested update methods, all resulting in failure.

For me it's one of those, "do I spend 4 hours trying different things without guaranteed success or 2 hours backing up/factory wiping/recovering with guaranteed success".

If it's any consolation, none of the methods here worked for me either.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] WillyRy:
Like an idiot, after installing 9.5.7 GM21AA ota I enabled call recording mod via magisk rather than re-install call recording mod and got myself into a bootloop :laugh::laugh:

Figured I'd finally take the plunge and install TWRP so I could delete the module in /data/adb/modules.

Flawless install of 3.3.1-30 via recommended method in OP, works great!

Thanks
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
No, not only a factory reset but additionally a format of internal storage is REQUIRED to disable forced encryption.

Essentially, you do exactly what I just posted for the other user as a "scorched earth wipe" but adding the flashing of the no_verity disabler zip (and Magisk again) before the very last step of reboot to system.

Oops, I just said how to disable forced encryption again...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
can also confirm issue where if you input wrong pattern it restarts TWRP and you cannot decrypt.

have to re-start recovery and enter correct pin again to get it back to normal
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Flapjack:
Lol @ "scorched earth". There has to be a better way. I only had this problem once with my OP6, and I just assumed it had to do with running the ElementalX kernel. I don't remember what I had to do to fix it, but it certainly wasn't a "scorched earth" wipe (though I'm sure that will work).

Maybe I'll just stay on 9.5.3 for a bit, hoping someone stumbles upon a fix. I suspect it has something to do with how the earliest version of TWRP didn't support decryption. I can't remember the exact steps, but I had to get TWRP on using a patch boot image and a sideload of Magisk. I couldn't do nandroid backups until I updated TWRP. I wonder if updating TWRP from .2 to .3 had something to do with it?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 19blacktiger77:
As other people said, a clean installation of the OS, and wiping all the data could be the only solution... :(
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
Model 1917 on 9.5.7

I got in a bind today and had to restore a backup. Worked great, im on latest official twrp
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] B3311:
Which partitions did you restore?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
Boot, data,vendor image, system image

I did the default factory reset in TWRP before I did it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] B3311:
Thanks for the info. Reassuring to know it works. Can't quite believe I haven't needed it yet, but that day will come...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
Did you have a screen lock password/pin/pattern on your backup or no? As far as I know, it doesn't work if you do. But, it would be awesome if it turns out that you can.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
I had a fingerprint setup and a pattern. No problem whatsoever
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nhas81:
good afternoon friend . when will it support to install via USB OTG in twrp? thanks for your job
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] buschris:
the GM1917 is International version? Maybe why I can't it working in the U.S. ! damn
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vineetreshmi:
stuck in fastboot

My oneplus 7 pro india variant is stuck in fastboot. I cannot boot into recovey. I tried flashing the the twrp image via fastboot but still after selecting to boot into recovery it boots into fastboot. Can anyone help me out to get my device back to stock , so that i can re root it again. i do not what i did but i tried to remove one of the magisk module and this happened.

any help much appreciated.

thanks in advance
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
Msmtool

---------- Post added at 04:52 PM ---------- Previous post was at 04:51 PM ----------

That's excellent news. I was going to disable my fingerprint and pattern before making a backup, but I might try it without. Maybe make one each way, just in case.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Thanks, i missed the message
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vukis:
Thanks! All good now. Flashed img provided in this thread and it was working. Then ran install zip (also from this thread) and only after that remembered to change slot back to previous. Changed, restarted and.. All good! Thanks! Downloaded magisk installer and now I am also rooted and can start using my phone :)

Interesting thing, that power on+volume down now boots into recovery instead of bootloader. But that's minor thing for me :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jaco2k:
Can you clarify that that would mean, for instance, in a future update needing to wipe the data partition?

What exactly is affected by not being able to decrypt? Only the data partition?

Will decrypt be possible (like for OP6...) after more information and testing is done or is there anything major blocking it?

Does decrypting afect backing up?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Just give it a little time and decryption should come available. We are in the first days so having a semi working build on Day 1 is fantastic progress.

In time as more developers get the device in hand, the sources were released yesterday (or was it today) then it will come together and we will get a fully working version of TWRP. Several in fact as BluSpark is on the developer seed program and he makes his own version of TWRP too.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Decryption will allow you to see your internal storage, if the twrp is not supporting that you will not be able to see internal storage, when the twrp will support decryption you will see internal storage. It's something more difficult of op6
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
Gotcha, thanks for the info and the hard work. Hopefully in the future TWRP will be fully compatible, it's a nice tool to have.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Burt Squirtz:
I don't know what I'm doing wrong, but my PC simply will not recognize my op7 pro in fastboot mode. I downloaded the platform tools, and even Android studio. whatever I do, my device isn't being recognized in fastboot mode, and I can't unlock the bootloader. I do not have the T-Mobile variant so it can't be that. could someone explain to me how to properly update the fastboot binaries? Do I have to click on an exe file?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] WillyRy:
Real stupid question on my part, but did you allow USB Debugging under Developer Options in settings?

(Kinda like asking, "lost your keys? Did you check your pockets?)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Burt Squirtz:
yes of course bro. And I enabled OEM unlocking as well. That's why I don't understand why I'm having this trouble.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HolyAngel:
Check device manager. chances are you need to manually update the driver and choose Android device/adb driver or just point it to where you downloaded them.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Burt Squirtz:
In device manager, the device shows up fine. It says GM1917. The only thing I could possibly think of is I need device specific usb drivers? I can't find any specific OnePlus 7 device drivers. I found a few links, but they just linked to Qualcomm or general USB drivers.

I've never encountered anything so frustrating as this. When I first got my op6, I was able to have the system recognize that almost instantly.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xlxcrossing:
I have flashed twrp successfully, however I cannot install magisk and am getting this message when sideloading latest magisk

! Unable to mount partitions

- Unmounting partitions

Updater process ended with ERROR: 1

how can I install magisk?

EDIT : nvm I flashed the patched boot and all is well!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] TikiThePug:
Wait so the device shows up there, but neither ADB or Fastboot through the command prompt can see the phone? Does it show up in This PC.. as in can you transfer files to it? Maybe you need to try another USB port or another cable?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Burt Squirtz:
when I open a command prompt, it shows up as adbb device just fine. The all-in-one tool recognizes it when I'm booted into the OS. The moment I put it in fastboot mode, nothing can see it

And yes, I can transfer files to it just fine. I can get into the device just fine when it's booted into the OS. Fastboot seems to be ****ed.

LMAO oh my God. I figured out the problem. I'm such a dumbass.

I was using a third-party cable. I didn't use the cable that was provided with the op7 pro. As soon as I used that cable it worked instantly!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sabrdawg:
Question...I know that as of now, TWRP doesn't support decryption...BUT...if we were to format data, and THEN move files to our internal storage, would we then be able to see and flash them? I know I've had to do this on the 6T a few times.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vukis:
I am not 100%, but when using TWRP without decrypt suppot on onePlus 6t all nandroid backups of data was useless. It saw internal, but folders and filenames where distorted.

1. So TWRP nandroid backup is useless (with patern / pin lock)?

2. Would disable pattern / pin lock and then do backups (restore) work?

3. Any easy way to quickly pair fingerprints after enabling pattern lock again?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] liver20:
9.5.4 stock boot

Enviado desde mi GM1913 mediante Tapatalk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mibuix0r:
So without decrypt we can't make backups, right?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vukis:
As far as I understand we can, but we would have troubles restoring them. Or just remove pin / pattern look. Pls correct me if I am wrong :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mibuix0r:
I got TWRP working but it has a bunch of partition read errors and cant read anything on internal storage heh. Sure it will be fixed eventually.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
So I am on 9.5.7 with working twrp and magisk since wifi and sound weren't working again I additionally flashed kirisakura again and now everything is fine. I still have no idea what I did and how this even worked. I first used the instructions on this thread :

The instructions have a few more points but I didn't get to do them since I couldn't boot into system. Since I was on slot b and I backed up all my data beforehand I just thought what the hell and tried out a few things:

1. rebooting into twrp

2. flashed ota again

3. flashed twrp and magisk

4. reboot -> ended in recovery bootloop but for some reason no twrp but stock recovery

5. went into fastboot

6. fastboot flash boot guacamole twrp.img (I was told I shouldn't do this but I still don't know why and it's working for me)

6.5. I noticed I flashed this on A and not on B and thought I ****ed up (working 9.5.6 was on A)

7. rebooted into system

8. System booted and I was on 9.5.7 with twrp and magisk on slot A (If anyone can tell my why I would really appreciate it)

9. Wifi and Sound weren't working so I went back into twrp and flashed custom kernel

10. Booted back into system and everything is fine.

I wouldn't advise anyone to try this since I don't know why exactly it worked the way it did and I can't confirm that it won't screw up your phone when you try this since I was already told I shouldnt use the command in 6. But maybe this helps someone with more experience to maybe find out why this worked or what went wrong before.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
Just flash the stock boot img. You will be good to go

Same thing happened to me the other day
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
sometimes after flashing a kernel zip I get error mounting /system resource busy

does not happen all the time but often enough
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I know this, but i'm not understanding what cause this
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] A. User:
I am planning to root mine over the weekend and would just like to clarify the procedure. In the new post over on the main page it says:

Step 3 – Boot TWRP

You’ll now be booted into TWRP, where you should flash the TWRP installer zip file. Boot into OxygenOS now.

Step 4 – Flash Magisk

Once you’re booted into OxygenOS, reboot back into recovery again and flash Magisk.

But in the OP it says:

5. If you will flash the installer and you are stock you need also to flash magisk or your phone will not boot again.

Also in the video Max flashes the original boot image to both slots (before flashing the TWRP installer) from within the fastbooted TWRP image.

I've searched, but it seems to me that the instructions have changed with the TWRP and OOS versions over time and I just want to make sure I am doing it right. Is the latest guide (Install guide [Recommended]) the right one for the latest TWRP and OOS version?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Disregard that part of the main page.

What's worked for me is after you flash the TWRP installer zip, you reboot into TWRP then flash Magisk. Then boot into OOS.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] BossNexusS:
Which twrp version did you use from the main post?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
I'd get my twrp from the initial post of this thread.

Frankly, when I unlocked the bootloader and installed the latest OTA at the time (9.5.4), the only twrp installer available was -02, which worked perfectly well as I'm decrypted.

But since then, I've flashed 9.5.6 and 9.5.7 with the latest twrp installer zip available (-14 and - 25) at the time. I have no doubts that -30 is also fine, as I have every confidence in [MENTION=4712355]mauronofrio[/MENTION].
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ofermerli:
Do you always have to do a factory reset? I tried restoring those partitions without a factory reset and I ended up in a bootloop. I'm using the latest official TWRP.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
I always do in TWRP don't do it from your phone or you will re reformat everything
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ofermerli:
Thanks, I'm going to give it a try.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
I used to wipe system but I don't think you need to I've restored two of them so far with no problems
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ofermerli:
I was able to successfully restore from my backup after doing a factory reset. Thanks!!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
[MENTION=4712355]mauronofrio[/MENTION] You might remember me from your TWRP thread for the 6T. I moved to the 7 Pro recently and wanted to know if we have to backup system and vendor IMAGES for this device like the 6T, or if normal system and vendor backups are working. Thanks man!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
Like the op says use the images of system and vendor.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
I was put off by the large red text that says "seems all is working" underneath it, where the 6T thread states "has some issues" in that spot. Thanks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
All is working like on the oneplus 6t, but people sometimes don't know how to make a backup and how to restore it, i hope noone will have problems at this time
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
Thank you! I appreciate your work man! [emoji106]
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nhas81:
missing by adding USB support
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mlock420:
Man I've tried restoring on OnePlus 6t when I had it and it just turned into a **** show.. hopefully here doesn't...so I've read the 255 error thread only 7 pages ...but here in this thread has anyone successfully restored with no extra step besides flashing magisk again?

Twrp from my note 3 days was so easy lol I use to back up roms and restore another just to show off
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
USB storage works just fine here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nhas81:
can you install via USB in twrp? I can not not read it. does not change to the option
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
Yes didn't even have to mount USB Storage. File manager to usbstorage all the files are there
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Heisenberg420:
I did observe the 255 error after restoring a system (non image) backup, however I also did not read the part in the OP that says

When trying to restore system and vendor (non image) I got the 255 error and couldn't boot into system or twrp. It also wouldn't let me fastboot boot twrp. I solved this by fastboot flashing a stock boot image to the inactive slot, and then changing slots. Then reroot and install twrp, then use system update to flash the latest oos to the corrupt slot.

In case it helps anyone.

Afterwards I did test restoring a backup of system and vendor IMAGE and it restored successfully and booted right up.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Aphex13:
I have a quick question. Is it necessary to remove lock screen verification when making a backup of this device? It's not really a big deal, it just takes a while to set everything up again after I make a backup. Thanks for your help.

Also, does anyone know of any working themes for 3.3.1-3?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
Not necessary, however recommended. In case the password somehow fails to be recognized, you remove all security to eliminate any fails to restore. It takes awhile to re-register your fingerprints, face-unlock and pins? Lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
I never removed pins and finger prints before backing up and I never had an issue with restoring.

A working and cool looking skin you can find here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Aphex13:
I guess I could have stated that differently. It doesn't really take that long. It's just an extra step, and I wasn't sure if it was necessary. Thanks for your reply.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
I know I've got some 4 or 5 apps that require reauthentication when the screen lock changes. They don't require immediate attention, just whenever I next open them. It's a minor inconvenience to me, but I don't have any problem with apps wanting to double check security.

I'm sure there are other apps out there that are more of a pain to deal with, though.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] knives of ice:
ok so yesterday i'd changed some things on my phone and wasn't happy. thought the best thing would be to flash a backup to get me back to when everything was good.

when i flashed the backup it ended in error 255. knowing that the backup wouldn't load, i tried to boot back into system. it just went right into bootloader. i couldn't boot back into twrp. not knowing what to do i just flashed back to stock and started over.

i've never had a phone where i couldn't get back into twrp. is there some different button pressing to get into twrp? on the bootloader screen if i selected to go into recovery it wouldn't go either. not sure what i should have done.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daringsmart:
Yeah even I have the same concern.

Someone pls correct me if I'm wrong.

Unlock bootloader

Flash twrp

Boot into recovery flash twrp installer

Magisk

Reboot system.

Will it be okay?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] more_than_hater:
Booting latest .30 img -

FAILED (remote: 'unknown command')

latest adb/fastboot r29 from google.

the answer - boot itself doesn't support boot option so you have to update it, for example, flash latest update of OOS or H2OS
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jack_Sparrow_:
I was on 9.5.7, I flashed .IMG in fastboot mode with abd command, I flashed .zip in twrp to maintain twrp persistent, I rebooted twrp and then I flashed magisk zip and short after a custom kernel, rebooted system and it worked like a charm.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] trax69:
I'm charging my OnePlus 7 Pro powered off, so I stick in the boot warning splash screen.

Can it depend on having Magisk installed with TWRP?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] daringsmart:
U mean the twrp.img file right?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Jack_Sparrow_:
Yes
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 19blacktiger77:
You should have booted the image and then flash the zip for installation.

If you flash the .img, you also flash the kernel inside the TWRP image, witch it could be not "right" for your system. ( ex. 9.5.7 OS could not boot with 9.5.5 kernel)