yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Reuben_skelz92:
I will set up a contribution also so I can test his work ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
the guys on reddit said returning to stock still kept widevine level 3

when i get my new phone, re-lock my BL and see if Widevine level returns to 1.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Yes it should be true, it's the same thing already happen for oneplus 6 and oneplus 6t
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Paz9:
look at this

https://xdaforums.com/pixel-3-xl/help/widevine-level-3-drm-stock-locked-t3923766
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djsubterrain:
Donated, thanks for your hard work so far and good luck reaching the total.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] kyledowling:
The reason you're in a bootloop is because you flashed the wrong patched_boot.img. Make sure you have the correct one for your model number and firmware version (linked below)

You do not need to be concerned about slot_a or slot_b at this time. Flashing the patched_boot.img will give you root then you flash the twrp-installer.zip like a magisk module in Magisk app.

Boot.img

https://androidfilehost.com/?w=files&flid=294646
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] justibasa:
Donated. Thanks for all the work you do. It's really appreciated.

Transaction: 2SR43796839139445
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
I donated thanks for all your work
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Man what the hell, really thanks but i think this is the biggest donation i ever received

[MENTION=5998428]mac796[/MENTION] i added your name in the MoneyBox details, if you prefer the xda nick i will modify it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] 954wrecker:
I'm tired of formatting data all the time. Disable_Dm-Verity_ForceEncrypt_05.21.2019.zip

Is this the one you are talking about?

Instructions look really simple unless I'm missing something?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
Yeah thats my only concern for this recovery is reports of people having to format data if they flash boot img or ROM with lower Security patch then whats targeted in TWRP.

I dont want to format full storage if I want to go back to a older kernel or ROM for example.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
You can use my name I don't care. ?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
As i already said, there is not a method to set the same security patch of the rom or the kernel in twrp, because after the boot you can't change the security patch and i can't make multiples twrp with different security patch. If you update a rom you shouldn't have a lot of problems, the problems comes when you try to downgrade your rom to an older one.

What I can recommend is to remove all the unlock codes before updating a rom (and make backups).

This is a bug/feature we have an all devices with a/b slots (OnePlus 6 and OnePlus 6t included)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
I never had this issue on my Pixel 2 XL which is a/b slot

I could flash a January ROM on Febuary Vendor and kernel and it did not need to format data.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
So maybe it's a keymaster 4 problem because also in the pixel 2 xl there is an higher security patch:

https://github.com/TeamWin/android_...c31a9e687c33b8f98f1ee269f/BoardConfig.mk#L184
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
could be.

maybe talk to dev on pixel 2 xl twrp to see if they had to do anything special.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
The pixel 2 xl dev is dees_troy twrp creator and teamwin leader, i'm in contact with him, i will ask him something about this, but the latest time we talk about this, he told me that setting an higher security patch is the only hack we can make to make decryption works, because if the security patch is lower than the one in the system decryption will not start.

In all cases i will check better with him.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
every time I tried doing that I'd get corrupt device until I did a full wipe. They changed it a while back You can't go backwards very easily
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nekromantik:
even on Pixel?

Thanks
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] PewPewK:
I might be an idiot here and missing something obvious, but when I try to boot to TWRP throwing in a `fastboot boot twrp.img` command, the phone just boots to system and never displays the TWRP splash screen. Is that not how you're supposed to temporarily boot TWRP anymore on the 7 Pro?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Actually "fastboot boot" is not working on oneplus 7 pro, so if you want to flash the twrp you need to follow the guide in the first post
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Niki Exodia007:
Check the op before you flash
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] PewPewK:
So you need to install TWRP now in order to use it? There's no more temp booting? That's at least my interpretation of the guide. Also I thought the fastboot boot stuff was fixed?

Regardless, it seems I've gotten myself into an odd predicament now. Since trying to fastboot boot twrp.img, the only way I can get into the system is if I fastboot boot twrp.img. If I just reboot the phone, I boot to recovery. I've tried flashing the stock boot image, and I go to recovery. I tried booting my patched_magisk.img, and I boot to recovery.

Quite odd that I can only get back into my system when fastboot booting the twrp image now. It doesn't get me into twrp, but it is the only access into my system. Any clue why?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rickysidhu_:
Done!

4KH2878927645824T

Thank you again for your efforts :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
So fastboot boot actually will break something in the phone, to have ti back try to boot again the twrp, save the data you need and then go in fastboot and flash a fastboot rom and wipe all, then start again from patched_boot.img and then flash the twrp installer like a magisk module
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ibchh:
Awesome!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] PewPewK:
Got it. Downloading a fastboot version of OOS now.

Unless I'm wrong, I don't see a disclaimer about not trying to use fastboot boot twrp.img in the OP? Might want to add that if it soft bricks things, especially for people coming from different devices where that's not at all the case.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
Yes, i will add a disclaimer to not use it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] dadoc04:
We did it!!!! Order that 7pro brah
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djsubterrain:
I think we should keep going and get him the 12GB one :) Although he might already be there tbh.

Nope : 903.75 Euro for the 12GB :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Deacon-Frost:
I just transferred EUR 20,00to your money box. Thanks for your awesome work!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] xNovacaine:
I had the same issue at first but I always could go back to system with

1. fastboot flash boot twrp-18.img

2. boot into recovery via volume buttons

3. install twrp zip magisk zip

4. reboot into system

Afterwards the only problems I had were no Wifi and sound but I wasn't able to fix these with other boot images because I always ended up in a recovery bootloop only fixable by see above. So after I did that the third time or so I just flashed kirisakura kernel in twrp and wifi + sound are working again
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mac796:
I think he's there the money I donated doesn't show up on there. Maybe It's because it was before that was set up
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] tech_head:
I just donated also.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Yes, that's the dm_verity disabler zip.

Here's what I did, keeping in mind that I was on 9.5.3, already had an unlocked bootloader, and had already used a patched boot.img that I injected via fastboot to achieve root. I didn't have twrp installed at the time.

To decrypt:

- downloaded dm_verity disable zip, magisk 19.2, and TWRP installer zip, and copied them to otg USB drive. Also, backup internal storage.

- used Magisk manager app to: 1. flash TWRP installer zip and 2. install Magisk 19.2

- reboot to recovery

- formatted internal storage ( as in advanced wipe, type "yes" , completely formatted the data partition and lost all media, photos, downloads, etc)

- twrp factory reset

- flashed dm-verity disabler zip and magisk 19.2 from otg USB drive

- reboot to system

Complete initial setup, repopulate internal storage with mefia (mp3, downloads, etc) from backup. Go to Settings > Security and verify that the phone isn't encrypted.

Be warned. Disabling forced encryption does NOT guarantee that you won't be formatting the data partition at some point again. Murphy's law, and all that. But I believe it would be less often than remaining encrypted.

One last thing: Anytime you flash anything that affects the boot.img (such as a ROM or kernel) you gotta flash the dm_verity disabler zip and magisk afterwards.

Good luck!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] inspron:
Same. I am at a lost on how to go back to completely stock 9.5.6.

OTA via local update using the 2GB file didn't fix it. Just get stuck at stock recovery. The phone would not boot with the stock boot image. Flashing OTA via TWRP didn't work either.

Only way to boot again is the reflash the bad TWRP version. I want to avoid custom kernels etc. Just want to get BACK TO STOCK.

If anyone knows of a fix. Please kindly share the step by step. Greatly appreciate any help offered.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
If I were in your shoes, I would use the fastboot rom available in this thread:

https://xdaforums.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424

If that fails somehow and you own a gm1917, you can use the MSM tool in the Guide forum.

Good luck!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rickysidhu_:
Not sure if anyone else is having this issue but I noticed after installing a new version of TWRP inside of TWRP, or wiping dalvik causes a very long boot time?

I wait about 5-10 minutes and still, nothing happens so I hold power and volume up to force restart it. Once it restarts the boot process, it takes less than 30 seconds to complete boot.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
The phone is new. There may be things that we are unaware of that OnePlus has implemented. So best thing to do in this situation is to replicate the issue and capture it in a log and post here.

---------- Post added at 03:49 AM ---------- Previous post was at 03:24 AM ----------

Has anyone with T-Mobile device successfully restored a back up of T-Mobile software after flashing us/global rom?

If yes please send me your backup of everything except data partition.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] BEINGKHA3:
My OnePlus 6 does gets Widevine L1 back after relocking the bootloader.

I do easily watch HD content on netflix.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rickysidhu_:
Yes I understand the phone is new and bugs can be present in the initial phases of development.

I was just asking others if they also have the issue to determine whether this is an isolated issue or not.

I will see if I can get logs, although I'm not sure how to do this while the device is booting. Will have to do some homework on that before posting anything.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
Did you both have root before and flash TWRP image in Fastboot or Magisk installer zip? I had root so I used the installer zip and didn't have that issue.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
When TWRP booted enter below commands in terminal:

adb pull /tmp/recovery.log
adb shell "dmesg" > dmesg.log
adb logcat > logcat.txt

and post the files here.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
No logs needed really. It takes a painfully long time to rebuild Dalvik after wiping. It has always been like this, however the 7 Pro does seems to take a lot longer. I just installed Renovate Ice update from Magisk. Rebooted to TWRP and wipe Dalvik/cache and it took roughly 15 to boot to lock screen.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] qwasz123:
Seem that I'm not able to get a bootable image once I have patched the boot.img. My phone reboots then fails and reboots to recovery immediately after the lockscreen appears. The 9.5.6 image I extracted from the OTA update does work for booting however (that's how I'm saving my phone).
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] sabrdawg:
I flashed the installer via the Chinese TWRP, and it worked flawlessly :)
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tenchi4U:
Seeing similar issues as some others after upgrading (stock recovery loop)

Can somebody explain in detail and with small words how to upgrade from 9.5.3 to 9.5.6 and retain TWRP, root and working wifi?

- currently on 1917 on 9.5.3 rooted with magisk 19.2 (originally flashed via zip in TWRP)

1. Upgrade to 9.5.6 using full OTA

2. After update completes, I open Magisk Manager, click Install > Install > Install to inactive slot (after OTA)

3. Magisk does its flashing/patching thing and tells me to reboot

4. Upon reboot, I get stuck in the stock recovery loop. I can get out of it by reflashing TWRP in fastboot, but that leaves me with a 'update failed' in OOS

- I've tried dumping the payload.bin and patching it on a computer, then flashing in fastboot that to both partitions (fastboot flash boot patched_boot.img), no luck, same stock recovery loop.

This is my first device with the new A/B partitions, is there a good resource (or basic explanation) on how this setup works (and how the phone chooses which to use and when/how)?

Thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Gabe2014:
Really , everything working ok , I current using the Chinese version but I want to update to this TWRP
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] twinnfamous:
You can factory reset instead of the ota that's how I fix it when I don't have twrp or PC close by.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Gabe2014:
Thanks [MENTION=4712355]mauronofrio[/MENTION] keep going

Transaction ID

57R127502S593405F
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rickysidhu_:
Appreciate you showing me the way and saving me some time!

Interesting,

The handful of previous devices I've owned, wiping dalvik didn't take this long so maybe it is the 7 Pro.

Also, would you happen to know why the boot is roughly around 20 seconds after I force restart it by holding power+volup?

Just curious!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I want to thanks all people make that make a donation to support me.

After 10 hours the moneybox was already closed.

I especially want to thank a guy who made a huge donation, asked me to remain anonymous and so it will be.

Now i took more of the money i need for the device, so i decided to use all the money in the moneybox to buy the device and keep the private donations for future projects.

I'm closing now the MoneyBox, if someone want to support me and my projectes, he can use my PayPal private link.

I'm too surprised about this, thanks to all again.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] paatha13:
Guys if anyone used the guide of [MENTION=1937026]reaper000[/MENTION] post 428 to decrypt their device while being on 9.5.5 and EU device and being successful, please as posts his results.

I want to be decrypted as long received my device as i was all time with my 5T my last Oneplus device.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ulxerker:
? :D
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] paatha13:
by mistake :p
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Well, I have a 1917 that was 9.5.3 rooted with Magisk, but initially without twrp, upgraded to 9.5.4 then 9.5.6 and now remain rooted, with TWRP and intact Wi-Fi. So I guess I can comment.

I wouldn't upgrade via local stock recovery if I wanted twrp. And I would clean flash.

So here’s what I'd do:

- Download twrp installer zip, magisk 19.2 zip, and the full 9.5.6 zip. Copy them to USB flash drive in case you run into encryption issues. (now is also a good time to backup internal storage)

- Disable any lockscreen security

- Ensure you are rooted in the Magisk Manager app, then go to Modules, hit the + sign, and select twrp installer. After it's flashed, don't reboot. Instead, in the home screen of Magisk Manager, hit install Magisk.

- Reboot to recovery (should be twrp)

- install 9.5.6 zip and TWRP installer zip

- reboot to recovery (this is for a/b slot reasons)

- flash Magisk 19.2

- twrp factory reset

- reboot to system

Hopefully you will see the unlocked bootloader warning screen, the OnePlus boot animation, it might reboot, and then the OnePlus boot animation again. I'll take a while to get to the blue welcome screen.

If you have encryption issues in TWRP, a format of internal storage with factory reset might be necessary...which is why I have a USB drive handy with those 3 files.

Good luck!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] djsubterrain:
You deserve it buddy, you took the initial leap to opening up our phones to the XDA world of customisability :D

Once you perfect your version will you be submitting it for official?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] qwasz123:
You're right - a pain but that should work properly. I was able to extract the boot image from a rom and get my phone working. Though I, sadly, don't have root.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] rav101:
Hey guys,

I was wondering if people could report on OnePlus community that "fastboot boot" is still not working properly. That's the next big thing I understand we need so that we can get back to installing TWRP like on previous OP devices where you boot the TWRP IMG and then flash the TWRP installer and go from there. Once we have that, it's my understanding that everything else will become a lot easier?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] paatha13:
I don't know for the rest of users but personally I found flashing twrp through Magisk more user friendly and comfortable.

Also upgrading its more easier through Magisk.

I never liked the situation with 6T for 1 week I had the device flashing first the boot img and then the installer.

To me also its most important being decrypted as long I'm with twrp that time.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
I'm working also on it
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nicotin3:
Thank you mauronofrio! After I had the issue with system recovery loop when I did the OTA and had to reset to factory everything, now I was afraid that the same thing will happen with TWRP. Looks like it's not the case. Flashed TWRP in Magisk, reboot to recovery, flashed Magisk and reboot to system. All works well.

---------- Post added at 01:27 PM ---------- Previous post was at 12:58 PM ----------

What does "fix recovery bootloop" do exactly in twrp? I have my wife's phone which is not updated yet because after I installed Ota and install magisk to inactive slot, I ended with stock recovery bootloop. I would like to update her phone also but I don't want to restore everything. Can I first install twrp, magisk and then, after reboot try to install OTA, twrp and reboot to recovery to install MAGISK?

I was thinking, in case of recovery bootloop, can it be fixed by that option from twrp?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Tenchi4U:
I didn't do these 2 steps, which may have been my issue. I just did the local update from the full OTA zip and flashed magisk via the manager, never thinking to flash TWRP installer THEN magisk THEN reboot, which is probably where my issue arose.

I'm assuming the full OTA upgrade overwrote TWRP, hence my stock recovery loop until I reflashed TWRP in fastboot to get back into OOS (which errored on the post-reboot install portion at that point, bringing me back to square 1).

Sound about right?

Thanks!
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
Since the end of time when updating Full OTA you will lose TWRP. Lol
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] bl4scott:
I am in the same situation as you are. I followed the instructions but after finally rebooting I lost root. TWRP is still installed as the active recovery but not sure how to install magisk again.

Where I got lost was here . Got into magisk after upgrading the ota. Install install install. I installed 19.2 off of the main magisk screen and then installed TWRP installer after that. Then finally rebooted. I never saw an option to install to a specific slot. This is my first time seeing to slots as my previous phone was the 5t.

Please share your results and I will do the same

Brian
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] mauronofrio:
You can just flash magisk 19.2 from the twrp now.

All times you flash a twrp installer you will lose all boot mods (root included) so you will need to re flash all boot mods
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] schmeggy929:
You will not get that option if you were not already rooted before taking the OTA. If you still have TWRP installed, does Magisk 19.2 flash inside TWRP? Reboot and install Magisk again through Magisk.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Gabe2014:
Awesome man , keep going
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] razibus:
I all

After installing TWRP Installer by using Magiks module, I still have only stock recovery. No TWRP instlled.

What must I do after installing TWRP via Magiks Module to have TWRP Installed

Thanks

Edit : Problem solved by flasing Magiks (after reboot) in TWRP and not immediately in Magiks Manager via module.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] gruby_grubas:
can I flash it on 9.5.5 with renovate ice module installed, or should I first disable it?
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] reaper000:
Yes, and don't neglect the other steps I described following that. Notice I said to reboot to recovery, flash Magisk again, and then reboot system.

Yeah, slots are effing you up. The steps that i posted are meant to navigate you through the maze. So here's the rationale, as you flash within TWRP:

- Flash ROM

If you are on slot A and flash a ROM, it goes to slot B.

- Flash TWRP installer zip

Keeps TWRP on both slots, patches boot.img

- Reboot to TWRP, not system

REALLY IMPORTANT. Otherwise the next step of flashing Magisk goes to (the wrong) slot A. And you won't boot.

** after reboot to TWRP, this is where you wipe. You can wipe data and dalvik, or if you dirty, wipe just dalvik **

- Flash Magisk

Patches the TWRP-patched ROM on slot B, allowing it to boot.

- Now reboot to system, booting slot B

(Keep in mind that in most custom ROMs, you will need to do an initial setup of the ROM, then reboot to recovery and flash Magisk again to get root.)

This is what I've gathered since the OP6.

Combine that with a lack of external SD and forced encryption, and you have me muttering under my breath, cursing and carrying a USB drive around.
[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] Nicotin3:
Sorry if it was asked before but I want to be sure that I will not screw up again or if this is not the best place. I have two OP7Pro, on the first one after ota and installing magisk on second Slot, I ended up with recovery bootloop. On the second one now I have magisk and twrp. Which is the best sequence so that I will not end up with stock recovery bootloop? Thanks!