FORUMS

 View Poll Results: What other modifications would you like a guide for?

Installing EdXposed
 
89 Vote(s)
30.69%
Dirty flashing a ROM
 
56 Vote(s)
19.31%
Recovering from a brick
 
145 Vote(s)
50.00%

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

373 posts
Thanks Meter: 447
 
By Arden144, Senior Member on 17th June 2019, 02:52 AM
Post Reply Email Thread

------------------------------------------
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:
The Following 88 Users Say Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
17th June 2019, 02:52 AM |#2  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
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.
The Following 54 Users Say Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
17th June 2019, 02:53 AM |#3  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
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.
The Following 46 Users Say Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
17th June 2019, 02:53 AM |#4  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
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.
The Following 37 Users Say Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
17th June 2019, 02:53 AM |#5  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
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.
The Following 50 Users Say Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
17th June 2019, 02:54 AM |#6  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
(reserved extra section)
The Following 2 Users Say Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
17th June 2019, 07:54 PM |#7  
protechtedd's Avatar
Senior Member
Thanks Meter: 183
 
More
Great idea, very thorough!
17th June 2019, 09:47 PM |#8  
anoymonos's Avatar
Senior Member
Thanks Meter: 87
 
More
You forgot the very first step, which is to get sim unlocked. Without this OEM unlock will be greyed out
The Following 2 Users Say Thank You to anoymonos For This Useful Post: [ View ] Gift anoymonos Ad-Free
18th June 2019, 02:41 AM |#9  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
Quote:
Originally Posted by anoymonos

You forgot the very first step, which is to get sim unlocked. Without this OEM unlock will be greyed out

Oh, my bad. In my country it's illegal to sell locked phones
The Following User Says Thank You to Arden144 For This Useful Post: [ View ] Gift Arden144 Ad-Free
18th June 2019, 03:33 AM |#10  
Senior Member
Thanks Meter: 55
 
More
Quote:
Originally Posted by Arden144

Section 1: Unlocking the bootloader (Windows Only)

<snip> Type followed by the enter key

Code:
fastboot flashing 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.

I am curious about this step. For most all time with a phone that has an unlockable bootloader the command has always been:
Code:
fastboot oem unlock
Why do we use 'flashing' instead of 'oem' in that command for this phone?
18th June 2019, 03:34 AM |#11  
Arden144's Avatar
OP Senior Member
Thanks Meter: 447
 
More
Quote:
Originally Posted by teddyearp

Section 1: Unlocking the bootloader (Windows Only)

<snip> Type followed by the enter key
I am curious about this step. For most all time with a phone that has an unlockable bootloader the command has always been:


Why do we use 'flashing' instead of 'oem' in that command for this phone?

Good question, actually. I'm not entirely sure why the wording change, but the command has been different on close to stock devices since the Nexus 6P/5X. If someone more knowledgeable could explain, that would be great
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes