[GUIDE][WIP]T-Mobile Brand Conversion to Rooted Global Firmware

Search This thread

mkelandis

New member
Feb 5, 2021
3
0
Hi - I followed these instructions to the T. After performing...

Code:
c:\oneplus\platform-tools>fastboot flash cust-unlock unlock_code.bin
Sending 'cust-unlock' (0 KB)                       OKAY [  0.016s]
Writing 'cust-unlock'                              (bootloader) Device is unlocked.
OKAY [  0.000s]
Finished. Total time: 0.031s

c:\oneplus\platform-tools>fastboot oem unlock
OKAY [  0.031s]
Finished. Total time: 0.031s

...the phone rebooted to a blue screen showing language selection, and the adb device was no longer connected. I believe the Windows PC also popped a notification about installing drivers for a new media device (D:\). Wanting to get back into fastboot to perform flash-all - I held down the button to reboot the phone - it powered down. Now the phone won't power up, holding down the power button doesnt help. Would love some assistance here if someone has a fix to get the phone to power up again. Also - what was supposed to happen after that reboot to language selection?
 

mkelandis

New member
Feb 5, 2021
3
0
Hi - I followed these instructions to the T. After performing...

Code:
c:\oneplus\platform-tools>fastboot flash cust-unlock unlock_code.bin
Sending 'cust-unlock' (0 KB)                       OKAY [  0.016s]
Writing 'cust-unlock'                              (bootloader) Device is unlocked.
OKAY [  0.000s]
Finished. Total time: 0.031s

c:\oneplus\platform-tools>fastboot oem unlock
OKAY [  0.031s]
Finished. Total time: 0.031s

...the phone rebooted to a blue screen showing language selection, and the adb device was no longer connected. I believe the Windows PC also popped a notification about installing drivers for a new media device (D:\). Wanting to get back into fastboot to perform flash-all - I held down the button to reboot the phone - it powered down. Now the phone won't power up, holding down the power button doesnt help. Would love some assistance here if someone has a fix to get the phone to power up again. Also - what was supposed to happen after that reboot to language selection?

Update: Holding down vol+/- and power button did get me back into fastboot. False Alarm. Ty.
 

mkelandis

New member
Feb 5, 2021
3
0
Update: Holding down vol+/- and power button did get me back into fastboot. False Alarm. Ty.

...Note: I did end up having to reboot back to language selection - and re-setup the phone for ADB Debugging, and Advanced Reboot (after step 6, before step 7). Then reboot into recovery using the power button menu, and re-connect the USB cable. Then I could start step 7. Ignore all of the phone re-boots (and prompts for language selection) after you start flash-all. The command prompt on the computer will let you know when it's done... looks like this:

Code:
Sending sparse 'product_b' 1/3 (523616 KB)         OKAY [ 12.618s]
Writing 'product_b'                                OKAY [  3.062s]
Sending sparse 'product_b' 2/3 (523628 KB)         OKAY [ 12.539s]
Writing 'product_b'                                OKAY [  3.077s]
Sending sparse 'product_b' 3/3 (232340 KB)         OKAY [  5.572s]
Writing 'product_b'                                OKAY [  1.523s]
Finished. Total time: 51.596s
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 0.000s
Press any key to continue . . .

c:\oneplus\platform-tools\10.0.9-GLOBAL-OnePlus7TOxygen_14.O.11_OTA_011_all_2003271951_3cf84b1dee-FASTBOOT>
 

starlaight

New member
Feb 7, 2021
1
0
DON'T TOUCH THE PHONE, BE SURE TO STAY AT THE LANGUAGE SELECTION SCREEN. I clicked through it and went back to the fastboot menu and that made everything else fail.
Hi, I encountered the same issues with FAILED (remote: 'Partition not found') and FAILED (remote: 'Flashing is not allowed for Critical Partitions') errors. I thought maybe it was because I did choose English and go back to Fastboot for it to continue. I'm running flash-all.bat again and trying to just leave the phone alone at the language selection screen, but it's not proceeding and command prompt just shows < waiting for any device > after Writing 'vmmeta_system'

Edit to say: I did go back to Fastboot, although I didn't select English and click through it this time. I noticed an error that is in both times I have done it that says: "fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable." And then I get the 'Flashing is not allowed for Critical Partitions' errors. I assume this might be related?

Editing again to say: Installing the drivers from the All in One Tool described here seems to have solved my problem. I was able to successfully get through the flash-all.bat and it didn't disconnect at the language selection screen.
 
Last edited:

Duy Hiệp

Member
Feb 24, 2021
9
1
Reserved for old instructions. Going from 10.0.7 and up the instructions were changed and certain steps weren't needed, like flashing Indian before Global.

Keeping these here just in case someone purchases a phone with older firmware and doesn't want to wait updating to the latest version.


Requirements:
ADB setup and working
Global OTA ZIP (grab the 10.0.6 from here)
Updated 10.0.7 OTA Build from hereas well
Indian Fastboot ROM(grab the latest from here)
Pre-Rooted 10.0.6 boot.img file here
Magisk Canery apk

=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
This group of instructions are going to walk you through on how to unlock your bootloader. This is the first general step in converting your device into a global device.

1. Either follow the rules via T-Mobile (paid off and 40 days on the network) or visit this thread and get the hook up from our friend (send him some cash, for real I did this and it worked hopefully he keeps up with this for a while!). This will allow you to use the Unlock App to permanently unlock your phone.
2. Open the "Unlock" app that's preinstalled on your phone and click on Permanent Unlock. If you have completed Step One correctly, it'll congratulate you and ask you to reboot your phone.
3. Reboot your phone and Enable Developer Settings. Check out the OEM Unlock button is now able to be switched off. Switch it off.
4. Be sure to also tick USB Debugging.
5. You'll now need to submit a request for an unlock_code.bin file from OnePlus via this link. It takes a week. Seriously almost down to the second. There's no avoiding this. I've read several people try (myself included) all met with the same fate. Wait. 7 whole days. You'll get an email from OnePlus containing the unlock_code.bin file. Download this file and save it to your ADB folder.
6. Reboot your phone into fastboot--
Code:
adb reboot bootloader
Code:
fastboot oem unlock
This will unlock your bootloader and wipe your device
=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=

Now that you've unlocked your bootloader, lets get to flashing the Global Rom--

7. Extract the contents of the Indian Fastboot Rom zip folder directly into your ADB folder.
a. If you did this correctly your ADB folder will be filled with a bunch of new .img files. Like boot.img​
8. Open CMD (with admin rights) and navigate to your ADB folder. I've heard users try to use Powershell and while it works mostly, ymmv. I stick with CMD and haven't had any issues.
Mine would be--
Code:
cd c:\adb\
This will also wipe your data, be sure to save anything that you need prior to running the following command.​
Code:
flash-all.bat
10. If you've never flashed via fastboot before, this is going to spit a bunch of information to you that might look like garbage. Your phone will boot a few different times including into FastbootD (link for explanation) But it's telling you what it's flashing and how fast it's doing it. There's a common looking error that happens every time you do this. It says "Invalid sparce file format at header magic". This is normal, just ignore it and keep waiting. Once everything settles, the device will reboot by itself. If it doesn't, like bootloops to the bootloader, start over and go back to Step 5 and try again.
11. Once the device boots up, you should now be on the Indian build for the OnePlus 7T.
12. Be sure to copy the Global OTA to the root storage of your OnePlus 7T. If you haven't, do so now.
13. Reboot the phone and boot the Modded-boot.img file from the bootloader
Code:
adb reboot bootloader
fastboot boot modded-boot.img
14. Once the phone boots up, you should now have temp root. Go to settings > system updates and look for the gear on the top right-hand corner. If it's not there, something didn't flash right. Go Back to Step 2 and try again. Click on it and select Local Upgrade
15. Select the Global OTA file and it'll start to flash from within the update app. Let this finish before proceeding.
16. Install Magisk Manager Canary from here
17. Check in the middle of the screen for "advanced options" and make sure Preserve force encryption and preserve avb 2.0/dm-verify are checked.
18. Now look under the first Magisk check and make sure that it's telling you there's an update to "Magisk" and run through that update via direct install.
19. Once that finishes it'll have you reboot the phone.
20. You've now fully converted to the Global Firmware and Rooted. Confirm this by going to settings > about phone and look at Build Number. Should say 10.0.6(as of the time of this post, I'll try to update this as I can)

If you'd like to update to 10.0.7:
1. Download and move the OTA file for 10.0.7 to the root of your OP7T
2. Go to Settings > System > System Updates and look for the gear in the top right.
3. Select Local upgrade and select the update file for 10.0.7.
4. Let it run through and finish, don't reboot.
5. Open Magisk Manager
6. Update and select direct install to inactive boot partition to update.
7. Once this finishes, reboot and you're now on 10.0.7 rooted.

=-=-=-=-=-=-=-=-=-=-=-=
No matter what fastboot I used the logo T-mobile will always appear in the end. Phone still no signal, no wifi. Or it stuck in what might be fastbootd, I don't know. Some people say just let it be the phone will boot but I had waited few hours then I selected and it will reboot but still the same story. I have done everthing I could, please help!
 

0x0null

Senior Member
Mar 31, 2018
122
30
Lagos, NG
No matter what fastboot I used the logo T-mobile will always appear in the end. Phone still no signal, no wifi. Or it stuck in what might be fastbootd, I don't know. Some people say just let it be the phone will boot but I had waited few hours then I selected and it will reboot but still the same story. I have done everthing I could, please help!
It means you are doing it wrong.

1. from bootloader run the command: fastboot reboot fastboot
Your phone should reboot into what appears to be recovery. Quickly navigate to device manager and install driver for hd1907( thats your fastbootd needing driver installation)

2. Run the command: fastboot getvar is-userspace ( If it returns with a "Yes" it means fastbootd is active but a "No" means inactive)

3. From the ADB folder containing the files run the following command instead of the entire flashall.bat:

fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
 

thardy00

Member
Mar 10, 2021
10
0
Hi!
I've been following the thread and everything gone fine. I converted to global, then did OTA and after that I've relocked my bootloader. Everything is okay but I would like to root my phone now. Hence I need to unlock bootloader again but old unlock code seems not working and I cannot get new unlock code via fastboot.

After trying with old unlock code (which I get when I was on Tmobile) I got this output:

Code:
fastboot flash cust-unlock unlock_code.bin

Sending 'cust-unlock' (0 KB)                       OKAY [  0.013s]
Writing 'cust-unlock'                              FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot: error: Command failed

After this failed attempt I thought that I will try to get a new unlock_code.bin from OnePlus but I've met another problemwhen I was trying to get unlock code which we need then paste on OnePlus site:

Code:
fastboot.exe oem get_unlock_code

FAILED (remote: 'Unknow command')
fastboot: error: Command failed

Any ideas what can I do right now to unlock bootloader once again :D ?

EDIT:
SOLUTION:
If someone will be in the same situation. You don't need to flash unlock_code.bin for another time. You just simply do:
Code:
fastboot oem unlock
and it's working as champ. Remember it will wipe your phone.
 
Last edited:

Travisopp

Member
Apr 14, 2021
5
0
I've been trying to get this done for 3 weeks now, as of now when I run the flash-all.bat everything goes smoothly except opproduct.img, the error shows no such file or directory, and it tuns the screen black, then I run the msm tool again it is the 5th time today that I tried to make it work if anyone of you could help
 

HueyT

Senior Member
Apr 3, 2014
3,891
1,862
New Albany, IN
OnePlus 7T
I've been trying to get this done for 3 weeks now, as of now when I run the flash-all.bat everything goes smoothly except opproduct.img, the error shows no such file or directory, and it tuns the screen black, then I run the msm tool again it is the 5th time today that I tried to make it work if anyone of you could help

This is what I used without issue
 

Travisopp

Member
Apr 14, 2021
5
0
Hi all, I've been trying to convert my TMO OP7TPRO for weeks now, with the help of this guide I've been able to go past the the critical flashing error, as of now it is on 10.0.39 bootloader unlocked and rooted, tried flashing the global fastboot rom of 10.0.13 multiple times today it led me to a bricked phone 3 times, i tried the all in one tool to flash the global 10.0.3 which got me to a mclaren boot did not brick or boot on t-mobile screen, the visible issue that i face while flashing the rom is OPPRODUCT no such partition, as of my observations opproduct gets flashed as op2 on the msm tool, so far ive tried almost all the guides that were available but i always end up bricking it any help would be appreciated.
Thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    First, let me say that this is only an attempt to pull this information out from a lot of different threads that require a bunch of research and a lot of institutional knowledge of Android. The idea of this thread is going from 100% T-Mobile Stock 10.0.8 to Rooted Global Firmware.

    Please take the time to read every step carefully. It'll explain a little bit as to the why behind some of the steps. PM me if I've missed anything.

    This has been revamped as some of the steps are no longer required. Devices coming from 10.0.6 and below might have to try a different set of steps. Click here for the post with the old instructions

    Requirements:
    ADB setup and working
    Global Fastboot ZIP Grab the latest version (10.0.8 as of 3/20)
    For Root:
    Magisk Canery apk
    Modded-Boot.img From here or make your own pulling your own boot.img and using magisk to create a modded boot.img file


    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
    This group of instructions are going to walk you through on how to unlock your bootloader. This is the first general step in converting your device into a global device.

    1. Either follow the rules via T-Mobile (paid off and 40 days on the network) or visit this thread and get the hook up from our friend (send him some cash, for real I did this and it worked hopefully he keeps up with this for a while!). This will allow you to use the Unlock App to permanently unlock your phone.
    2. Open the "Unlock" app that's preinstalled on your phone and click on Permanent Unlock. If you have completed Step One correctly, it'll congratulate you and ask you to reboot your phone.
    3. Reboot your phone and Enable Developer Settings. Check out the OEM Unlock button is now able to be switched off. Switch it off.
    4. Be sure to also tick USB Debugging.
    5. You'll now need to submit a request for an unlock_code.bin (could also be labeled unlock_token.bin) file from OnePlus via this link. It takes a week. Seriously almost down to the second. There's no avoiding this. I've read several people try (myself included) all met with the same fate. Wait. 7 whole days. You'll get an email from OnePlus containing the unlock_code.bin file. Download this file and save it to your ADB folder.
    5a. Open CMD (with admin rights) and navigate to your ADB folder. I've heard users try to use Powershell and while it works mostly, ymmv. I stick with CMD and haven't had any issues.
    Mine would be--
    Code:
    cd c:\adb\

    6. Reboot your phone into fastboot--
    Code:
    adb reboot bootloader
    Code:
    fastboot flash cust-unlock unlock_code.bin
    Code:
    fastboot oem unlock
    This will unlock your bootloader and wipe your device
    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=

    Now that you've unlocked your bootloader, lets get to flashing the Global Rom--

    7. Extract the contents of the Global Fastboot Rom zip folder directly into your ADB folder.
    a. If you did this correctly your ADB folder will be filled with a bunch of new .img files. Like boot.img​
    8. Open CMD (with admin rights) and navigate to your ADB folder. I've heard users try to use Powershell and while it works mostly, ymmv. I stick with CMD and haven't had any issues.
    Mine would be--
    Code:
    cd c:\adb\
    This will also wipe your data, be sure to save anything that you need prior to running the following command.​
    Code:
    flash-all.bat
    9. If you've never flashed via fastboot before, this is going to spit a bunch of information to you that might look like garbage. Your phone will boot a few different times including into FastbootD (link for explanation) But it's telling you what it's flashing and how fast it's doing it. There's a common looking error that happens every time you do this. It says "Invalid sparce file format at header magic". This is normal, just ignore it and keep waiting. Once everything settles, the device will reboot by itself. If it doesn't, like bootloops to the bootloader, start over and go back to Step 8 and try again.
    10. You've now fully converted to the Global Firmware. Confirm this by going to settings > about phone and look at Build Number. Should say 10.0.8(as of the time of this post).

    You're done! Continue on if you want to root your device...

    =-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=

    If you're interested in root:

    11. Boot the device from the modded-boot.img file to give your self temp root. Once this is done, boot the device.
    Code:
    adb reboot bootloader
    fastboot boot modded-boot.img

    12. Install Magisk Manager Canary from here
    13. Check in the middle of the screen for "advanced options" and make sure Preserve force encryption and preserve avb 2.0/dm-verify are checked.
    14. Now look under the first Magisk check and make sure that it's telling you there's an update to "Magisk" and run through that update via direct install.
    15. Once that finishes it'll have you reboot the phone.
    16. You've now fully converted to the Global Firmware and Rooted. Confirm this by going to settings > about phone and look at Build Number. Should say 10.0.8(as of the time of this post)

    =-=-=-=-=-=-=-=-=-=-=-=
    Shoutouts will go here soon.
    7
    Just now noticed this thread so I'll crosspost my applicable results from the MSM thread https://forum.xda-developers.com/showpost.php?p=81227253&postcount=113


    I want to share my experience in case it might help someone else as I was quite confused for a while over the past few weeks trying to get off tmobile slow updates.
    I can also confirm jumping straight from tmobile 10.0.4 to global 10.0.6 works. I didn't have the 10.0.7/10.3.0 downloaded and I have slow internet so I can't say if that would work but I have upgraded to it since via oxygen updater.

    Basic steps how I got there is, assuming you know how to do stuff like enable dev mode and usb debugging
    -sim unlock https://forum.xda-developers.com/oneplus-7t/how-to/t-mobile-free-op7t-sim-unlocking-t4014053
    -request bootloader unlock token and wait 7 days https://www.oneplus.com/unlock_token
    -unlock bootloader
    -get fastboot rom https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
    -use all in one tool to flash flashboot rom https://forum.xda-developers.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711
    I told the AIO tool I had a oneplus 7 (7T not an option) and did "flash factory images", and chose wipe and reboot to be safe and just waited until the phone came back to factory setup screen

    that's it. oxygen updater incremental update failed for 10.0.7/10.3.0 but full worked fine, I've never used oxygen updater until now so idk if that is fairly normal or not. VoLTE works, WiFi calling, etc all seem to be working as far as I can tell (although it seems the global doesn't have the quick select option to disable wifi calling like the tmobile rom did).

    I've also now installed Magisk Canary, patched boot img and have certified play store now and google pay is fully functional and I have used camera for mobile banking deposit. Still no issues with wifi, camera, anything
    3
    Thank you for all the info.

    I wanted to swap from the T-Mobile firmware to the international firmware and read through all the posts. I was able to unlock the device and do a direct upgrade to 10.0.0.6 using the all in one tool kit and fastboot image. I then used the settings > system update and it downloaded and applied the full 10.0.0.7 update. After this update, I performed a full system wipe, relocked the bootloader via fastboot commands, and restored from backup (google account). Everything appears to be working well with no issues from device radios or camera.

    Thanks again everyone for the info! Will post a follow up if I run into any issues.
    3
    Some helpful info I've found.
    Bootloader unlock guide and a link to apply for the unlock code.bin

    This guide will give you step by step directions on how to unlock the bootloader. Make sure your 100 percent certain you want to do this. Once you unlock your bootloader it will force a full system wipe, YOU WILL LOSE ALL YOUR DATA and there's a BUG that will NOT ALLOW YOU TO INSTALL ANY FUTURE SYSTEM UPDATES. It deletes a critical file that is required to allow system updates to install. I speak from experience, it happend to me, this is my second 7T from T-Mobile.


    You must be SIM unlocked first. Guide doesn't tell you how to do that.
    BootloaderUnlock Guide
    https://forums.oneplus.com/threads/q-a-the-ultimate-oneplus-7t-series-guide.1117753/
    3
    Is waiting around for OnePlus to send you an unlock token really necessary to unlock the bootloader? I ask this because it's not necessary on the OP7 with the use of the MSM Tool (https://forum.xda-developers.com/oneplus-7-pro/help/how-to-convert-tmobile-op7-to-t3935947) Would this tool work on the OP7T or does it need its own?

    Yes, unfortunately the loophole that let this work on the 6T and 7 was corrected for the 7T+
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone