yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T Guides, News, & Discussion] pulpf:
passage oxygen os 11 keeping root with magisk. everything works
[OnePlus 7T Guides, News, & Discussion] jayreen:
For those like me who updated their Oneplus 7T to Android 11 before root and still want to without downgrading, I managed to extract the stock boot.img of the last update (OnePlus7TOxygen_14.O.25_OTA_0250_all_2103170010) and patched it with Magisk (installed Canary version to avoid any issues) if anyone interested. Just flashed it with my phone, no issues :

magisk

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com
[OnePlus 7T Guides, News, & Discussion] foomanjackel:
Just updated to 11 on my HD1905 (Global version, USA), using the following method without any issues:

Before all Disable all magisk modules
Be sure to use Canary Magisk Manager and Canary Magisk (debug)
You can update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- In Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot

Everything working far as I can tell except for viper.

Did not use canary, just the standard Magisk 22.0 version. As always be sure to disable all modules first and do not reboot until all steps are completed!
[OnePlus 7T Guides, News, & Discussion] Inous:
Hey there! My son accidentally hit the install button for Android 11 on my phone and updated me to the latest OP7T A11 update. I'm was using HD65AA Global for my HD1907. Is this patched boot for HD65AA on HD1907? Also, my build is saying unknown, is it supposed to be 14.0.25?
[OnePlus 7T Guides, News, & Discussion] jayreen:
Hi, no it is for HD1900. At least I only tested it on my phone which is a oneplus 7t hd1900.
[OnePlus 7T Guides, News, & Discussion] hachamacha:
Hi - Same thing as before -- I put basic steps I took to do 11 global. If you need the global rom patched & unpatched boot.img I uploaded them later in the thread (like a page later). Here's a post: https://xdaforums.com/t/stable-oxygen-os-11-now-released.4250755/page-2#post-84720659
[OnePlus 7T Guides, News, & Discussion] KostisTTT:
Hello, guys.

I would like to ask a (noob) question.

I am on 10.0.16HD65AA.

I would like to update Magisk (now on 21.4), but I am afraid may I mesh up something...

Should I install the Magisk app (that, as I see now, it says install and not update [?!]) or I should update Magisk Manager (at the top) and if yes, what is the correct method (direct install or to inactive slot) OR maybe something else?

Thanks in advance...
[OnePlus 7T Guides, News, & Discussion] Eddiemc:
Open magisk, update the app(install), open magisk again, update magisk framework/direct install.

Reboot 👍

Installation to inactive slot is only done after taking a OTA.
[OnePlus 7T Guides, News, & Discussion] Gimdaphone:
I'm on 10.0.16.HD65BA, with Magisk on and all. So I'm probably at the peak of the 7T, but I don't know if I should risk it and try to go to 11 and root it.

I already got the OS, I just can't locally upgrade it yet (it's either the file or its name, no big deal)

Should I risk it ? I don't want to flashall since it will probably delete everything. But I could still upgrade it through the local install and still get so many errors that I'll end up flashing back to 10.0.6 and losing everything.
[OnePlus 7T Guides, News, & Discussion] paps79:
Hello guys,

I'm on HD1903 (EU), OxygenOS 10.0.16.HD65BA, rooted with Magisk and with no custom recovery.

I went ahead and downloaded OxygenOS 11.0.0.2 update assuming it was going to prompt me before installation so I could uninstall Magisk and then reinstall on the inactive slot so I could preserve root.

However, the f***** went on and installed itself (WTF?) and now I'm prompted to reboot.

Is there a way I can retain root right now or do I have to go through the whole process of rooting again?

Does that mean I need a patched boot image and adb access, would that wipe any data?

Thanks for your help!
[OnePlus 7T Guides, News, & Discussion] GilX:
I'm in the same process right now. But I assume nothing changed. After installing update, dont reboot. Install magisk in inactive slot. Then again direct install magisk. Reboot. Hopefully modules wont mess up. Cross fingers.
[OnePlus 7T Guides, News, & Discussion] paps79:
After reading a bit on reddit I went ahead and did just that, minus the direct install you mention above.

Everything works great!

Good luck and thanks for the reply.
[OnePlus 7T Guides, News, & Discussion] Eddiemc:
@paps79

Just use Mauriofrio's tool:

https://xdaforums.com/t/tool-op7t-t...ck-twrp-factory-image-stock-recovery.4103515/

(Tick off boot twrp and root, choose oldest twrp and use manual for magisk. Point to wherever you've downloaded the latest)

Edit:

Ah, too late😁

Well, for anybody else, the tool is gold. Easier than everything else.
[OnePlus 7T Guides, News, & Discussion] mikefnz:
Just install the "Chinese" TWRP and use that to flash Magisk.

Remove PIN first.

Search XDA or Telegram for it.
[OnePlus 7T Guides, News, & Discussion] chwb205:
Hello

I recently OTA updated my HD1907 to 11.0.0.2.HD65AA, I had root working fine before update and before rebooting I used the Magisk install after OTA update function which seemed successful. However root was not preserved going into Android 11 but OS update was fine. I extracted the boot.img from the original update file using the Python payload dumper method and used Magisk Manager on the phone to patch the file. In the past (Android 10) I could flash boot.img to "boot" for this process but now going into Android 11 fastboot cmd bounces back a message saying boot doesn't exist and I need to specify boot_b or boot_a. Attempted installation to boot_b, boot_a, and then both all resulted in bootloop error "Unable to parse kernel.log" which could be fixed by flashing the original unpatched boot.img. I then tried to just boot it with "fastboot boot" cmd the patched img to see if I could get into the OS with temporary root to direct install, that was unsuccessful as well. I have used lastest Magisk 22.1 as well as canary to no aval and am just hitting a roadblock on this. Does anyone have any information that could help point the way on this? Thank you.
[OnePlus 7T Guides, News, & Discussion] xecutionkrk:
On the same boat ^^
[OnePlus 7T Guides, News, & Discussion] hachamacha:
I probably can't help, but it's worth a shot. I basically did what you did and it worked, so for what it's worth, if anything, here's the file I made and patched from 22.1 magisk on my op7t using the exact images you're talking about:

I flashed the unzipped file attached using "fastboot flash boot_b magisk_patched.img" and "fastboot flash boot_a magisk_patched.img" -

Note that when I did it, that was all in the sequence of things, having just installed the full .zip upgrade, backing out and using Magisk to make this patch after payload undumping the boot file.

Good luck.
[OnePlus 7T Guides, News, & Discussion] chwb205:
Thanks for the help, unfortunately at first that did not work. However it inspired me to sit down, backup everything, and commit to dumping a few hours in to figure this out. First thing I decided to do was use the unbrick tool to start with a fresh device. Long story short I got root/magisk working again on Android 11 and discovered the problem to be an issue with incorrect matching of boot image with system version. Since I have a 1907 not a 1905, somewhere along the way I don't know if the phone was running T-mobile version firmware or global, and I was using downloaded OTA files to extract boot from. This was compounded by the fact I had at a point used oxygen updater to go through the update. The boot and system do match now so I was able to fastboot boot the img and let Magisk patch the local boot.img and once restarted root was successful on 11.0.0.2.hd65aa. Now I just need to figure out how to fix the safetynet fail evaltype=n/a issue that is preventing banking apps and Gpay from working.
[OnePlus 7T Guides, News, & Discussion] hachamacha:
I also have a 1907 and it was sold by bhphoto as a 'set to global' version, not t-mobile. All my usage of it has been with the global software you mention. (e.g. 11.0.0.2.hd65aa) - Other than hiding apps, I haven't run into a cranky app that over-checks other things (i.e. bootloader unlock?) and doesn't work, but I assume that's just luck of the draw.
[OnePlus 7T Guides, News, & Discussion] chwb205:
Nice, same vendor as me lol, it was like a $385 deal or something that made it really good deal but I lost that savings on a screen repair ($335). Are you able to pass Safetynet at this time with Android 11 and root?
[OnePlus 7T Guides, News, & Discussion] hachamacha:
Yeah, Safetynet passes, Viper works fine, - 11 is so far the best os for me for both. ^^ same deal lol.

Edit: - Just noticed the latest Canary update this AM, so updated and still working well.
[OnePlus 7T Guides, News, & Discussion] chwb205:
At some point I got it working, but it doesn't reflect in Magisk I think because of the expired keys issue or something its developer ran into. 3rd party checker says it passes and GPay works, most banking apps and other apps ok, just one really annoying banking app keeps detecting root I can't seem to do anything about it but good for now.
[OnePlus 7T Guides, News, & Discussion] hachamacha:
Is that with 22105 (latest Canary Magisk)? I'm pretty sure mine also passed the API in Magisk with 22104 Canary.
[OnePlus 7T Guides, News, & Discussion] chwb205:
Updated to Magisk 23 stable and it passes now, generally all is good with the device now. =)
[OnePlus 7T Guides, News, & Discussion] 1422888:
Hey, guys!

Rooted my 7T HD1900 by video on TechStuff YT channel with 10.0.12 using Magisk, Payload Dumper and Fastboot and it worked fine. Then I saw A11 but read that I can't just OTA update it and have to flash it.

So I flashed it again by this method with magisk modified boot.img from 14.O.26 and got into Qualcomm CrashDump Mode Attempted to kill init! exitcode=0x00007f00 do_exit.

Welp.

Device's still available for flashing from PC and fastboot menu so what do I better do not to brick it further?

UPD:

Reflash with the old boot.img helped.

But now I wanna kindly ask for any method how to update to A11 in my situation.
[OnePlus 7T Guides, News, & Discussion] chwb205:
Perhaps the Oxygen Updater will be able to help you. You'll probably want to select "Full Update" in the settings. GL
[OnePlus 7T Guides, News, & Discussion] DLH007:
Hi,

just want to share newest stock and patched boot.img. Please upload it anywhere you like. ;)

Had trouble to find for Android 11, so i extracted myself from payload.bin (OnePlus7TOxygen_14.O.27_OTA_0270_all_2105200102_6a97220300) and patched with Magisk v23.0.

Files:

boot_11.0.1.1.HD65AA_magisk_patched_op7t.img

SHA-256: 102389A93EABFFE3088DF99755AB93599A7FB7EC194BC9160839C772403740B2

boot_11.0.1.1.HD65AA_stock_op7t.img

SHA-256: BBC01968A0143A0C752477E1128A3BD2677AFCC7DDCCD4E1B07B6DB1A76CEA8D

recovery_2.0_stock_op7t.img

SHA-256: 8617F136DF775C99942477633299DA935B0B95711F933918C34F17651659F1B8
[OnePlus 7T Guides, News, & Discussion] tintn00+xda:
I can't get these to work. It get stuck on boot loop for me. On 11.0.1.1.
[OnePlus 7T Guides, News, & Discussion] mbj731:
I've found that I can only get root to work on a fresh install of A11... If I boot it before flashing magisk patched boot, boot loop... but if A11 is flashed followed directly by Magisk patched boot.img it will root fine. (Might take a bit longer to boot the first time)
[OnePlus 7T Guides, News, & Discussion] tintn00+xda:
Still didn't work for me. I ended up using the unofficial TWRP and rooted it fine.
[OnePlus 7T Guides, News, & Discussion] DLH007:
Do you have same Build-Number? HD65AA?

For me it was the only way to get root, non of the twrp versions would boot...all black screen.
[OnePlus 7T Guides, News, & Discussion] mbj731:
Glad you got it working. So odd that there isn't a "one size fits all solution" for A11...different approaches work/don't work for the same phone/OS.

I tried about 100 different times/ways and flashing patched boot.img after initial OS install was/is the only way that works for me.
[OnePlus 7T Guides, News, & Discussion] adrian.h:
I want to backup my phone and I've been postponing it too long. I used Titanium a while ago and did like it but it requires root (as do many other backup apps). So if I root using this method, will I lose all of the information that is on the phone currently. Yeah, I know it should be backed up before this, but shrug.

The Build number I have is 11.0.3.0.HD65AA. The Model is HD1900

Do I need the same patched image build to root my phone?
[OnePlus 7T Guides, News, & Discussion] alucardetat:
Yes, you will need the same patched boot.img build to obtain root. However, if you're still bootloader locked, you'll lose all data on your device (not just apps, but pictures, downloads, literally everything on the device will be gone as if it were fresh out of the box) the moment that you unlock said bootloader. I'd recommend for your first step you look into Swift Backup [https://play.google.com/store/apps/details?id=org.swiftapps.swiftbackup], it does have a bit of an issue with restoring Rich Conversation Service (RCS) messages in Messages by Google (i.e. "Chats"), unless they've already fixed that problem since sometime in December when I learned this, you will gain more functionality with Swift after you gain root access. For SMS/MMS Backup/Restoring (including RCS messages) I can not recommend SMS Backup & Restore Pro [https://play.google.com/store/apps/details?id=com.riteshsahu.SMSBackupRestorePro] enough (only drawback to this app is that I haven't found a way to view the backups outside of the app's "ecosystem" but that's not a deal breaker either), it also has a browser viewer for the backups.

Sorry if I over explained anything or rambled. I also apologize if posting PlayStore links is prohibited, I don't remember anything about it in the rules, but I also don't understand why doing so would be prohibited.

Let me know if you have any further questions, need help hunting down any files for this (I still have an archive of them from when I had my 7T) or if you don't understand something and do intend to root your 7T.

-Edited: Because I accidentally posted this prematurely. xD
[OnePlus 7T Guides, News, & Discussion] pulpf:
hi i updated os 11.0.7.1 on my hd 1900 but google pay doesn't work anymore yet i installed safety net, does it work for you?
[OnePlus 7T Guides, News, & Discussion] wfred:
Did you update to the latest magisk?

Do you pass safeynet? Download a checker app like YASNAC and then go over to the magisk forums for possible solutions, a lot of similar questions there

https://xdaforums.com/f/magisk.5903/
[OnePlus 7T Guides, News, & Discussion] pulpf:
Yes both
[OnePlus 7T Guides, News, & Discussion] wfred:
Okay, go here

https://xdaforums.com/t/discussion-google-pay-magisk-discussion-thread.3906703/

Someone has probably posted a solution already
[OnePlus 7T Guides, News, & Discussion] smith44:
Will this work if I am already in Android 12?
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
OOS12 (Global) is out. Will the root step/style still the same? Thank you.

Edited: the answer is the same method.
[OnePlus 7T Guides, News, & Discussion] pulpf:
Hello, I also received this update from how to root with magisk please?
[OnePlus 7T Guides, News, & Discussion] andrelecomte:
Is a new patched boot image needed for Android 12?
[OnePlus 7T Guides, News, & Discussion] andrelecomte:
Here's my patched boot image for Android 12:

96 MB file on MEGA

mega.nz
[OnePlus 7T Guides, News, & Discussion] xollen:
Is there guide how to Root Android 12?
[OnePlus 7T Guides, News, & Discussion] andrelecomte:
The guide in the original post remains the same for Android 12. Here's my files if needed:

Patched boot.img

India HD1901_11_F.17 Android 12

https://mega.nz/file/ZwdDhQrL#2CXJqxWWaGy8VNkThxwFGsCVJHkKWMLH30fMf6Y7Fd0

OOS 12 OTA upgrade

India HD1901_11_F.17 Android 12

https://mega.nz/file/s09VyDAb#qhoLjfqUPQzoJdJ-eJ5K37GabcoVYsnzE4HE87zNvlI

EU HD1903_11_F.17 Android 12 (fails to upgrade?)

https://mega.nz/file/Yo9CXJ7B#ODNZut2-pDVJhDOY-LbgOIeH0sIZ_xnXIrqpcyztkfE
[OnePlus 7T Guides, News, & Discussion] DLH007:
Newer boot images, all patched and tested from me.

HD1903

boot_11.0.1.1.HD65AA_magisk_patched_op7t.zip

boot_11.0.1.1.HD65AA_stock_op7t.zip

boot_11.0.9.1.HD65AA_magisk_patched_op7t.zip

boot_11.0.9.1.HD65AA_stock_op7t.zip

boot_HD1903_11_F.17_magisk_patched_op7t.zip

boot_HD1903_11_F.17_stock_op7t.zip

boot_HD1903_11_F.20_magisk_patched_op7t.zip

boot_HD1903_11_F.20_stock_op7t.zip

boot_HD1903_11_F.22_magisk_patched_op7t.zip

Pixeldrain Mirror
[OnePlus 7T Guides, News, & Discussion] kodiak:
@DLH007 Thanks.

Two questions.

1 - What is the difference from those 3 boot images? (Mine is HD1903_11_F.17 so I Will use them later one)

2 - If I use the fastboot method to patch the boot image, will the phone perform a factory reset or will my things be available as they are right now?

Thanks
[OnePlus 7T Guides, News, & Discussion] DLH007:
1:

They are for different version of Android (OOS/Oxygen OS)

The first two for Android/OOS 11 and the last one for Version 12.

To work, your build version have to be exact the same. If not, you get a boot loop.

2:

You can only flash, if your phones bootloader is already unlocked, then nothing will be reset. After flashing and boot up, go to magisk and follow the onscreen instructions.

If youre bootloader is locked, you have to unlock it first, unlocking=factory reset.
[OnePlus 7T Guides, News, & Discussion] kodiak:
@DLH007 Thanks.

Worked.
[OnePlus 7T Guides, News, & Discussion] agentshowers:
Is there any way to downgrade from Android 12 to 11 and still keep root? If I flash the downgrade zip, can I still patch the boot img with Magisk before rebooting?
[OnePlus 7T Guides, News, & Discussion] Dominic_MS:
I tryed to root my phone with this instructions here, but after reboot I have no root. I tried the here offered images and also my own image which was build with magisk.

Does somebody know what my problem can be?
[OnePlus 7T Guides, News, & Discussion] Dinerve:
Hi all,

Wondering if the upgrade guide of the OP still works on the 7T for moving from Android 11 to 12 as it did serve me well since day one (Was it Android 10?)

I am currently running 11.0.9.1.HD65BA and want ro switch to HD1903_11_F.17

I'm running the latest public magisk build (25.2)

Many thanks!

Edit: It works fine.
[OnePlus 7T Guides, News, & Discussion] Morceaux6:
Hello everyone,

Thanks to you all for this amazing community !

I recently bought a 7T Pro, it's running on the HD1903_11_F.20, anyone got the patched img ? If I understand correctly, I can't use the HD1903_11_F.17

Thanks all again !
[OnePlus 7T Guides, News, & Discussion] superic:
Hello and sorry for my poor english,

is somebody has same problem on op7T : i root my phone since long time patching boot.img with magisk.

i try to do it with last version 12 i receive via ota, but my phone does not boot when i flash it with fastboot (I stay on 1 icon).

I tried with boot found on this tread... it boot on boot animation, but reboot imediately.

I dont understand why i receive via ota HD1901_11.F.20_3200_202301310046. My phone is in global mode and that one seems to be india.
[OnePlus 7T Guides, News, & Discussion] Robinlong:
You could always download the full ROM from this thread, extract the boot.img and patch it yourself with Magisk.
[OnePlus 7T Guides, News, & Discussion] Robinlong:
You could download the stock ROM from this thread, extract the stock boot.img and flash it in fastboot mode to try and get your system running again. You could try the Global version and the India version.

Then you can patch it yourself with Magisk and flash it again.

Do you have HD1907 maybe? This has happened to me also when upgrading converted HD1907 to OOS 12 through OTA.
[OnePlus 7T Guides, News, & Discussion] superic:
Hello thanks for answer.

I have HD1900 (OP7T).

My phone is running since i flash it again with ota rom i receive using adb sideload.

My problem is when i patch boot.img from my image. if i try to install it, the phone reboot always in bootloader mode

I do it again with boot.img extract from rom i download , and it's works fine :) THANKS A LOT
[OnePlus 7T Guides, News, & Discussion] Morceaux6:
Thanks a lot, for this thread, I'll try that soon :)
[OnePlus 7T Guides, News, & Discussion] DLH007:
Added

boot_HD1903_11_F.20_magisk_patched_op7t.zip

If someone need another boot.img, ask me. Maybe also by pm, for a faster response.

https://xdaforums.com/t/guide-how-to-root-oneplus-7t-without-twrp.3979307/post-87752741
[OnePlus 7T Guides, News, & Discussion] kodiak:
Hello.

Did the process to update to HD1903_11_F.22 but by mistake pressed a wrong button and version was installed with the wrong procedure (not using Magisk and install to inactive slot)

After reboot, Magisk says I'm not rooted but root beer says I am and an app is detecting that I'm rooted.

How do I regain root access?

Thanks
[OnePlus 7T Guides, News, & Discussion] wugga3:
Hi

So you installed the F.22 update.

Then you pressed what wrong button??

The "version" of what was installed??

Which "wrong procedure" did you use??

Any way... I had to re-root after I failed to disable magisk modules prior to ota update.

That left me no option in Magisk Manager and the only option was to "Select and patch a file"....

The root guide here for OnePlus should get you where you need to be...Or:

Installation

The Magic Mask for Android

topjohnwu.github.io

Other than that..... What options are in Magisk Manager to install Magisk root???
[OnePlus 7T Guides, News, & Discussion] kodiak:
@wugga3

Thanks.

So it's basically get the boot.img file from the zip I downloaded with oxygen updater, patch it using Magisk and then fastboot that patched boot correct?

"Select and patch a file" is the only option that I have
[OnePlus 7T Guides, News, & Discussion] wugga3:
My best guess.. ... Since I don't exactly know what you've done to this point.. I should think it won't hurt so long as you use the current boot image. Payload dumper is easy enough and their are a few to choose from here. Just had to use that a few days ago for the first time....

You have Magisk manager? And does it have root or not... I'm not interested in root beer .... Do you have apps that have root access b4 this update? And do they still have root or no??

And I'm kinda asking if select and patch is the only option you have now on Magisk manager??? And if so then yeah it's kinda self explanatory.

I've asked a few questions in my previous post and this post...
[OnePlus 7T Guides, News, & Discussion] kodiak:
In Magisk, superuser and modules tabs are disabled and if I select the option to install, it only shows Select and patch a file.

Thanks
[OnePlus 7T Guides, News, & Discussion] DLH007:
Added

boot_HD1903_11_F.22_magisk_patched_op7t.zip

https://xdaforums.com/t/guide-how-to-root-oneplus-7t-without-twrp.3979307/post-87752741

Pixeldrain
[OnePlus 7T Guides, News, & Discussion] MartinMo:
I don't think you did something wrong, because I have the same problem, but I'm absolutely sure I did not press a wrong button. The second I pressed the update button the phone restarted itself. The last time I updated it, it regularly installed the update to the inactive slot, but not this time. So no chance to install magisk to the inactive slot after the update. But why?
[OnePlus 7T Guides, News, & Discussion] kodiak:
In the end I used the boot image posted by DLH007 and I regained root
[OnePlus 7T Guides, News, & Discussion] MartinMo:
Could someone tell me what the most secure way of rooting the 7t is? Secure in two ways: With the least probability that someone gains access to my device because of the (potential harmfull) files used in the process of rooting and furthermore with the least probability of failing and leaving me with a bricked device...?