yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
This is not true, i setted an higher security patch so for what you are saying all people here should have this problem, because all roms and kernel has not that security patch and they for sure have an older security patch

For the others, yes seems you can't use the twrp to flash a stock rom, need a bit to fix this
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
So does the other TWRP from the china devs have same issue where you cant flash stock OTAs?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I don't know this
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Stefan McSleaze:
To be clear....This new TWRP decryped can only read now data partition, you stay encrypted as long as you decrypt data patition and format it too????

(..and always use noverity patch..)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
But we still can flash full ota via stock system updater and magisk afterwards, right? So that's a good workaround until it's fixed.

Also, new custom kernels or current stock kernels shouldn't be an issue, right?

---------- Post added at 11:54 AM ---------- Previous post was at 11:53 AM ----------

Yes.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
So actually there is not a perfectly working fastboot command to flash a twrp, you can flash it in the boot partition but you can get a lot of problems

this is because you flashed the .img, the guide in the first post say something different on how to flash the twrp

Yes, the twrp now is able to decrypt and read /data, but if you want to keep it decrypted you should format data and flash no force encryption zip and the related fixes

Yes you can always use local update from phone settings and then be sure to flash twrp installer and magisk again with magisk manager

Thanks to [MENTION=7188028]jeffsga88[/MENTION] 's log i was able to understand and try to fix the problem, try to flash the stock rom with this new twrp:

TWRP 3.3.1-16 guacamole:

Trying to fix flash of stock roms.

TWRP 3.3.1-16 Unofficial by mauronofrio

TWRP 3.3.1-16 Unofficial Installer by mauronofrio

If you have the old twrp just flash installer and optionally magisk
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Marco589:
[MENTION=4712355]mauronofrio[/MENTION] I'm running the china TWRP, if I'd like to install your one, would have been enough open my TWRP and install your TWRP installer? then reboot the twrp?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
yes and magisk if you already have it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
asked this elsewhere but maybe you know but is there a way to extract boot.img from my phone and patch for magisk without root?

as the current patched boot imgs are for non 5g phone and I will get my 5g phone today.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] pratzyushd:
Oxygen Updater downloads the zip for you, so you can flash it in TWRP if you need to, or do the local upgrade method (up to you which you prefer). It effectively gives you access to the update zip before they roll it out to you, but it's perfectly safe
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rfgamaral:
I thought Oxygen Updater also performed the update itself automatically (through local upgrade), that's why I asked.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] pratzyushd:
It requires you to do the local upgrade through the system update settings page, or you can use TWRP because it downloads the zip file. Gives you options
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rdeets:
Does anyone have a mirror for twrp-3.3.1-70-guacamole-unified-installer-mauronofrio.zip? AFH doesn't have any mirrors.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Why the -70?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rdeets:
For Anxious 7 Pro & Companion
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rfgamaral:
Hey [MENTION=4712355]mauronofrio[/MENTION], can you please clarify (or anyone) what exactly happens during the following step?

This will install some sort of Magisk Module, right? What does it do?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I don't know of what you are talking about, explain better please
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pvt WhoOkid:
Did you just quote that part from the how to update the stock rom? Because the intention of that portion is for you to keep trwp once a system update is done. Call it a retention of recovery.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rfgamaral:
I'm talking about one of the steps in the "HOW TO UPDATE a ROM and KEEP TWRP and ROOT" posted in the first topic:

Yes, I'm just trying to understand exactly what is happening behind the scenes.

So, if I understood everything correctly:

Menu/modules/+ button/select the twrp installer.zip and flash it;

This will flash a Magisk Module so that when I reboot (in the 6th step) it keeps TWRP installed. After rebooting, this module will no longer be visible in Magisk Manager.

Always in Magisk Manager, click on Install/Install/Direct Install;

This will flash the current Magisk version to the active slot.

Again in Magisk Manager, click on Install/Install/Inactive Slot;

And this will flash the current Magisk version to the inactive slot.

These 3 steps are what will guarantee a seamless ROM update, making sure TWRP and Magisk are still installed and functioning after the upgrade.

Did I got everything right?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] scrin378:
Yes, except twrp installer zip is not a magisk module by itself, its only flash like module
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rfgamaral:
Thank you for clarifying everything everyone!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Sk1t:
Not sure if it's an issue on my end but when I go to the inactive slot (A from B) I don't get a prompt to decrypt my phone. This also prevents most functionality of TWRP so is a bit of a pain.

Also would it be possible to have TWRP backup all the other "hidden" partitions, currently it only has the main ones.

Thanks for the great work! :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vegetaleb:
About the DM verity thingy, if I do a full twrp backup before decrypting, can I restore after I decrypt?

And howto use OTG? I plugged my OTG SD card reader and tried to enable USB storage mount but it's not working
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] H4X0R46:
Any reason restoring this backup took so long? ? First time that's ever happened, usually backups, even this large, take about 300 - 500 seconds, but this happened. I'll post a screenshot and some logs. [MENTION=4712355]mauronofrio[/MENTION]

EDIT: recovery log was too big to upload directly, here it is.

https://www.sendspace.com/file/b3t1k9
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Pvt WhoOkid:
In short no. There's more detail on that on that thread I believe.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
How to perform USB-based nandroid backups and restores?

I asked a similar question here, but didn't get an answer.

I have never been able to get USB-based backup and restore to work in this version of TWRP. Either the backup itself fails, or else in the minority of cases where the backup makes it to completion, a nandroid restore of the backup doesn't work.

Is there special hardware that's needed? A special cable? Does the USB card need to be formatted only in a certain, specific way? Are there other steps needed in TWRP that must be performed before starting the actual nandroid backup or restore? Or ... ???

Can anyone point us to step-by-step instructions for doing nandroid backups to a USB device in this version of TWRP, and for restoring from these same USB-based nandroid backups?

Thank you in advance.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vegetaleb:
I returned my 7 pro from the land of the bricks with MSM, updated to the exact same version of OOS as I had before, oem unlocked, booted twrp and installed it, then I placed the TWRP back up that I made before and tried a restore, unfortunetly it stopped at Data with error code 255

Apparently it triggered encryption on slot A, I formatted the data and now it's mounted again, can I restore the TwrP backup or it will do the same error?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
I have had the same problem.

If anyone could post step-by-step instructions for how to reliably do the following when using TWRP on a OnePlus 7Pro running OOS, I'm sure that we both (and probably many others) would be very grateful ...

(1) Take a nandroid backup of the device in TWRP.

(2) Save that nandroid backup outside of the device ... to a desktop computer, an sdcard, or wherever.

(3) Reflash the OnePlus 7Pro back to a usable, initial state after bricking or whatever, with the same OS and the same version of TWRP underneath.

(4) Restore the nandroid backup in a way that brings the device back to the same state it was in at the time that this nandroid backup was orignally performed.

We already know how to perform items 1, 2, and 3.

Item 4 is what we don't know how to do.

This might also require one or more other procedures in conjunction with item 1.

Heart-felt thanks to anyone who would post such instructions.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Bxperiaz3:
Hi guys. Really need your help. Oneplus 7pro ,european version running 10.0.4 software, latest magisk 20.4 i think? and twrp. Everything was running fine until earlier when I installed a system ui overlay (one i've used before) and now my phone is in a boot loop. I can access TWRP, I've run the substratum overlay uninstaller zip and removed all magisk modules but still i'm in a bootloop. I've never had a proper bootloop before and i'm very frustrated. I've googled for the past few hours and removed everything I can think of that could be causing issues. Does anyone have some advice that doesn't end with me losing all my data? I have a backup but its from a month ago. I've never had this issue before so i'm a little stuck. Thanks

Edit. Phone is fully accessible through my laptop I can see all my files and connect to it. I just cannot get it to boot,surely its a simple fix? Is there a way to flash the latest oos,keep root and my data?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nikhil:
I'd advise you to flash magisk uninstaller and see if you're able to boot.

Also, since you're able to connect to your laptop, take backup of your data in case you have to perform factory reset (worst case) that will certainly fix your issue. However, uninstall magisk and check first.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Bxperiaz3:
Brilliant. This worked thank you. So i uninstalled magisk and can boot up the phone but I want to continue to use root and magisk in the future so I reflashed it and now we're back to a bootloop. Does anyone know what could be causing this?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
I have now raised this question in the official Telegram channel. If anyone there offers a solution, I'll repost it here.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lichtblitz:
In your case, if you don't have the 10.0.4 ROM on second slot:

In TWRP switch the slots > reboot into TWRP > flash your ROM > flash TWRP > reboot to system > go to Magisk and uninstall Magisk "completely"

Then you can boot into TWRP > flash the india patch > flash magisk and reboot into system.

I always have the same ROM on both slots. Only one of them uses Magisk, the other is always clean.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Bxperiaz3:
Hey, thanks for the advice. When I switch slots I don't have access to the SD card/internal memory so do I adb push twrp and the stock rom to the b-slot?

I'm still trying to get my head around what i'm trying to do. Whats the avantage of having one slot without magisk? To be able to bot back to system if the magisk slot gives trouble?

My plan for this evening is on the current a-slot, wipe system data and cache, then flash twrp again, reboot to recovery and flash magisk and reboot. All I want to do is keep my apps and data and re root. Could you confirm if that's a smart way to try and fix the issue?

Currently I have the A-slot with twrp booting to system without any issues but I dont have magisk/root.When I flash magisk and reboot the A-slot ,we get a bootloop then so magisk seems to be the problem. I'm thinking flashing the same os on top of the current one will fix any issues and allow me to run magisk again? Apologies if these are stupid questions. Its all new to me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lichtblitz:
So you don't have OOS 10 on slot b!

boot into slot a > flash ROM > flash TWRP > reboot into TWRP ( slot automatically changes to b) > flash ROM > flash TWRP > reboot TWRP ( slot automatically changes to a)

Now you are back have OOS 10 on both slots with working TWRP. Further steps you get from my previous post.

Please read the whole topic. All of it has been already posted here!

1. ROM flashes into opposite slot. So if you on slot a ROM flashes into slot b.

2. After flashing ROM everything else is gone ( TWRP, Magisk, etc) and need to be re-flashed.

3. TWRP flashes on both slots.

4. Everything else including Magisk flashes only on current slot.

5. Magisk runs only on one slot.

6. If you have Magisk installed on slot a and you flash Magisk into slot b, then Magisk on slot a will be automatically removed.

Why then you don't just boot the system and uninstall Magisk (Manager) completely? That removes all Magisk settings and mirrors. Afterwards you can flash Magisk in TWRP and set it up again.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Bxperiaz3:
Thank you for all of that and for your patience. I've read lots about it but that was the best explanation I've found. Now I understand.

I have booted to system, cleared cache and data for magisk, deleted the app and booted back to twrp. When I flash magisk again and reboot I get a bootloop. This is the the thing I'm trying to rectify. I can't find any solution other than to do an entire factory wipe of the phone.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lichtblitz:
Deleted the app? Have you done it this way: https://www.youtube.com/watch?v=MIs87buD1kU If not reinstall Magisk Manager and do it properly.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Bxperiaz3:
Yes I ran the uninstall zip which let me boot back to system. However now when I try to flash magisk again in TWRP to restore root, it just hangs upon reboot and then defaults to the fastboot where I can select recovery to get back to TWRP. Then I have to run the magisk uninstall zip to be able to reboot to OS. Is there something simple that I have missed?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lichtblitz:
Have you done it in Magisk Manager or in TWRP. Last time I tried to flash uninstall.zip in TWRP I've got a boot loop. You should run it in Magisk Manager. At least give it a try.

I also suspect that Magisk during uninstall don't purge all it's stuff. I have to investigate further.

Have you uninstalled your ui overlay?

If you don't find a solution then back up your stuff with tar and pull it with adb. The apps you can backup with titanium. Be aware that some of the apps might not restore.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] lichtblitz:
So after flashing the uninstall.zip and booting system can you still find Magisk Manager app? If not download it from here: https://github.com/topjohnwu/Magisk/releases/download/manager-v7.5.1/MagiskManager-v7.5.1.apk, delete all modules if possible and run the uninstall process through the app again. It might work or ... not.

If you can't solve the problem I would ask for help in https://xdaforums.com/apps/magisk because we running off topic here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Bxperiaz3:
I will try this. If not I will head over there. Thanks so much for trying to help me.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
No matter what It just sits on spinning circle on boot

I've tried everything, I'm on the T-Mobile variant. Why can't I install any custom roms
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gaww:
Did you try xXx Magisk mod ROM ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
What is that?

I don't see any magisk mod rom
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
https://xdaforums.com/oneplus-7-pro/development/magisk-rom-xxx-nolimits-7-0-speed-ram-t3933927

Its not really a rom, more kinda system overlay.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vegetaleb:
Please help

I want to set permission 644 to netflix app in TWRP file manager because since I deleted this file I can't boot to OOS, I placed back the apk in its place but it will disappear after a reboot (that takes me again to fastboot).

So I think I have to set the permission to 644 or this apk won't stay and OOS won't boot
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
Just reinstall the ROM, and it would everything back to its original state.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] vegetaleb:
I have the fastboot flashable rom at my office right now, can I simply use fastboot flash system.img?

Logically it's like a dirty flash no?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rob_z11:
You could try that. You could download the full software, and flash recovery, and install the full zip if you have USBC jump drive?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
Yeah my original problem isn't really that I can't seem to get twrp on my one plus 7 pro T-Mobile varient. The bootloader is unlocked though
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
Here's something you can try ...

(1) Boot into bootloader.

(2) Connect your device to your computer, and run this on your computer:

fastboot boot twrp-3.3.1-79-guacamole-unified-Q-mauronofrio.img

This should boot your device into TWRP, but it won't be permanently flashed onto your device yet.

(3) While the device is still sitting in TWRP, run this:

adb push twrp-3.3.1-79-guacamole-unified-Q-mauronofrio.img /sdcard/

(4) Then, while still in TWRP, navigate to "Advanced", and click on "Install Recovery Ramdisk"

(5) Navigate to /sdcard and select the twrp-3.3.1-79-guacamole-unified-Q-mauronofrio.img file.

(6) Select "Backup existing image first", just in case.

(7) Slide the "Swipe to install" slider. This should flash TWRP as your device's recovery module.

(8) After that completes, do a "Reboot" and select "Recovery". This should reboot you into your newly flashed and now permanently available TWRP.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
I'll give this a try, Ill let you know how it goes. I believe the last time I tried I had trouble doing the adb push
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
Make sure you do the adb push when still sitting in the version of TWRP that you just booted into. The adb push command won't work if you are in the bootloader.

In any case, good luck with this!

PS: If the adb push still doesn't work, try formatting the /data partition in TWRP and then redo the adb push.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
I must

Say this is the most difficult device I've attempted to root. I've probably done the process 85 times with all different devices but they were all quite older and it was as simple as finding a night after work to start and finish the bootloader, recovery , root and try a custom rom. I'm struggling hard, so after my last fail I flashed the T-Mobile rom that originally had. It seems that relocks my boot loader. I tried to flash my token again and noticed it said unlocked on the command windows but it didn't prompt anything on the device. It seems like this device is haunted. 40 days after purchase I came to figure out that the website where I bout it declutter I think was the store. They don't care about selling phone's that aren't fully paid for before reselling. And they were not willing to send a replacement unless I returned it first. This was I'm the middle of the scarrriest part of the pandemic, I'll admit I was scared for a while. I work at a grocery store stocking shelf's . It's a horrible job, people do not care about anything decides themselves and freely gamble with my health and the lives of my parents and everyone else I come in contact with. And in my eyes I'll take the stolen working phone instead of no phone. But they weren't willing to budge. And DAMN them, greedy, sick blood suckers. But T-Mobile was willing to hear my story and granted me the sim unlock :) but I'm sorry for the rant. I been needing someone to talk to
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
No problem about your "rant" ... which I don't see as a rant at all. You needed to express your frustrations to help you move on, and that is fine with me. I believe that many other readers of this thread also will feel the same way.

So ... did you get TWRP running on your device yet?

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
I have not unfortunately. I'm going to try now. But I'm assuming I have to always go back to the first steps like unlock bootloader

---------- Post added at 04:47 PM ---------- Previous post was at 04:32 PM ----------

The craziest thing is that I open a command window with my adb/platform tools/unlock_code.bin

but I couldn't flash the dang token, turns out I had to CD to it again before flashing..
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
I think that the unlock_code.bin program probably runs a subsidiary shell (command interpreter) which starts in a different directory. If so, the second cd would not be surprising.

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kieffey:
Thank you HippoMan! It works!!!!

Thank you soo much buddy its working finallly!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] HippoMan:
Woohoo!!!! I'm sincerely glad to know the good news!

.​
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Shaiaz:
After randomly rebooting my phone it wouldn't boot properly so I reflashed the TWRP installer and it could boot just fine but obviously without root.

If I try to flash magisk , my phone simply won't boot and I'm not sure why.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Unknowx:
Anyone know the exact procedure for doing Lineage OS OTA updates while keeping TWRP and Magisk?

Thx

[MENTION=4712355]mauronofrio[/MENTION]
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] neilphetamine:
1. Put all zip in phone storage.

2. Disable all magisk module.

3. Reboot.

4. Flash rom

5. Flash TWRP installer

6. Flash Magisk

7. Reboot

The instructions is on OP actually. Please don't skip any next time.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Unknowx:
I have already tried that method and it doesn't work. maybe I should use the one described on the front page for the "stock rom"?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kylerxx:
TWRP not working

So me and my friend have been on this for the last 6 hours, tried every tutorial out there and his TWRP can't get /data unless he wipes it and even if he does his TWRP still can't get /system or /vendor making impossible to flash anything.. help would be appreciated, we've been on this for so long