yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T Guides, News, & Discussion] Fiava:
It doesn't work. 8 hours wasn't spent doing nothing. I had to trial and error multiple times to get the phone ADB enabled. My PC recognizes it as HD1900 but fastboot commands won't work on the phone. I cannot drag files into the phone's internal storage but I can drag files out of the phone's internal storage.

---------- Post added at 10:14 PM ---------- Previous post was at 10:13 PM ----------

It doesn't work. 8 hours wasn't spent doing nothing. I had to trial and error multiple times to get the phone ADB enabled. My PC recognizes it as HD1900 but fastboot commands won't work on the phone. I cannot drag files into the phone's internal storage but I can drag files out of the phone's internal storage.
[OnePlus 7T Guides, News, & Discussion] ashimiyy:
This worked for me. it was so seamless. i recommend everyone should use this method because it gives you the luxury of having a backup of your stock boot.img file in case there is a problem.

thanks for the guide.
[OnePlus 7T Guides, News, & Discussion] juscozimme:
Hey I have the T-Mobile version, unlocked running 10.0.7 flashed to Global. I had the same issue lost WiFi and data. Luckily I had downloaded 10.0.7 via Oxygen updater, did a local update voilla data and WiFi working. Installed patched boot image again, same issue, but the local update resolved data WiFi issue. By the way I patched the boot image using Magisk.
[OnePlus 7T Guides, News, & Discussion] xrelic7:
Well it worked for me idk what to tell you
[OnePlus 7T Guides, News, & Discussion] mikefnz:
Are you using the latest adb?

USB debugging turned on?
[OnePlus 7T Guides, News, & Discussion] juscozimme:
Are you using powershell or cmd?

Make sure your phone is in fastboot mode. Power off your phone, press the vol up, vol down and the power key. After you see start plug your cable into the phone.

Power Shell add ./ before each command.
[OnePlus 7T Guides, News, & Discussion] xrelic7:
I booted my linux partition worked like a charm for windows you are gonna def need to have adb and fastboot drivers installed no clue how to get those unless they come preinstalled but i dont think they do
[OnePlus 7T Guides, News, & Discussion] KostisTTT:
Question about root and reboot

Hello, guys...

I would like to ask if when rebooting you lose root.

Thanks in advance
[OnePlus 7T Guides, News, & Discussion] mikefnz:
Please read thread first. It's all there. Thanks
[OnePlus 7T Guides, News, & Discussion] rezaluchu:
Thanks for this awesome information. I managed to get my device properly boot again :D

I did stupid mistake, installing update of magisk to inactive slot. Should have been chosen direct install.

Some say that experience is the best teacher. But this one give me goosebump :D
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I updated magisk to laster version 20.2 .
[OnePlus 7T Guides, News, & Discussion] pixelflair:
same here :( 10.0.7 EU Version. No Wifi working. :(
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I think, you must flash fastboot rom, to restore the phone,, ( in my case, i flashed two times fastboot rom),, and repair ...etc.
[OnePlus 7T Guides, News, & Discussion] Kissadrya:
Hello, I have the OnePlus7T version HD1900 but I can't use the Diag Port, with these codes * # 808 #, * # 801 # and none works please someone knows the port diag for this device.
[OnePlus 7T Guides, News, & Discussion] niyonsv:
Even after reading all the posts in this thread (for have been more than 2 hours I think) I can't understand if the OnePlus 7T can be rooted with Wi-Fi, mobile data and everything working.

My 7T (HD1901) is on Oxygen OS 10.3.0.HD65AA. I unlocked the bootloader and flashed the .img patch file (downloaded from AFH) as said in the OP 1st method. But the WiFi stopped working. Then I downloaded and re-flashed the OOS 10.3.0.HD65AA and everything started working with still at bootloader unlocked state.

I read in this thread that some people's 7T (Indian or EU) lost their WiFi but some others have working root. Could anyone please point me to the right step to get the root with WiFi and everything working?
[OnePlus 7T Guides, News, & Discussion] yash@sha:
I have the same Indian variant and 2nd method worked for me. Do exactly what's written in the post . And install Canary version only.
[OnePlus 7T Guides, News, & Discussion] niyonsv:
Thanks bro, lemme try again.

Just want to know why the Canary version is recommended instead of stable or even beta?
[OnePlus 7T Guides, News, & Discussion] niyonsv:
No luck bro. After patching, rebooting, installing Magisk Canary it showed Magisk as installed. There wasn't any 'Install' button. So I rebooted again after that the Magisk Manager shows Magisk is not installed. When I clicked the nearby install button but I couldn't find any Direct Install option - only 'Download the Zip' and 'Select and Patch'. Could you please say what is wrong with my procedure?
[OnePlus 7T Guides, News, & Discussion] ravijot:
I am assuming this method does not require bootloader unlock as there is no mention in the instructions. Can anyone advise about this. Thank you.
[OnePlus 7T Guides, News, & Discussion] Josh McGrath:
You won't even be able to use the basic adb boot and flash commands to try this if the bootloader is locked

Further, if you still managed this, it would not boot because your phone will be "untrusted"
[OnePlus 7T Guides, News, & Discussion] niyonsv:
I did the exact steps but WiFi still didn't work. It was even working while doing the step 7. After doing all the steps I got the Magisk installed successfully in the Magisk Manager. But even after several reboots the WiFi isn't turning on.

Edit: My device is HD1901 with Oxygen OS 10.3.0 HD65AA
[OnePlus 7T Guides, News, & Discussion] ravijot:
Thanks for your help. I get it now.
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
https://www.google.com/amp/s/www.ytechb.com/how-to-unlock-bootloader-on-oneplus-7t/?amp

Look the guide.
[OnePlus 7T Guides, News, & Discussion] yash@sha:
Didn't u get this option?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
In my case, I flashed putched boot.img, with command adb.
[OnePlus 7T Guides, News, & Discussion] niyonsv:
Yes, but not then, after following the guide by gpz1100. But the WiFi stopped working again. After reboot the WiFi came back but the Magisk gone in the Manager. Can't find out what is actually happening to my device ?

I'm going to try his method again.

But before that since you suggested the 2nd method in OP I want to ask you one thing. The name of the patched IMG provided in the OP is "boot_10.0.3_magisk_patched_op7t.img". But the latest Indian version is 10.3.0 . Is there any relation between these version numbers? Am I missing something? Or just my wrong assumption?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
payload_dumper program, and get the putched boot img,, ( for your region).
[OnePlus 7T Guides, News, & Discussion] PrinceEndymion88:
I used this tutorial and I created my patched boot image but instead of flash it I used the command:

fastboot boot magisk_patched.img

But it stucks in bootloop... :(

I have a op7d hd1903 oxygenos 10.0.7.hd65ba

Can someone help me?

Thanks in advance

(Edit. I also tried with fastboot flash boot magisk_patched.img and nothing... Bootloop... I revert my phone to the stock boot image).

If I use fastboot getvar current-slot I see that the slot selected is "a". May this help?

EDIT: Solved, the bootloop was caused by a module installed in the previous version of the OS (SmaliPatcher). In future, before update the OS, i will uninstall all the modules
[OnePlus 7T Guides, News, & Discussion] niyonsv:
It worked at last!! ?? Thank you so much mate. Now both the root and WiFi is working. Don't know what happened earlier, I rechecked the commands I typed then and now and didn't find any difference. Thanks again.
[OnePlus 7T Guides, News, & Discussion] gnevol13:
Work like a charm Oxygen 10.0.6 Thank you.
[OnePlus 7T Guides, News, & Discussion] Cristianos102:
Hi, I have problem with root, I rooted phone using this method everything worked perfectly till I decided to update magisk version (canary I believe), it booted after reboot but sim signal icons where grey, no hot spot etc. I decided to go back using patched file and fastboot, everything good so far, booted with all modules active but I am left with no root and magisk manager tells me there is no magisk installed, any suggestions? Tried to uninstall manager, stable, canary, beta, even flash stock boot same result, only with stock boot there is no modules active.

OS 10.0.7 BA

HD1900
[OnePlus 7T Guides, News, & Discussion] gpz1100:
Glad the guide in post # 613 has helped some. I suppose it should be a given that if you have magisk modules performing some low level function then those should removed/disabled before doing anything. Otoh, if you already have working magisk then why reroot¿?

Personally, while everything is working fine, I'm even hesitant to update magisk to a newer version. If it's not broke don't fix it.

----

I've gotten a few PM's asking to explain how do to some of the adb/fastboot commands. I thought the way it's stated is fairly self explanatory.

Seriously, if you don't have some basic adb/fastboot knowledge, you have no business rooting your phone. EDL brick recovery will be much more challenging....
[OnePlus 7T Guides, News, & Discussion] mrjuniork:
It can be quite a pain though, coz in my case I tried to install Viper and it went straight to fastboot. I switched to the other slot in order to boot, but I lost root and like this I didn't have access in order to delete the magisk module that acted out. And since there is no accces to data partition in twrp yet, there was no way to get back without factory reset. At least the internal storage wasn't untouched. I tried all the possible ways with Viper, but ended up reseting the phone not just once, but many more times :rolleyes:

But your guide is very straight forward and for sure helped many people, including me.

Can't wait to have a functioning twrp, coz till then it can be quite a lucky game with flashing mods..
[OnePlus 7T Guides, News, & Discussion] heman22union:
Hello,

I'm just got my 7T US version. It's running 10.0.1HD65AA. I'm wanting to root. I have done some reading and searching in this thread. Looks like the best option for me is to do the OTA upgrade to 10.0.7 first, then follow the wonderful instructions provided by [MENTION=2179192]gpz1100[/MENTION]? Please advise. Phone already had it boot loader unlocked.

Thanks!!
[OnePlus 7T Guides, News, & Discussion] mrjuniork:
Just follow them as you said, and you'll be fine.
[OnePlus 7T Guides, News, & Discussion] gpz1100:
Why not flash the stock boot.img to the nonbooting slot? This would disable root, allowing the phone to boot. Once booted, uninstall magisk manager (or maybe just deleting the offending module)?

Was this the dolby viper eq thing?

Magisk really need to monitor for a .disable_magisk at /sdcard. At least that's accessible from booting twrp.

Edit:

Someone on discord suggested:

adb wait-for-device shell magisk --remove-modules

​

From a windows connected device.

​
[OnePlus 7T Guides, News, & Discussion] mrjuniork:
That's exactly what I did in order to boot my system. It did disable root, but then I couldn't access the modules through Magisk Manager, coz that menu was no longer available. And since I didnt have root, I couldn't delete the module manually.. As long as I didn't factory reset, the module (Viper FX 2.7) was still tampering with system, so there was no way for me to get rid of it without doing a factory reset (or at least I believe that there was no way).

In twrp /sdcard wasn't showing any content before extracting the boot.img into this location. I wonder why though the content of /sdcard wasn't visible.

But isn't that quite far fetched? How much more should topjohnwu take care of? He might as well get twrp up to date for that matter :silly:

And it doesn't necessarily need to be a Windows device ;)

I did all that adb fastboot fun with my Macbook..
[OnePlus 7T Guides, News, & Discussion] gpz1100:
Right, but you could have uninstalled magisk manager? Wouldn't that take any/all modules along with it?

If /sdcard in twrp is not the real /sdcard, what is it....Some sort of virtual /sdcard (ramdisk?) ?
[OnePlus 7T Guides, News, & Discussion] mrjuniork:
I really don't know if uninstalling MM automatically gets rid of the modules as well. I always thought that this happens through either deleting the modules within MM or uninstalling magisk itself through the Manager. And both of it wasn't possible.

Since I kind of needed my device to function again, I didn't have the time to dig deeper.. Though it's for sure quite interesting to dwell on that, given there is time and patience, which wasn't available as well :)
[OnePlus 7T Guides, News, & Discussion] mauronofrio:
Good guide, only 2-3 things, it's better to save the boot.img backup in / and not in /sdcard because /sdcard should be the internal storage mount point, obviously then you have to pull the file from / and not /sdcard.

Actually Magisk 20.3 it's perfectly working with 10.0.7 so i want to reccomend that one.

Last thing, also if you have a patched boot.img flashing directly it maybe can cause some problems, i will always advice to boot only it and then root using magisk manager.

I will upload a global 10.0.7 patched boot.img in the next hours
[OnePlus 7T Guides, News, & Discussion] mrjuniork:
Delete
[OnePlus 7T Guides, News, & Discussion] izaydi:
4) Once booted, enter adb <adb shell>

5) type

dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img

5a) Backup file to the pc <adb pull /sdcard/boot.img stock_boot.img>

6) Reboot phone back to android

anyone can show me how to to step 4- 5a?i confuse
[OnePlus 7T Guides, News, & Discussion] niyonsv:
Ignore the < (less than) and > (greater than) signs.

4) Type

adb shell

5) Type

dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/boot.img

5a) Backup file to the pc by typing

adb pull /sdcard/boot.img stock_boot.img
[OnePlus 7T Guides, News, & Discussion] niyonsv:
This is showing in my Magisk now. May I please know how to update both the Manager and Magisk? Do I need to redo all the steps or just tap the update button on both? :confused:
[OnePlus 7T Guides, News, & Discussion] Lossyx:
The update process of just magisk is nothing different from any other system, just install and reboot.
[OnePlus 7T Guides, News, & Discussion] niyonsv:
Thanks. I just transferred and verified all of my 300+ apps with data from my old phone to 7T. It took almost two days to complete the whole process. Then saw this notification in Magisk. I was a bit afraid to directly update the Magisk. :)
[OnePlus 7T Guides, News, & Discussion] giacomowrc:
Which channel of magisk do you advice for root? Stable or canary?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I used stable. First run the command : fastboot boot .. putched.img, and if the phone not brick, reboot and run : fastboot flash boot .. putched.img
[OnePlus 7T Guides, News, & Discussion] izaydi:
Can i know step no.4 type in phone during twrp or type in pc?if in twrp. Which menu?many thanks
[OnePlus 7T Guides, News, & Discussion] niyonsv:
Type in PC bro. But before that just type "adb devices" (without quotes) in CMD to check if the device is properly connected and ready for ADB commands. ?
[OnePlus 7T Guides, News, & Discussion] HTC Tytn user 188:
I followed the method 2 and used the newest magisk not canary. After installing Magisk Manager it wanted to reboot and after reboot I could not install magisk, but did method 2 again and all worked. Thanks a lot. Finally Adaway in the device :)
[OnePlus 7T Guides, News, & Discussion] Wayem:
Hello,

I've been following the steps but I'm stuck on 5a with this message :

/sbin/sh: adb: not found

any advice ?
[OnePlus 7T Guides, News, & Discussion] pedritopl:
Try exiting the adb shell by writing "exit" between points 5 & 5a.
[OnePlus 7T Guides, News, & Discussion] MetalHead650:
Greetings, everyone!

Yesterday i attempted to root my 7T following gpz1100's guide but ran into several problems, but in the end managed to pull a stock boot.img to use with Magisk. For some weird reason i could not point Magisk (Canary version of the manager apk btw) to /sdcard, becaue none of the installed filemanagers could display that directory, it just simply would not show up. So i copied the stock_boot.img via Windows explorer onto the phone from where Magisk could access it. I flashed the patched image afterwards and gained root. So far so good. I then tried to install Youtube Vanced and AdAway but again ran in some problems. Vanced would install and work correctly but the module would not whow up in the modules tab. Also, when i tried to enable the systemless hosts module for AdAway, it would prompt a popup saying it got added, but also would not show up in the modules tab. I then tried to uninstall the manager app, to then reinstall it, but got a soft brick after restart. The device booted to the point where you enter your sim-card pin and then the screen would just turn black and it would not respond to buttonpresses. With some trial and error i managed to boot to the stock recovery and did a factory reset what at least allowed me to then boot und use the phone properly.

I am not sure what went wrong at what point, but for now i would like to restore to a clean stock EU firmware, since i have a feeling that some apps still behave weirdly. I found the MSM Unbrick-tool, but as i understand it, it uses either the global or indian firmware? I would like to use the EU firmware if possible. Can someone please guide me to get my 7T back to a stock 10.0.7 (HD65BA) build? I know there are guides out there, but since the 5h "adventure" from yesterday, i do not want to take any more risks, since i managed to brick my at that point 3h old brand new 7T ;)

Thanks a lot!
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
I used two times the program ,, platform-tools,, https://www.google.com/search?q=pla...droid-oneplus&sourceid=chrome-mobile&ie=UTF-8

---------- Post added at 05:00 PM ---------- Previous post was at 04:53 PM ----------

https://androidfilehost.com/?w=files&flid=300020

I used fastboot rom, all data erase !!!!!!!!!!

After ota to 10.0.7, and in my phone, rom Europe.
[OnePlus 7T Guides, News, & Discussion] MetalHead650:
Thanks for the link, i would like to flash the 10.0.6 EU version to give the phone the chance to update itself to 10.0.7. I know this is a lot to ask, but could you please guide me through the process? I searched for guides on flashing the rom but found different procedures.

Edit: Oh i am sorry, i just realized, you are referring to this (https://xdaforums.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213) guide by mauronofrio, right?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
You must download the file platform tools,,, ( non sdk platform tools), and create a file in disk C, and copy paste the file .zip, and extract there.

After downloading fastboot rom, copy paste to your file, and extract the rom.

Non stop the program,, 5 minutes ~ 10 minutes. All data erase.¡¡!!!!!!!!!!!!!!??

I used that in my phone brick, and i restore.

---------- Post added at 05:30 PM ---------- Previous post was at 05:26 PM ----------

Run ,,flash-all.bat,, and in Window select Y, and waiting, and good luck !!!!!!, The phone in fastboot mode !!!!!!!!!!!!!!!!!!
[OnePlus 7T Guides, News, & Discussion] Lossyx:
Sorry to interrupt, But dude, you really need to learn how to quote people/posts properly.
[OnePlus 7T Guides, News, & Discussion] MetalHead650:
Ok, i used the .bat to flash the ROM and everything worked fine. Something i missed though, this method of course does not downgrade to an earlier firmware, which would be nice, but hey. I think it is not worth the trouble to downgrade just to let the phone upgrade itself via OTA. Thanks a lot, guys! I will have a shot at rooting in the future again, for now i am just glad my phone works...
[OnePlus 7T Guides, News, & Discussion] Wayem:
ok that was it. Thanks !
[OnePlus 7T Guides, News, & Discussion] gpz1100:
I updated post #613 slightly to clarify the adb commands and paths. It appears the /sdcard exists only in twrp (virtual path?). This is not the same /sdcard that exists once booted.

Also note that magisk does not place the patched file in the same folder as source, rather in /sdcard/download .

As I mentioned earlier, if you lack basic adb/fastboot skills, really consider why you're rooting the device in the first place.
[OnePlus 7T Guides, News, & Discussion] giacomowrc:
Work perfectly with magisk 20.3 stable. Before point 14 I have booted patched image for testing it like [MENTION=1477792]thanasis[/MENTION]12 said in post 716. After check that always was ok in magisk manager, I've rebooted the phone and flashed the image.
[OnePlus 7T Guides, News, & Discussion] MetalHead650:
Ok, i can't wait, i'll have another shot at it. Just to verify, what Magisk Manager apk version are you using? The 7.5.1 from the Magisk 20.3 Thread, or the specific Canary apk?
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
Me i use stable 7.5.1, and magisk 20.3

What rom have you, Europe version 11.0.7 ?
[OnePlus 7T Guides, News, & Discussion] MetalHead650:
Success! Everything works now! It turned out that my problem from yesterday, the Magisk modules not showing up in the modules tab was just a bug in the current Manager apk. The canary version got an update today where that bug got resolved.

Unfortunately i am still on EU 10.0.7 ;)
[OnePlus 7T Guides, News, & Discussion] thanasis12.:
Sorry I have 10.0.7 eu, ( not 11.0.7).
[OnePlus 7T Guides, News, & Discussion] manan001:
After root is anyone facing issue with whatsapp?
[OnePlus 7T Guides, News, & Discussion] iruiz2:
Nope. It shouldn't and it doesn't affect whatsapp.
[OnePlus 7T Guides, News, & Discussion] OthmaneBoutaleb:
Still waiting for you to upload the global 10.0.7 patched boot.img .........

And just to make sure : 10.0.7.HD65AA it's Global right?
[OnePlus 7T Guides, News, & Discussion] manan001:
Hi, I just figured out that modified WhatsApp does not work on rooted rom. As it gives media does not exist, camera failure error.. so there is something in root that is causing issue.
[OnePlus 7T Guides, News, & Discussion] aswe77:
Will this root wipe user data?
[OnePlus 7T Guides, News, & Discussion] :
No, If you are already unlocked it won't wipe anything.

The unlock process will wipe your phone.

---------- Post added at 10:37 AM ---------- Previous post was at 10:35 AM ----------

[MENTION=4712355]mauronofrio[/MENTION] This should be added to OP!:good:
[OnePlus 7T Guides, News, & Discussion] OthmaneBoutaleb:
Please guys I have a OnePlus 7T HD1900 on 10.0.7.HD65AA.

Can anyone share the Magisk boot.img for my device ? I couldn't find it..
[OnePlus 7T Guides, News, & Discussion] mauronofrio:
Adding it right now

Added in the download link
[OnePlus 7T Guides, News, & Discussion] OthmaneBoutaleb:
Heyy, sorry which download link? I can't seem to find it
[OnePlus 7T Guides, News, & Discussion] mauronofrio:
first post, androidfilehost download link
[OnePlus 7T Guides, News, & Discussion] OthmaneBoutaleb:
I can only see 2 old files
[OnePlus 7T Guides, News, & Discussion] mauronofrio:
Check better
[OnePlus 7T Guides, News, & Discussion] mrjuniork:
Hey there.. Can you somehow share your educated guess about a fully functioning twrp for thud device? I read about the android 10 changes on the twrp page and so I'm aware of the issues. Coz I really miss full system access in case something goes wrong with a module etc..

Totally not asking for an Eta, just wanted to read your thoughts :)