yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mumuli:
With stock recovery. And then your phone is like new, then you never ever flash anything if you dont firts learn what flash do. OK?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
You can do it with stock recovery, to have it back just flash a stock boot.img.

you got wifi problems because the kernel in twrp is from 9.5.3.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] JanTehMan:
Ok, so wipe data and cache -> erase everything?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Internal storage included
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Dabarr:
We know root is working, that still doesn't replace a fully functioning custom recovery. And this threat is about getting there.

I would love to help, but I will have to wait until early June to receive my phone. Thanks for you work!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] explosivequack:
Gotcha that's definitely part of it. I also didn't realize that wiping data and rebooting twrp, without booting into system, causes it to lose decryption. Thank you for bearing with my noobacy. Y'all have been a big help.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gururoop:
This solved my problem. Thanks.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kenbrownstone:
Guys how do u update twrp on 7 pro? Is it still threw twrp itself? Do it with the ramdisk in op...Be first time..Guy above me hate slots too..I'm gonna mess up my phone I'm sure..I went to havoc and wanna go back to stock but afraid too..
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Leicxan:
Flash the twrp installer zip file under Magisk Module option.

Then install Magisk again, choose direct install.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] camoway:
Twrp no long supports aroma installers. IT not just us its everyone.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Kookitza:
The problem with aroma is only on A/B devices
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
How to update twrp if you already have an older version? For example, you're on OOS 9.5.8 and TWRP 3.3.1-30 and want to update to 3.3.1-35.

Here's how:

- download latest TWRP installer zip and latest Magisk

- reboot to your current twrp

Flash TWRP installer zip

- reboot to TWRP

Flash latest Magisk

- reboot system

To return from Havoc to stock OOS 9.5.8:

Background: if you ran Havoc on the OP6 and 6T, you know this song and dance. You're probably aware that any AOSP rom will likely have a more updated security patch than OOS, which only comes out bimonthly and runs one month behind. For example, the current Havoc has a June patch while OOS 9.5.8 uses the May security patch.

The different months potentially matter because the encryption scheme can change for the data partition. (Note there's been months where encryption has not changed, so it's not predictable)

So for example again, once you have installed a June ROM (like Havoc) and booted it, the data partition is encrypted with the June scheme. Reverting to a May ROM (like 9.5.8) poses a problem because the May ROM cannot decrypt the June (into the future) encrypted data partition.

Solution? To go to the previous month's security scheme (if it did change), you have to format the data partition, as in wipe internal storage and lose all your photos, downloads, media, etc.

Which is why you load a USB drive with a backup of your internal storage AND the latest OOS, TWRP installer zip, and Magisk... So when you format internal storage -- and trust me, if you flash routinely between ROMs, you will -- you have the files readily available on hand to install your phone afresh.

I've been doing this for a while now, am pretty damn careful, but with a/b slots, forced encryption, and no SD card, I keep a loaded, updated USB around for my 6T and this phone...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kenbrownstone:
What kind of USB ?/one you can stick in the charging port right? But if I wanted to just use the mstool go back to stock then twrp and magik like before right? Man thanks for telling me this had no clue about the encryption thing.Man add that to the slots that I don't understand and man it can turn into a cluster quick..Might just go back to stock and stay ..With magik ROMs it cool. For some reason I like the feel of stock OOS. First one plus phone for me and I enjoy a lot. Havoc screen on time is sweet.. 8 hrs screen time with 35% left ..Thanks by the way for your time
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] RandomPooka:
A fully loaded USB otg is a beautiful thing to carry, since we don't have an actual micro SD card slot.

Would be cool if they did like the HTC U11, where the dual SIM tray doubled as a SIM/SD tray if you were only running one SIM. That's the ONLY thing that would be cool to copy from that device, though..
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
After you flash the twrp installer you don't need to reboot your device in recovery mode again, just flash magisk

No, the problem with aroma is for all newer devices with smd845+.

I want to remember to all that in the first post i added a guide to update the rom, that guide is the safer one you can use:

Before all Disable all magisk modules for boths methods

- Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;

- Flash Rom;

- Flash TWRP Installer;

- Flash magisk;

- Reboot.

If you get some booloop problems this can be related to magisk modules, so flash the stock boot.img and check if the rom starts, if yes it's a problem with magisk modules and to have twrp and magisk flashed you need to wipe your data.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Yeah, pretty much any on-the-go USB-C drive will work. I use one with dual access (USB-C on one side, regular USB-A on the other) for easy connection to my pc.

Note that [MENTION=4712355]mauronofrio[/MENTION] has indicated that after flashing the TWRP installer zip, you don't need a reboot to recovery before flashing Magisk. The exclusion of this reboot, which is welcome and convenient, was once (almost universally) recommended in the sequence of flashing roms in the OP6 and OP6T.

(Leading me to wonder what if anything changed? Something in the installer script? )
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] yodainascoda:
For me its a no brainer instead of all these methods i found the easiest is to have all in one tool on your pc that thing can do it all its saved me a few times its up there with supersu imho a genius piece of work and the dev is most helpful iv known most dont give you time of day but this guy helped me by pm and was patient cheers pal
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] explosivequack:
Got a link for the usb? I've got a USB c to otg that came with my s9+ but my thumb drive is absolute garbage, interested in seeing how affordable/efficient it would be to have a backup of my sd card on a usb.

How large is your usb? What's the transfer rate like? My pc is really slow to copy files to and from over usb, be it my phone or my bad thumb drive.

I've been using Syncthing and so far that's been really convenient, it's like 6 hours faster backing up my whole sd card then it is plugging my phone to pc, but if USB otg is quick to more backups won't hurt.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
I have two:

Samsung Duo Plus 256GB - 300MB/s USB 3.1 Flash Drive (MUF-256DB/AM) https://www.amazon.com/dp/B07DW33DNN/ref=cm_sw_r_cp_apa_i_ACJeDb8XAG3PX

SanDisk Ultra 128GB Dual Drive USB Type-C (SDDDC2-128G-G46) https://www.amazon.com/dp/B01EZ0X55C/ref=cm_sw_r_cp_apa_i_FBJeDbDNJHJQY

The former is faster, the latter fits better in my pocket and is one piece. Pick your poison.

Either way, I'm running without forced encryption currently, which was convenient in the OP6 (but unusable in the 6T) to circumvent the monthly encryption debacle. 7Pro seems more like the 6 in that you can still set lockscreen security and remain decrypted, but we'll see when more ROMs arrive.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] DeathNebula:
When I try to do a backup of all the options i get "createTarFork() process ended with ERROR: 255" "Backup failed. Cleaning Backup Folder.". I tried a second time after a reboot to recovery but the same. It does this when backing up the Data (excl. storage). Can someone help me out?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nostradomis:
If you use an unencrypted internal storage or no Force encryption, can you make it backups and switch restoring between from Havoc stock? Have you tried?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kenbrownstone:
Crap I bought one to put a SD card in like a idiot ..Didnt know they had those..Sorry guys I don't get out much..Thumb drive to me is a thing you stick in your computer.. WADA...Will it still work?

https://www.amazon.com/gp/aw/d/B071CJM71V?ref=ppx_pt2_mob_b_prod_image

---------- Post added at 03:19 AM ---------- Previous post was at 03:17 AM ----------

https://www.amazon.com/gp/aw/d/B071CJM71V?ref=ppx_pt2_mob_b_prod_image

Will that work
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] StykerB:
Is it possible to restore a backup of stock rom on a Oneplus device? I've never been able to successfully do it I had a backup of systemimage vendorimage boot and data of OOS 9.5.8. After flashing havoc OS beta and clearing /data I wanted to go back to OOS but restoring my backup just gave me a recovery bootloop? Is there some hidden rule about Oneplus devices that I don't know? Using US unlocked 7 pro and -35 twrp btw. And the only way I ever fix it is to erase /data, what is special about Oneplus that something in /data forces the phone to recovery loop?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
You're going to have to flash the factory image and reformat everything. I use that fastboot one that's posted on here. Unless somebody knows a way I don't but I tried and tried only way out of it was factory reset
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Unfortunately, it is quite possible that you are living what I talked about 2 pages ago in this thread:

To return from Havoc to stock OOS 9.5.8:

Background: if you ran Havoc on the OP6 and 6T, you know this song and dance. You're probably aware that any AOSP rom will likely have a more updated security patch than OOS, which only comes out bimonthly and runs one month behind. For example, the current Havoc has a June patch while OOS 9.5.8 uses the May security patch.

The different months potentially matter because the encryption scheme can change for the data partition. (Note there's been months where encryption has not changed, so it's not predictable)

So for example again, once you have installed a June ROM (like Havoc) and booted it, the data partition is encrypted with the June scheme. Reverting to a May ROM (like 9.5.8) poses a problem because the May ROM cannot decrypt the June (into the future) encrypted data partition and will bootloop.

That's why formatting internal storage solves the problem and allows you to boot. It's not just a clean flash that's required, it's a scorched earth flash.

To sum up: Unless the encryption scheme doesn't change, you can't go backwards without scorching the earth -- flashing a ROM with a previous month's security patch (or restoring a backup) will require a format of internal storage...

I miss having an external SD.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] StykerB:
Well I kinda figured it out. I tried reinstalling the fastboot rom without -w so it didn't wipe everything. That didn't work. I then wiped /data and it booted. I then booted into twrp and restored only /data from my backup and it booted so not sure why that works but it does.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
That's lucky. I tried using that fastboot with the -w in it and it still wouldn't boot I had to do a factory reset from the stock recovery and then it finally booted
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] StykerB:
OOOh that makes sense. Doing things on a pixel previously meant I was never going backwards in patch level so I'm glad I backed up all my stuff then :P.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Andsie:
Hi,

first of all: very nice work!

A little question for upgrading:

I flash New versions per Magisk Manager and afterwards because of the unrooted hint then I reinstall Magisk again over Manager regulary.

Since I do not use Any Magisk modules: is this way safe and hasslefree?

Regards

André
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Theoretically, yes.

But to be perfectly honest, it's a little awkward to handle and you risk the small sd card slipping out and getting lost... which would be my inevitable fate, klutz that I am. :silly:

So I'd seriously consider getting the sandisk otg that I linked you. It's slower than the Samsung, but it's one piece (the Samsung is 3 pieces) and that matters when you're on the road. Just my two cents.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Piefke_Paul:
Hi, is it possible to update twrp by just flashing the update und installer?

Or did i need to push it over adb again?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
Just flash the new version from twrp itself :good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
Yeah, or just flash the installer in Magisk as a module and install Magisk again right after that (use direct install in the drop down menu). This way you don't have to boot into twrp only for installing a new version.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
What would be the easiest way to flash TWRP for me? I am running OOS 9.5.8 and I have Magisk and Xposed installed on my phone. Please give me a step-by-step guide as I am new to this.

Also do I need to wipe anything in order to install TWRP? Will I lose data?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
installing TWRP erases Magisk?

Also direct install that you are mentioning, should I direct install TWRP or Magisk?

Will I lose data by doing the mentioned installations?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
Yes, flashing twrp = root no more.

Direct install magisk from within the magisk manager, yes.

And no data loss :good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
A few more questions, and I won't bug you again (hopefully) :p:p

Which TWRP should I use since there are a bunch posted on the download section? Maybe this one: twrp-3.3.1-35-guacamole-unified-installer.zip ??

Also will my magisk and xposed modules be there after I reinstall magisk?

Magisk manager app should be there right?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
Twrp xxx-35 indeed is fine!

Modules will be there. Don't know if they're still enabled. Prior to messing around with almost anything it's better to disable all modules temporarily anyway :good:

Yes the manager app will be there :cool:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
I disabled everything, flashed twrp but now I'm stuck in a bootloop....

I can get into twrp though.

Anyway I can solve this?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
And magisk as well?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
i just tuned every module off within magisk and xposed ... rebooted , went into magisk and flashed the twrp zip file...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
Why no magisk? :rolleyes:

If all else fails reflash original boot.img to be able to boot again I think (will lose magisk and twrp again, of course).
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
How was I supposed to disable magisk? Also can I flash magisk uninstaller and then I should be able to boot ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
From within magisk manager you were supposed to:

* install the twrp module (this will remove root)

Don't reboot, immediately after, also from magisk manager:

* install magisk again (direct install method), then reboot.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
oh man, I didn't do that.... I rebooted after flashing TWRP.... Can I just flash magisk from TWRP? Isn't that the same?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
That should indeed be the same, yes.

If all fails, be sure to use the right boot.img if you decide to flash stock boot again :good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
All solved my man. All I had to do was adb sideload magisk 19.3 zip file.

The phone booted and I am rooted and also have TWRP now.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pfeffernuss:
Great! You had me worried there :cool:

Time to tinker some more now! :good:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Piefke_Paul:
Thanks ❤️
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Piefke_Paul:
Hi, I installed twrp and rooted with magisk (stock rom and kernel) is ist possible to lock bootloader again to remove this anoying boot warning and still got magisk running.

Is this some how possible ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
If lock the bootloader you can't have root and twrp
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
This might have been mentioned but why is TWRP not executing any commands?

For example i wanted to wipe ART cache and it gives me a mount/data error. If i need to access some internal file, it won't let me do it. As soon as I boot to recovery it asks me for the password to decrypt.

Anyway I can fix this?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Piefke_Paul:
Ok ok just thought there where a possibility

Thx ❤️
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] fapste:
I've been away from modding life for a while now. I want to get back in. I've a few questions:

1. If I install Twrp, how can I still make sure that no one can take data off of my phone if it ends up in wrong hands?

2. If I install Twrp and lock the bootloader, will I still be able to flash stuff via TWRP?

3. Will I still be able to get & install OTA updates?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
1. Unless you disable forced encryption, TWRP asks you for your pin/password when you boot into it. If you cannot provide that, TWRP has no way to decrypt the data partition (internal storage). So all someone else can can do if they boot into TWRP without your pin/password is wipe your data, not access it.

2. You cannot lock the bootloader unless everything is STOCK. Trying to lock the bootloader with TWRP installed will brick the device... In fact, when I sold my OP6, I was very hesitant to even try locking the bootloader because my reading into that endeavor yielded well-respected devs saying that relocking the bootloader was the easiest way to ensure permanently brickage.

3. Absolutely. There's a set sequence of steps for OTA updates with TWRP and Magisk. My recommendation is to dive in, get your hands dirty and manually perform OOS updates. Full control!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kenbrownstone:
Hey bro, remember what u told me yesterday on havoc ROM? Can I just flash latest OOS ota zip and twrp installer and then reboot recovery and wipe data and be good?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
I think what you're referring to is my explanation of potentially why you just can't flash 9.5.8 back on Havoc. Only it was on this thread, not Havoc's, and I was addressing [MENTION=6337240]StykerB[/MENTION]'s situation.

No worries! If the encryption scheme changed from May's security patch (OOS 9.5.8) to June's security patch (Havoc), then you MUST format internal storage to go backwards (from the June ROM of Havoc to the May ROM of OOS 9.5.8). You can't expect the May ROM to decrypt the data partition (internal storage) of an encryption scheme it's never encountered from the future (June). As you know, formatting internal storage will wipe photos, downloads, etc.

Since you will be formatting the internal storage of the device, where will you be flashing from? -- the files on your device will be gonzo. That's where the USB drive comes in! You can load the 3 files (full OOS 9.5.8 zip, twrp installer zip, and Magisk) to your USB drive, mount the external USB in TWRP, and flash everything from there.

So operationally, it looks like this:

Backup whatever you want to keep from internal storage to your USB drive.

Download the 3 files onto your USB drive

Reboot to TWRP

Mount external drive (USB)

TWRP factory reset (it will wipe cache and data)

Format internal storage (type "yes")

Flash OOS 9.5.8 and TWRP installer from USB

Reboot to TWRP

Flash OOS 9.5.8 and TWRP installer from USB again (to update both slots a/b)

Reboot to TWRP

Flash Magisk from USB

Reboot to system.

Good luck
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Mr.Crucial:
So as per this magisk is only flashed on one slot, that means second slot will not boot?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] fapste:
Thanks for the detailed insights. What if someone removes twrp & flashes another recovery. Will they be able to access data?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nanodan:
No. Your data is encrypted. Installing a different recovery is not going to unencrypt it. It will still need the password to decrypt data, otherwise all your files are inaccessible and you can only wipe.

There is nothing anyone can do to get your files if they don't know your password (short of stealing it off your hands while you have it unlocked, and then preventing it from relocking until they access your stuff).
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
I just installed TWRP for OP 7 pro and even though I enter the correct password I still can not see internal storage and I am not able to run any commands from TWRP, I can only flash stuff using adb sideload. Is there any way to fix it? I was using samsung s7 and I was able to wipe data/ART cache and all that but I can't do that with the current TWRP on OP 7 pro...
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Which twrp are you using?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
the one posted here. TWRP 3.3.1-35 Unified Unofficial Installer
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
On which rom?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
the stock one. Running OOS 9.5.8 intl. version
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
How did you flash the twrp?

P.s. in the first is written how to report a problem, actually i'm asking you something you should write all times you report a problem.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
these are the errors I get:

unable to mount storage

Failed to mount "/data" (Device or resource busy)

FULL Selinux support is present

Unable to mount /data/media/TWRP/.twrps

Failed to mount "/data" (Device or resource busy)

Unable to mount storage
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
answer to my questions please
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] jamesfitzes:
I flashed it from magisk. TWRP got installed because I can get there, I type my password to decrypt, but everytime I can't get in the internal storage, I don't even see it listed on TWRP and I always get those errors I mentioned whenever I want to wipe data or cache.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Strange problem, i can tell you to flash again twrp installer e magisk and check again. Are you able to start the system?