yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T Guides, News, & Discussion] bhavstech:
Do it yourself, much safer option

Not a big task

I guess there is one python script

You gotta run that on the download rom

You get a boot.img

Put it in your phone

Use magisk to patch it

Google about patching oxygen os boot img

You might find a proper guide as well
[OnePlus 7T Guides, News, & Discussion] vyaskd:
Yes, I have patched already and now preparing to patch beta 2 boot img also.
[OnePlus 7T Guides, News, & Discussion] grandebill:
Can you please forward it (ob2) to me when it is possible . Thank you
[OnePlus 7T Guides, News, & Discussion] ystokar:
please to me to (op2)

thanks

---------- Post added at 12:47 AM ---------- Previous post was at 12:37 AM ----------

this worked for me:

https://drive.google.com/file/d/1z0bdf8OmKhv-HcME5aDh7ygw3Mq3ZLBw/view
[OnePlus 7T Guides, News, & Discussion] fordjonathan:
Mind hooking me up with a link to either one? Patched OB1 or OB2?

Thanks

Jonathan
[OnePlus 7T Guides, News, & Discussion] Riveon:
I flashed an image but wifi wasn't working, and I read a post saying to uninstall Magisk and then boot and install the image, but I must have done something wrong, because after uninstalling Magisk, the phone doesn't boot (gets stuck on the "press power key to pause boot" screen) and it doesn't show up on ADB. Have I ruined my phone or is there something I can do?
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Same happened to me after uninstalling magisk. You'll have to MSM back to 100pct stock to get it working.

When you get to rooting, don't flash anything. It's not worth it imo. Just find a boot img that boots up ( any version that boots up Is fine )and use direct install in magisk. Fastboot boot xxx.img
[OnePlus 7T Guides, News, & Discussion] vyaskd:
I suggest you should extract boot.img frm ur downloaded firmware, though I will try to upload mine patched beta 2 img

---------- Post added at 05:57 PM ---------- Previous post was at 05:54 PM ----------

Devs clearly said many times that u should not flash patched image. You should use it only for booting the phone, then it will be temporarily rooted. In this state u have to install magisk again by selecting option "Direct install"
[OnePlus 7T Guides, News, & Discussion] lockekey:
The OP in this thread lists 3 methods.

One method is to boot patched image.

Different method is to flash patched image.

3rd is to extract and create patched image yourself and then boot or flash.
[OnePlus 7T Guides, News, & Discussion] vyaskd:
Go with 2nd method. If u dont have your own patched img, thn use latest patched img available on given link in op.

Once more I'm telling.. NEVER FLASH patched boot.img, JUST BOOT with it, after booting, DIRECT INSTALL magisk.
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
2nd method:

Safest method available and will possibly save hours of frustration.

*Flashing* wrong boot img kills wifi, Bluetooth, nfc, sometimes mobile data and who knows what else until you MSM back to 100pct locked state
[OnePlus 7T Guides, News, & Discussion] SolitarioRider:
cant unlock boot loader help please
[OnePlus 7T Guides, News, & Discussion] Zayatoshi:
edit
[OnePlus 7T Guides, News, & Discussion] yellowman82:
Ok question on method #2, I have the boot.img for the open beta 2, this file is in my download folder of my phone is that OK? Or do I have to transfer it to my PC instead? Also the part after the code where is mentioning replace "boot.img" with the patched one etc etc, is that a line code that we also type in fastboot?
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Don't worry about any of that. Just place the boot img on desktop and drag it to the adb window, BOOT that image and direct install via magisk
[OnePlus 7T Guides, News, & Discussion] yellowman82:
Well I can't get adb to work not sure why but cmd works which is what I used to unlock the bootloader through fastboot, I'm guessing I can use that instead. Ok so example your direction, so the file I have is named ob2, there for I should fastboot boot ob2.img is what you're saying? And then follow the steps of rebooting then installing magisk manager etc etc?
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Exactly. Fastboot boot ob2.img and when it's boots up, open magisk and check preserve encryption and dm verity in option, go back and hit DIRECT INSTALL . Then restart, you have root ;)

If your img doesn't boot, just try to boot any of them. You only need it to to boot so you can open magisk in a rooted boot.img, doesn't matter which one.
[OnePlus 7T Guides, News, & Discussion] yellowman82:
Thanks, that's what I did and everything went well thanks.
[OnePlus 7T Guides, News, & Discussion] drparthmehrish:
i did the same now my wifi and mobile data aint working ... please help
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
You did the same what? Sounds like you flashed the wrong boot img.

Just get it over with and MSM back to factory and start over but this time don't flash anything .
[OnePlus 7T Guides, News, & Discussion] Master Fisto:
-SNIP-
[OnePlus 7T Guides, News, & Discussion] Master Fisto:
I am running into an issue whilst trying to root my OnePlus 7T. I do not really come jam packed with experience when it comes to rooting phones.

[ Phone Specs ]

- Model: HD1903

- OS: Oxygen OS v10.0.8.HD65BA

[ Magisk Patched Boot ]

- 10.0.8 ( LINK to magisk patched boot )

- I picked the EUROPEAN version since my OS version ends with HD65BA.

I am following the second guide and all goes well until I have to reboot after booting the patched boot image. My phone manages to boot properly but shuts itself off right when it comes to the lock screen. I then have to use the Volume Up + Power button combination in order to get my phone to boot properly again. My bootloader is unlocked and I have NOT flashed the patched boot image.

What am I doing wrong and can someone point me in the right direction? Thanks!

-- EDIT --

I got it to work. I patched the stock 10.0.8 image myself. :)
[OnePlus 7T Guides, News, & Discussion] msohail_7:
Can i update magisk to 20.4 from manager normally or will it cause bootloop?
[OnePlus 7T Guides, News, & Discussion] Galaxea:
I was on OB2 and it caused boot loop. No amount of flashing fixed anything but after 8 hours it just booted normally and everything was still there. Can't explain it...
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
Im on op7t 10.0.8BA

Just updated yesterday with direct install and reboot without problem (its more too try my luck yesterday)

My advice, standby all the rom (ota) incase of problems
[OnePlus 7T Guides, News, & Discussion] msohail_7:
Im on 10.3.1 can i update?
[OnePlus 7T Guides, News, & Discussion] anuradha96:
Successfully rooted with OP7T_O2_BETA_02
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I updated magisk to 20.4 from the manager.
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
I dont dare to say yes but yah, if u know what u are doing & know what to do if u snap something, u can give it a try ?

Make sure update them using Magisk Manager.
[OnePlus 7T Guides, News, & Discussion] lockekey:
For magisk manager update,

Should we only use magisk manager direct install or also install to inactive slot before reboot?
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
This are my step when updating:

Disable all modules (auxcamsepolicyfix, font_changer & systemless host)

Update magisk via magisk manager (choose direct install)

After finish, i rebooted my phone and pray.. pray.. pray..

The phone booted normally

Enable back all the modules & rebooted again

The phone booted normally

Hope the step help
[OnePlus 7T Guides, News, & Discussion] lockekey:
Thank you, thank you, thank you.

I started 10 mins ago, with direct install and froze before reboot because I realized I wasn't sure.

I did same, thank you. Not sure if disabling modules is required, but was happy to follow steps that worked and they worked for me as well.

Appreciate the steps. For anyone else worried about magisk manager update, the steps provided by mohdschizo work (the praying seemed to help for me as well, :) ).
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
Most welcome my friend. Im glad its help you ?

Disabling modules is a must i think. The same step on how to obtain root after OTA upgrade. But skip the install in inactive slot.
[OnePlus 7T Guides, News, & Discussion] :
How do I safely un-root? I’ve read a couple posts for un-rooting but now I’m not so sure which to follow.

Do I flash the full Stock ROM through ADB?

Do I just flash the stock non-pathed boot.img?

Do I click Uninstall in the Magisk Manager app?

Which method works or is best?
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
You can reflash stock (unpatch) boot.img that match your oos build. The simplest way for me.
[OnePlus 7T Guides, News, & Discussion] Oh Hi Mark:
Hardbrick after failed Update

I apparently hardbricked my device and need help, would be awesome if someone has got some advice!

Device info:

-HD1900 (chinese version)

-Latest Magisk (20.4) (I do not think the canary version)

-Oxygen OS 10.0.3

I tried to update to latest OOS firmware. Sadly I did not follow your guide, but this following one (triumvirat.org/2020/02/17/root-oneplus-7t/) to update my phone.

I downloaded the firmware, deactivated every Magisk module and instead of installing the update and rebooting directly I used the magisk app to install magisk inside an inactive slot. I restarted and went directly into a bootloop, which I could stop by wiping cache. After this the device was still running OOS 10.0.3 and everything was fine. I did not do anything else and thought the phone would be fine. However, after the phone dies due to lack of battery during the night apparently I can not reboot it or get any sign of life after trying to charge with different chargers and cables. I have managed to repair many soft bricks during the last couple of years, but have no clue what to do with a hard bricked device.

I really hope you know what I can do instead of buying a new phone.
[OnePlus 7T Guides, News, & Discussion] sjancura:
You need to MSM back to stock.
[OnePlus 7T Guides, News, & Discussion] Oh Hi Mark:
I would love to do so. The most recent guide for the Oneplus 7T (xdaforums.com/oneplus-7t/how-to/op7t-unbrick-tool-to-restore-device-to-t3994835) suggests to get into Qualcom EDL mode, but my device does not care about holding down both volume buttons. Do you know a solution for that?
[OnePlus 7T Guides, News, & Discussion] sjancura:
It is tricky. You have to have the MSM tool running, the cable ready to plug in and then holding the volume buttons down for a few seconds. Quickly plug in the USB cable. The tool should recognize the phone and you immediately click Start. The tool will then take over. Had to have another person helping to pull it off.
[OnePlus 7T Guides, News, & Discussion] renehd2:
Hello, I have a lot of years that dont root a device and I have a noob question. I just want to install some mods from magisk. To do that so far I understand I need to unlock the bootloader and then follow some instructions placed here.

After doing all that i will Still receive OTA updates from Oneplus or i will have to update the phone manually like some years ago?

thanks in advance.
[OnePlus 7T Guides, News, & Discussion] msohail_7:
Just guide me how to update it.
[OnePlus 7T Guides, News, & Discussion] lil_kujo:
Yes you will receive ota update once the update is installed don't reboot your phone go to magisk app and chose install if you are already rooted and wanna keep root just select the option install you will see and option that says install to inactive slot select that option once installed then you reboot device.
[OnePlus 7T Guides, News, & Discussion] mohdschizo:
[MENTION=4971427]msohail_7[/MENTION]

This step for my device op7t

U can give it a try [MENTION=5819972]lockekey[/MENTION] has sucessfully update his
[OnePlus 7T Guides, News, & Discussion] :
I do the same but without disabling the modules. I think for magisk update it's not that risky to let them enabled.
[OnePlus 7T Guides, News, & Discussion] Oh Hi Mark:
Update working without canary build?

As the tips inside the original post have been changed to show the current stable magisk build instead of the canary build but the "HOW TO UPDATE a ROM and KEEP ROOT" has not: is it possible to update using the latest stable build or is a canary build required? If the canary build is required, can I obtain that by selecting "beta" as the update channel inside magisk?
[OnePlus 7T Guides, News, & Discussion] :
Latest stable works great you don't need canary.
[OnePlus 7T Guides, News, & Discussion] pulpf:
Hello,

I made a bad manipulation I flashed the 10.0.9 and made a reboot.

So I lost the root.

How do I get to root again with Magisk.

I can't find the patched_boot.img.
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
the firmware 10.0.9, the download link?
[OnePlus 7T Guides, News, & Discussion] pulpf:
I got it automatically with the oxygen updater app
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
my phone is Europe version and the oxygen updater No. and in this site, the laster version is 10.0.8. I checking at this time.

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

https://xdaforums.com/oneplus-7t/how-to/oneplus-7t-repo-oxygen-os-builds-t3997037

the link.

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

https://www.xda-developers.com/andr...us-7t-android-software-update-download-links/
[OnePlus 7T Guides, News, & Discussion] pulpf:
238/5000

mine is an HD 1900 and I change the version of the tel to have the latest firmware version available regardless of the region and I never had a problem.

Some times I am in HD65BA and others in HD65 AA and it works
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I think the new software is 10.0.9 version eu. I can't find to download.
[OnePlus 7T Guides, News, & Discussion] 1aladdin1:
has anyone successfully upgraded from 10.0.8 to 10.0.9 without loosing Magisk root?
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Yes, I didn't lose root. You're doing something wrong.

1. Restore stock images in magisk

2. Install OTA

3. *DO NOT RESTART YET*

4. Select "install magisk to inactive slot (after OTA)"

5. Now restart and will maintain root. Note that restart will take longer than usual but it will start. It took about 2 mins for me before it booted

That being said, after I took the ota to 10.0.9, I lost both Safety net tests so I recommend people hold off on the OTA until we know if it's related or not. Seems Google implemented hardware backed safetynet with this update (why OnePlus would put this in there?) Or maybe it's just me
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
To another phone, the SafetyNet cts profile is false, and I downloaded module, from search of magisk : SafetyPatch. maybe work(?)
[OnePlus 7T Guides, News, & Discussion] Lossyx:
This with safety net is not OnePlus choice, it's a part of Androids ecosystem (TEE) and every OEM are required to have it impemented.

As far as I know this "new" safety net is triggered server side, maybe the March security patch triggered it earlier.
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Thanks for that clarification. It is server side, and the keys can "and will" be revoked" if leaked, whatever Google means by that.

Sounds like the March patch did start this. Luckily I don't use Gpay but it's annoying to not find Netflix on the play store and have to find it elsewhere
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
OxygenOS 10.0.9 Full OTA, ( https://www.xda-developers.com/onep...h-2020-patches-better-slow-mo-video-and-more/ ).

to my phone, I has 10.0.8 EU version, and I instaled Global 10.0.9, not lose data, local update. and lose root, and I instaled again magisk. but CTS profile is false.

---------- Post added at 09:35 PM ---------- Previous post was at 08:53 PM ----------

https://mega.nz/folder/VVNTQYBQ , I using payload_dumper , and in folder are,, stock boot.img, magisk_patched.img ,, {{{ Firmware 10.0.9 !! Global }}}

https://mega.nz/folder/VVNTQYBQ#HGTU15guo7ERRGsgZ6nx0A
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Thanks for the info. It does look like the OTA is killing safetynet. Can someone confirm on 10.0.8 that they do pass safetynet?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
https://postimg.cc/5HDyYdDX

I delete module SafetyPatch, and reboot, and CTS Profile true.
[OnePlus 7T Guides, News, & Discussion] 1aladdin1:
I'm on 10.0.8

Both ctsProfile and basicIntegrity are true.
[OnePlus 7T Guides, News, & Discussion] Eslam Hanafy:
i'am on indian 10.3.2

any patched img for this version?
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Just try one and BOOT it until you find one that works then open magisk and direct install

Don't flash unless you want to risk losing Bluetooth ,mobile data, and who knows what else
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
the method are the program payload_dumper.
[OnePlus 7T Guides, News, & Discussion] Cowbell_Guy:
Does anyone have a patched boot image for 10.0.9? I am on 1905 in USA
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Try them all till you find one that works then patch with magisk. Don't flash
[OnePlus 7T Guides, News, & Discussion] Cowbell_Guy:
Thanks for the message. As far as I know there is only one?

And also, forgive me for being a noob, but how can you try them with magic without flashing?
[OnePlus 7T Guides, News, & Discussion] Cowbell_Guy:
Will this work for 10.0.9 on 1905 model?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I thing NO, Dont risk, brick.
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
Np, you have to use adb and the command is

Fastboot boot [filename here].img and when the system boots up, open magisk and direct install. And reboot then you're all set.

Don't flash anything or you'll lose Bluetooth and mobile data/wifi etc
[OnePlus 7T Guides, News, & Discussion] Hanuta1:
Ok, so I tried to root my device to. I unlocked the bootloader without any issues.

Then I followed the steps from OP "First Root Guide".

After rebooting into the OS I had Wifi issues and couldn't connect to any Wifi.

The solution for me was to locally install a system update. For that I downloaded this file https://oxygenos.oneplus.net/OnePlus7TOxygen_14.E.05_OTA_005_all_1909252229_d870a5637db94276.zip and installed it. After that Wifi is working properly.

Now I need to figure out how to flash Magisk on my device :)
[OnePlus 7T Guides, News, & Discussion] Aswin08:
can you please brief the steps to patch stock boot img with magisk?

edit : Nevermind! Found the way. Thanks anyway.
[OnePlus 7T Guides, News, & Discussion] virajkin:
Phone detected the update when I checked from Settings.. System.. Update

Download the full zip and wait till install finishes, DO NOT REBOOT

Then open Magisk Manager.. Install.. Install.. Direct install

Then again in Mnagisk Manager.. Install.. Install in Inactive slot

Then REBOOT, first boot will take some time.

Phone will be updated to latest build.
[OnePlus 7T Guides, News, & Discussion] jesrani:
Success!! Thanks.

Just wanted to clarify for others, under Magisk Manager, there is option to install/update Magisk as well as install / update the Magisk Manager itself. The above steps pertain to Magisk, the first option in Magisk Manager. It has to be installed, even if it shows as installed and the option Direct Install is to be selected. It will ask to reboot, don't!! Again open Magisk Manager and again install Magisk, this time Install in inactive slot. I also updated the Magisk Manager but this may not be necessary.
[OnePlus 7T Guides, News, & Discussion] JiiJii:
Has anyone patched boot image that works with european models? I tried the one in 1st post but wifi was broken.
[OnePlus 7T Guides, News, & Discussion] Hanuta1:
I managed to get successfully rooted now and Wifi is working too.

1. Download this file https://oxygenos.oneplus.net/OnePlus7TOxygen_14.E.05_OTA_005_all_1909252229_d870a5637db94276.zip

2. Extract the boot.img with payload_dumper

3. After extracting the boot image flash it. Go into fastboot mode and type in "fastboot flash boot (imagename).img"

4. optional .... in some cases you need to change the active partition. You can do that with "fastboot set_active a" or "fastboot set_active b"

5. After booting into the flashed system copy the boot image what you flashed before on your device and also magisk manager. Install magisk manager. You can download it from here https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445.

6. Open Magisk Manager. Go Advanced Setting and set Preserve AVB 2.0/dm-verity. Press install for magisk and take option two where you can select a image file.

7. Select the image file which you copied before to your device and patch it. After patching you can find the file in your downloads folder (maybe you need to replug your device into your computer)

8. Copy the patched file on your computer.

9. Boot into fastboot mode and then flash the image to your device which you copied to your computer in step 8

10. If all is successfull then type into the command window "fastboot reboot" and your device should then reboot into a rooted oxygen OS

Note: After going through the steps your device will be on Oxygen OS 10.0.3HD65BA. I couldn't find a link to 10.0.4. Therefor please don't update your system over the settings. If you do you'll lose your magisk installation and need to redo the steps above again.

Pictures below:

[IMG=https://imagizer.imageshack.com/v2/320x240q90/922/EwZB1E.jpg][/IMG]

[IMG=https://imagizer.imageshack.com/v2/320x240q90/922/PhvzeX.jpg][/IMG]

[IMG=https://imagizer.imageshack.com/v2/320x240q90/921/RIkQAv.jpg][/IMG]
[OnePlus 7T Guides, News, & Discussion] devnerd:
If you are already rooted with Magisk and you update via the internal updater, simply don't reboot after the update got installed, but open Magisk Manager and install to the inactive slot (after OTA). Then reboot and you are still rooted.

That's how I do it since years.
[OnePlus 7T Guides, News, & Discussion] fmotta:
I'm on 10.0.4 version updated via OTA Yesterday.

Any procedure to root this?

Regards

Inviato dal mio HD1903 utilizzando Tapatalk
[OnePlus 7T Guides, News, & Discussion] old_man:
Need help: looking for a 10.0.4 HD65BA

European

patched boot image

Thanks

old_man
[OnePlus 7T Guides, News, & Discussion] NisseGurra:
I managed to install magisk, but seems system only mounted as RO, any ideas?
[OnePlus 7T Guides, News, & Discussion] Widmo:
Hi, what Was Your Magisk APK version? 20?

European version of OP?

My original boot.img have 96 MB and patched only 36,4 MB, and OP7t wont boot within this pathed image. It says Qualcom ERROR.
[OnePlus 7T Guides, News, & Discussion] NisseGurra:
Make sure you tick "preserve dm verity" in advanced settings before patching boot.img
[OnePlus 7T Guides, News, & Discussion] Widmo:
done, 38,21 MB. Try to boot from it.

edit: done :) it works

Patched boot.img, European, from OnePlus7TOxygen_14.E.06_OTA_006_all_1910122142_a6ac3d238.zip

https://drive.google.com/open?id=1JnIBeRQ-9s-JfIwcgKNwO_zBodj4gcGw

MD5: f7ba21d9107c52096cad47c2cfd4882b

SHA-1: a662582f8c34f2f59158a7f677de957055a670b7
[OnePlus 7T Guides, News, & Discussion] Valeriuz:
DELETED
[OnePlus 7T Guides, News, & Discussion] Ludespeed:
Is there a way to root 10.04.HD65AA India model HD1901?
[OnePlus 7T Guides, News, & Discussion] Aswin08:
Yes. But do you have the full OTA link or stock boot img file of 10.04.HD65AA India model HD1901?
[OnePlus 7T Guides, News, & Discussion] Ludespeed:
Nope; how can I get those?
[OnePlus 7T Guides, News, & Discussion] SilverPandamonium:
This worked flawlessly, thanks!
[OnePlus 7T Guides, News, & Discussion] sansanc:
Thanks for this mate. I have 10.0.4 but the patched file from first post was from 10.0.3 and was giving wifi problems. All good now :)

Cheers to you!

EDIT: Euro model here.
[OnePlus 7T Guides, News, & Discussion] blah19:
Brilliant! You can do it all with stock downloads & Magisk. No sketchy downloads from other sites! (Well I guess Payload_dumper(https://androidfilehost.com/?fid=818070582850510260) could qualify)