[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

davidk21770

Senior Member
Aug 28, 2011
371
90
Samsung Galaxy Tab S3
OnePlus 7 Pro
Disable magisk modules. Forget the TWRP part. Just install the Zip. Don't reboot, go to magisk , and install to inactive slot. Reboot, you should be rooted on new version.
I was looking for someone who had done this with 10 -> 11. :cool:

Did you need to switch to the canary version of Magisk 1st?

Do you know if I can fast-boot (dual-boot) back to the old 10 partition if it fails? (Since it seems to reencrypt the data partition for TWRP to now fail)
 

@soka

Senior Member
Aug 8, 2014
578
207
Glencoe
I actually did this from A10 to A11 latest. As mentioned, install update. Don't re boot, disable modules in magisk. Then install magisk to inactive slot.
Sorry never used dual boot, so I can't help you there.
Canary version not required, I used v23.0
 
  • Like
Reactions: davidk21770

Morgane3D

Senior Member
Apr 19, 2013
123
31
Oued Romane
OnePlus 7 Pro
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.
Someone tried to did it with a GM1915 ?? (Tmobile version, with tmobile firmware rooted) .???
 

DaveImagery

Senior Member
Jun 7, 2014
267
47
I contacted OnePlus to get an unlock token for my GM1915 (T-Mobile vers) and they said it cannot be done. Tried twice now with the MSN tool, to switch to the international version of the phone, it just hangs, and doesn't complete.
 

draentor

Senior Member
Jul 24, 2012
72
22
The TWRP version provided in this thread will work with Android 11?
You can use the official up-to-date TWRP, fully compatible for Android 11 : https://twrp.me/

Courtesy of @Dan3ll1 :

Installation:
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
3. after that is done, if you were using a custom kernel, reflash it now
4. if you were using magisk, reflash it now

And then, follow the instructions from @gwolfu : /!\ these are the instructions for crDroid, check the ROM thread before install /!\

First time installation (clean flash):
It is recommended to install OOS 11 firmware before you continue (more on that here)
If you already have OOS 11 and no TWRP (and probably encrypted) read
here

  • Backup your data to PC, OTG flash drive
  • Reboot to recovery
  • Factory reset from recovery and format data (where you type "yes")
  • Reboot to recovery
  • Flash crDroid zip and TWRP installer zip
  • Reboot to recovery
  • Flash gapps and reboot to system
  • After passed setup screen, reboot to TWRP and flash Magisk zip
  • Enjoy
 
  • Like
Reactions: Valholy

Valholy

Senior Member
Mar 24, 2011
459
23
OnePlus 7 Pro
You can use the official up-to-date TWRP, fully compatible for Android 11 : https://twrp.me/

Courtesy of @Dan3ll1 :

Installation:
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
3. after that is done, if you were using a custom kernel, reflash it now
4. if you were using magisk, reflash it now

And then, follow the instructions from @gwolfu : /!\ these are the instructions for crDroid, check the ROM thread before install /!\

First time installation (clean flash):
It is recommended to install OOS 11 firmware before you continue (more on that here)
If you already have OOS 11 and no TWRP (and probably encrypted) read here

  • Backup your data to PC, OTG flash drive
  • Reboot to recovery
  • Factory reset from recovery and format data (where you type "yes")
  • Reboot to recovery
  • Flash crDroid zip and TWRP installer zip
  • Reboot to recovery
  • Flash gapps and reboot to system
  • After passed setup screen, reboot to TWRP and flash Magisk zip
  • Enjoy
thanks a lot , sheers
 

namastyler

Member
Apr 19, 2021
7
0
Disable magisk modules. Forget the TWRP part. Just install the Zip. Don't reboot, go to magisk , and install to inactive slot. Reboot, you should be rooted on new version.
Hi, forgive me if I'm a bother to you.
It has been a while since I've updated/rooted something and I've got some questions about my GM1913.
I'm on 10.0.11.gm21ba and I was thinking to upgrade to 11.0.5.1.gm21ba.
I have TWRP 3.5.2_9-0 and I'm rooted with Magisk 23.0. So I was going to disable all the modules when I saw the 24.1 update. Before updating to it I saw the MagiskHide Removal bit and the raw state of Shamiko and Universal SafetyNet Fix somewhere else on the internet.
So, now I'm wondering if at this point it's just better to wait for Oxygen 12 and jump directly on that when (if) it will arrive, because right now I'm afraid I might have problems with my 2FA apps, app from the bank and general data considering the Magisk news and the risk to upgrade from one generation to the next.
So, what do you suggest me to do at this point?
Any comment on the matter is welcome from everyone of course.
Thanks in advance!
 
Last edited:

@soka

Senior Member
Aug 8, 2014
578
207
Glencoe
Hi, forgive me if I'm a bother to you.
It has been a while since I've updated/rooted something and I've got some questions about my GM1913.
I'm on 10.0.11.gm21ba and I was thinking to upgrade to 11.0.5.1.gm21ba.
I have TWRP 3.5.2_9-0 and I'm rooted with Magisk 23.0. So I was going to disable all the modules when I saw the 24.1 update. Before updating to it I saw the MagiskHide Removal bit and the raw state of Shamiko and Universal SafetyNet Fix somewhere else on the internet.
So, now I'm wondering if at this point it's just better to wait for Oxygen 12 and jump directly on that when (if) it will arrive, because right now I'm afraid I might have problems with my 2FA apps, app from the bank and general data considering the Magisk news and the risk to upgrade from one generation to the next.
So, what do you suggest me to do at this point?
Any comment on the matter is welcome from everyone of course.
Thanks in advance!
Hi ,
No bother at all. I enjoy helping. I have learnt a lot from this community. Its good to give back.

You could make the jump to the latest version of OOS should you choose to. I was also hesitant at first with the removal of magisk hide on 24.1. I managed to sort it out with enabling zygisk and using the deny list(magisk hide replacement) of sorts. I also used safetynet-fixv2.21 the zygisk version module. My banking app and safetynet pass and work just fine. I should mentioned that I use the latest version of TWRP as well 3.6.0-11-0 it decrypts data just fine on A11.

As for A12, that'll happen later this year if ever. The choice is entirely yours. I hope this helped.
 

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.