yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] AwkwardUberHero:
I've decided to trade in my 9 pro. I believe I'll need to relock the bootloader to do so.

Should I be able to do so before trading it in? I'm on the EU version of the rom on a tmo 9.pro.
[OnePlus 9 Pro] FizzyAps:
no flash stock
[OnePlus 9 Pro] GuyInDogSuit:
Just MSM back to stock. It locks the bootloader in the process.
[OnePlus 9 Pro] AwkwardUberHero:
I have that setup in a virtual machine that the trial expired on. Didn't want to have to pay for the vm to do this again.
[OnePlus 9 Pro] GuyInDogSuit:
What VM? Virtualbox is free.
[OnePlus 9 Pro] NYYFan325:
So possibly dumb question. Is is still possible to flash the modem again after I take an update if I relock the bootloader after converting? With it left unlocked certain apps won't download and gpay won't work and I don't really use root for anything else. Thanks!
[OnePlus 9 Pro] FizzyAps:
you can but if you oa you will lose modem again
[OnePlus 9 Pro] NYYFan325:
Yeah I know any OTA it needs to be reflashed just wasn't 100% sure if I could with a locked boot loader. Thanks for the info.
[OnePlus 9 Pro] AwkwardUberHero:
Does anyone know if it's possible to update to the Android 12 DP coming off of this and flash the TMO modem and have it work? Debating on seeing what it's all about.
[OnePlus 9 Pro] FizzyAps:
No
[OnePlus 9 Pro] FizzyAps:
I don't know is you new the but

There a hole group just for tmo 9pro
[OnePlus 9 Pro] CZ Eddie:
My T-Mobile 9 Pro isn't SIM Unlocked but I did manage to enable OEM Unlocking in Developer Options with the help of a great XDA'er.

Should I wait a week for the unlock code or is it safe to proceed with the directions in the OP even though I'm not SIM Unlocked?

My goal is to flash a custom ROM.
[OnePlus 9 Pro] GuyInDogSuit:
You're ready to go. Basically in your case, you've skipped a couple steps. The SIM unlock is only necessary to enable the OEM unlocking, which is in turn then needed to unlock the bootloader via fastboot.
[OnePlus 9 Pro] CZ Eddie:
Thanks, it did work!

I even got CRDroid installed.
[OnePlus 9 Pro] tancam:
How do I backup my modem and persist?

Edit- figured it out
[OnePlus 9 Pro] boomxsf12:
after i did the flash_all.bat phone wont turn on at all idk what to do
[OnePlus 9 Pro] craznazn:
Why did you choose to use the manual method? I don't even have the links in the OP for those anymore.
[OnePlus 9 Pro] boomxsf12:
i had downloaded the files and unlocked my sim months ago but never got around to doing it but did it now, i guess that was a bad choice i think my phone is done done :/
[OnePlus 9 Pro] craznazn:
MSM to stock...
[OnePlus 9 Pro] boomxsf12:
i am trying but idk how to use msm completely. rn msm wont see my phone at all
[OnePlus 9 Pro] boomxsf12:
do u know of a guide that explains how to do it? what im seeing is i need to go into EDL mode but that is not working either when i hold the two volume buttons down
[OnePlus 9 Pro] jwidel:
You need qaulcom communication port and net drivers and oneplus 9 pro drivers. Make sure your usb cable is a data cable aka OTG cable and not just a charging cable. Difference between the two is power cable has just power wires and power+data (otg)has power + data wires. Phone should be in it's off state. Then press your volume buttons down and plug the phone in and release once plugged in (this will trigger EDL. Right click start menu and select device manager. Look for "other devices" from the list in device manager. Click and came sure it says something like qaulcom port 3 or 3-6 that's how you will know your connected with the edl or not then launch your msm. Select user should be "other" it might say connected already and say com3 or another number through 6 or how ever many ports you have on your pc hit enum and this will connect you if your not already connected.. select your version from the drop down and click start. As long as you have the correct drivers installed have a OTG cable and recommend being over 50% cause you will take a chance on the phone shutting down at any time under that because flashing firmware eats up alot of juice and could suck 20-40 % nothing is perfect so charge her up. Good luck take your time.
[OnePlus 9 Pro] boomxsf12:
Thank you for reaching out. I managed to get it working a week or so ago the solution ended up being a modded msmtool.
[OnePlus 9 Pro] acm1108:
How do you do it? I don't see any instructions
[OnePlus 9 Pro] tancam:
I used partition backup app
[OnePlus 9 Pro] ctosborne:
Where can I get the EU 11.2.3.3 package conversion package? My tmobile OP9P is stuck on an indian variant with no radio. MSM says Invalid Target IN.
[OnePlus 9 Pro] Libra420T:
This is because you used IN msm to recover from prior brick?
[OnePlus 9 Pro] CZ Eddie:
edit n/m
[OnePlus 9 Pro] ctosborne:
Yes this was the issue.

I solved the problem by unpacking the TMO MSM payload and editing the xml settings file. I replaced the TMO device references with IN device references and then repackaged the payload. I can upload the MSM package or settings file if someone else might find it useful going from IN MSM unbrick back to TMO. I am still on TMO firmware and it is just soooo bad. Need to get over to EU soon.
[OnePlus 9 Pro] Mr Hassan:
Is there anyway to get dsds?
[OnePlus 9 Pro] Nickdroid86:
Why do I not have a flash_all.bat named file in the download??
[OnePlus 9 Pro] Nickdroid86:
I also have all drivers installed, cmd recognizes abd and fastboot, but MSM tool doesn't show anything attached.
[OnePlus 9 Pro] MudaTrucka:
Hey guys, when I try to boot into edl mode it shows up in my devices on my computer but then after about 10-15 seconds my phone automatically boots on it's own. Is there anything known about this issue?
[OnePlus 9 Pro] bdaviesweb:
Good day,

Currently, on the EU build and looking to go back to the TMO build. Could someone describe the process for me? Thank you and much appreciated.
[OnePlus 9 Pro] Persianhawkes:
@craznazn so i converted t-mobile op9 pro to eu on os 11. am i able to install derpfest rom based on os 12 with the same non hlos.bin or do i need one based on os12. is there even an os 12 modem for t-mobile?
[OnePlus 9 Pro] craznazn:
So I am unable to help regarding this because I don't have a OP9 Pro anymore, and have not tested anything regarding A12.
[OnePlus 9 Pro] Persianhawkes:
Ok thanks for everything. What your daily driver now?
[OnePlus 9 Pro] craznazn:
Dev wise, still the 8T, probably gonna at least look at the 10 pro
[OnePlus 9 Pro] Libra420T:
Everything you need to know is in this thread 😁 👍

https://xdaforums.com/t/tmo-9-pro-modem-retention.4292445/
[OnePlus 9 Pro] Persianhawkes:
That looks like for os 11 not 12.
[OnePlus 9 Pro] Libra420T:
DID TMobile A12 release? 🤔

Either way, guide provides cure to not having to flash modem 👍
[OnePlus 9 Pro] Persianhawkes:
I dont know if they did I've stayed on the eu version so but to convert t mobile to eu you have to flash the t mobile modem for sim to work. Even so someone would have to make a flashable version of it compatible with os 12. Craznazn posted the one for os 11 but nobody has made one for os 12.
[OnePlus 9 Pro] twinnfamous:
There is a data fix for oos 12 that doesn't require modem to be flashed

https://xdaforums.com/t/tmo-oos-cos-data-fix.4392893/
[OnePlus 9 Pro] Persianhawkes:
Can you point me in the right direction. I've looked and read and searched. NVM I see the link going to read through it now
[OnePlus 9 Pro] Libra420T:
Yes, my apologies..

This thread was suppose to be linked on modem thread, will fix asap 👍
[OnePlus 9 Pro] Jed!Master:
how do i back up modemst1/2 and persist???

is that done in twrp after I convert my device to eu?? steps are not clear on this
[OnePlus 9 Pro] Libra420T:
Use this app 😁

Partitions Backup & Restore - Apps on Google Play

Backup your important partitions to avoid any data or IMEI corruption

play.google.com
[OnePlus 9 Pro] Jed!Master:
How do I gain root on the mobile variant to back the mentioned files?? I can't find a way to root the mobile variant
[OnePlus 9 Pro] Libra420T:
Boot up twrp and sideload Magisk 👍

Or

Patch global boot img

Fastboot boot patched boot.img 👍
[OnePlus 9 Pro] Jed!Master:
im on 11.2.9.9.LE5ACB which global boot img should I patch
[OnePlus 9 Pro] Libra420T:
9.9AA 👍
[OnePlus 9 Pro] Jed!Master:
Anyone on global oos 12 c44. My auto rotate keeps turning off when ever I reboot device. Anyone else having this issue, minor aswell when trying to hide battery icon from the status bar it's still there even after reboot tried ticking on and off battery icon won't go away lol
[OnePlus 9 Pro] Libra420T:
Someone else has mentioned this in Tmo TG group 🤔🤔
[OnePlus 9 Pro] Jed!Master:
Link to the tg group I'm willing to help or find a fix for this also my Bluetooth will randomly disconnect then reconnect my Garmin watch. I did notice it disconnected my airpod before once but haven't had that happen yet just happens more often with my Garmin watch.
[OnePlus 9 Pro] baracuda1974:
I don't see the msm normally within the TMO -EU-MSM folder, what are you referring to?
[OnePlus 9 Pro] JhinCuatro:
I have to ask, because it is not really asked or discussed clearly at all, but what's the purpose of backing up our modem partitions (and/or persist) when the guide provides a modem to flash? What is the modem backup for? If they are device unique, why is there a non-device specific provided to us in the guide that we end up flashing to get cellular working again?
[OnePlus 9 Pro] JhinCuatro:
If you don't have root or unlocked bootloader backup using MSM tool. When in the screen where you would normally flash the rom, press F8 key. You will see list of partition, password is oneplus to use backup.
[OnePlus 9 Pro] craznazn:
I ask you to backup your modemst1 and modemst2, which are different than modem. modemst1/2 are unique to each device and you'll be SOL if you lose it. Persist also contains calibration data unique to each device.
[OnePlus 9 Pro] JhinCuatro:
<Duplicate>
[OnePlus 9 Pro] JhinCuatro:
I can confirm L1 with unlocked bootloader. Using latest magisk, yes, zygisk. For me I did Deny google play services entirely. Install universal safety net fix. l3 status became l1; apparently it's dependent on safety net status lol. You don't need to do anything more special.
[OnePlus 9 Pro] RobbieL811:
What's up guys? So, I've been gone for a while, and I recently just picked up a T-Mobile OP9 Pro. Managed to get the bootloader unlocked, now I am trying to figure out if it's even possible to flash ROMs on this damn thing. Android has changed SO much in the past 6 or 7 years! Did I waste my money by grabbing one of these T-Mobile versions? Can I flash ROMs to it? What steps do I need to go through in order to do it? Was thinking I needed to convert it first in order to flash ROMs, but I have no clue currently what I'm looking at. That's how I found my way to this thread.
[OnePlus 9 Pro] asfandyartamoor:
1- Can anyone please make a youtube video on how to do this please? I am new to modding these oneplus phones (my last was a global 5T) and I can't wrap my head around some of these instructions.

It was straight forward back then.

2- my sim card won't work if I don't flash the modem?

3- If I attempt this and succeed, then I still have to flash the modem files after every OTA?

Using the network unlocked LE2127 and I have the unlock bin file too
[OnePlus 9 Pro] xiaowei666777:
I get error when I flash it, msmdownload tool give me error "get TID failed",In global Rom, I can switch taget to O2 to solve this error. So why your tool can not select target?I mean it can be Fix?
[OnePlus 9 Pro] abadasstanker69:
Sorry. Wrong thread. I've been in so many threads that I mixed my tabs up
[OnePlus 9 Pro] galaxys:
LOL, happens to us all😁
[OnePlus 9 Pro] abadasstanker69:
What's odd is that now that I'm done downloading this package, I'm having the same issue as I was having when I mistakenly posted here. There is no "Target". I only get Start and Enum as options. So I can't change to 02
[OnePlus 9 Pro] craznazn:
There is no target, but it looks like you don't have the drivers installed.
[OnePlus 9 Pro] abadasstanker69:
I got it worked out. Thanks! Now I'm trying to figure out how to install lineage with Microg. I tried once but TWRP seems to be buggy for me. Half the time the touchscreen doesn't work. Not really sure why. Then if I factory reset, it wipes the rom from storage. Can't adb sideload either. Not really sure what's going on tbh. I'll keep playing with it till I figure it out unless someone has any guidance. THANKS!!!!!!!!
[OnePlus 9 Pro] hooutoo:
I guessing that converting sim locked le2127 to eu fw is still sim locked. The reason I ask is I'm about buy a bad imei le2127 (tmob) which is sim locked. I can deal with the bad imei but obviously tmobile is NOT going to Sim unlock the phone. If there's another way I'm all ears.
[OnePlus 9 Pro] razercortex:
It wouldn't matter even if you could get it unlocked in the first place since most major carriers might not allow you to register on their network.
[OnePlus 9 Pro] JohnFawkes:
So im not sure if this will work for me or not. basically I got my op 9 pro today from tmo and they wont unlock the sim because it hasn't been 40 days etc etc and I have to pay off the device even though I own it.... anyway.... I took the OTA to 12 and the unlock bootloader is toggled on. The unlock code isn't working for me on the one plus unlock token website, I get an error saying serial number or unlock code is invalid even though they arent. Can I use this tool to convert so I can unlock bootloader and root even though I'm not sim unlocked but OEM unlock is toggled to on?
[OnePlus 9 Pro] razercortex:
If the toggle is active, then all you need to do is flash this, reboot to bootloader and type "fastboot flashing unlock"
[OnePlus 9 Pro] JohnFawkes:
Just giving an update. I was able to OTA to a12 on tmo and unlock OEM unlock toggle without doing anything. I then used this tool to MS but the OEM unlock toggle was greyed out. i didn't lose 5g or mobile data at all either. i then ran the adb shell pm disable-user com.qualcomm.qti.uim to unlock the OEM unlock toggle and then ran adb shell pm enable com.qualcomm.qti.uim to reenable and OEM unlock stayed but greyed out. i then went to fastboot and ran fastboot OEM unlock. this unlocked the bootloader. Now to install magisk and twrp! Thanks everyone involved with this project!
[OnePlus 9 Pro] thomthejuggalo:
Would this modified msm tool work for the 10 pro?
[OnePlus 9 Pro] JohnTheFarm3r:
Of course not.
[OnePlus 9 Pro] thomthejuggalo:
Thanks I was hoping I could just swap out the image and it would work. I will just have to wait. Been only a day and a half and I am already missing root 😀.
[OnePlus 9 Pro] zefyx:
I want to like this so much. Unfortunately, I can't use a phone with data hobbled so badly it's unusable more than its usable. Anyone have any advice? I am fully unlocked and have flashed our T-Mobile NON-HLOS.bin but still lose data excessively.
[OnePlus 9 Pro] ILLESSKILLA:
hey if this dont work for you, if your device ends up with india target, i found a way to flash any package eu,global,tmo just by unpacking the ops file and changing certain lines of code in the settings.xml from the India ops file. ive already flash eu global tmobile and india over and over and it works lol . i made my own package to flash eu from india target and idk where to upload it to share with you
[OnePlus 9 Pro] eugene373:
can somebody post there devinfo partition from an unlocked bootloader please.
[OnePlus 9 Pro] mahnameisjaime1:
I was having major issues with my TMO after the android 12 update, Bad network connectivity, wifi at my work (needed to do my job) wasn't connecting thanks to wifi assistant, and just overall really stuttery performance. Used this guide to downgrade back to 11 and also convert over to EU. Everything worked well, my only question is up to what version to I update to avoid android 12?

Edit, nvm, found my answer in the stickied repo post. It's the LE2123_11.C.38 update that's the update to android 12.
[OnePlus 9 Pro] Ultraman666:
I just upgraded to Android 12 and then flashed the modems like have done everytime leading up to this flash and had no issues. After installing the modems to a and b it booted into qualcomm crash dumb mode, i have tried to reboot into fastboot and it does and I can also get it to reboot the the bootloader, but everytime it goes back to the crash dumb mode after i restart it. What can i do besides having to use the MSM tool?
[OnePlus 9 Pro] craznazn:
Have you tried restoring the A12 modem?
[OnePlus 9 Pro] Ultraman666:
no didnt even think about that i wasnt sure where to look for that, i havent seen a android 12 modem thread yet, you know where i might look?
[OnePlus 9 Pro] TheGhost1951:
How is the device serial number affected? My current serial with my TMO phone is incorrect. It has 7 digits instead of the normal 8 digits for the OnePlus 9 Pro phone. That prevents me from getting an unlock token from OnePlus and therefore I cannot unlock the bootloader.
[OnePlus 9 Pro] Ultraman666:
no issuses here with serial number i unlocked mine last year, my issue now is i guess i need the a12 modems
[OnePlus 9 Pro] TheGhost1951:
You kept the same serial number?
[OnePlus 9 Pro] Ultraman666:
yep same number
[OnePlus 9 Pro] TheGhost1951:
Thank you for responding....
[OnePlus 9 Pro] Ultraman666:
so where would i go to look for the A12 modem i havent been able find a thread on it anywhere thanks for the idea
[OnePlus 9 Pro] craznazn:
Global: https://android.googleapis.com/packages/ota-api/package/c25ef64fe37b632b526e0cef2f36fa046e35c032.zip

EU: https://otafsg-cost.h2os.com/OnePlu...n_22.E.47_OTA_1470_all_2203102117_c7b3172.zip

You'll need to extract payload.bin to get the modem.
[OnePlus 9 Pro] 2kdrift:
Same issue here after upgrading to android 12 (build LE2123_11_C.47) device boots showing 2 sim cards disconnected.

after reflashing NON-HLOS.bin device hangs on qualcomm crash, flashing the Global/EU posted above phone boots normally but both sim cards disconnected.

also tried modem found here https://xdaforums.com/t/tmobile-modem-on-a12-9pro-na.4359785/page-2. after flash hangs on boot

any fix for this would be great
[OnePlus 9 Pro] Ultraman666:
I had to completely go back to stock using this method, and once i went to A12, i flashed the data fix in magisk and all is good now, what a wasted 6 hours of redoing my phone lol

https://xdaforums.com/t/tmo-9-pro-modem-retention-data-fix.4292445/
[OnePlus 9 Pro] mx597turbo:
I just used this tool to convert a Tmo 9 Pro on A12 to EU. Process worked flawlessly. However, I did not need to flash the modem in the OP. After converting, booted to system, unlocked bootloader. On the reboot after that, installed my Visible sim, and immediately got mobile data. Updated to 11.2.10.10 (I'm staying on A11). and the modem was still good.

So not sure if anyone else will have this luck, but try your sim before flashing the modem. Maybe updating to A12 while still on the Tmo firmware causes the modem to stick.
[OnePlus 9 Pro] 2kdrift:
cool thanks for that info....ill give it a try I was doing my best to not root because of the microsoft apps i need for work that freak out if they see your device is rooted but ill play around to see if I can unroot at that point. ..... I really just need a way to stop t-mobile from spying on my hotspot usage
[OnePlus 9 Pro] CZ Eddie:
For T-Mobile?

@razercortex posted the 12 modem in this thread:

https://xdaforums.com/t/req-modem-from-latest-t-mobile-a12-firmware.4428955/#post-86767275
[OnePlus 9 Pro] razercortex:
I do not recommend flashing that.

Instead, flash this in Magisk

https://xdaforums.com/t/tmo-oos-cos-data-fix.4392893/
[OnePlus 9 Pro] 2kdrift:
I can confirm flashing modems is not needed simply upgrade all the way to oos 12, root with magisk> and apply the data fix zip inside of magisk
[OnePlus 9 Pro] TheGhost1951:
flashing a T-Mobile downgrade package with MSM tool fixed my serial number.....yaaaaa!
[OnePlus 9 Pro] cproo12:
Sorry if I am being dense, but I am not understanding.

We should backup modemst1/2 & persist partitions BEFORE doing this to our device, correct?

However, booting temporarily as root requires an unlocked bootloader, I am doing this process to unlock my bootloader and convert to EU.

So is my only option waiting 7 days for unlock binary or using EDL?

Thank you so much for your efforts on the forums here!
[OnePlus 9 Pro] craznazn:
You should definitely backup your partitions prior to any conversion, but you don't need root to do it. Use the linked project/tool to backup your entire UFS storage, but it does require nontrivial setup. You can always wait until you have the unlock.bin to backup as well, but you'll have to wait the 7 days.
[OnePlus 9 Pro] craznazn:
Here were the exact steps i took from when we tried to debug it earlier. It says 11.2.3.3 OTA because that was the latest version at the time. run.bat was the old flash_all

Download conversion zip

Download EU 11.2.3.3 OTA ( this one specifically https://otafsg1.h2os.com/patch/amaz...6_OTA_0060_all_2104020504_14b30fef4631402.zip )

Download the LE2123 conversion magisk module, I updated it. Link will be provided when available. Delete the one you downloaded before

Reboot device to bootloader

run.bat. Hope this runs fine for you, it worked for me in 1 try

Setup without connecting to wifi, don't do anything special just get past the setup as fast as you can

Install EU OTA

Reboot, let it boot fully

Reboot to bootloader

Flash Magisk'd boot.img

Flash Tmo modem

Reboot

Install Magisk Manager

Magisk Manager -> Settings -> Enable MagiskHide

Magisk Manager -> Settings -> Systemless Hosts (Not sure if necessary)

MagiskHide -> Google Play Services -> Toggle on everything

Install my magisk module

Reboot

Check for L1

both are the same
[OnePlus 9 Pro] sunxutian:
Cool will give it a try, so I don't need to relock my bl first?
[OnePlus 9 Pro] craznazn:
Only need to lock BL if you want to test for L1 while locked.

In my experience with the other user not getting L1, we found that he didn't even have L1 while bootloader was locked, so it seems like the keys were lost somehow.

I would first check that you get L1 in a locked BL state before following the steps I just listed. Take the OTA again via local upgrade and lock the BL without flashing anything.
[OnePlus 9 Pro] grinch247:
Tmobile converted to EU with no issues at all :)
[OnePlus 9 Pro] Ultraman666:
Duh sorry i thought i typed that in as well thanks for confirming appreciate it
[OnePlus 9 Pro] sunxutian:
YOU have L1 or L3?
[OnePlus 9 Pro] sunxutian:
Tried relock BL and has L1 and unlock BL, downgrades to L3 again, Magisk hide doesn't work so still L3, tired of doing it again, will leave it as L3 for now I guess
[OnePlus 9 Pro] sunxutian:
so even before conversion you have L3?
[OnePlus 9 Pro] sunxutian:
if you watch Netflix, L3 is pretty messed up... I used to have Op 7 pro and don't even need to unlock BL to do the conversion but now everything just gets more complex
[OnePlus 9 Pro] craznazn:
My converted LE2127:
[OnePlus 9 Pro] sunxutian:
No idea why it doesn't work for me though... just to confirm, how many magisk modules I need to flash, I know you have the one for LE2123, any others? Also I need to install MagiskHide props Config to make safetynet to pass, is it expected?
[OnePlus 9 Pro] craznazn:
Shouldnt need any modules installed. The only thing installed in the screenshot is the about phone fix.

Safetynet passes and L1 works without anything
[OnePlus 9 Pro] sunxutian:
hmm, I have to install "MagiskHide props Config" to make Netflix show up in play store, anyway will stay with L3 for now...
[OnePlus 9 Pro] iSkyJIE:
Now after upgrading to 11.2.4.4EU.

Do I need to flash both of my own modemst1.img and modemst2.img?
[OnePlus 9 Pro] iSkyJIE:
thanks for your reminder.

Update to 11.2.4.4

Is your 5G network speed slow? My 5G speed used to be more than 100 Mbps, now it is only more than 30 Mbps
[OnePlus 9 Pro] iSkyJIE:
WOW... By coincidence, I am also in Hawaii.The plan I use is T-MOBILE ONE
[OnePlus 9 Pro] craznazn:
5G performance has not changed for me