• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE]Android 11 how to root T-MOBILE OP8 5G

Search This thread

DZxda19

Member
Jun 10, 2019
17
0
At least for me, using those fastboot ROMs wasn't that straightforward. My issue occurred when I tried flashing directly to a global Android 11 ROM. The modem didn't work at all. I had to downgrade to Android 10 with MSM, then flash an Android 10 fastboot ROM, then install the OTAs up to the current Android 11 version. Everything worked after doing all that.

What you stated about root is correct. The patched boot image needs to match the version you have installed.
Actually I am confused. I want to root the right way in one go. What you suggest I should do to remove TM logo and get "LOCAL UPDATE" option.

As you know I have 11.0.1.3.IN55CB OOS installed.

FYI, I also have a copy of the PATCHED boot image software build 11.0.1.3.IN55CB which I got from this thread.
FYI, I also have OxygenOS 11.0.5.5.IN21AA (AA = Global) which i found from this site https://www.thecustomdroid.com/oneplus-8-pro-stock-boot-image-collection/

What should I flash ?
 

trinidude4

Senior Member
Apr 16, 2014
112
62
Amazon Fire
OnePlus 6T
Actually I am confused. I want to root the right way in one go. What you suggest I should do to remove TM logo and get "LOCAL UPDATE" option.

As you know I have 11.0.1.3.IN55CB OOS installed.

FYI, I also have a copy of the PATCHED boot image software build 11.0.1.3.IN55CB which I got from this thread.
FYI, I also have OxygenOS 11.0.5.5.IN21AA (AA = Global) which i found from this site https://www.thecustomdroid.com/oneplus-8-pro-stock-boot-image-collection/

What should I flash ?
I don't think you get local update by staying with T-Mobile firmware. To remove the boot screen and get local update, you would have to flash global. The problem I had was I couldn't go from T-Mobile with Android 11 directly to global with Android 11. I had to downgrade to Android 10 first.
 

DZxda19

Member
Jun 10, 2019
17
0
I don't think you get local update by staying with T-Mobile firmware. To remove the boot screen and get local update, you would have to flash global. The problem I had was I couldn't go from T-Mobile with Android 11 directly to global with Android 11. I had to downgrade to Android 10 first.
So, for me to do this in 1 go.

Flash Global android 10 in my TM android 11.
After flashing, get android 11 update from Oneplus Oxygen Updator and flash this again.

Right ? Will flashing global Android 10 from TM Android 11 cause problems or not ?
 

trinidude4

Senior Member
Apr 16, 2014
112
62
Amazon Fire
OnePlus 6T
So, for me to do this in 1 go.

Flash Global android 10 in my TM android 11.
After flashing, get android 11 update from Oneplus Oxygen Updator and flash this again.

Right ? Will flashing global Android 10 from TM Android 11 cause problems or not ?
I don't have the experience directly flashing Android 10 over Android 11, but I'm almost sure it will brick you. I didn't want to try that so I used the tmobile MSM tool to go back to 10 first. Then you can start flashing fastboot roms after that.

The last couple of posts in this thread sort of discuss the steps you need: https://forum.xda-developers.com/t/guide-convert-to-global-wip.4105885/post-85278411
 

DZxda19

Member
Jun 10, 2019
17
0
I don't have the experience directly flashing Android 10 over Android 11, but I'm almost sure it will brick you. I didn't want to try that so I used the tmobile MSM tool to go back to 10 first. Then you can start flashing fastboot roms after that.

The last couple of posts in this thread sort of discuss the steps you need: https://forum.xda-developers.com/t/guide-convert-to-global-wip.4105885/post-85278411
i have already my bootloader unlocked. Can i still use MSM tool
 

DZxda19

Member
Jun 10, 2019
17
0
Yes, but you'll have to re-unlock it.
Just a quick inquiry.

If I do MSM my Oneplus 8 TM, will it change my imei number too ?

I have a phone whose IMEI number is changed. I actually heard a guy and he said that MSM'ing your phone means "Oneplus MSM tool really allow you unbrick your phone at Qualcomm or CPU Chip level".

I have my imei number changed on my Oneplus 8 T-Mobile variant when I bought. Now if I use MSM tool will it also change or reset the imei number ?

Here's the video link in which he said about it
 
At least for me, using those fastboot ROMs wasn't that straightforward. My issue occurred when I tried flashing directly to a global Android 11 ROM. The modem didn't work at all. I had to downgrade to Android 10 with MSM, then flash an Android 10 fastboot ROM, then install the OTAs up to the current Android 11 version. Everything worked after doing all that.

What you stated about root is correct. The patched boot image needs to match the version you have installed.
Same for me. I downgraded to T-Mobile android 10, and then flashed global. Initially the first version had no data (except for wifi), but once upgraded, modem works fine and had 5g radio option, but only shows 4G in status bar.

Cheers,
B.D.
 

xbxhkz

Member
Mar 31, 2011
7
1
Same for me. I downgraded to T-Mobile android 10, and then flashed global. Initially the first version had no data (except for wifi), but once upgraded, modem works fine and had 5g radio option, but only shows 4G in status bar.

Cheers,
B.D.
So did you actually have a 5G connection or was it just 4G with the 5G radio option?
 

Taimur1477

Member
Oct 25, 2021
5
0
OnePlus 8
Is there anyway to change the TMobile stock software to global oxygen OS, has anyone ever tried to rebrand the Oneplus 8 TMobile to global version?
 

kolt54321

New member
Nov 19, 2021
3
0
Sorry if this is the wrong place for this question - new here.

Is flashing to global (or root) needed to stop T-Mobile from force-updating A11? The one I just got it on A10, but without a SIM until next week. Do I need to do the above or simply not update when it asks if I want to?
 

Reznor7

Senior Member
Apr 27, 2013
346
78
I've successfully unlocked the bootloader on my OP8 and installed Magisk 23. I'm unable to pass Safetynet, even with Magisk Hide enabled and using Magisk Hide Props. I pass basic integrity but fail cts profile. Any suggestions on how to fix it? Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    THIS GUIDE IS FOR THE T-MOBILE ONEPLUS 8 5G ONLY!!!!
    This method has only been tested on the above mentioned device. It may be possible to use *parts* of this guide on other oneplus/android devices, but you do so at your own risk!

    Furthermore no warranty or liability of any kind is offered or implied for any damages to any person(s), devices, or other property by following, or otherwise using any information contained in this guide be it inaccurate information or otherwise.
    By using this guide you're agreeing to these terms.


    MAKE SURE TO READ THROUGH THE ENTIRE GUIDE BEFORE ATTEMPTING TO FOLLOW IT!

    That said I've done my best to ensure this guide is an accurate representaion of the steps I followed to do the things laid out in this guide.

    Required items:
    Bootloader unlock token from OnePlus.
    adb fastboot drivers installed to path. (Not provided)

    Now that all that is out of the way. Let's get started!
    Rooting with provided boot.img

    1. Make sure that you are running some version of Android 11 via Settings>About phone.

    2. Take note of your Build Number you'll need that later.

    3. Click on build number five times to enable developer options.

    4. Navigate to developer options under Settings>System>Developer options.

    Turn on oem unlocking, as well as usb debugging & turn off automatic updates.

    5. Open a cmd prompt on your pc, or terminal on linux. Enter the following lines.

    Code:
    adb devices

    *Check the always allow from this device checkbox then hit allow.
    You should see your device listed. If it says unrecognized re-enter the line above.

    Code:
    adb reboot bootloader

    *Your device should reboot into fastboot. Once it has proceed.

    6. Now we must unlock the bootloader. cd to the directory where you have saved your unlock token.
    For example if you saved it to the Desktop of a windows machine the directory would most likely be
    users/*yourusernamehere*/Desktop.

    7. Enter the following lines. One at a time.

    Code:
    fastboot flash cust-unlock unlock_code.bin

    Code:
    fastboot oem unlock

    *Follow the prompts on your device to unlock your bootloader *****THIS WILL WIPE YOUR DEVICE SO MAKE SURE TO BACKUP YOUR DATA*****

    8. Get past setup on your device re-enable developer options, and usb debugging, turn off automatic updates.

    9. Follow the process to get back into fastboot via adb.

    10. Remember your build number. Download the boot image that matches your build number here:
    https://www.androidfilehost.com/?w=files&flid=322713
    (I've only tested this on the device I pulled from, but unless something drastic has changed since the last time I dealt with stuff like this these should work fine as long as the device is a Tmobile OP8, and the build number is the same.)

    (I will try to keep this updated as new updates are released, but work keeps me rather busy so it may not always be quickly.)

    11. Now open a cmd prompt (if you haven't already) navigate to where you saved the boot img. Enter the following.

    Code:
    fastboot devices
    *You see your device listed in that case proceed.

    Code:
    fastboot flash boot_a boot.img
    *If the process completes without errors then continue

    then

    Code:
    fastboot flash boot_b boot.img
    *If the process completes without errors then continue

    finally

    Code:
    fastboot reboot

    12. Your device should boot up. Install the magisk manager app if it is not installed. Open MM & follow the prompts to finish setup. Enable magisk hide, and reboot. SafetyNet should pass.

    Congrats! You have a Tmobile Oneplus 8 with root!


    Using/Acquiring your own boot.img

    This section of the guide will assume you are familiar with using adb/adb shell commands, as well as being familiar with android, and other terms.
    To put it plainly it will be a lot less hand holdy lol. This process requires root. So technically you won't be required to pull you're own image.
    However it should be noted that doing so will streamline the process for later in the event that you need to restore to stock, and re-root later on.

    *****YOU MUST BEGIN ON ANDROID 10 TO USE THIS METHOD*****

    If you are not downgrade via the msmtool, re-unlock your bootloader & make sure automatic updates are disabled in developer options.

    Let's begin.

    1. Connect your phone to your pc with usb debugging enabled & reboot into fastboot.

    2. Copy a Magisk zip file to your internal storage.


    3. Boot the latest twrp (DO NOT TRY TO BOOT OR INSTALL TWRP ON AN ANDROID 11 DEVICE TWRP DOES NOT CURRENTLY SUPPORT IT!!!!)

    Code:
    fastboot boot recovery "twrp.img"
    
    *****replace twrp.img with the filename of your twrp minus the quotes.*****

    4. Flash the magisk zip and reboot.

    5. Download & install the latest update, but do not reboot.

    6. Open magisk click install>Install to inactive slot(after ota).
    *Before rebooting make a note of which slot magisk says it's installing to.
    We will need this later to know which boot image slot to pull from.

    7. Reboot through magisk.
    *You should now be on the latest update with root.

    8.Open a cmd prompt and enter the following

    Code:
    adb shell

    then

    Code:
    su
    *grant the su request on your device.

    9. Now we must find the location of both boot paritiions. Enter the following

    Code:
    ls /dev/block/bootdevice/by-name/ -all

    10. This will display a list of all partitions on the device there are 2 we must make a note of, and 1 that is optional but highly recommended.
    These are boot_a, boot_b, and optionally persist.
    Open a notepad, and copy and those lines into a txt document and save.
    (You can optionally delete the part of the lines before boot_a, boot_b etc. To make it easier to read.)

    11. Now whichever slot magisk flashed to is what we need to pull from open your previously saved txt document, and find the path to which slot it is
    Ex: /dev/block/******

    12. In the command propt enter the following.

    Code:
    dd if=/dev/block/***** of=/sdcard/boot.img
    
    *****Replace the "*'s" with the rest of the path for the slot you need!*****

    NOTE: If you wish to backup your persist partition then repeat step 12. Replacing the "if" path with that of the persist partition you made note of earlier, and the boot.img part of the "of" path with persist.img.

    13. Copy those files from your internal storage to your pc using explorer or adb pull -p from the command prompt in the directory you would like them stored.

    And that's it Congrats! You've learned how to pull your own boot.img from your device, and have root on android 11!

    If you ever need to restore from stock you can just update back to android 11, and flash your boot images via fastboot.

    Note: I would recommend storing your boot images in folders named as the Build Number to ensure you don't mix them up. YOU WILL NEED TO REPULL YOUR BOOT IMAGES AFTER EVERY UPDATE!


    Updating in the future

    To update to new Android versions & keep root follow these steps.

    1. Make sure automatic updates in developer options are off.

    2. Download and install the update, BUT DO NOT REBOOT.

    3. Open magisk select install>Install to inactive slot(after ota).

    4. Reboot through magisk.

    5. You should reboot into the update with root preserved.

    6. Pull the new patched boot image if you wish.

    A few things to leave you with.
    It's been a while since I've dabbled with this side of development (I've mostly been focusing on app development, and occasionally magisk rom development.)
    So.
    Some things, and processes in this guide may change as future updates occur.
    I'll try to update it as neccesary, but my work usually keeps me pretty busy.
    Don't be afraid to ask any questions or suggest any corrections to this guide.
    I'll do my best help anyone with any problems or issues, but be sure to provide as much information as humanly possbile to help me or others assist with the problem.
    2
    1 is there a way to unlock and root without wipe? :C
    2 What could be the advantage of changing from t-mobile version to global? is there a hardware diference or something to be afraid of?

    Thank you

    1. No unlocking the bootloader will always perform a factory reset.

    2. This guide isn't for that. It serves as a repository for T-Mobile variant patched boot, or explains how to get your own images to flash via fastboot to be able to root past Android 10. Since Twrp doesn't support Android 11 yet.

    As for the perks of switching to global a few I can think of would be.
    No T-mo bloat.

    Updates from Oneplus containing all features.

    I believe it enables the local upgrade option for downloading, and installing updates downloaded via The OP website. (Only global/non tmo updates are available on the site).

    I'm sure there are probably a few other minor differences.

    As far as I'm aware the process isn't as straight forward as it used to be with the 6t, 7 etc. So there is more of a potential for something to go wrong. Could be off putting for some I suppose. For more details I suggest looking at one of the conversion guides. :)
    2
    How long did it take to get your token from OnePlus?
    1 week to the minute
    1
    Why a factory reset should be needed in that part... :/

    thank you

    I'm not entirely sure as to why. It just part of the process (on every device with an unlockable bootloader).

    Aside from potentially saving on troubleshooting down the line. Perhaps it's a liability issue. Since technically unlocking the bootloader does make your device less secure. The manufacturer can't be to blame for stolen/lost data since anything you would've put on the device would have been put there yourself. The warning message doesn't appear until after the bootloader is unlocked. So by wiping the device before hand/during the process it insures that you have seen the warning, and are choosing to put said data on the device of your own free will after having been warned.

    So my best guess would be to protect themselves from potential lawsuits. Assuming that there is no technical reason for needing it. (Which I'm not entirely sure that there isn't).