yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
I have given up on trying to get this done. I went back to the platform tools zip and set it up, but then ran into the "ABD no devices/emulators found" error. I am beginning to hate this OnePlus bull****, which are making things harder then just about any other brand. Will live with #27 in the meantime.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
If you type "adb devices" and get no devices found, then you either don't have OnePlus drivers installed, or you don't have USB Debugging enabled.

Bonus tip to make it easier: Once you have ADB files extracted to a folder, add it to PATH in Win10. That will allow ADB commands to work no matter what directory the CMD prompt is in. Here is what mine looks like.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Juxto2010:
I had trouble with root at first but got it. My 4G is still way more reliable than 5G.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Ok, so why can't we take the OTA if rooted and restore images from magisk?? Did anyone successfully update and re-root without msm tool or a full unroot? I also have the latest reserve.img. Also, I have been able to OTA update in all recent versions without any issues and being rooted. Just curious what changed.

EDIT: Nevermind. I think I see what happened. Looks like the reserve.img file changed with the .27 update. I never changed mine since a few updates ago. I assumed it was updating on its own. Makes sense because the kernel (boot.img) did change for the first time with the .27 update. I'll try updating tomorrow with the correct reserve.img in place.

EDIT #2: Well, that "new" reserve.img file I downloaded appears to be the same exact one I already have sitting in my /data/reserve folder. Meh. I guess we shall see what happens later. LOL
[OnePlus 7T Pro 5G McLaren Guides, News etc.] adit07:
Yes I did. You unroot and restore old images in magisk then reboot, take the ota, then re root.. have been doing it since .16
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
I restored the one from the first post in the repair thread, and no dice. Restored the one someone posted deeper in the thread, and it worked perfectly. I unrooted just because it's easy enough to root again, and I wanted to make sure I had the newest kernel to pull and inject root back into.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
I got past it, but then another ADB issue popped up - something about # 39 vs # 41. I hadn't touched fastboot or ADB for years....
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
Do we need more software than the reserve.img thing - doing the unrooting and rerooting manually ?

Also, I have not been able to find the newer one.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Yeah, I have updated since this phone came out using the 'restore images' option, without even rebooting...and the OTA has always worked. Not anymore. I think it has something to do with my boot.img. I just spent the last hour fixing my kernel, as magisk wouldn't even root properly with my patched .img. UGH. Anyhow, I did use the reserve.img file in that post and it did not work. Now that I'm fixed up, I'll try to update again soon.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
I meant to ask you this:

Do we need more software than the reserve.img thing - doing the unrooting and rerooting manually ?

Also, I have not been able to find the newer one. It looks like everything else right now would be a WOT without it.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Yeah I'm not sure. In ALL recent updates, I have only needed to go into magisk and choose uninstall --> restore images...then install the OTA. It updates, and then I patch my boot.img, boot from it, and install magisk again. A few updates back, I did restore the reserve.img file...but never needed to change it again.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
Ok - let us know when you get 10.0.31 up.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] ohap:
N41 is enabled now on .31 :)
[OnePlus 7T Pro 5G McLaren Guides, News etc.] champ784:
Doesn't surprise me now that the merger went through and T-Mobile is working on utilizing the new 5G frequencies and bands
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Joe199799:
So what are the steps to update I'm still on .19

Restore images

Take the OTA

Reinstall magisk

Or am I missing something
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Restore userdata, unroot, uninstall Magisk, take OTA.

Be sure to pull a new copy of the kernel before injecting root, since it seems a good bit has changed in the kernel.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Joe199799:
Ok I'm sorry this is a little more complex than my 6T was I apologise I'm lost on restore userdata and pulling a new copy of the kernel (I'm assuming boot.img)
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Check out Post #12 in this thread. Since you are still on .19, you can just download the appropriate repair archive from the linked thread. Once you are updated to .31, follow the steps in the How To Root thread, beginning with booting from TWRP and pulling a copy of the kernel.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] lramos_90:
One plus 7T 5G Mclaren pro T-Mobile

What I did to get the update for those that are wondering. I went to magisk and Tapped uninstall -Restore images then Tap uninstall again and tap Complete uninstall. I rebooted my phone and I was then able to update to 10.0.31
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
I'm getting desperate here. LOL. Uninstalling magisk completely doesn't work. I've tried that before. Can somebody check their /data/ota_package folder and possibly zip it up for me if there is data in there??
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Assuming you're on .27, try there files. They're what worked for me.

https://www.androidfilehost.com/?fid=4349826312261761521
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
You...are...the...man. or woman. :D I'll try this in a little bit. Thanks!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
Please let us know when the 10.0.31 reserve.img is available for download. Would love to be able to patch mine!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
If you successfully updated from .27 to .31, the updated file is already on your phone. If you unlocked after you were on .31, then you'll need that file.

I'll pull it from my phone if there are directions on how to do that.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Just do a pull via TWRP. That should be it.

---------- Post added at 08:24 PM ---------- Previous post was at 08:22 PM ----------

Wait. This is just the reserve.img fix files. I don't need that, but thank you! Can you look in /data/ota_package and see if there is anything in there?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Checked that earlier, and it's empty. Figured that if your OTA is bombing, maybe these files that worked for me will allow the OTA to install properly.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Oh I see. Yeah I think it gets wiped after the OTA installs. UGH. I did try those files that I had before. I'll try yours, but I don't think it's going to help.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
That would be great if you could pull the reserve from your phone! Unfortunately I updated before I unlocked :/ I know worst case I can go back to .27 or .19 and start over. Just would like to avoid that! Thanks again in advanced!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
I'll give it a shot. Just need the command to pull reserve.img from my phone.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
DrWowe was able to pull the .27 files. I am not sure how to tag him. But he would be able to tell you! Maybe you could try to PM him?

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

DrWowe was able to pull the .27 files. I am not sure how to tag him. But he would be able to tell you! Maybe you could try to PM him?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
I think I have an idea, and I blame lack of coffee for my mistake trying earlier.

I tried to pull it that same way as the kernel in TWRP, but that won't work since we can't mount /data in it. I need to flash the stock recovery with ADB enabled, and then I should be able to pull it.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
No worries!! & Damn bro.. I didn't mean for you to have to go through all of that trouble... But thank you so much!! I really appreciate it!

And when I get your reserve file, I just need to follow the steps in the op for the reserve.img dumps OTA fixer?? Then re-root? And I should theoretically be able to take next OTA with no issue.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
If you want to try it, here's my reserve.img from 10.0.31. I also updated the script from [MENTION=6692406]ntzrmtthihu777[/MENTION] slightly, just to make it a little more clear what each step is doing. Functionally it is the same.

https://www.androidfilehost.com/?fid=4349826312261762168

Just extract to your computer, and run the bat file. Make sure USB Debugging is already enabled, and your computer is trusted.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
Perfect man! Thank you so much, I really appreciate this. I will give an update after I try running the script!

And since I will be unrooted after this... I just need to fastboot boot my magisk_patched.img & install newest magisk for perm root? I guess we really won't know it works till I try taking the next OTA though lol
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
You won't be unrooted after this. The only thing this will do is replace the reserve.img and set permissions appropriately. Even with the other scripts, unrooting is a separate step to be done before running this, so that you can accept the OTA immediately after.

Since you are already on .31, you can skip the unroot steps that are separate. The main test here is to make sure you have reserve.img in your data partition after running this.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
I'm sorry definitely misunderstood a bit. But I have finished running script. Wiped cache and rebooted. Used Root Explorer and can confirm my reserve.img has been restored!!! Thanks man!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Use a file explorer app with root access (I use Solid Explorer), and check /data/reserve for a 260.16MB reserve.img file.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
Sorry you must of been replying before my edit finished on last post! But i can confirm my reserve.img on 10.0.31 has been restored! Thanks again!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
That's great! Now we just have to wait for another OTA and hope for the best. Although it's been restored, the only true test is trying to accept an update.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
I completely agree! There is one that should be coming this week though! Also I have another question. Have you looked into the OnePlus 7T Pro Dual Boot TWRP? https://xdaforums.com/oneplus-7/one...y-unofficial-twrp-oneplus-7-7-t4066851/page15

My overall goal is to have partition A with KAliNethunter ROM for OnePlus7t & a stock Oxygen rooted ROM on partition B that i can keep accepting OTAs with! The obviously a Swap partition for them to share a lil of the 256GB storage! haha
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
No, unfortunately that's beyond my skill level. Haven't been active in the dev scene for quite a while, and I'm content with stock OOS w/ root. Last I had read, something was different with the TMO 5G McLaren that meant TWRP didn't work correctly.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
AS usual, I am missing something - the updated script?

Also, as i have not been able to update .31 yet, should I use this reserve.img or the previous one you made available ?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Updated script, meaning that I modified the script in the original packages, to make it a tad clearer what needs to be done.

This zip won't work for you. It's for people already on .31, and unlocked their bootloader after. This will replace your reserve.img with the wrong version for .27.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
I have the official stable TWRP installed on mine right now and it is working! I have just never messed with a multi partition phone before!

This is link for stable TWRP for the 7t 5G! https://xdaforums.com/oneplus-7/one...nt/recovery-unofficial-twrp-recovery-t3932943
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Wait, so you flashed TWRP and it sticks. However, can you mount system? Well, I don't think any TWRP works with Android 10 and able to mount system. Have you tried flashing magisk or mounting the sd card?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] tmushtare:
hmm you are correct sir, when I rebooted into recovery just now. It was my stock recovery not TWRP. I will do some testing and let you know when I get it working. But I have seen plenty of other posts with success.

I will be attempting the dual boot TWRP not the regular one. Since there has been many success stories!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] lendawg:
Battery life on this latest update is bad ass even with stock kernel!
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Purest:
What app is this??
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
They are referring to the frequency band for 5G. N41. By the way, [MENTION=2461375]ohap[/MENTION]...is this enabled by default? Or do we have to do something?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] ErickF:
Question for anyone that knows. I did the reserve fix and updated the phone and was able to reroot. Do we have to do the reserve patch every update now since i re rooted? Or its just when you first unlock the bootloader? Thanks
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Only after the bootloader unlock.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
You shouldn't have to restore the reserve.img once it exists in /data/reserve. Any future OTA updates should not delete it. Rooting does not remove this...but messing with the bootloader will of course. I installed 3 updates in the past without having to restore.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Fashcat:
adb -d is missing with install portion
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
That doesn't appear in the original repair script either.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Fashcat:
Were talking about the reserve one yes? If not, my clear misunderstanding.

If yes, i opened notepad++ to see why i had some error with it pushing magisk and what I saw was that it needed "-d" as the .25 reserve fix did have that.

Semi related, either way none of this is working and dont want to msmtool. Anyone have the .27 kernel i keep hearing about?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Yes, the repair script. It's not in the .25 one either, which works without error.

@ECHO OFF

PATH=%PATH%;%SYSTEMROOT%\System32
echo Rebooting to bootloader...
adb reboot bootloader
echo Press any key when you're at the bootloader screen
pause >nul
fastboot boot boot.25.magisk.img
echo Press any key when you're booted
pause >nul
adb install MagiskManager-v7.5.1.apk
echo Press any key after you've opened and closed magisk manager
echo Hit cancel if it asks for additional setup
pause >nul
echo Press any key after you allow shell access to su
adb shell "su -c dmesg > /dev/null"
pause >nul
adb push reserve.img /sdcard/
adb push reserve.sh /sdcard/
adb shell su -c "sh /sdcard/reserve.sh"
adb reboot

echo Done. You should now have the OnePlus apps back and be
echo able to take OTA updates.
echo Press any key to continue.
pause >null
exit
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Fashcat:
perhaps i changed all my scripts (i remember issues getting to 25 not knowing why) im lookin at 16 and still shows

adb -d install MagiskManager-v7.5.1.apk

gimme a minute ill show you what my error looks like. and i mean ....not even sure technically IS one but at one point i fully removed magisk and ran script and it wasnt on there. that prompted me to look into it

*edit i will use the .31 script minus the -d

*edit 2- i know i changed them all because a while back i was attempting a seamless flash fix-all.bat in combination with with the reserve and magisk
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
I do know it works without the "-d" since I repaired with the .25 script and was able to accept the .31 OTA after.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Fashcat:
so heres what i think happened. i looked at all the zips and saw that yes you are correct on it not having -d

the problem wherein i needed to change it was because i had to use msm tool. magisk didnt exist period as an app.

i ran scripts without the -d and they did work in the sense the script executed magisk install

but i had flashed my original .25 boot image and no magisk SO when i used original script it had an error and did not install magisk at all.

i was confused for a couple reasons

1. somebody mentioned replacing boot image from x with script folder y

2. previous scrips did not have

echo.

(script following the echo + period)

so when i opened MY slightly modified versions and saw -d......thats what i thought was happening. and it did work for that command.

that said, no way about it is working correctly without msm. wasnt able to update to 27 since ive been busy with fam to mess with any of this and i cant find the kernel everyone keeps talking about needing for the 31 update.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
If you have the original kernel that you extracted in TWRP before injecting Magisk, that is the one you need to restore. Uninstalling Magisk should put the correct kernel back for you automatically.

On the other point, if adding the "-d" will work for those without Magisk Manager already installed, I will add it.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Fashcat:
i was never able to update to 27. that includes uninstall magisk incorrectly, finding and flashing 25 boot img, redoing the whole thing, and clicking restore images etc etc.

and i guess nobody had reserves or something i kinda gave up for a bit and figured come back to it later (today, now. since i just got tired of notifications and realised new build).

maybe yourself or others may know the answer to this: i used to have issues with commands like --set-active not recognizing -- set until realizing minimal fastboot works best for that sort of thing instead of regular command prompt or whatever new windows powershell either.

however a lot of things ive noticed talking about fastbootd (fastboot reboot fastboot a la "flash" script zip), that command does not work. at least windows 10. for me. and various shells im using. i believe i remeber seeing something about that being (our device) recovery, so wouldnt it be fastboot reboot recovery? been out this a bit to accurately assume certain things. im just tryna update lol. all this was why i was trying to streamline multiple scripts so that way with each update can just pull what i need and have one big folder for each one should anyone not me need.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] shatty:
Im on 25 I tried getting to 31 with no luck with OTA. rooted and unlocked. Tried the reserve25 repair with no luck either. Anyone have any ideas?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] Fashcat:
I ended up having to use msm tool. Was initially just going to lock bootloader. Either way bye bye certain data. Oh well
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
I just want to be sure how to update now - after I finally updated .31 without having to use MSN and reserve.img is in its place in Data, do I only have to unroot with stock kernel from Magisk, update, and then reroot with patched boot.img ?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
You mean for updates coming after .31? You don't have to do anything right now. Once a new update comes out, just uninstall Magisk, restore stock boot.img, and install the update.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
Yeah - exactly.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] ohap:
It is network signal guru
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
Here we go again - .34 update just appeared.

Been waiting on one to see how my rooted device handles it per the above procedure.

Well, I had Magisk reinstall image, rebooted, and then ran the update. Finished and rebooted OK.

But then had trouble with rebooting. Fastbooted the patched Magisk .img, and it rebooted, looked ok, but couldn't get to the desktop to have Magisk reinstall itself to lock it in.

Had to go through the rerooting procedure a few times, but finally got to Magisk manager and reinstalled Magisk, rebooted and all fine.

Should I be using an updated patched Magisk to avoid the above problem ?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
I pulled a fresh copy of the kernel and patched it with Magisk again. Everything was smooth, and I was back up and running within 20 minutes.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
Could you post a link to the new one ?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
You have to pull it from your phone after the update. Then you patch it with Magisk, boot from it, and then flash it.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
I had problems with pulling it with TWRP/adb pull. I used some one's boot.img.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] lendawg:
Try this. Go into magisk and hit uninstall. After that you should be able to take the ota. Don't reboot after it installs. Go back into magisk and hit install and apply to inactive slot and then reboot and you should be good to go without having to patch anything on your PC.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
If you rooted with an older kernel, you will need to unroot and restore your boot image, then reboot and make sure the kernel build date shows April, not March. Then you can try the steps again.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
When it did the update it rebooted automatically - is there another way to update?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
Here's my kernel from 10.0.34, with Magisk injected.

https://www.androidfilehost.com/?fid=4349826312261789146
[OnePlus 7T Pro 5G McLaren Guides, News etc.] ttabbal:
Smooth upgrade here. Unroot in Magisk, reboot, install update. Reboot to fastboot and use the same steps in the root thread to pull and patch the kernel, boot, and install Magisk.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Yeah not for me. I have been having issues installing the OTA since .31 for some reason. When you unroot, are you just selecting restore images? Or are you doing a full uninstall?
[OnePlus 7T Pro 5G McLaren Guides, News etc.] NotATreoFan:
I restored images, but did not uninstall. That allowed all my Magisk settings to be retained after I rooted again.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
Ok. Yeah I've done this and it worked without any issues until the .31 update. It no longer works for me. I don't even think removing magisk completely would help. UGH. My suspicion is adaway. This app modifies the system hosts file, so maybe that trips the OTA now. I don't know. It worked before. Whatever. LOL
[OnePlus 7T Pro 5G McLaren Guides, News etc.] gaww:
I have had adaway up all the time without problems with last updates.
[OnePlus 7T Pro 5G McLaren Guides, News etc.] js042507:
I thought your OTA was failing as well though? I remember you saying it eventually worked, but did you wipe via MSM tool first? If not, why do you think it all of the sudden worked after failing so many times?