How To Guide Convert your T-Mobile (LE2127) to EU via MSM, No unlock.bin needed!

Search This thread

craznazn

Senior Member
Nov 12, 2009
684
393
OnePlus 8T
Samsung Galaxy S22 Ultra
*** Use this at your very own risk.
*** You will lose all data
*** Backup your working modemst1/2 and persist. If you lose these for any reason, it's unique to your device and not recoverable if you didn't back up (via MSM or other people).
*** Read the entire post and follow the steps closely before asking for help. Post all error messages and steps you took. If you just ran a bunch of unknown commands, I would tell you to MSM.
*** Know how to use the MSMTool, Don't start before figuring it out. https://forum.xda-developers.com/t/op9pro-repository-of-msm-unbrick-tools-tmo-glo-in.4272549/
*** DO NOT ATTEMPT THIS IF YOU ARE NOT FAMILIAR WITH ANY STEP DESCRIBED IN THIS GUIDE



Disclaimer: I initially did not want to release this conversion because you still need to unlock the bootloader to fix modem, but this conversion lets you unlock the bootloader without needing unlock.bin. Since OnePlus's website is currently broken, the only way to backup the partitions above is via EDL. I've had the conversion tested and there seem to be no issues, and you can make the backups afterwards. Just keep in mind that if something goes wrong and the above partitions are lost, you are really screwed and there's no way back. If you are not comfortable with this, turn back now.

General notes:

  • NR and LTE bands are read only and not modifiable, not in modem.img or any other partition. You cannot get global bands by flashing a global ROM, nor can you lose TMO bands by flashing another ROM.
  • The T-Mobile modem is not compatible with any other variant's NON-HLOS, meaning you need to flash back the T-Mobile modem in order to have cell connectivity.
  • Dual-SIM does not work.

Prerequisites:
  • You must be SIM unlocked. This conversion will not SIM unlock you.
  • Verify "Enable OEM unlocking" is not greyed out in Developer Options
  • Familiarity with MSMDownload tools. If the regular MSM tool doesn't work for you, turn back now.
  • Back up all data, it will be wiped.

Download:

Steps:
  1. Unzip both the conversion and modem zip files.
  2. Execute MSMDownloadTool V4.0.exe and msm normally.
  3. Connect to wifi (not sure if necessary)
  4. Go to Developer Options -> Enable OEM Unlocking. If this is greyed out, it means you are still SIM locked and didn't read the whole guide (You may need to reboot a few times, but if it stays greyed you are still locked). MSM back to T-Mobile and get it unlocked first.
  5. Reboot to bootloader
  6. Unlock your bootloader, no unlock.bin needed:
    Code:
    fastboot oem unlock
    or
    Code:
    fastboot flashing unlock
  7. Follow instructions on phone to unlock bootloader.
  8. Boot back to bootloader and flash modem:
    Code:
    fastboot flash modem_a NON-HLOS.bin
    fastboot flash modem_b NON-HLOS.bin
  9. You are done converting. Make sure to keep NON-HLOS around, you'll need to flash it after every OTA.

Fastboot method:
* The steps in this guide will convert your TMO LE2127 to EU 11.2.3.3. This is intentionally not the latest version to force you to take a FULL OTA.
* You can use this guide to convert to your own variant by extracting payload and flashing from a full OTA. No support will be given if you choose to manually do it.
* Use the latest platform tools: https://developer.android.com/studio/releases/platform-tools. DO NOT USE MINIMAL ADB, it has not been updated for years.
* Fastboot can't see your device? https://forum.xda-developers.com/t/...stboot-mode-windows-10.4194491/#post-84943553
* Test that you can boot to fastbootd prior to starting, "fastboot reboot fastboot" and you should see the OnePlus logo with the text "fastbootd" on top. Do not continue if this doesn't work.
* When encountering issues, describe all steps you took, paste any outputs, and take screenshots. Make sure to include the output of fastboot --version in your post.

Steps to convert your device to EU
  1. You need your device bootloader and SIM unlocked. See https://forum.xda-developers.com/t/how-to-unlock-the-t-mobile-bootloader.4256319/
  2. Download and unzip the conversion package:
    • EU 11.2.3.3
      MD5: cb949816fa80d5f0d984359b819426c3
  3. Boot to bootloader.
    • From adb:
      Code:
      adb reboot bootloader
    • From fastboot/bootloader:
      Code:
      fastboot reboot bootloader
  4. Execute "flash_all.bat" from the unzipped directory from step 2.
  5. Reboot into recovery, and wipe everything.
  6. Once fully booted, connect to WiFi and download Oxygen Updater and take the FULL OTA (11.2.4.4 as of this writing)
  7. Do a regular reboot, don't reboot to fastbootd, bootloader, recovery, etc. Reboot to system.
  8. Reboot into bootloader or fastbootd, and flash the T-Mobile modem.
    Code:
    fastboot flash modem NON-HLOS.bin
  9. After each Full OTA you take in the future, you will need to repeat step 7 & 8

FAQ
  • Q: The most recent version is 11.2.4.4, why is this guide converting to 11.2.3.3?
    A: You didn't read the full post.
  • Q: Why is there no conversion to Global?
    A: Global variant uses the Google incremental OTA server, and full OTAs are not always provided. There's no functional difference, and EU has better privacy requirements anyways. You can do it manually by extracting payload.bin and running the same flash script. No support will be provided if you choose to flash to Global.
  • Q: Can I re-lock the bootloader after conversion?
    A: While you can go ahead lock your bootloader after conversion, I don't recommend it as you will not be able to take incremental OTA due to modem changes, and lose connectivity if you take a full OTA. To fix it, you need to unlock the bootloader and end up wiping.
  • Q: Where is the Linux guide?
    A: Too lazy, if you're using Linux, you can make your own bash script from the Windows batch script.
  • Q: Help, I see is 'fastboot' is not recognized as an internal or external command.
    A: Your fastboot.exe is not in your $PATH. You can either drop fastboot into the same folder as flash-all.bat, or you can fix your $PATH
  • Q: Help, I cannot boot to fastbootd because previous flashes messed things up.
    A: MSM
  • Q: Help, "not enough space to resize [system, product, system_ext]"
    A: MSM. If the error is on Vendor, it might still work and boot with a generic Android boot logo. If so, take the full OTA as described in the guide.
  • Q: Help, something went wrong!
    A: Post in here the starting state of your device (Device model, ROM version, etc), all steps you've taken since unlocking bootloader, and the output of whatever is causing you trouble. Chances are, the answer is MSM, but read my MSM warning.
  • Q: Help, I see "Invalid sparse file format at header magic"
    A: Ignore this message, not an error


Fixing the About Phone page

These steps are optional, and will fix the "About Phone" page. There are no performance differences. All that's done is change build.prop to reflect the correct model.
  1. You need to rooted with Magisk
  2. Download and install the magisk module: here
  3. Reboot, the About Phone page is filled out.


Issues so far (please post if you run into more):
  • Dual SIM does not work
  • Dialer's vvm doesn't seem to work with T-Mobile, might be a T-Mobile issue though.
  • You must flash the T-Mobile modem after every OTA
  • Wildvine L1 is a crapshoot, you may or may not be lucky. Worked for me with only magiskhide enabled and blocking Google Play Services, but many people not having the same luck.
What appears to work:
  • Everything else.

Much appreciation for everyone that help develop and test
@razercortex
@retryfail
@amaroney55
 
Last edited:

TheKnux

Senior Member
Sep 28, 2011
2,812
871
Akron
Nexus Player
OnePlus 9
I went straight to the 11.2.4.4 as well, instead of the 11.2.3.3. Probably why I had such an issue also. Dummy me, wanted the latest and greatest right away and paid the price for it. 🤦🏻‍♂️
 

sunxutian

Member
Jan 22, 2015
36
9
for some reason my Wildvine downgrades to L3, not sure how to fix it, also as other post indicates, voice mail on dialer doesn't work
 

sunxutian

Member
Jan 22, 2015
36
9
It says to have magisk hiding from Google play services. Have you done that?
Yes, I toggled all options under google play services, no luck
Screenshot_20210506-085946.jpg
Screenshot_20210506-085954.jpg
 

craznazn

Senior Member
Nov 12, 2009
684
393
OnePlus 8T
Samsung Galaxy S22 Ultra
Nope. TRied again and its a no go since every damn thing is failing. fastboot mode and fastbootd is constantly failing on every file thats being flashed. What you need from me.?

* Test that you can boot to fastbootd prior to starting, "fastboot reboot fastboot" and you should see the OnePlus logo with the text "fastbootd" on top. Do not continue if this doesn't work.
* When encountering issues, describe all steps you took, paste any outputs, and take screenshots. Make sure to include the output of fastboot --version in your post.

Sounds like you tested that fastboot can't get you to fastbootd, but you continued anyways.

If you want troubleshooting, post the information I said to post
 

sunxutian

Member
Jan 22, 2015
36
9
everything fails in flashing. it just says FAILED on every .img that is being pushed. Im so confused. It says be in bootloader,but isnt it supposed to be in fastbootd???
Im still getting no response from fastboot reboot fastboot. Only way i can get into fastbootd is by adb reboot fastboot.
Which is it? in bootloader or fastbootd??

fastboot --version says unkown option
sounds to me like you don't get the proper version of fastboot, one thing to notice, if you install the one plus driver you may get the fastboot from C:\Android, DONT use this one. either put the correct platform-tool path to your $PATH or manually modify every fastboot.exe to be full path in script
 

craznazn

Senior Member
Nov 12, 2009
684
393
OnePlus 8T
Samsung Galaxy S22 Ultra
Thanks for the hint, I backed up the persist.img but that's after root/unlock bl, so you are saying flash persist.img will get me back to L1?
No, persist just unique to your device. You just need a backup in case yours get wiped for any reason.
Honestly, you are the 2nd person I've heard from that had the L1 issue and we were never able to figure it out. I did these steps to 2 different devices and both kept L1. Does safetynet pass? Do you have magisk canary?
 
  • Like
Reactions: mypd1991

sunxutian

Member
Jan 22, 2015
36
9
No, persist just unique to your device. You just need a backup in case yours get wiped for any reason.
Honestly, you are the 2nd person I've heard from that had the L1 issue and we were never able to figure it out. I did these steps to 2 different devices and both kept L1. Does safetynet pass? Do you have magisk canary?
Yes, my safetynet passes and I do have magisk canary
 

sunxutian

Member
Jan 22, 2015
36
9
No, persist just unique to your device. You just need a backup in case yours get wiped for any reason.
Honestly, you are the 2nd person I've heard from that had the L1 issue and we were never able to figure it out. I did these steps to 2 different devices and both kept L1. Does safetynet pass? Do you have magisk canary?
what I suspect might be wrong is when I did the BL unlock I use fastboot oem unlock while some people use fastboot flashing unlock (not sure this makes any difference or not)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14
    *** Use this at your very own risk.
    *** You will lose all data
    *** Backup your working modemst1/2 and persist. If you lose these for any reason, it's unique to your device and not recoverable if you didn't back up (via MSM or other people).
    *** Read the entire post and follow the steps closely before asking for help. Post all error messages and steps you took. If you just ran a bunch of unknown commands, I would tell you to MSM.
    *** Know how to use the MSMTool, Don't start before figuring it out. https://forum.xda-developers.com/t/op9pro-repository-of-msm-unbrick-tools-tmo-glo-in.4272549/
    *** DO NOT ATTEMPT THIS IF YOU ARE NOT FAMILIAR WITH ANY STEP DESCRIBED IN THIS GUIDE



    Disclaimer: I initially did not want to release this conversion because you still need to unlock the bootloader to fix modem, but this conversion lets you unlock the bootloader without needing unlock.bin. Since OnePlus's website is currently broken, the only way to backup the partitions above is via EDL. I've had the conversion tested and there seem to be no issues, and you can make the backups afterwards. Just keep in mind that if something goes wrong and the above partitions are lost, you are really screwed and there's no way back. If you are not comfortable with this, turn back now.

    General notes:

    • NR and LTE bands are read only and not modifiable, not in modem.img or any other partition. You cannot get global bands by flashing a global ROM, nor can you lose TMO bands by flashing another ROM.
    • The T-Mobile modem is not compatible with any other variant's NON-HLOS, meaning you need to flash back the T-Mobile modem in order to have cell connectivity.
    • Dual-SIM does not work.

    Prerequisites:
    • You must be SIM unlocked. This conversion will not SIM unlock you.
    • Verify "Enable OEM unlocking" is not greyed out in Developer Options
    • Familiarity with MSMDownload tools. If the regular MSM tool doesn't work for you, turn back now.
    • Back up all data, it will be wiped.

    Download:

    Steps:
    1. Unzip both the conversion and modem zip files.
    2. Execute MSMDownloadTool V4.0.exe and msm normally.
    3. Connect to wifi (not sure if necessary)
    4. Go to Developer Options -> Enable OEM Unlocking. If this is greyed out, it means you are still SIM locked and didn't read the whole guide (You may need to reboot a few times, but if it stays greyed you are still locked). MSM back to T-Mobile and get it unlocked first.
    5. Reboot to bootloader
    6. Unlock your bootloader, no unlock.bin needed:
      Code:
      fastboot oem unlock
      or
      Code:
      fastboot flashing unlock
    7. Follow instructions on phone to unlock bootloader.
    8. Boot back to bootloader and flash modem:
      Code:
      fastboot flash modem_a NON-HLOS.bin
      fastboot flash modem_b NON-HLOS.bin
    9. You are done converting. Make sure to keep NON-HLOS around, you'll need to flash it after every OTA.

    Fastboot method:
    * The steps in this guide will convert your TMO LE2127 to EU 11.2.3.3. This is intentionally not the latest version to force you to take a FULL OTA.
    * You can use this guide to convert to your own variant by extracting payload and flashing from a full OTA. No support will be given if you choose to manually do it.
    * Use the latest platform tools: https://developer.android.com/studio/releases/platform-tools. DO NOT USE MINIMAL ADB, it has not been updated for years.
    * Fastboot can't see your device? https://forum.xda-developers.com/t/...stboot-mode-windows-10.4194491/#post-84943553
    * Test that you can boot to fastbootd prior to starting, "fastboot reboot fastboot" and you should see the OnePlus logo with the text "fastbootd" on top. Do not continue if this doesn't work.
    * When encountering issues, describe all steps you took, paste any outputs, and take screenshots. Make sure to include the output of fastboot --version in your post.

    Steps to convert your device to EU
    1. You need your device bootloader and SIM unlocked. See https://forum.xda-developers.com/t/how-to-unlock-the-t-mobile-bootloader.4256319/
    2. Download and unzip the conversion package:
      • EU 11.2.3.3
        MD5: cb949816fa80d5f0d984359b819426c3
    3. Boot to bootloader.
      • From adb:
        Code:
        adb reboot bootloader
      • From fastboot/bootloader:
        Code:
        fastboot reboot bootloader
    4. Execute "flash_all.bat" from the unzipped directory from step 2.
    5. Reboot into recovery, and wipe everything.
    6. Once fully booted, connect to WiFi and download Oxygen Updater and take the FULL OTA (11.2.4.4 as of this writing)
    7. Do a regular reboot, don't reboot to fastbootd, bootloader, recovery, etc. Reboot to system.
    8. Reboot into bootloader or fastbootd, and flash the T-Mobile modem.
      Code:
      fastboot flash modem NON-HLOS.bin
    9. After each Full OTA you take in the future, you will need to repeat step 7 & 8

    FAQ
    • Q: The most recent version is 11.2.4.4, why is this guide converting to 11.2.3.3?
      A: You didn't read the full post.
    • Q: Why is there no conversion to Global?
      A: Global variant uses the Google incremental OTA server, and full OTAs are not always provided. There's no functional difference, and EU has better privacy requirements anyways. You can do it manually by extracting payload.bin and running the same flash script. No support will be provided if you choose to flash to Global.
    • Q: Can I re-lock the bootloader after conversion?
      A: While you can go ahead lock your bootloader after conversion, I don't recommend it as you will not be able to take incremental OTA due to modem changes, and lose connectivity if you take a full OTA. To fix it, you need to unlock the bootloader and end up wiping.
    • Q: Where is the Linux guide?
      A: Too lazy, if you're using Linux, you can make your own bash script from the Windows batch script.
    • Q: Help, I see is 'fastboot' is not recognized as an internal or external command.
      A: Your fastboot.exe is not in your $PATH. You can either drop fastboot into the same folder as flash-all.bat, or you can fix your $PATH
    • Q: Help, I cannot boot to fastbootd because previous flashes messed things up.
      A: MSM
    • Q: Help, "not enough space to resize [system, product, system_ext]"
      A: MSM. If the error is on Vendor, it might still work and boot with a generic Android boot logo. If so, take the full OTA as described in the guide.
    • Q: Help, something went wrong!
      A: Post in here the starting state of your device (Device model, ROM version, etc), all steps you've taken since unlocking bootloader, and the output of whatever is causing you trouble. Chances are, the answer is MSM, but read my MSM warning.
    • Q: Help, I see "Invalid sparse file format at header magic"
      A: Ignore this message, not an error


    Fixing the About Phone page

    These steps are optional, and will fix the "About Phone" page. There are no performance differences. All that's done is change build.prop to reflect the correct model.
    1. You need to rooted with Magisk
    2. Download and install the magisk module: here
    3. Reboot, the About Phone page is filled out.


    Issues so far (please post if you run into more):
    • Dual SIM does not work
    • Dialer's vvm doesn't seem to work with T-Mobile, might be a T-Mobile issue though.
    • You must flash the T-Mobile modem after every OTA
    • Wildvine L1 is a crapshoot, you may or may not be lucky. Worked for me with only magiskhide enabled and blocking Google Play Services, but many people not having the same luck.
    What appears to work:
    • Everything else.

    Much appreciation for everyone that help develop and test
    @razercortex
    @retryfail
    @amaroney55
    5
    Due to OnePlus's incompetence on running a website, the MSM conversion is released today to enable bootloader unlocking for folks who are SIM unlocked but can't download an unlock.bin
    2
    Thank you for all the help it helped me convert my first oneplus device Im glad I did it.
    2
    Well, OnePlus sent you link to your email.
    why you don't try to redownload?
    Because OnePlus broke their website and you can't download a working unlock.bin anymore.
    2
    You can dump partitions without root using edl.py https://github.com/bkerler/edl/

    This is entirely on your own, I will not be supporting this tool :)