yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
If you hit the up arrow after each Enter, the command should reappear. Then you only have to type in the new package name after backspacing out the previous. For each device I buy, I keep a copy if the commands for what I remove, just in case I have to do it again. A lot of what I remove is Google bloat, which appears on most Android devices.
[OnePlus 7 Pro Guides, News, & Discussion] dlee337:
That's exactly what I removed, among a few other things. In my apps list, they still show up- just "Not Installed For This User." In my searching, I discovered they can be reinstalled because you're technically not removing the packages from the phone. Phone is noticeably snappier. Very happy.

And, to the OP, sorry to hijack your thread.
[OnePlus 7 Pro Guides, News, & Discussion] cjrivera04:
Hey folks,

New to oneplus, coming from the pixel 2 xl. If I don't want TWRP as my recovery could I just "fastboot boot twrp.img "and then flash Magisk without any issues? I often found TWRP issues on the 2 xl. I found it easier to just "fastboot boot twrp.img" when ever I finally decided to make any changes to anything. Thought I'd ask. I didn't see anything in the forum that did not talk about flashing both twrp and Magisk. Thanks.
[OnePlus 7 Pro Guides, News, & Discussion] Bradl79:
its easier to just download the patched boot img of the OS and model of the phone u have and flash via fastboot, instead of booting to twrp and flashing magisk.

fastboot flash boot boot_patched.img
[OnePlus 7 Pro Guides, News, & Discussion] cjrivera04:
Thank you sir! I appreciate it. I just looked up the patched images and prefer this method. It's just easier to me to go back and forth through TWRP manually when I really need to.
[OnePlus 7 Pro Guides, News, & Discussion] Bradl79:
If u ever need twrp u can still boot to twrp like u stated. That same post has the info on how to update and keep root too.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Your issue there was flashing the TWRP file ending in .IMG instead of the one ending in .zip. What happened was your device's boot.img was removed and replaced with only TWRP. Go to this link and download the boot.img for your device, switch back to the broken slot in TWRP and install the boot.img. Once done that, flash the TWRP installer zip file, reboot to recovery, and flash magisk
[OnePlus 7 Pro Guides, News, & Discussion] salva52:
Thank you. I switched from B partition to A and reboot and system turn into Factory reset (9.5.4). After the update ota download 2GB 9.5.8 and the installation goes ok and installed in partition B now.

I have only problem some times at start with sim card not detected, I don t know if it linked ?

It's very necessary to do flash boot.img if my 1+ works now, i will lose my data, app, ... ?
[OnePlus 7 Pro Guides, News, & Discussion] MoeKz:
Downloading the North American TWRP versions of the .img and .zip files from the provided link seem to be down. Does anyone have mirrors of them or know if I can use the European files instead? I am able to download those for some reason. Clicking on the NA files gives me a "connection refused" error.

EDIT: Apologies, misread the website and now see that they are only mirrors.
[OnePlus 7 Pro Guides, News, & Discussion] redpoint73:
Your edit is correct. Those are only different download locations (mirrors). Not different TWRP 'versions'. You're not the only person to make that misinterpretation.
[OnePlus 7 Pro Guides, News, & Discussion] KING SKILLZ:
Thanks! used this method, first oneplus device, but I used fastboot/adb in the past to root my Nvidia. Been using Odin with my Samsung devices for a while but this guide made it equally simple. Thanks to you and of course the OP. Salute.
[OnePlus 7 Pro Guides, News, & Discussion] Guero.:
For anyone who wants to stay on the stock T-Mobile rom... After getting the SIM unlocked from T-Mobile and the Bootloader unlock from OnePlus I was able to use this process to get TWRP and Magisk on 9.5.8.
[OnePlus 7 Pro Guides, News, & Discussion] tp.kahara:
I'm not a noob but it's been 7 years since I used a custom rom, so I have forgotten most of the steps. So, I'm gonna ask a noob question: Which steps are required for root only, without custom recovery and no custom rom? Mainly wanna change a few things and block some stuff.
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
Thank you. It works.

First time i use ADB. I use OnePlus 3 to 7 pro..

I download the "platform-tools_r29.0.1-windows" on my laptop. Extracted, it's named "platform-tools". I use PeaZip 64 bit extractor. Then copy/paste in the root of system "C"

I copy/paste (both, .img and .zip) twrp recovery blu spark by eng stk to platform-tools. Advice! If the name of recovery it's long, make it short

In folder "power-tools", open PowerShell or Command.

Type:

fastboot boot (name of the recovery).img

Phone boots in twrp recovery. Advanced > ADB. Slide ADB

Type:

adb sideload (name of the recovery).zip.

Thoo i think i could flash twrp.zip in the booted recovery.

After finish, press Reboot. Phone reboots.

With Advanced Reboot, reboot to recovery. Flash Magisk 19.3 stable. Reboot.

I got unlocked & rooted.
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
Still no joy for me....

This is turning into way more than I remember it being. I can’t flash the twrp.img it returns an unknown command error.

Confirmed fastboot is working. It starts to download image and then just fails. I feel like there is either incorrect information....or something is going on. Too many conflicting “do this, no, do this” Post’s.....

So lost....
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
In no case should you ever flash the TWRP.img file. Please follow the instructions correctly. You must have the latest version of the platform tools
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
I mispoke, I didn’t mean flash, I meant boot....as in step 2 of the guide. It’s hard to follow a guide that’s really all over the place.....
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
The guide is designed to be followed in order of steps. Do each and every instruction as written and you will have no trouble
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
Unfortunately, that’s just not true. As I have said, it fails FOR ME at step 2 with the twrp boot.
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
Put the twrp .img in "platform-tools"

Open command. type:

fastboot boot "name of the recovery".img

If the name it's too long, make it short, like 3.3.1.4.

In recovery you can flash the twrp.zip or with ADB like in the guide (OP).

It works.

I updated to 9.5.10 and lost twrp recovery. I reboot to Bootloader and did the above procedure.
[OnePlus 7 Pro Guides, News, & Discussion] dragancla:
Still waiting for the 'Install an OTA update while rooted' part ^^
[OnePlus 7 Pro Guides, News, & Discussion] RebelLion_:
Maybe try doing a search? https://xdaforums.com/oneplus-7-pro/how-to/successfully-upgraded-to-9-5-7-t3937414/post79679795
[OnePlus 7 Pro Guides, News, & Discussion] dragancla:
Oh, I know how to do it, I am just waiting for it to be conveniently added to this wonderfully written all-in-one guide
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
I appreciate the help. It still doesn’t work for me, I consistently get the same error. It says:

sending boot.img OKAY [1.204s]

Booting FAILED (remote: ‘unknown command’)

fastboot: error: Command failed

I am BL unlocked. Fastboot devices shows device connected. USB debugging is enabled, USB file transfer turned on.

All .img’s and installers downloaded from this post.

My OnePlus 7 Pro was purchased directly from OnePlus US Variant (GM1917)

TRYING to use twrp-3.3.1-4-guacamole.img

Device is on 9.5.8.GMA21AA

I’ll be damned if I can figure out the issue.
[OnePlus 7 Pro Guides, News, & Discussion] CCJ22:
Excellent thread. Thank you OP
[OnePlus 7 Pro Guides, News, & Discussion] galaxys:
Local installed full GM21AA 9.5.10 zip works a Treat! Best touch sensitivity yet...
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
My best suggestion is to reinstall the adb/fastboot binaries and make sure you have the OnePlus drivers installed. Also, use the stock cable in a USB 2.0 port. If all else fails, you can use the MSM tool and reset your device to a factory state.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
I'm really sorry for the wait, I have family over from a different province. I'll write the guide on Sunday or Monday. I've used the same process for the upgrade from 9.5.8 to 9.5.9 and from 9.5.9 to 9.5.10 without an issue, so I'm pretty sure it works
[OnePlus 7 Pro Guides, News, & Discussion] dragancla:
No need to be sorry :) You're doing an awesome job helping everyone in the community with this. If you need any help with this I'll be glad to help
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
So the issue was 100% my version of Oxygen. When I updated it today to 9.5.10 it worked instantly. The OP and all the others never mention this....I found the answer on Reddit. It’s apparently it’s a known issue with 9.5.9. Well, not known to OP tho.....lol
[OnePlus 7 Pro Guides, News, & Discussion] dclifford:
cannot unlock bootloader

Hello,

I got my sim unlock done through T Mobile and I followed the instructions but cannot get the bootloader to unlock. Fastboot is connecting but when I type "fastboot oem unlock"' it says "FAILED (remote: please flash unlock token first.)

Can anyone please tell me what I might be doing wrong? Any help is appreciated.

Thanks
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
You need to request an unlock token through the relevant OnePlus site. Instructions here.

Guide has been updated with this information
[OnePlus 7 Pro Guides, News, & Discussion] dclifford:
I already got the sim unlocked... Then I clicked the permanent unlock button on device unlock app. It was successful.... Is the unlock token something different?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Guide has been updated to request users are on the latest version of OxygenOS
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
Actually, it said that when the latest version was 9.5.8.....so, it’s not new.

The guide NEEDS to say that it will NOT work on 9.5.8.....that’s why they skipped 9.5.9 (mostly) to fix a couple of broken commands. It works (as I’m told) on versions prior to 9.5.8, and on 9.5.10 (because I just did it...lol).

Guide needs serious housecleaning is all I’m saying. Lots of unnecessary steps, which could get ppl into trouble.....
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
This is just wrong. Do you have a source for fastboot boot being completely broken on 9.5.8? Versions lower than 9.5.7 had fastboot boot broken, this is recognized and listed on the TWRP website. I personally used it on 9.5.9 without issue, and very likely did on 9.5.8 as well.

If you have any specific suggestions, I'm happy to consider them and make changes. However, failure to follow instructions isn't my fault, and judging from the fact that many comments here say they had no trouble makes it hard to believe that it's difficult to follow.
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
You. MOST certainly didn’t use it on 9.5.8. As I myself said, it worked prior to, and after 9.5.8, but not with 9.5.8.....even if you “very likely” used it on 9.5.8 (which you didn’t).

Maybe stop being so argumentative, and listen to relevant feedback. Your guide is a mess. I’m not the first to point it out.

Ciao!
[OnePlus 7 Pro Guides, News, & Discussion] tekkneke:
Whenever I've always unlocked BL and rooted in the past I've always put a new Rom on, etc.

However, if I root and then keep the existing stock rom, will I still be able to take OTAs like a normal user?

Edit: I figure I'd have to root again, of course, which is fine.
[OnePlus 7 Pro Guides, News, & Discussion] galaxys:
You will keep getting ota's
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
The guide WORKS on 9.5.8 ! My phone is GM21BA !

I just unlock, boot then flash trwp recovery, root. Yesterday.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
As you can see from others, such as this reply

This guide works fine on 9.5.8. The fact that you try and tell me to exclude 2 OOS updates without a source is a joke
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
All I can say is it doesn’t work. Period. It MAY work on other than GM1917 devices...but as I said, and maintain, it did NOT work on GM1917 devices on 9.5.8

Whether you believe it or not, it’s all over Reddit, AND the official OnePlus forums.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Yes, I have now included a link in the guide for where to request the unlock token.
[OnePlus 7 Pro Guides, News, & Discussion] aydinbahadir88:
Got my OP 7 Pro today

Already updated to OOS 9.5.10

Can I do this now that you have written everything?
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
You can. Don't hurry ! Don't skip steps !

Go to : Setings > About Phone . Touch "Build Number" 7 times to be a developer.

Go back to Settings > System > Developer options.

Check those:

- OEM Unlocking;

- Advanced Reboot;

- USB Debugging.

Press Power and reboot to Bootloader/Fastboot. You can check it youre phone it's seen by PC.

FIRST ! DO what's in post 2 ! Unlock the Bootloader !

Then continue with twrp...

Type:

adb devices.

fastboot boot (name of the recovery).img. If the name it's long, make it shorter.

Now, you can do like the OP say with ADB sideload or flash twrp.zip. DON'T reboot.

Flash Magisk 19.3 Stable.

Reboot to system. If Magisk shows not instaled, reboot to twrp and flash it again.
[OnePlus 7 Pro Guides, News, & Discussion] Deses:
Thank you for the super detailed, well formatted guide.

It would be pretty cool if you made another one to explain how to update OOS when you have TWRP and Magisk installed.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
That's already planned to be done tonight
[OnePlus 7 Pro Guides, News, & Discussion] BobZhome:
I was on 9.5.3 after a t-mobile to international flash and twrp kept failing...so I updated to 9.5.10 and was able to flash. Thanks for the heads up!
[OnePlus 7 Pro Guides, News, & Discussion] SlyUK:
[MENTION=8690129]Arden144[/MENTION] Thanks very much for this thread. I came across this video the other day which maybe complementary and possibly should be added to your OP:

Oneplus 7 & 7 Pro : Step by Step Guide Unlock bootloader | Install Twrp | Rooting

Edit:

Some of the comments include:

K T - "Hands down the best tutorial out there. So detailed, step by step instructions. Even a child could do it. Thanks very much!!"

khalisz - "Thanks a lot for this simple and amazing tutorial. :)"
[OnePlus 7 Pro Guides, News, & Discussion] flyingmedic:
Glad you got it squared away!
[OnePlus 7 Pro Guides, News, & Discussion] bluealpha092:
So can we get a guide to updating to 9.5.10 while retaining root/twrp/magisk etc? There's so many conflicting posts on here that make me just not want to update until I know exactly what to do
[OnePlus 7 Pro Guides, News, & Discussion] GhostZini:
There's like 4 different successful ways to do it all over xda. Just pick one
[OnePlus 7 Pro Guides, News, & Discussion] bluealpha092:
yeah, that's the problem, each one has several replies from people who are bootlooped or saying how it depends on what recovery you have. the OP was going to make a guide specifically for this thread but it's not up yet apparently
[OnePlus 7 Pro Guides, News, & Discussion] GhostZini:
This is what worked for me. Easy peasy

The top part I did, I don't flash with TWRP
[OnePlus 7 Pro Guides, News, & Discussion] amirage:
Here's 1 suggestion for the OP...can you also put the steps to go back to stock rom in the same thread...I guess that will close the loop and in case anyone really screws up..they know there's a fallback solution of going back to stock.
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
Other guide.

Guide to unlock, flash twrp recovery and root:

Download Magisk 19.3 stable, Magisk uninstaller 04.june.2019, Magisk Manager 7.3.2.

https://xdaforums.com/app...mless-t3473445

Download official twrp.img and twrp.zip.

https://twrp.me/oneplus/oneplus7pro.html

or

twrp-3.3.1-x_blu_spark_v9.103_op7x. Post nr. 77

https://xdaforums.com/oneplus-7-pro/development/kernel-t3944179/page8

Download adb 1.4.3. Extract and install. On every question press y (yes).

https://xdaforums.com/sho....php?t=2588979

On youre PC (Windows) you will have on C partition a folder called adb.

Go to phone > Settings > About phone. Touch Built 7 times. Now you are a developer.

Go to settings > System > Developer options. Check OEM unlock, Advance reboot & USB debugging.

Press power button and reboot to Bootloader/Fastboot.

Put twrp.img in adb folder in youre pc.

Open adb folder.

Type on adress bar:

cmd

press enter.

Type:

fastboot devices

press enter. This must show youre phone (like in Fastboot mode).

fastboot oem unlock

press enter. This will wipe ALL in youre phone.

Press volume Minus buton to select unlock. Press Power buton to do it.

Phone will boot normal.

Go to phone > Settings > About phone. Touch Built 7 times. Now you are a developer.

Go to settings > System > Developer options. Check OEM unlock, Advance reboot & USB debugging.

Press power button and reboot to Bootloader/Fastboot

Open cmd. Type :

fastboot devices

press enter

fastboot boot "name of the recovery".img

press enter

Phone will boot on twrp recovery.

Copy trwp.zip, Magisk 19.3 stable & Magisk uninstaler 04.june.2019 to phone storage.

In twrp > Instal :

1.Flash twrp.zip.

2.Flash Magisk 19.3 stable.

When it's done touch Reboot system.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Sorry to anybody who was waiting on the OTA guide, I'm unexpectedly still on holiday... I'll try and write it on my phone, wish me luck!
[OnePlus 7 Pro Guides, News, & Discussion] sguerra923:
Just out of curiosity, I'm preparing to unlock bootloader and root etc and I have the T-Mobile version, I requested my token but I was reading other thread to prepare the process but I saw that it wasn't necessary to get the token and just flash the international version.

My question is what are the pros and cons of getting the token for the T-Mobile version? Would it be beneficial to have the token compared to not having it or does it not matter? Thanks in advance!
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
The only difference is either sticking to the T-Mobile firmware or taking the time to flash. There usually is about a weeks wait for the token once you apply for it, but both firmware are equally as easy to root and flash TWRP once the bootloader is unlocked.
[OnePlus 7 Pro Guides, News, & Discussion] Spock_vulcan:
Worked smoothly for me. I was rooted in under 15 mins. Very helpful guide. Thanks OP ! :good:
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Good to hear!
[OnePlus 7 Pro Guides, News, & Discussion] sguerra923:
Hey guys, I have the T-Mobile variant and plan on doing this next week but is this YouTube guide on point with [MENTION=8690129]Arden144[/MENTION] instructions? I just got the update for TMobile 9.5.9. Just want to make sure everything goes smooth as butter when I unlock and root. Thanks in advance!

[youtube]R_5BTxJBAOs[/youtube]
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
I haven't watched the video yet, but I made this guide in the only way I could think of that is extremely simple to follow as a text guide. There are faster ways of doing it if there are visuals such as a video to follow.

Follow my guide or the video, and I'm sure you'll have no trouble rooting your phone. Just don't try and compare the instructions between the two or you may confuse yourself!

If you need any help, my Telegram is [MENTION=8690129]Arden144[/MENTION] and I'll be happy to try and figure out your issue
[OnePlus 7 Pro Guides, News, & Discussion] Berrydroidcafe:
That was painful to say the least! :(
[OnePlus 7 Pro Guides, News, & Discussion] jhonK:
Updates works fine?

Hi guys.

I have one question about this process, I already update to version OOS 9.5.10 if I root the phone I will receive the new updates normally?

Thanks?
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
You can't install an OTA normally when rooted. You will have to flash it manually and reroot.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Yes you can. Your phone will still notify you and install the OTA automatically. You just need to click a few buttons in Magisk Manager after. I'm writing the guide today
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
That isn't what I would call normal (normal being the same as a non-rooted device) but it is nice to see installing updates on a rooted device is getting easier.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Okay, I guess it's not very normal, but still a lot better than having to download the file from some site and installing it in TWRP. Guide is up now if you want to take a look
[OnePlus 7 Pro Guides, News, & Discussion] jcsww:
Definitely! The ability to easily take OTA's without the hassle will definitely be welcome.
[OnePlus 7 Pro Guides, News, & Discussion] Nugg14:
Please help. usb device connected malfunctioned. msm tool won't recognize my phone. any help would be great
[OnePlus 7 Pro Guides, News, & Discussion] Alanrey00:
It's possible to install TWRP android q DP3 or should I go back to normal via local OTA to flash TWRP and then go to a custom ROM?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
You need the Qualcomm drivers for the MSM tool, and need to be using the factory cable
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
I don't touch developer previews, so not sure about TWRP functionality. Going back with a local upgrade is certainly safer
[OnePlus 7 Pro Guides, News, & Discussion] corbs24:
@ Arden144 Great Post. Followed your instructions to the T and Boom!!! Rooted...Thank you so much
[OnePlus 7 Pro Guides, News, & Discussion] mauley:
I tried the OTA guide to upgrade from 9.5.8 to 9.5.10.

Followed the steps exactly but upon reboot on the second slot it boots straight into twrp. Looking at the storage in twrp, it is showing as 0.

Do I need to be on magisk canary for this to work? Is there anything else I can try.

Just another note, I am using the 1910 Chinese version but with an international ROM. AA version I believe.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Hmm, what modules did you have? Are you able to switch back to the original slot and use TWRP and boot?
[OnePlus 7 Pro Guides, News, & Discussion] mauley:
I don't use any Magisk modules at the moment.

I am able to switch back to the original slot, use twrp as normal.and able to boot into the OS.
[OnePlus 7 Pro Guides, News, & Discussion] johnx818:
This is my first OnePlus phone coming from a long history of Samsung Galaxy usage. This is an excellent guide! I followed it and was able to get everything done easily. One thing I saw while doing the ADB and recovery was Slot A and B. I didn't pay any attention to it at the time but now I'm reading about it on here. What exactly are these slots? What are they used for and how do I switch between slots?

I'm in love with this damn phone.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Thank you for the kind words. The slot system is designed to allow simple recovery from a failed system update, as well as allowing system updates to be done while the phone is turned on, only requiring a quick restart to apply. The only situation that you'll find the need to switch slots is if you install an update and it fails to boot. Switching slots will let you use your previous working configuration instantly.

Enjoy your phone! And whatever you do, don't drop it :)
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
I'm not sure I'm able to help in that case, may be an issue with the updated international ROM running on your device. Try asking on the thread for switching to international.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Glad to hear!