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

How To Guide Convert T-Mobile OnePlus 9 to Global (or other) firmware

Search This thread

FRNK8

Member
Mar 8, 2011
16
1
Boston, USA
OnePlus 9
I have a hard time believing it's not going into edl. Vol up + vol down then insert usb. Nothing shows up in device manager?

Yes, tried that but the phone just doesnt start up.

Device manager shows nothing as well when connected. Tried connecting to different ports as well. Nothing !

Would be very surprised if any of this step affected the hardware somehow.
 
Yes, tried that but the phone just doesnt start up.

Device manager shows nothing as well when connected. Tried connecting to different ports as well. Nothing !

Would be very surprised if any of this step affected the hardware somehow.
If you press volume up and down together with power button, does it show anything on the PC? Reading it as a drive or anything at all?
 

FRNK8

Member
Mar 8, 2011
16
1
Boston, USA
OnePlus 9
If you press volume up and down together with power button, does it show anything on the PC? Reading it as a drive or anything at all?

Tried this with the USB ports it didnt work . . tried connecting to the USB C port and it showed up on my device manager under qualcomm 9088 device . . but it keeps disconnecting and connecting back even before I start anything with the MSM
 

D3G0N

Senior Member
Jan 10, 2016
58
39
OnePlus 9
Okay so tried following the steps here. Just when I ran the flash_all.bat script, logs show that its flashing all image files one by one and it started giving errors for each file -
FAILED (remote: Flashing is not allowed for Critical Partitions)

Goes all the way to end to reboot in fastboot and the phone just died . . now its not restarting in either of the modes. Phone is fully charged FYI.

Attaching the logs here what I see on the shell window after the script execution.

Can someone help here how to I resolve this ?

TIA !

PS: Phone is network unlocked, unlocked the bootloader and also taken backups of all the img files with Magisk before going through the steps here.
Same problem here, praying to XDA Jesus that there is a solution. I also ended up with a dead device and faced the error messages of not being able to flash to critical partition. I used Linux Mint with the latest platform tools from the repo. When the message for 'sleep' came up, my screen went black and it is now completely dead; it was showing fastboot mode until that sleep message. I would try any button combination and there was no vibrate to indicate that there was life. I started this process with 100% battery so I know that could not be the issue. I still tried to hold the volume buttons and plug it into a Windows machine in hopes of going into EDL mode with the msmdownload tool to restore, as I have prepared for a restoration in the event that something went awry (apparently not prepared enough). The machine recognized the device prior to doing this and I was able to flash magisk boot image for root so I know that the drivers were working properly before.

Here's the kicker though:

When I hold button combinations that would normally do any kind of power cycling with the device connected to my Windows 10 machine, the machine would do the little chime that lets you know that you have plugged something in. My phone screen was black so I could not see any menu options or what mode it was in, but the little Windows chime gave me hope. I plugged the device in and started up the msm tool with which I have very little experience with. I have always been able to recover from soft brick and even one oneplus 1 hardbrick (I think) with manually flashing partitions in cmd.

Please tell me if any of my information here is wrong, but this is how I went about trying to restore it and this is the information I could gather from the net:

I grabbed the msm restore for the T-Mobile oneplus 9 5g (I have the 8gb ram 128gb rom variant if that helps at all, unlocked bootloader and sim). With a hefty amount of research, I learned that I needed to go off of wifi and turn the date to around December 2018 on my computer because the msm tool has some time-sensitive features which is annoying. I also learned that the first step after connecting my device in edl is to hit verify, which allows for the flashing or upgrading so that the option is then selectable, it said that the md5 check is skipped. I do not know if this is normal. The device said COM 3 Connected. It was able to start flashing. I was so happy and excited, but that is where it ends. It goes through the firehose download, and after exactly 18 seconds on the timer every time, it fails with a Sahara error, and nothing happens. Apparently a Sahara/firehose error is due to a connection error. I tried a bunch of things; all the USB ports, ran it through a 2.0 hub, used a different oneplus cable (I have a few of the type c cables from oneplus because I've had a few oneplus phones, and I even busted out a brand new cable that was with my 5t because my op3 cable works for my 5t still), downloaded the qualcomm drivers manually, booted my Windows into test mode, ran the download tool as admin, and tried holding volume up/power while the error was happening, but it just reset the process and ended again at 18 seconds with the Sahara problem. I gave up and put my sim in my op5t and left my device overnight, and when I picked it up in the morning it was warm which was interesting because the screen was not on for me. I am sure that the fastboot reboot fastboot to get it into fastbootD was what killed it because the moment that command went through, my device went from being in fastboot mode to having a blank screen. I was eager to watch the whole process. My device is no longer detected in the device manager or file explorer as anything anymore.
I ended up calling oneplus support to ask if I needed to take off my screen protector, or just the case for sending it in for repair, the guy on the phone learns that I have obtained the phone from tmo store ~14 days ago, and offers to email me directly so that I can send details to oneplus through that to generate a support ticket for repair or something like that. Had to send photos of the device and proof of purchase. So I am waiting for them to email me with a shipping label, but in the meantime if I can skip having to ship it from Cali to Texas then back, and fix it myself I would LOVE to be able to do that.

Sorry for my lengthy post and thank you to anyone who took the time to read this, I would be ecstatic to have the opportunity to fix this myself with the help of someone here. For now I will use my op5t as my daily driver; I love it anyways and always took good care of my devices so thank goodness I have a fallback, and it has a custom rom (yay)! I was kinda sad too because I just got the bootloader unlocked last night and I didn't even get a full day with a rooted op9 5g lol. It was just so strange that when connected to a pc it only then showed signs of life, but the display is not turning on for anything.

EDIT: Just found this, idk how I missed this before but I am going to try this after someone on the thread said it cured their "darkside"... will report back asap! new excitement brewing :).

EDIT 2: IT WORKED! If anyone is facing the issue where their device gets killed i guess the msm tool is really working out :) just use the link provided, I chose EU and lite firehose, and I guess this is now op9pro firmware but it boots and I can use my screen!!!!

EDIT 3: So I tried to flash stock by extracting the payload, and I was able to flash the first half of the files just fine. It was not until I had to reboot to fastbootD that I encountered a hitch. That was the cause of my device dying. The moment I hit enter for that command, my screen went eternally black. I will have to now wait again for my device to fully discharge so I can have another go at it. I believe the reason we had the can't flash to critical partition is because that was where fastbootD was needed, and it did not work. I guess if I ever get this fixed, I will be stuck with custom roms for a while, which is not a problem but I was looking forward to rooted oos. A while at least until either there is a way to use adb sideload for the oneplus support site firmware zip, or a better method other than fastboot to restore stock. I might do some testing with twrp builds that are available or the lineage recovery that AnierinB (I can't remember exact spelling rn) uses for his rom that is available with sideloading the stock rom. Until then, my op5t will continue to be my best friend.

Regards.
 
Last edited:

D3G0N

Senior Member
Jan 10, 2016
58
39
OnePlus 9
Tried this with the USB ports it didnt work . . tried connecting to the USB C port and it showed up on my device manager under qualcomm 9088 device . . but it keeps disconnecting and connecting back even before I start anything with the MSM
I think I found a solution for you and I found out why it keeps connecting and disconnecting for u.. its just in a bootloop. You can't tell because your screen is black but I can tell its around the right timing for connecting and disconnecting. You are going to be flying blind but refer to my long post and you should be good. In order to get it out of bootloop when flying blind is to just keep holding the button combination and keep trying, to get into edl. What I did, which might not be exactly right, was to hold both the volume buttons, plug my device in, and even after it kept connecting and disconnecting, just try to start the restore from msm tool. It threw a sahara error almost immediately, which was different than after 18 seconds. Then I tried the thing where I kept my device plugged in and I held volume up and power until it said connected in msm tool. Then it should not be doing the annoying thing anymore. Then try and you should have it flashed! I will try to stay active on this thread as often as possible for you if you are having trouble flying blind or if anyone has the 'darkside' issue! Good luck homie.
 
  • Like
Reactions: kitcostantino
I just unlocked my bootloader on my 9 pro. I know this thread is for the 9, but does anyone know if there is a script written for the 9 pro which will flash and get me over to the EU or Global from? I have a virtual machine setup, but it is being so finicky, and I am more comfortable working on the Mac side of things.

Thanks
 

Hey-Hi

Member
Aug 23, 2021
16
3
I realize this is to go from Tmob to Global version, but am curious as to how hard it would be to convert an unlocked Op9 AA version to the EU version. (BA). I want dual sim on my OP9 and am no stranger to MSM Tool, etc. I've been told (lol @Harry44 )I will brick if I attempt such just using MSM. I can't be the only person who wants to do that, but it may be impossible. I do realize that even beyond conversion *if that's even a possibility, I will still have the hurdle of the phone only having one IMEI number. And I'm on my own for that challenge. But is it theoretically possible to change my OP9 model from LE2115 to EU?
Thanks in advance!!

I have tried using the EU file which successfully flashed in TWRP, but no dice. Sim slot 2 remains absent.
Did you find out anything about converting OP 9 ( LE2115) to a Global / EU variant and use two sim cards? I'm a complete noob at this.
 

kitcostantino

Senior Member
Mar 21, 2011
1,780
1,083
Mayberry
OnePlus 6T
OnePlus 8
Did you find out anything about converting OP 9 ( LE2115) to a Global / EU variant and use two sim cards? I'm a complete noob at this.
Nope. I did successfully update to the EU update using Oxygen Updater, but my second sim still was inactive. Frustrated, I picked up a OnePlus 8 pro which has dual sim. But no TWRP bc apparently OnePlus used a different encryption type on the 8 pro versus what is on the 9/9pro. So basically, the 9/9 pro have TWRP/root/etc but no dual sim here in the US. It's crazy to have to.....um, Settle. Thanks for catering to the carriers OnePlus.
 

Hey-Hi

Member
Aug 23, 2021
16
3
Nope. I did successfully update to the EU update using Oxygen Updater, but my second sim still was inactive. Frustrated, I picked up a OnePlus 8 pro which has dual sim. But no TWRP bc apparently OnePlus used a different encryption type on the 8 pro versus what is on the 9/9pro. So basically, the 9/9 pro have TWRP/root/etc but no dual sim here in the US. It's crazy to have to.....um, Settle. Thanks for catering to the carriers OnePlus.
Thanks for the details.

I have the OP 9 and Tmobile OP8T . . .but I will need to travel soon but can't use either because both are single sim.
 

Hey-Hi

Member
Aug 23, 2021
16
3
I didn't see this posted anywhere on the thread - if it is...sowwwwy

Has anyone been able to make dual sim cards work when converting oneplus 9 to the EU/ Global variant? Does it show 1 or 2 IMEIs?
 

kitcostantino

Senior Member
Mar 21, 2011
1,780
1,083
Mayberry
OnePlus 6T
OnePlus 8
I didn't see this posted anywhere on the thread - if it is...sowwwwy

Has anyone been able to make dual sim cards work when converting oneplus 9 to the EU/ Global variant? Does it show 1 or 2 IMEIs?
I can tell ya that part for sure. It will not have 2 IMEI numbers if it is successful. It may copy the original one twice, but if it isn't written in at the factory, it's not there. Ultimately, I gave up and bought an 8 pro bc the US OP9 is not likely to work properly with dual sim in my quasi-educated speculation. There are ways to spoof one/write one to the device, but it's a taboo subject here on xda. It is definitely more of a pain than it's worth for me. I had an Axon 7 that lost it's IMEI and had all kinds of fun trying to restore/recover/reprogram it. I never had success and spent a huge amount of time on it.
 
  • Like
Reactions: Hey-Hi

Hey-Hi

Member
Aug 23, 2021
16
3
8T can be fully made into dual sim if you buy a tray and flash to EU or Global
Coincidentally I own a TMobile op 8t; however, the battery heats up fast...TMobile does not have any batteries in stock.

I've read through a lot of xda forum and followed some of the stuff you yourself wrote...but a lot of it I still don't understand.

Is there a video I could find on YouTube following your method for flashing the 8T?

I've found maybe 1 or 2 that do a decent job explaining...I'm just not prepared for if things could go wrong
 

craznazn

Senior Member
Nov 12, 2009
592
301
OnePlus 8T
Google Pixel 6 Pro
Coincidentally I own a TMobile op 8t; however, the battery heats up fast...TMobile does not have any batteries in stock.

I've read through a lot of xda forum and followed some of the stuff you yourself wrote...but a lot of it I still don't understand.

Is there a video I could find on YouTube following your method for flashing the 8T?

I've found maybe 1 or 2 that do a decent job explaining...I'm just not prepared for if things could go wrong
Just run the MSM tool. If you have trouble running the MSM tool, you don't want to convert anyways since that's the way back from brick. Read through all the comments, esp the ones regarding drivers, driver signature verification, etc. All you're gonna see on a youtube video is the tool running for 5 minutes...

Original unbrick MSM, with instructions on how to use:


Conversion tool:

This thread is for the 9, so ask in the 8T forum regarding issues.
 

Hey-Hi

Member
Aug 23, 2021
16
3
Thanks. I read through most of the comments on your post for 8T. I'll have to do it again and take notes. If and when TMobile replaces my battery, I'll bite the bullet and give it a go!
 

Deadrider2

Member
Apr 20, 2021
5
0
I went through this process and some of the files failed to flash leaving me with a brick. After trying some things i was able to get it back up and running by running an oneplus 9 pro msm and then using TWRP was able to install a one plus 9 Global rom. Unfortunately my service is being crap now, even after flashing the modem in the OP, so i wanted to go back to stock tmobile but whenever i run the msm for the stock tmobile rom i get an unsupported target error.

Any ideas on how to get around this?
 
Last edited:

Hey-Hi

Member
Aug 23, 2021
16
3
Just run the MSM tool. If you have trouble running the MSM tool, you don't want to convert anyways since that's the way back from brick. Read through all the comments, esp the ones regarding drivers, driver signature verification, etc. All you're gonna see on a youtube video is the tool running for 5 minutes...

Original unbrick MSM, with instructions on how to use:


Conversion tool:

This thread is for the 9, so ask in the 8T forum regarding issues.
I'm still very confused by all of this....I'll post in the 8T forum
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    ** USE THIS AT YOUR OWN RISK.
    ** READ THROUGH THE STEPS BEFORE ATTEMPTING. IF AT ANY POINT WHILE READING THESE STEPS YOU GET CONFUSED, YOU PROBABLY SHOULDN'T ATTEMPT THIS.
    ** BACKUP YOUR FILES AND APP DATA AS THIS WILL WIPE YOUR PHONE.
    ** BACKUP YOUR WORKING MODEMST1/2 AND PERSIST PARTITION IMAGES WITH BEFORE CONTINUING. THESE PARTITIONS ARE DEVICE UNIQUE, SO IF SOMETHING HAPPENS TO THESE PARTITIONS DURING THE CONVERSION, AND YOU DON'T HAVE A BACKUP, NOT EVEN MSM DOWNLOAD TOOL CAN SAVE YOU. YOU'LL HAVE TO SEND YOUR DEVICE BACK TO ONEPLUS FOR REPAIR. If YOUR PHONE IS ALREADY ROOTED, I RECOMMEND USING
    PARTITIONS BACKUP AND RESTORE TO DO THIS. JUST REMEMBER TO COPY YOUR BACKUPS OFF YOUR PHONE BEFORE YOU GET STARTED.
    ** BE SURE TO HAVE MSM DOWNLOAD TOOL AT THE READY FOR IF SOMETHING DOES HAPPEN. FOR THE T-MOBILE ONEPLUS 9, YOU CAN GET IT HERE:
    https://forum.xda-developers.com/t/oneplus-9-11-2-22-2-t-mobile-msm-download-tool.4276119/

    THIS METHOD REQUIRES AN UNLOCKED SIM AND BOOTLOADER
    If you don't wish to unlock either, craznazn has released a MSM conversion package you can use to acomplish the same thing without requiring ether to be unlocked. Just download the package from their post, and follow the steps on their 8T MSM Conversion guide, as the steps should mostly be identical.

    * I've successfully done this ONCE on my own personal T-Mobile OnePlus 9
    * The script used here is just the same one made by craznazn to convert the T-Mobile OnePlus 9 Pro to EU firmware. I just swapped EU OnePlus 9 Pro images for the Global OnePlus 9 images and wrote a bash script for non-Windows users to use. You can just download my conversion package and follow their steps if you want. Just for convenience I'll also be writing the steps on how to use it here as well.
    * You can drag and drop my bash script into craznazn's conversion package to use their package on non-Windows systems. You can download the bash script by itself here: https://gist.github.com/Lomeli12/73825a287d3cf60414e244aece9b6bdf
    * This package will install Global Firmware 11.2.2.2. You'll need to use Oxygen Updater to update it to the current version (or at least until System Update can do it for you).
    * Use the latest platform tools, either from https://developer.android.com/studio/releases/platform-tools or through your package manager of choice (apt, brew, scoop, etc). DO NOT USE MINIMAL ADB, it has not been updated for years.
    * If you're having issues with either adb or fastboot detecting your device, consider installing the Universal ADB Driver.
    * Have any issues? Describe the steps you take, copy the script's output log, and take screenshots. Include the output of fastboot --version in your post.

    Now with all that out of the way...

    Steps to convert your T-Mobile OnePlus 9 to the Global (or other) firmware
    1. Unlock your bootloader and SIM. See https://forum.xda-developers.com/t/how-to-unlock-the-t-mobile-bootloader.4256319/
    2. Download and unzip the conversion package:
      • Global 11.2.2.2
        MD5: 14e0c5e41df26bacbc11fe7e69a63c0e
        SHA256: 10801f12c50e2d9a7e8085d113ac4a90ab312018beb84a10fa4c1a0f84fc95eb
        1. Download and unzip the firmware you want from the OxygenOS Repo thread. You'll specifically want to extract the payload.bin file.
        2. Install Python 3 and Python Protobuf. Figure out how to do this on your own system.
        3. Download cyxx's extract android ota payload script from GitHub: https://github.com/cyxx/extract_android_ota_payload/
        4. Place the payload.bin you extracted earlier into the same directory as the extract_android_ota_payload.py script.
        5. Run the extraction script and wait. This step usually takes a while to complete
          Bash:
          python3 extract_android_ota_payload.py payload.bin tmp/
        6. Open up the tmp folder the script created and copy all the image files from there over to where flash_all scripts are located.
    3. Boot to bootloader
      • From adb:
        Bash:
        adb reboot bootloader
      • From fastboot/bootloader:
        Bash:
        fastboot reboot bootloader
    4. Execute either flash_all.bat or flash_all.sh from the unzipped conversion package.
    5. Reboot into recovery and wipe everything
    6. Once fully booted and setup, use Oxygen Updaterto update your phone to the latest version the app provides. Oxygen Updater will provide steps on how to use the full OTA zip.
      1. After you've updated using Oxygen Updater, go into Settings -> System -> System Updates and check for new updates, as Oxygen Updater usually takes a few days to have the absolute latest OTA available. If there is another update available, go ahead and let the System Updater do its thing.
    7. Do a regular system reboot, NOT into recovery, bootloader, or fastbootd.
      NOTE: The following steps (8-10) may or may not be optional, we haven't 100% figured it out yet
    8. Repeat step 3 to get back into the bootloader.
    9. Flash the T-Mobile modem included in the conversion package
      Bash:
      fastboot flash modem NON-HLOS.bin
    10. After each full OTA you take in the future, repeat steps 8 and 9 again.

    Fixing SafetyNet by installing Magisk

    When I first did this on my own phone, my phone would fail SafetyNet, specifically with a CTS Profile Mismatch. Once I installed Magisk and enabled MagiskHide, however, SafetyNet was passed once more. No MagiskHidePropConfig or UniversalSafetyNetFix required. Here are the steps I did.
    1. Make sure you've updated your phone to the absolute latest version of OxygenOS you can. See step 6 of the conversion steps on how to do so.
    2. Copy the boot.img from the conversion package onto your phone.
    3. Install Magisk Manager onto your phone.
    4. Open Magisk Manager and patch boot.img
      1. Tap Install
      2. Select Select and Patch a file and tap Let's Go
      3. Choose the boot.img file we copied over and hit okay
      4. Once the patch is finished, copy the patched boot.img back onto your PC. Magisk Manager usually puts it in your phone's downloads folder as magisk_patched-<current magisk version>_<random string of characters>.img. The logs in Magisk Manager will tell you exactly what it named the patch image as.
    5. Boot to your bootloader. See step 3 of the conversion steps for this.
    6. Boot your phone using the patched boot.img
      Bash:
      fastboot boot magisk_patched-<current magisk version>_<random string of characters>.img
    7. Once your phone has booted up, open Magisk Manager once more
    8. Go into Magisk Manager settings and enable MagiskHide.
    9. Back out of the settings and install Magisk via Direct Install
    10. Reboot your phone normally. You should now have Magisk and pass SafetyNet.

    Issues so far:
    • Using EdXposed Hide on the Google Play Store or Google Play Services can cause a soft brick requiring resetting your device via recovery. No issues with LSPosed so far.
    • Google Phone dialer doesn't display option for Visual Voice Mail. The T-Mobile Visual Voicemail app can be used though.
    What appears to work:
    • Everything else
    Edit 1 (5/17/2021):
    • Fixed some wording that I felt was awkward after the fact.
    • Made a note that flashing the T-Mobile modem may be optional, still up in the air on that.
    • Included download mirror for AndroidFileHost.
    • Listed EdXposed softbrick reported by @Josh McGrath.
    Edit 2 (5/19/2021):
    • Added note about VVM missing from Google Dialer, but T-Mobile VVM app being a good alternative.
    • Adjusted phrasing in modem flashing steps
    Edit 3 (6/7/2021):
    • Added link to craznazn's MSM conversion tool, which is a good alternative for those who don't want to unlock their bootloader.
    6
    The MSM conversion is ready, about phone page misses verification but everything else works. You can use the same instructions from my 8T MSM conversion for this it mostly applies. The 9 pro is gonna be a little different

    4
    Hi guys, the 9 Pro requires a TMO modem flash because the baseband version is different between TMO and NA/EU/IN. A NA/EU/IN modem running on a TMO device will not work, thus it's a requirement.

    I noticed in a few posts here that the 9 modem works off the NA rom. If that's the case, then the baseband version must be the same and you don't need to do that step. Additionally if that's the case, I can build a MSM conversion for the 9 that allows conversion to EU/Global without SIM/BL unlock. However, I will not be able to test it because I don't have a 9. Let me know if there's interest.
    1
    Talking about modems in OTAs.
    1
    I didn't see this posted anywhere on the thread - if it is...sowwwwy

    Has anyone been able to make dual sim cards work when converting oneplus 9 to the EU/ Global variant? Does it show 1 or 2 IMEIs?
    I can tell ya that part for sure. It will not have 2 IMEI numbers if it is successful. It may copy the original one twice, but if it isn't written in at the factory, it's not there. Ultimately, I gave up and bought an 8 pro bc the US OP9 is not likely to work properly with dual sim in my quasi-educated speculation. There are ways to spoof one/write one to the device, but it's a taboo subject here on xda. It is definitely more of a pain than it's worth for me. I had an Axon 7 that lost it's IMEI and had all kinds of fun trying to restore/recover/reprogram it. I never had success and spent a huge amount of time on it.