[Guide] [Android 9/10] [7/7Pro] Unlock, TWRP, Root, and Update

What other modifications would you like a guide for?


  • Total voters
    371
Search This thread

msimmler78

Member
May 18, 2020
5
1
Section 2: Installing TWRP (Windows Only)

Your bootloader must already be unlocked, and you must be on the latest version of OxygenOS. Using the cable included in the box is also recommended.

Step 1: With your phone turned on, hold the power button and until the reboot options menu appears on the right side. Click Bootloader. Plug your phone into your computer with the cable supplied in the box. Download these two files (File 1 for Android 10, File 1 for Android 9, File 2), which now work on both the OnePlus 7 Pro and OnePlus 7. (File Credit: @mauronofrio and Team Win Recovery Project). Put these files somewhere accessible, such as your Desktop.

Step 2: Open the folder with your ADB and Fastboot binaries (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Type in the terminal window
Code:
fastboot boot
followed by a space. Drag the image/img file you downloaded called twrp-3.3.1-76-guacamole-unified-Q-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
Code:
fastboot boot C:/Users/Arden/Desktop/twrp-3.3.1-76-guacamole-unified-Q-mauronofrio.img
If it does, click the enter key.

Step 3: On your phone, enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. This is the TWRP recovery. Click Advanced, then ADB Sideload, then swipe the bar at the bottom to the right. On your computer, type
Code:
adb sideload
followed by a space. Drag the zip file you downloaded called twrp-3.3.1-76-guacamole-unified-installer-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
Code:
adb sideload C:/Users/Arden/Desktop/twrp-3.3.1-76-guacamole-unified-installer-mauronofrio.zip
If it does, click the enter key. On your phone, you will see some text scrolling in a black box. Once the button appears on the bottom right, click Reboot.

Your device now has the TWRP custom recovery.
been so long can i use beta 14 to root? and Magisk today first time codes went there it ws t moble by the end of the day its global
 

fadzli23

New member
May 24, 2020
1
0
Section 4: Installing an OTA update while rooted

You must be rooted to complete this section.

Step 1: If you have any themes installed, such as Renovate ICE, Swift Themes, RoundyUI, or Substratum themes, remove them before continuing. Remove the Call Recording Enabler module if you have it. Restart if needed.

Step 2: Click on the system update notification. If it does not appear, open Settings, scroll to the bottom and click System, scroll to the bottom and click System updates. Click on the Install or Download and Install button and let it complete. Do NOT click Reboot.

Step 3: Open Magisk Manager and click the hamburger menu in the top left (3 horizontal lines). Click Downloads and then click the search icon (magnifying glass) in the top right corner. Type "TWRP" and click enter. Click the download arrow beside the module named TWRP A/B Retention Script. Do NOT click Reboot.

Step 4: Click the back button in the top left, followed by the hamburger menu in the top left as well (3 horizontal lines). Click Magisk and then click the top Install button, followed by Install again, then Install to Inactive Slot. You may now click Reboot.

You now have updated your phone's OxygenOS. Reinstall any modules or themes deleted in this process if they are compatible.

My phone boot loop after doing this step. Update Magisk then reboot. Any ideas on how to fix it? I'm on latest stock ROM

Already restart the phone but still stuck at spinning circle.

Should I just reflash TWRP and Magisk over fastboot?

Edit: I can enter TWRP recovery btw.

Any ideas?
 
Last edited:

intense21

Senior Member
Jul 29, 2011
95
9
OnePlus 9 Pro
Couple of things to make sure nothing is corrupt. Check and make sure you have the correct drivers and your phone appears when running command find devices.
Use the court that came with your phone. There are cords that will cause you too get errors.
Re download TWRP flash it, then flash magisk.

Sent from my GM1917 using Tapatalk
 

Deus.

Senior Member
Apr 25, 2016
1,026
709
Biatorbágy
roth.su
Hello everybody,

Thank you for the detailed guide. I followed the steps and successfully unlocked the bootloader, installed TWRP, but when I flash the Magisk zip file my phone doesn't boot, it stuck on the "The boot loader is unlocked and software integrity cannot be guaranteed.".
As soon as I "install" the magisk uninstaller the system boots up. I also tried to flash the original boot image and then Magisk, but I face the same situation, the screen stuck on the warning, it doesn't go to the OnePlus boot logo.
Right now I'm using the Open Beta 14 system.
Did anybody face similar issue?

--------------------

Edit: success after a full wipe and reinstall
 
Last edited:

jutsonr

New member
Jun 26, 2020
3
1
Won't boot twrp

Getting booting... FAILED (remote: unknown command) have tried q and pie versions 3.3.1 and 3.4.0 guacamole mauronofrio from the unofficial twrp links. Help would be much appreciated.
9y8d4m.png


Edit: Solved, needed to use command fastboot flash boot instead of fastboot boot.
 
Last edited:
  • Like
Reactions: intense21

Mgssidley

Senior Member
Mar 11, 2013
51
2
I just screwed up when attempting an update. I had the update downloaded but did not install it.
Then I continued to install the A/B retention script and Magisk to the inactive slot and rebooted.
Now my phone fails to boot, and gets stuck continuously loading.

Is there something I can do in TWRP to resolve this?

I changed the slot from B -> A in TWRP then rebooted and it resolved this!
 
Last edited:

ttle54

Member
Sep 19, 2018
36
31
OnePlus 7 Pro
Google Pixel 6 Pro
Phone stuck at T-Mobile pink screen after clicking on Reboot button at Step 4

Section 4: Installing an OTA update while rooted

You must be rooted to complete this section.

Step 1: If you have any themes installed, such as Renovate ICE, Swift Themes, RoundyUI, or Substratum themes, remove them before continuing. Remove the Call Recording Enabler module if you have it. Restart if needed.

Step 2: Click on the system update notification. If it does not appear, open Settings, scroll to the bottom and click System, scroll to the bottom and click System updates. Click on the Install or Download and Install button and let it complete. Do NOT click Reboot.

Step 3: Open Magisk Manager and click the hamburger menu in the top left (3 horizontal lines). Click Downloads and then click the search icon (magnifying glass) in the top right corner. Type "TWRP" and click enter. Click the download arrow beside the module named TWRP A/B Retention Script. Do NOT click Reboot.

Step 4: Click the back button in the top left, followed by the hamburger menu in the top left as well (3 horizontal lines). Click Magisk and then click the top Install button, followed by Install again, then Install to Inactive Slot. You may now click Reboot.

You now have updated your phone's OxygenOS. Reinstall any modules or themes deleted in this process if they are compatible.

After I install to Inactive Slot, then reboot, my phone is currently stuck at T**Mobile pink screen more than 30 minutes. Does anybody know how to fix it?
 

moslondon

Senior Member
Sep 30, 2012
197
16
Dallas
Hey guys, Im planning in getting this device but, if it comes with android 10 (latest update) installed, will this method work?
 

@soka

Senior Member
Aug 8, 2014
578
207
Glencoe
Hey guys, Im planning in getting this device but, if it comes with android 10 (latest update) installed, will this method work?

Yes, it will.

Unlock boot loader , as instructed.

Reboot into fastboot mode, fastboot boot twrp.img ( use the lastest unofficial one 3.4 version)
Phone will boot into recovery , flash the 3.4 installer.zip
 
  • Like
Reactions: moslondon

moslondon

Senior Member
Sep 30, 2012
197
16
Dallas
Yes, it will.

Unlock boot loader , as instructed.

Reboot into fastboot mode, fastboot boot twrp.img ( use the lastest unofficial one 3.4 version)
Phone will boot into recovery , flash the 3.4 installer.zip

And after that i could flash any custom rom with twrp? I wasn't sure if get the op7 pro or op8 pro. The process of flashing roms is kind more difficult with the op8 pro.
 
Last edited:

grandelemon

New member
Sep 18, 2020
2
0
Thank you!!!

I just screwed up when attempting an update. I had the update downloaded but did not install it.
Then I continued to install the A/B retention script and Magisk to the inactive slot and rebooted.
Now my phone fails to boot, and gets stuck continuously loading.

Is there something I can do in TWRP to resolve this?

I changed the slot from B -> A in TWRP then rebooted and it resolved this!

This did the trick. I think this needs to be added to the guide.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 98

    ------------------------------------------
    Latest update to guide: Jul. 5, 2020
    ------------------------------------------

    Hi everyone!

    Many users browse these forums coming from Google or YouTube and have trouble navigating between many guides and threads expecting a working knowledge of Android devices. Many may say that if you don't know what you are getting into, don't do it, but this warning is not followed by many people. Instead of having to deal with the pleas for help from lost users with soft bricked phones, I decided we need a 'megathread' with accurate, easy to follow instructions with correct grammar and concise descriptions.

    This thread is constantly updated. Please inform me with a reply or PM if you want anything modified

    Sections:

    58
    Section 1: Unlocking the bootloader (Windows Only)

    If your device is a T-Mobile version, you must first request an unlock token from this website to complete this section. Your device may also need to be SIM unlocked. Check your carrier website for details. Using the cable included in the box is also recommended.

    Step 1: With your phone turned on, open Settings. Scroll down to the bottom and select About phone. Touch Build number quickly until a toast message (grey rectangle at the bottom of the screen) appears reading You are now a developer!. Go back one screen to the main settings list and select System. Select Developer options. Turn on the switch next to OEM unlocking. Scroll down a small bit and turn on the switch beside Advanced reboot. Scroll down a bit more and turn on the switch beside USB debugging. Go back to the home screen.

    Step 2: Plug your phone into your computer with the cable supplied in the box. On your phone, look in the notifications for a message that says: "Android System Charging this device via USB." Touch the notification once to expand it and again to open it. Choose File transfer from the list. Download and extract this zip file by right clicking it, clicking Extract All, then Extract. (File Credit: Google) This file contains the official ADB and Fastboot binaries. 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. Navigate back to the extracted ADB and fastboot files (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Unlock/wake up your phone. 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
    Code:
    adb reboot bootloader
    Your phone screen should show the OnePlus logo as well as the words FastBoot Mode briefly. Type followed by the enter key
    Code:
    fastboot oem unlock
    Warning: This next step will wipe your phone. On your phone, use the volume down key to select Unlock the bootloader and then the power key to select. Your phone will then be wiped and restart automatically.

    Step 3: Follow the phone's initial setup exactly how you would if you were setting up a new phone. Restore any backup you have now. Once completely set up, follow the instructions from Step 1, ignoring the OEM unlocking switch. I also recommend typing this followed by enter
    Code:
    adb devices
    A prompt should appear on your phone. Click Ok.

    Your device is now Bootloader Unlocked.
    53
    Section 4: Installing an OTA update while rooted

    You must be rooted to complete this section.

    Step 1: If you have any themes installed, such as Renovate ICE, Swift Themes, RoundyUI, or Substratum themes, remove them before continuing. Remove the Call Recording Enabler module if you have it. Restart if needed.

    Step 2: Click on the system update notification. If it does not appear, open Settings, scroll to the bottom and click System, scroll to the bottom and click System updates. Click on the Install or Download and Install button and let it complete. Do NOT click Reboot.

    Step 3: Open Magisk Manager and click the hamburger menu in the top left (3 horizontal lines). Click Downloads and then click the search icon (magnifying glass) in the top right corner. Type "TWRP" and click enter. Click the download arrow beside the module named TWRP A/B Retention Script. Do NOT click Reboot.

    Step 4: Click the back button in the top left, followed by the hamburger menu in the top left as well (3 horizontal lines). Click Magisk and then click the top Install button, followed by Install again, then Install to Inactive Slot. You may now click Reboot.

    You now have updated your phone's OxygenOS. Reinstall any modules or themes deleted in this process if they are compatible.
    49
    Section 2: Installing TWRP (Windows Only)

    Your bootloader must already be unlocked, and you must be on the latest version of OxygenOS. Using the cable included in the box is also recommended.

    Step 1: With your phone turned on, hold the power button and until the reboot options menu appears on the right side. Click Bootloader. Plug your phone into your computer with the cable supplied in the box. Download these two files (File 1 for Android 10, File 1 for Android 9, File 2), which now work on both the OnePlus 7 Pro and OnePlus 7. (File Credit: @mauronofrio and Team Win Recovery Project). Put these files somewhere accessible, such as your Desktop.

    Step 2: Open the folder with your ADB and Fastboot binaries (the folder will likely be named platform-tools). With this folder open, hold shift and right click on the blank space. Click Open command window here or Open PowerShell window here. Type in the terminal window
    Code:
    fastboot boot
    followed by a space. Drag the image/img file you downloaded called twrp-3.3.1-79-guacamole-unified-Q-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
    Code:
    fastboot boot C:/Users/Arden/Desktop/twrp-3.3.1-79-guacamole-unified-Q-mauronofrio.img
    If it does, click the enter key.

    Step 3: On your phone, enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. This is the TWRP recovery. Click Advanced, then ADB Sideload, then swipe the bar at the bottom to the right. On your computer, type
    Code:
    adb sideload
    followed by a space. Drag the zip file you downloaded called twrp-3.3.1-79-guacamole-unified-installer-mauronofrio into your terminal window. The resulting command in your terminal window should read something like this
    Code:
    adb sideload C:/Users/Arden/Desktop/twrp-3.3.1-79-guacamole-unified-installer-mauronofrio.zip
    If it does, click the enter key. On your phone, you will see some text scrolling in a black box. Once the button appears on the bottom right, click Reboot.

    Your device now has the TWRP custom recovery.
    39
    Section 3: Installing Magisk

    You must already have TWRP installed to complete this section.

    Step 1: On your phone, download the Magisk installer zip (File Credit: topjohnwu). If you are not already in the TWRP recovery, hold the power button and until the reboot options menu appears on the right side. Click Recovery.

    Step 2: Enter your PIN/Password/Pattern if requested. You should now see a screen with grey boxes. Choose Install and navigate to the folder you downloaded the Magisk file to. Select the Magisk file (likely named Magisk-20.4.zip) and swipe the bar at the bottom to the right. Once the button appears in the bottom right, click Reboot.

    You now have Magisk root.