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

Search This thread

Msfdfsx

Member
Oct 21, 2022
36
1
OnePlus 7T
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.

=-=-=-=-=-=-=-=-=-=-=-=
This message appears *the bootloader is already unlocked* but it's locked
 

orangepowerpokes

Senior Member
Sep 3, 2016
118
33
This message appears *the bootloader is already unlocked* but it's locked
If thats the case and phone is payed off and has had tmo sim for something like 45 days, then part 1/2 call tmo and request phone be unlocked. Then part 2/2, send a bootloader unlock request to oneplus via their website form, and then wait the 7 days for the fastboot file.
 

w1ne

New member
Feb 15, 2023
1
0
1. Either follow the rules via T-Mobile (paid off and 40 days on the network) or visit this [URL='https://forum.xda-developers.com/oneplus-7t/how-to/t-mobile-free-op7t-sim-unlocking-t4014053']thread[/URL] 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.

The thread is no longer accepting any new inquiries, can someone please point me to a new thread? Person who is doing T-mobile unlock? The T-mobile support did not help. Thanks.
 

eliaslear

Senior Member
Aug 30, 2012
151
30
so i converted tmo to global when i got this phone. it's been great and all that. but i was tired of fighting unlocked bootlaoder and magisk when i wanted to use a secure app. times are getting strict with google. so, i decided i wanted to flash twrp and lineage. however, i previously upgraded to 12. i haven't done a ton of research, but from the little i gathered, you an no longer flash twrp to a and b since the jump to 12. you must be on 11. so i went through every msmtool version (EVERY!!!) until i landed on this one. hotdogt_11_O.01_210120.zip https://androidfilehost.com/?fid=17248734326145733789 . i will upload and post link if androidfilehost goes down again. people have had plenty of issues being unable to find mirrors on there lately. all that being said, i'm not sure why i flashed global in the first place. maybe it was cool. maybe i wanted the option of dual sim. maybe i wanted to be on the latest update as soon as possiible. i'm with metro so being locked to tmobile doesn't affect me at all. at any rate, i'm on lineage now and absolutely love it. so, to anyone else having these issues, or maybe even you just want to go back to stock from 12 and have a different issue, this particular package may help you. i'm posting to multiple applicable threads, but if mods don't agree with my decision i'm sorry and i'm sure you'll arrange accordingly.
 

andr3w282

Member
Sep 18, 2011
9
1
Hi all,

In Canada - in 2020 purchased a "Factory unlocked" OnePlus 7T from a US retailer (BHPhotoVideo) but was known that it was the T-Mobile unlocked phone. Grabbed a dual sim card tray and it has happily been working with dual sim since.

The product item indicated: "This is the OnePlus 7T HD1907 Model. This model has been factory unlocked by OnePlus before shipping. There are no carrier locks or logos. All updates will be from OnePlus directly. The bootloader is ready to be unlocked. This version will not work on Verizon."

Partner upgraded to OS12 / HD1901_11_F.20 and it blocked/removed dual sim. In the about settings it also thinks the device is HD1901.

Planning to downgrade so doing some research...

Since this was "Factory unlocked" and dual sim was working, does that indicate it has the international firmware? Or since the dual sim is now broken, does that imply it's still the branded firmware? is there a way to inspect?

For rollback to 11, I'm assuming I'll need to follow the unbrick guide, but do I need to convert to global firmware first?

Thanks!
 
Last edited:

Robinlong

Member
Mar 17, 2023
15
7
Xiaomi Mi A2
OnePlus 7T
Hi all,

In Canada - in 2020 purchased a "Factory unlocked" OnePlus 7T from a US retailer (BHPhotoVideo) but was known that it was the T-Mobile unlocked phone. Grabbed a dual sim card tray and it has happily been working with dual sim since.

The product item indicated: "This is the OnePlus 7T HD1907 Model. This model has been factory unlocked by OnePlus before shipping. There are no carrier locks or logos. All updates will be from OnePlus directly. The bootloader is ready to be unlocked. This version will not work on Verizon."

Partner upgraded to OS12 / HD1901_11_F.20 and it blocked/removed dual sim. In the about settings it also thinks the device is HD1901.

Planning to downgrade so doing some research...

Since this was "Factory unlocked" and dual sim was working, does that indicate it has the international firmware? Or since the dual sim is now broken, does that imply it's still the branded firmware? is there a way to inspect?

For rollback to 11, I'm assuming I'll need to follow the unbrick guide, but do I need to convert to global firmware first?

Thanks!

Hi,

I was in the exact same position as you last week. When I upgraded my supposedly 'Factory Unlocked' HD1907 with no carrier branding to global F.20 ROM through OTA, it also then disabled the 2nd SIM slot and identified itself as HD1901. Looking into it, I realised that many other also had this issue as well.

After much reading conflicting information and debating with myself, I decided to downgrade using the Global MSM Tool for 10.0.16 and then upgraded to 11.0.9.1 following the 'North American' method in this post.

It all went smoothly, my 2nd Sim card slot works now and the device indentifies itself as HD1907 once again.

The only minor snag I faced, was getting the device into EDL mode, it would not enter EDL mode using the physical key combo, neither through 'Reboot to EDL' in Magisk. I had to use the ADB command: 'adb reboot edl' for it to work.
 
  • Like
Reactions: andr3w282 and avalx

andr3w282

Member
Sep 18, 2011
9
1
Hi,

I was in the exact same position as you last week. When I upgraded my supposedly 'Factory Unlocked' HD1907 with no carrier branding to global F.20 ROM through OTA, it also then disabled the 2nd SIM slot and identified itself as HD1901. Looking into it, I realised that many other also had this issue as well.

After much reading conflicting information and debating with myself, I decided to downgrade using the Global MSM Tool for 10.0.16 and then upgraded to 11.0.9.1 following the 'North American' method in this post.

It all went smoothly, my 2nd Sim card slot works now and the device indentifies itself as HD1907 once again.

The only minor snag I faced, was getting the device into EDL mode, it would not enter EDL mode using the physical key combo, neither through 'Reboot to EDL' in Magisk. I had to use the ADB command: 'adb reboot edl' for it to work.
Thanks for the reply and sharing info for everyone. Glad what you did worked! What you describe(Global MSM Tool via North America version) is what I was going to attempt, but ended up trying something else first. Sharing below in case it helps anyone else:

While still digging last night and debating what to do I stumbled into the 'official' rollback files when they introduced OS 12 (before this latest patch). Those files and instructions are here: https://community.oneplus.com/thread/1181167844348919809

However something important to know is that the OS 12 latest update removed the local upgrade option via the gear under update stats (what the hell). More info on that here https://forum.xda-developers.com/t/how-to-local-upgrade-since-android-12.4431607/. To work around that, there's an APK they provided here: https://community.oneplus.com/thread/1555060


Something else worth noting for any readers, is 7t is now EOL. It went EOL before this latest update. It seems unclear whether HD1901_11_F.20 is going to the last update or not, so it may be possible the bugs in OS12 on 7T will not be addressed (couldn't find anything saying it will be). https://www.xda-developers.com/oneplus-7-7t-end-of-life-final-update/


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

To rollback Unlocked, Unbranded 7T HD1907 (T-Mobile "factory unlocked") which was running HD1901_11_F.20 (and now displaying HD1901) back to OS 11, to fix the dual sim broken problem, did the following:

** The following will wipe your device **

1. Copy the rollback file from https://community.oneplus.com/thread/1181167844348919809 to phone root directory. Used the Global file (GM1903_11.H.31). You'll notice URLs for "IN"dia and "GLO"bal are the same URLs.

2. Copied and installed local upgrade APK file found here (Step 3 under rollback guide): https://community.oneplus.com/thread/1555060

3. Ran the Local File Upgrade APK file and pointed the application to the local file in step (1)

4. Waited approximately 5-10 mins for it to finish. Rebooted the phone.

5. Phone booted into clean reset OS 11. I triggered an OTA update to grab the latest OS 11 security patch. Triggering another OTA update, it attempted to grab HD1901_11_F.20. Cancelled and will be ignoring the upgrade notification moving forward.

6. Dual sim is now working again.
 
  • Like
Reactions: Robinlong

cher81

Member
May 31, 2008
31
7
OnePlus 7T
Anyone knows if I can flush global version over T-Mobile without unlocking it with T-Mobile? Can I unlock bootloader after that and flush LineageOS?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 19
    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+