yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] Yarecki:
I follow step 1 and step 2.

My device (OP7Pro, GM1913, ver. 9.5.11GM21BA) is present in W10 and ADB commands works fine, until code:fastboot oem unlock.

After entering the command, the phone displays the "fastboot menu" and nothing happens. The unlock bootloader selection screen does not appear.

What am I doing wrong?
[OnePlus 7 Pro Guides, News, & Discussion] blas4me:
Fastboot boot twrp.img, do not use flash.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
What output is given in the command window on your computer?
[OnePlus 7 Pro Guides, News, & Discussion] Yarecki:
C:\Android\platform-tools>fastboot oem unlock

< waiting for any device >

looks, like after command "adb reboot bootloader", connection to the phone has been terminated.

Tnx for quick reply.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Did you install the driver ISO in the first step? You can try using a different cable, usb port, or even a different computer
[OnePlus 7 Pro Guides, News, & Discussion] Yarecki:
Yes, i install driver ISO, than unistall and reinstall. I try also on different computer and other usb port.

Tomorrow I will also try with a different cable and usb port on the back of the computer.

I perform all operations without a sim card, but this should not affect the guidance?
[OnePlus 7 Pro Guides, News, & Discussion] camapdien:
i'm new to this device so some noob question:

- how do i root my 7Pro ? because i only see topic for unlock bootloader and install twrp recovery, but the root part is not mentioned

- does magisk neccessary ?

- while root or on custom ROM, how do i unroot ? i mean if something bad happen, how do i go back to stock ROM ?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Magisk is how you get root. To unroot, you click uninstall in Magisk Manager.
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
I did all of my initial rooting and testing before installing any SIMs -- so that should not be your problem.

But I am still having issues with windows reliably and quickly mounting the phone outside of system a boot. I have to soetomes wait minutes for the drivers to load and the phone be recognized.

Try opening the HW device manager and looking for devices that aren't loading -- delete them and try again -- trying to update the driver wouldn't work for me.

I had to manually run the driver install utils that are on the "drive" that mounts as a CD with the phone....
[OnePlus 7 Pro Guides, News, & Discussion] Yarecki:
davidk21770

Tnx for Your reply. You are right. After a command "fastboot oem unlock" i look in device manager, and see the android device appeared, without a driver installed (other devices/android). I don't have a clue how to get around it. I will try to work on a different computer.
[OnePlus 7 Pro Guides, News, & Discussion] UnicornHub:
Is there any way to do this without a computer. I tried to do it on my work computer but it needed administrator permission and I don't have that authority there.
[OnePlus 7 Pro Guides, News, & Discussion] hallo dare:
Nope
[OnePlus 7 Pro Guides, News, & Discussion] SH4M3:
I got this problem too but I solved it by right clicking the android device in the device manager and tap on the search for driver updates. It downloaded the required driver and I got the unlock bootloader screen.
[OnePlus 7 Pro Guides, News, & Discussion] GeekMcLeod:
Edit: Went ahead and just upgraded first, all went well.

Not a noob here but I just want to make sure before I get started. Is there any issues with updating my phone to A10 first, then following this guide? I believe with the 6t people were having issues with that. (Could have also been rooted 9 to rooted 10). I'm not sure exactly. But I just got my phone so it is on 9.5.1.GM21AA. Should I follow the guide then update so I'm going from rooted 9 to rooted 10? Or better to update to A10 first?
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
Will this work on Android 10 open beta 5 or do I downgrade back to Android 9 to root
[OnePlus 7 Pro Guides, News, & Discussion] GeekMcLeod:
I just got my phone, fully updated it and followed the guide perfectly. No issues at all. Restoring all my apps and stuff now.
[OnePlus 7 Pro Guides, News, & Discussion] AndroServ:
hi guys

need some help

as long as the device is turned on, the pc recognize it and boot to fastboot mode.

when it boot to fastboot, it no longer recognize it.

G:\op7p\platform-tools>adb devices

List of devices attached

46dd5fa2 device

G:\op7p\platform-tools>adb reboot bootloader

G:\op7p\platform-tools>adb devices

List of devices attached
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
1st thing tried... over and over... windows couldn't find a suitable driver.

---------- Post added at 03:36 PM ---------- Previous post was at 03:34 PM ----------

same problem. have your tired waiting. i think that windows is timing something out. it usually takes up to several minutes for the device to finally show. i've also had to unplug and replug the usb. it DOES	eventually load.
[OnePlus 7 Pro Guides, News, & Discussion] psychedelicNerd:
Thank you

Wow!! The most to the point guide I have seen so far. I have tried multiple ways to upgrade to Android 10 whilst keeping TWRP and Magisk, but none of the approaches worked. This was Flawless!!!! Thank you
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
Can I downgrade back to android 9 after rooting while on android 10 or am I just stuck with android 10 root?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Yes, but you have to wipe your userdata
[OnePlus 7 Pro Guides, News, & Discussion] pkWhistle:
My OP 7 Pro is coming this week.

Should I update to latest OS then root or root first (unclock bootloader etc.) then update?
[OnePlus 7 Pro Guides, News, & Discussion] giacomowrc:
Hi, I have some questions before aplly 10.0.2 update, from 10.0.1.

If I'm root I can't run the incremental update manually selecting local update, right? Do I need the full OTA of 2 GB?

I have systemless hosts, sqlite for arm, gpay sqlite fix and cloudflare dns modules, can I install update without unistall/disable the modules?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Yes, you'll need the full 2GB file. Those modules should be fine, but there is always a very small chance that a random module is incompatible
[OnePlus 7 Pro Guides, News, & Discussion] giacomowrc:
Thanks. So even if I whait the notification with official update it is not incremental but the full rom?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Yes, the phone will say that your device is rooted and the full image will be used
[OnePlus 7 Pro Guides, News, & Discussion] giacomowrc:
In another discussion i read that magisk have be flashed twice, 1st direct and then inactive again, it's correct or arfeter install TWRP A/B Retention Script I've only do "Install to inactive slot (OTA)" and then reboot? I've almost complete the procedure, I've magisk 20.1.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
You definitely don't need to flash Magisk direct. That's just wasting time by reinstalling Magisk on the slot that already has it, and installing it twice on the other.
[OnePlus 7 Pro Guides, News, & Discussion] giacomowrc:
Work perfectly, Your guide is one of the top complete ad usefull thread in this section.
[OnePlus 7 Pro Guides, News, & Discussion] d u d a:
This guide works on OP7T Pro too ?

Thank you.
[OnePlus 7 Pro Guides, News, & Discussion] Yarecki:
After connecting to another computer the process was successful and the phone works very well. Apparently the problem was on the windows 10 configuration side. Some services were probably guilty.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
With different files, maybe. I will not comment on if the process works as I do not personally have that device.
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
hello [MENTION=8690129]Arden144[/MENTION] and thank you for writing this amazing guide. I just bought this phone, and I read 95% of the pages in this thread.

As I started the process, I ask a couple of dumb questions perhaps:

1. In the mention of the 2 files needed, in step 3, it seems that the 3 supplied links all point to AFH for a twrp 3.3.1-72 image file. Is that supposed to be like that? I assume that one of the 2 files is supposed to be the magisk installer, no? Or am I wrong?

EDIT - disregard that, the magisk file is downloaded in a later step.

2. If I'm currently on Android 9, do I download the file for 9 or for 10? I obviously plan to upgrade to 10 as soon as I'm done with your guide.

ANOTHER EDIT: as I awaited a response, I used the oxygen updater app to update to 10.0.2. So, I will answer my own question by stating that I'll need the android Q file.

Again, thanks a lot.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Well, looks like you got everything figured out on your own. Sorry about not answering, XDA doesn't like emailing me half the time
[OnePlus 7 Pro Guides, News, & Discussion] almahix:
One plus newbie...it just arrived this morning. The instruction here were perfect. It could only have been easier if you came here and did it for me. Unlocked loaded twrp and magisk in under an hour. Great guide. Many thanks!
[OnePlus 7 Pro Guides, News, & Discussion] galaxys:
Welcome aboard and enjoy...
[OnePlus 7 Pro Guides, News, & Discussion] fnibras:
Hi which slot you should be before starting A or B
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
a very elemental question. Is it normal for the USB driver installation to take a loooong time, even if run as an administrator?

It's been sitting on the "Installing" screen for about 10 minutes now.
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
No. Should be some seconds.
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
i copied the files to the C drive, and it worked quicker.

I unlocked the bootloader and was ready to flash the twrp loader. I typed the command and hit enter, and it said "waiting for device". I re-read the instructions (MY STUPID MISTAKE) noticing that I skipped over the step to reboot the phone into bootloader mode. As soon as I did that, the dos command finished and it looks succesful on the pc. But, the phone is stuck on a black screen Fastboot node with the logo, and nothing else happens. I have held the power button pressed a minute or so, but nothing happens.

How can I get the phone out of that state?

EDIT - I AM AN IDIOT. READ carefully and don't anticipate the steps. I was flashing the installer first instead of the image. READ.
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
Ok. The phone is rooted with TWRP installed, and everything was restored. Sweet.

I've noticed that I'm missing a few little things that appeared AFTER I took the OTA to 10.0.2 before the root. Some widgets are missing, and some other little things.

Can I use oxygen updater to download the 10.0.2 update again, and reinstall it? Would that be similar to what is explained in Section 4?

Will doing this wipe out what I did earlier today (bootlaoder unlock, root, and twrp install)?

Edit...i have less nav bar options, for example
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
Download form XDA 10.0.2 and dirty flash again. In TWRP. After flashing the 10.0.2, flash twrp.zip and Magisk. Then reboot to system.
[OnePlus 7 Pro Guides, News, & Discussion] nerulicious:
Hi there.

I run into some problem with my OP7 Pro. I flashed the new TWRP 3.1.1-74, flashed Open Beta 6. All good up to this point.

Then I tried to flash Magisk 20.2-72edbfc4 and got stuck in bootloop and the only way to solve it is flash the TWRP zip again.

Am I doing something wrong?
[OnePlus 7 Pro Guides, News, & Discussion] x111:
just got the same issue.

solution is very simple.

If Windows OS:

Go to "Device Manager"

find phone and update driver in manual setting to "Adb ..."
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
I have been wondering where to get the OOS updates too. Are they here in XDA? (Software update says I'm up to date, but I'm still at 9).

Thanks!
[OnePlus 7 Pro Guides, News, & Discussion] iamsameer:
#NoobHere Will Unlocking BL and rooting my phone voids warranty? (coz i have extended warranty 1+1 yr :p )
[OnePlus 7 Pro Guides, News, & Discussion] HiGhDRo3o5:
I think u good with oneplus but if on tmobile u screwed
[OnePlus 7 Pro Guides, News, & Discussion] iamsameer:
not on t-mobile

From India (international version)
[OnePlus 7 Pro Guides, News, & Discussion] iamsameer:
Anyone?
[OnePlus 7 Pro Guides, News, & Discussion] spjetrovic:
No you just have to relock bootloader and reset before sending it for warranty.
[OnePlus 7 Pro Guides, News, & Discussion] iamsameer:
Oh..k

Thank-you :)
[OnePlus 7 Pro Guides, News, & Discussion] funkyirishman:
Just got the one plus 7 pro and reading through everything before I start to do anything. Looking at another xda root guide https://www.youtube.com/watch?time_continue=265&v=3oSycujvmP8&feature=emb_logo

I need to get the fastBoot image also. On my phone this is Oxygen OS 10.0.2.GM21BA but I cannot see this hosted at https://androidfilehost.com/?w=files&flid=294300

Do I need this or do I just follow the instructions in the first post and this fastboot is not required?

cheers
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Fastboot is included with platform tools. Just follow this guide and you'll be good
[OnePlus 7 Pro Guides, News, & Discussion] funkyirishman:
Thanks

Ok stuck at the first fence

Open File Explorer and navigate to This PC. Under Devices and drives, click on the CD drive labelled with a bunch of numbers. Click on OnePlus_USB_Drivers_Setup and click yes in the User Account Control popup. Click Ok then Install, then Finish.

When I do this all I can see is the C drive and the RW drive? Phone is connected and when I insert adb devices in powershell it comes up with a 60fb device ???

Is it due to the USB preferences? ok it was installed that but still when I type in adb devices I get no pop up on the phone just the above 60fb ref
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Wow, can't believe nobody has complained about this step missing yet! With your phone connected to the computer, open your notifications and touch the one about USB connection and choose MTP.
[OnePlus 7 Pro Guides, News, & Discussion] funkyirishman:
Cheers can only choose file transfer to get the drivers installed but when I try the below

Type in the terminal window on your computer followed by the enter key

Code:

adb devices

A prompt should appear on your phone. Click Ok. Type followed by the enter key

I am getting no prompt on the phone? Just in the power shell it says the list of devices attached?

Its been a while since I rooted a phone and I dont want to F it up so just been over cautious and to as the Irish say to be sure to be sure ;)

Managed to unlock it as no prompt on the phone now to install TWRP and Magisk
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
The prompt not appearing just means your computer was already authorized to use USB debugging. I assume you already figured out that you can just continue on with the instructions
[OnePlus 7 Pro Guides, News, & Discussion] funkyirishman:
I did indeed. Previously I bricked a phone so just been over cautious.

Phone rooted now and working away

Cheers ?
[OnePlus 7 Pro Guides, News, & Discussion] muniategui:
Hi i have an isue, i've just bought OP7T pro mclaren edition but when following the guide i brick my phone on step adb sideload. After doing this if i reboot the system boots again in twrp being unable to reboot in stockrom. When loading twrp some message appears about uanble to mount /system and /data i don't know if that is normal. Any help¿? I unbricked my phone using msm to help if someone is in the same situation.
[OnePlus 7 Pro Guides, News, & Discussion] DarkFamiliarity:
Thanks for the guide, very simple and smooth process. To update to 10.0.3, is it possible to upgrade while keeping root? Thanks.
[OnePlus 7 Pro Guides, News, & Discussion] muniategui:
The 4th step is about how to update and keep the movile rooted
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
good point. That 4th step, mentions using settings/system/update to do the update, and I wonder if the steps are the same if I use the oxygen updater to get the update. That app alerted me of an update, BUT settings/system/update didn't find one.

So my route (and others) would be (from section 4):

1. Download the update using Oxygen Updater

2. Use settings/system/update to do a local update

3. Do not reboot

4. Install Magisk TWRP module but do not reboot.

5. Install Magisk twice (as mentioned in step 4 of section 4).

6. Reboot

Does this sound right?

EDIT : Or [MENTION=8690129]Arden144[/MENTION] or [MENTION=5466235]null0seven[/MENTION] is it "better" to use twrp to flash the update, and then magisk (i believe)??
[OnePlus 7 Pro Guides, News, & Discussion] muniategui:
It sounds good to me but i can't test it since i'm having problems on previous steps maybe someone can give u a more accurate validation about the process.
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Yes, that's right. I prefer local upgrades as TWRP has needed an update to support certain versions, such as Open Beta 6, while local upgrading always works
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
My steps listed above (really arden's) worked perfectly. Yes, install Magisk twice- "direct install (recommended)" first, and then to inactive slot.

Thanks 144!
[OnePlus 7 Pro Guides, News, & Discussion] null0seven:
Put Oos 10.0.3 in phone memory. If you don't have internet or wifi, put twrp & Magisk on the phone memory too.

1- Remove any mod from Magisk! Reboot. (If you don't have mod's in Magisk skip this step)

2- Update with Local Upgrade .DON'T reboot !!! You can't flash a older OS (downgrade) with this option!

3- Open Magisk > Downloads > TWRP A/B Retention Script. DON'T reboot !!! (This install twrp).

4- Go back in Magisk > Install to inactive slot (After OTA).

Reboot.

If you want or if Magisk not working, install Magisk again with Direct install (Recomended).
[OnePlus 7 Pro Guides, News, & Discussion] angelosabatini:
I am stuck at second step : where do I download and extract the zip file , on the desktop , in a folder, on C ? Thanks
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
You don't touch the zip file. You download it to your phone from the link page. Then open magisk, click modules, the plus sign, and it will locate it for you innthe downloads folder. The zip file is not very big, but verify it's md5 sum anyway.
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
Does twrp have to be installed on both slots A and B along with flashing the rom on both slots as well ?????
[OnePlus 7 Pro Guides, News, & Discussion] gianton:
Yes
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
thanks bro
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
Is it possible to flash a different rom on slot B if slot A is my primary slot ? Reason why I'm asking is because if I'm able to flash op7p open_beta_6 on both slots plus I've installed twrp / magisk on both slots without any boot loops on neither is it's possible or am I asking for a brick device by doing so ???
[OnePlus 7 Pro Guides, News, & Discussion] nabril15:
Gianton, the great creator of fonts in forums past?
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
I was hoping for a more knowledgeable answer, but I believe yes -- with limitations - not all of the firmware have an a/b. So the unswapped pieces have to be compatible. But that appears to be improving with Q. If you do an ls -laR /dev/block >/sdcard/download/dev-block.txt and look at dev-block.txt you can see what ROMs have _a and _b. I would focus on the /dev/block/by-name section.
[OnePlus 7 Pro Guides, News, & Discussion] mjb337:
Thanks allot bro

---------- Post added at 10:30 PM ---------- Previous post was at 10:29 PM ----------

Thank allot bro
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Wherever you would like. Just remember where you saved it for the next steps
[OnePlus 7 Pro Guides, News, & Discussion] yrakun:
When i type "fastboot oem unlock" in command prompt i get message "waiting for any device" and that is all. There is no "Unlock bootloader" option on phone, i can pick only START, RESTART BOOTLOADER, RECOVERY MODE and POWER OFF.

There is no "unlock bootloader" popup

OEM unlocking is enabled

USB debugging is enabled

tried bouth with google and with OnePlus USB drivers

Using branded cable

phone is not from some provider like T-Mobile(as far i can see)

Same problem with TOOL ALL IN ONE

PS.

Phone ver. is GM1903 updated to 10.0.2.

PPS.

When i recall how easy it was Samsung+Odin i am on verge of tears
[OnePlus 7 Pro Guides, News, & Discussion] Avinash007:
Has anyone faced any issues after unlocking and flashing TWRP? I faced an issue with WiFi not working with an earlier method which was very similar to this one.
[OnePlus 7 Pro Guides, News, & Discussion] Zackptg5:
Thought I bricked my phone for a hot second. I was messing around with some mods of mine and needed to fastboot TWRP again but I was getting an error. Turns out I needed to change the active slot to a in fastboot or TWRP wouldn't take.

Any chance you could add that to the OPs?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
No, because slots manage themselves and shouldn't be touched unless you really broke something
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
You'll probably have to try a different computer. If fastboot doesn't detect your device even with drivers installed, there isn't much you can do
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
I was hoping that it was/would be possible to swap between 2 ROMs. Of at least go back to the original ROM after a bad update or if the update had undesirable traits or was flawed. Are you saying this if not possible?
[OnePlus 7 Pro Guides, News, & Discussion] Arden144:
Switching between ROMs can be done in theory if they have the same security patch version
[OnePlus 7 Pro Guides, News, & Discussion] arpitp:
I could really use some help. Just got my new OP 7 Pro. Used Oxygen Updated to upgraded all the way up to 10.3.0 (today's new update). Unlocked the bootloader (worked fine).

Now I'm trying to get TWRP installed, but not having any luck. Downloaded the latest version (twrp-3.3.1-4-guacamole.img, 56,620 kb).

When I enter the command: fastboot boot twrp.img (I renamed the file), powershell shows:

downloading 'boot.img'...

OKAY [ 1.236s]

booting...

OKAY [ 0.129s]

finished. total time: 1.374s

But instead of loading TWRP, the phone just shows the OnePlus logo and "Fastboot Mode". I can't do anything but hold Vol Up+Pwr to reboot (oddly, holding just Power doesn't seem to work to hard reset).

Any ideas why I can't get TWRP to load?

Alternatively, does anyone have a patched boot image for 10.3.0, which I could use to root (I don't use TWRP anyway).

FYI, I also tried the older method of switching the active slot and entering "fastboot flash recovery twrp.img", but that just put me in a bootloop until I switched the active slot back to the original (b). Turns out this method doesn't work for Android 10.
[OnePlus 7 Pro Guides, News, & Discussion] JudgeDread11:
There shouldn't be a pop-up. You should not into fastboot mode (restart bootloader) first.

The check if your device is visible with: "fastboot devices"

If it find your device run: "fastboot OEM unlock".
[OnePlus 7 Pro Guides, News, & Discussion] davidk21770:
This happened to me when I used the p version of twrp instead of the q version. What it appears to signify is that boot has stalled. The boot is incompatible with the ROM. This is why I now do a fastboot boot first to check for compatibility.

There is a twrp-less method in the 7t thread that should work fine here.

The method is to download the update, install without rebooting (a setting in developer), have magisk patch the other slot, reboot with magisk to skip some tests that would fail the update. Not sure that you can do this now.

Alternative - download the rom, use payloaddumper to extract the boot image, put on your phone and have magisk patch it, use fastboot to install it. I have done this successfully before I found the 1st way...