yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] Ultraman666:
Yep agree got mine today as well took 7 days, bootloader unlocked now to root, oh ya baby
[OnePlus 9 Pro] howbeit:
I was able to root the device, but when I check SafetyNet, I'm getting an API error. Anyone else running into the same issue? Any work arounds?
[OnePlus 9 Pro] Ultraman666:
Yep have the same issue
[OnePlus 9 Pro] LLStarks:
I hope you guys understand that by unlocking, you are breaking the filesystem in a way that can be permanent and will prevent you from receiving updates.

If the 8 series and 8T are anything to go by, unrooting does not help. Unlocking, which forces a wipe, destroys the reserve partition, which is stupidly part of the userdata partition. The update function aggressively checks the filesystem. You might get offered an update, but it'll fail to install.

You cannot restore this without the MSM unbrick tool for the T-Mobile variant, which has yet to leak. And unless there's a way to convert to the Euro firmware, the only way to update and re-root is rather complicated: Run MSM tool, take update, unlock, root, repeat.

This is unique to T-Mobile variants and to a less extent the Global variant. Because both use delta updates, there's no way to apply updates. Global does have local upgrade and sporadic full update zips, but it's not ideal. Other variants do not care because root is detected and the full zip is applied, bypassing filesystem checks.
[OnePlus 9 Pro] howbeit:
That sure would have been a nice thing to know before I purchased the phone!!
[OnePlus 9 Pro] LLStarks:
Need to enable Magisk Hide.
[OnePlus 9 Pro] howbeit:
Unfortunately, the error happens even with Magisk Hide enabled.
[OnePlus 9 Pro] craznazn:
See the other thread in this forum for SafetyNet check, it's a magisk issue.
[OnePlus 9 Pro] psawjack:
HC c
[OnePlus 9 Pro] psawjack:
Hi all,

I wanted to vouch for the OP. This person took care of my OP8T quickly!

Thanks again!
[OnePlus 9 Pro] jamescable:
They said the same about the one plus 7t pro 5g McLaren T-Mobile edition, I'm running stock rom on it and didn't lose any partitions. I can still receive updates and install them
[OnePlus 9 Pro] jamescable:
Yes
[OnePlus 9 Pro] amaroney55:
I swear ppl and scared to try things out. But yet they want and want. The only way to learn is to fail. T-mobile 9 pro converted to eu had the global but it wouldn't update so I went got the updated eu and it's fine. I am rooted. It's basically the same steps as the 8t only difference when I convert u have to flash the t-mobile modem MODEMST1 and MODEMST2. Sorry Mr.jamescable I didn't mean this towards your post or towards you. I am not use to the xda app change
[OnePlus 9 Pro] therussiann:
question,

when my phone is on the pc has no issues and i can use it to go into bootloader on the phone, but when the phone gets into bootloader the pc seems to no longer see that its connected to phone.

anyone have a solution to this?
[OnePlus 9 Pro] nmccord30:
Do you mind writing a detailed step guide so I can do this I'm waiting for my unlock token
[OnePlus 9 Pro] amaroney55:
Go to the first page on this post right here because that is pretty much detailed I mean what are you having trouble with

Change ports for a test. Make sure your adb drivers are up to date.. depends on how your installing adb also. Are u using the Google adb or the 5 min installer or the tool to install. What I have been doing every time I install my driver's. I go ahead and turn off the signature verification. And is your bootloader unlocked is the check clicked for oem unlock on developers mode? It can be a number of things troubleshoot my friend.
[OnePlus 9 Pro] craznazn:
While your phone is booted (and usb debug on), what's the output of adb devices? In bootloader, what's the output of fastboot devices? If adb shows up and fastboot doesn't, check device manager and make sure fastboot drivers are installed
[OnePlus 9 Pro] rectalthreat:
thanks mobdeep
[OnePlus 9 Pro] nmccord30:
The commands get the EU version

And T-Mobile modem
[OnePlus 9 Pro] amaroney55:
Not being mean or rude. But if you don't know the adb commands. I think you might need to research before you brick your phone. Everything you need is right here on this website. Knowledge my friend. Trust me you will feel alot better figuring this out on your on. Then someone walking you through it. I mean I will help ya only so much. I know it's frustrating but that's how I learned all this. It took me like 3 days just to get adb installed correctly. .
[OnePlus 9 Pro] grinch247:
I'm waiting as well, yesterday was 7 days
[OnePlus 9 Pro] grinch247:
+1
[OnePlus 9 Pro] clevetbs1:
Thank you, your process works as stated.
[OnePlus 9 Pro] Camboozle:
I think in bootloader you can only use fastboot, and in recovery, or on you can use adb. I haven't rooted in 7 years, so I'm rusty, but I seem to recall that being the case.

I just tested and that is indeed the case.
[OnePlus 9 Pro] grinch247:
Finally got the code from oneplus and fast boot oem'd lol... Now it gets fun 😀🙏👏🙌
[OnePlus 9 Pro] glitchsys:
I've unlocked the bootloader. I actually extracted the boot.img file from the AA version offered on OnePlus support site and modified it and booted it (wasn't sure it was going to work on the T-Mobile ROM) and the phone actually booted off the modified boot.img file and I was able to root it. Easy peasy.

OnePlus support has 11.2.2.2.LE15AA (https://www.oneplus.com/support/softwareupgrade/details?code=PM1617074857015) is this the European version? I thought "AA" was the USA version. I thought this was the generic USA version of the ROM, ie what you'd get if you'd bought the OnePlus 9 Pro directly from OnePlus and not T-Mobile.

Anyways, unlocked, rooted. But I cannot pass SafetyNet. I've tried MagiskHide, that's stupidly easy, but still fail SafetyNet. I've tried the "Universal SafetyNet Fix" module + MagiskHide Props Config (and then ran "props" via terminal to change the device fingerprint). Not matter what I try, I cannot get SafetyNet to pass.

With my OnePlus 7T Pro McLaren 5G (T-Mobile variant) I had to also install a custom kernel, one that would hide the fact that the bootloader was unlocked and it aided in passing SafetyNet.

I really don't care if I'm running the T-Mobile version of the ROM or the USA/Global version of the ROM. In fact, I think I'd prefer to run the global version of the ROM, I feel like I'll get updates from OnePlus far faster than I would from T-Mobile. I can easily make an image of my modem_b partition (B is my active side) and restore that.
[OnePlus 9 Pro] glitchsys:
I don't know? T-Mobile version of the ROM is 11.2.2.2.LE5ACB and the version on OnePlus Support site (https://www.oneplus.com/support/softwareupgrade/details?code=PM1617074857015) is 11.2.2.2.LE15AA

Both are 11.2.2.2 based. I guess that's why the boot.img from 11.2.2.2.LE15AA managed to work on the 11.2.2.2.LE5ACB ROM. Where does 11.2.3.3 come into play?

Thanks to another post I learned the SafetyNet issue was with Magisk. I'd chosen stable v22.1; Turns out I had to install Magisk Canary version, now I can pass SafetyNet. So ridiculous. But glad it's resolved.
[OnePlus 9 Pro] glitchsys:
Interesting. Well there's no harm in trying to boot off the patched img file. It's temporary. It'll either boot or it won't. A simple reboot will have you booting off the stock boot.

I'm curious what will happen if/when T-Mobile pushes the update to me. There's apparently some steps I can take to maintain the rooting even after an OTA update.

I may investigate trying to get over to the AA version of the ROM, flashing the OnePlus supplied version. This way I can get OTA's from OnePlus directly. From my reading through this forum, I'm not a fan of what T-Mobile has done to the firmware. Especially with that odd self-deleting partition after unlocking that can't be restored.
[OnePlus 9 Pro] galaxyuser88:
Hello all and thanks for all the work you guys have been doing so far.

Got my oneplus 9pro5g Tmo last sat, got the unlock code wed and today iam unlocked. wooohooooo.. now its time to start having some fun with this phone. Its been a while since i been playing around with roms and stuff.. Let the games begin.. I am new to the oneplus family but have been modding samsung galaxy series untill the last rootable note 8...
[OnePlus 9 Pro] galaxys:
Welcome to the OnePlus family! Your off to a great start! 🌃🌠😉
[OnePlus 9 Pro] Humo0915:
Anybody knows any other awesome XDAer who can unlock T-Mobile OnePlus devices on the sprint network?
[OnePlus 9 Pro] Humo0915:
The thing is Im still under the sprint umbrella and he doesn't do sprint ☹️
[OnePlus 9 Pro] Ttw626:
When trying to unlock my bootloader I keep getting this error message: error: cannot load 'unlock.bin

Can somebody PLEASE help me out
[OnePlus 9 Pro] craznazn:
Is unlock.bin in the directory you are running fastboot from?
[OnePlus 9 Pro] RootMyNote4Please:
I struck out trying to go through Twitter with TMobile. The guy was very nice but he said there's absolutely no way they can unlock it early. You have to pay it off completely and wait 40 days. And you get no discount if you pay it off early. I got put on my very old Sprint account apparently, so I can't use the service here either. I'm thinking I'm just going to return it and cancel the service at this point . So frustrating how these companies prevent you from doing anything.
[OnePlus 9 Pro] gcap18:
So I have a tmo op9pro. The sim is unlocked, I submitted a device unlocking application through op, then I received an email back from op saying the application was approved with a link to download the unlock token. When I click to download the token, a new tab opens up and I see this text:

CY�R�@7��f�h��o��d��4r���mN+!cĬ,>qɃͽ��mC��?&~,�X��&���W4��M1�y8�f_�g$��!�KL �"����/��d>+?1���Y����L ��UZ�T�n���d�ɀs�j�Ai��+&́�5�

�Ú��d����`k�C̺)2��#�Cpe��ydW�����]0!��@[Q�`�ΣZ?߀�ڎD�{�'rC�P���kf�c�����&ĕ�I2?(�/(�̥�f!��3��<�c�V����\��p��

I tried opening in Chrome, Edge, and even IE. Same results. Am I doing something wrong? I cant seem to download the unlock.bin file.
[OnePlus 9 Pro] craznazn:
Save as unlock.bin and try it
[OnePlus 9 Pro] Libra420T:
Anyone have or get t mobile modem img or even have full imgs?? plz need help. 😊
[OnePlus 9 Pro] craznazn:
TMo MSM is in my thread: https://xdaforums.com/t/op9pro-repository-of-msm-unbrick-tools-tmo-eu-glo-in.4272549/

TMo modem: https://www.androidfilehost.com/?fid=2188818919693793883
[OnePlus 9 Pro] bamfsig45:
Let me ask if this is the right way. When I click the link for my unlock code Im brought to a page with code. I then right click and save as unlock.bin. I run the fastboot flash cust-unlock command but get the following error.

C:\ADB\platform-tools>fastboot flash cust-unlock unlock.bin
Sending 'cust-unlock' (0 KB) OKAY [ 0.002s]
Writing 'cust-unlock' FAILED (remote: 'Error - Verify Failed ! (-1)')
fastboot: error: Command failed
[OnePlus 9 Pro] gcap18:
This is really funky. When I go to the OP unlock_token address and click the red button to download, nothing downloads. No option to save as.

I contacted technical support and they said they would contact me back in 24 hours, so I assume I'll never hear from anyone.

I'm having this same problem as well.
[OnePlus 9 Pro] Imgh05t:
Same issue here as well
[OnePlus 9 Pro] craznazn:
I just checked the oneplus website to see what you guys are referring to. The unlock.bin should be 288bytes, but what the page is giving is obvious jibberish and 518 bytes. Obviously, oneplus broke their unlock token page. Try contacting support and make them aware that the tokens page is broken.
[OnePlus 9 Pro] gcap18:
I appreciate you going the extra step and confirming it's not us. I've reached out to tech support numerous times. The response I get from tech support is "our phones aren't locked, you need to contact TMO." I don't think op trained tech support reps know about the unlock token. I literally sent multiple reps the hyperlink to the unlock token page and they still told me to contact TMO.
[OnePlus 9 Pro] Libra420T:
unlock code worked for my op9pro on 04/22/21.. but for the second one it gives bullsh+t code. Also if u download an older token it still comes up as broken. This is going to be a long road.... 😔
[OnePlus 9 Pro] bamfsig45:
Ive also emailed support.
[OnePlus 9 Pro] BobAzzon:
Can confirm this also, got my unlock token email today, and went to download nothing but a bunch of jibberish symbol's....tech support is saying it's a TMobile problem...I tried explaining several times to 3 different people it's the one plus sites problem, and they basically kept telling me contact TMobile. Looks like this could be the end for us TMobile users, as OnePlus seems to think it's not their problem.
[OnePlus 9 Pro] bamfsig45:
Yea I've given up on Oneplus Support doing anything about it. Several email exchanges with them and they just dont get it.
[OnePlus 9 Pro] craznazn:
Workaround for the unlock.bin at https://xdaforums.com/t/4272837/
[OnePlus 9 Pro] BobAzzon:
Looks like the site is fixed, just downloaded my unlock bin. 288bytes
[OnePlus 9 Pro] craznazn:
Thanks. OP updated
[OnePlus 9 Pro] Dr.Pagan:
Thank You so Much for your help, Super Fast and Works 100%....Thanks for help people!!!
[OnePlus 9 Pro] Libra420T:
So I used msmdownloadtool to get back to stock Tmo... After successful installation. I again unlocked Bootloader to flash global rom... Unfortunately problem still there... I have to manually flash Tmo modem img after every flash or ota 🤦‍♂️

anyone have latest 11.2.4.4 Tmo_Modem img?
[OnePlus 9 Pro] craznazn:
You can try to extract the latest modem prior to conversion. Otherwise just use the modem we have
[OnePlus 9 Pro] Libra420T:
how do I extract img?

Do I use payload_dumper?
[OnePlus 9 Pro] craznazn:
Yeah you can do that, or dd works just as well
[OnePlus 9 Pro] Libra420T:
OK so I unlocked my second LE2127 flashed global 11.2.2.2, then local updated to full global 11.2.4.4 and still lost my service (tmo modem). So definitely a 1+ update bug 😔. flashing tmo modem now 🤦‍♂️
[OnePlus 9 Pro] craznazn:
You have to flash the TMO modem after every ota. Technically not a bug, it's not designed to work and this workaround is required
[OnePlus 9 Pro] Libra420T:
Is this a OP9 series issue? I've never had to do this with 7 or 8 series from Tmo to Global... 🤔
[OnePlus 9 Pro] craznazn:
It's an OP9 Pro issue afaik, doesn't affect regular OP9
[OnePlus 9 Pro] Libra420T:
👍 Nodoubt, personally I don't mind flashing images manually, ever since I switched to OP 4 years ago.... 😊
[OnePlus 9 Pro] jkt97401:
I searched this thread and it seems nobody has encountered the issue I have haha. When sending the fastboot command "fastboot oem get_unlock_code" it comes back with this error

"FAILED (remote: Command not supported in default implementation)

I am SIM unlocked and OEM Unlocking as well as USB Debugging are enabled within the developer settings. I am using the latest Fastboot directly from google.

Any help is appreciated!

Edit: I was able to figure it out on my own. The fastboot drivers didn't want to stay installed for some reason, I had to reboot Windows with driver enforcement off and manually select the oneplus adb/fastboot drivers for installation. Super strange, but thought I'd leave this here in case any poor souls in the future run into the same issue.
[OnePlus 9 Pro] didymus:
Does this mean it can be turned into International mode ? I thought there was a modem issue.
[OnePlus 9 Pro] badazzbubbanc:
Ask the dude he did mine second device he unlocked for me and it's was really quick to
[OnePlus 9 Pro] DeathCite:
fastboot oem get_unlock_code

returns this error

FAILED (remote: 'Command not supported in default implementation')

fastboot: error: Command failed

Any help is nice
[OnePlus 9 Pro] craznazn:
3 posts above yorus...

https://xdaforums.com/t/how-to-unlock-the-t-mobile-bootloader.4256319/page-6#post-85134731
[OnePlus 9 Pro] skleveno:
I have latest OnePlus driver and adb and fastboot. PC detects the in2017 and I can go in to adb and see the device, reboot to another menu etc. However when I first got into adb and type the fastboot oem get_unlock_code it just hangs and says waiting for device..
[OnePlus 9 Pro] jwidel:
you need google drivers and fasboot adb and one plus drivers. adb devices to verify connection then adb reboot bootloader. once it boots to bootloader menu. do fastboot reboot bootloader or hold your volume down+up+power same time and it will boot to fastboot, your better off to convert to eu firmware. if you do root just use the AA boot.img to flash in magisk. unless someone has the stock boot,img for tmobile yet. i successfully rooted tmobile and converted with no problems. but **** happens,
[OnePlus 9 Pro] Ju5t3nC4s3:
This is not true, i have decovered a bypass. I have a way to flip the oem-unlock switch and you dont even need to enter the Dev options. And you can do the fastboot oem get_unlock_code. And get all the info. I located the bit that needs fliped. And this can be added to a msmdownload tool . So all you need to do is flash and the switch is already flipped. Even if you are simlocked.View attachment 5424725
[OnePlus 9 Pro] FizzyAps:
So you added it the msm tool
[OnePlus 9 Pro] Libra420T:
bro! we need to talk....

Pm sent 👍
[OnePlus 9 Pro] sin-cal:
I just wanted to reply and Thank you for providing this. I spent a few hours today trying to troubleshoot getting the unlock code from the phone using a cmd string that was incorrect that oneplus unlock instruction provided. cd “root directory ”> Command: fastboot.exe oem get_unlock_code "" <<< That is what was provided, It brought back an error. Again, Thank you!!!! Unlock submitted and awaitin approval.
[OnePlus 9 Pro] tancam:
I keep getting unlock code or serial number is invalid. I copied them from the actual console so i know its correct and i dont see any spaces. Serial number is valid also so im stumped
[OnePlus 9 Pro] MushroomElm:
Seeming to have an issue around step #5. ADB Devices picks up my phone no issue. I'm able to use CMD to reboot into bootloader but when I use the command "fastboot oem get_unloock_code" the CMD window says "Waiting for any device"

Is there a step I'm messing up on? Any help would be appreciated!

Edit: Figured out the issue. Had to go into Windows 10 optional Updates and select Google Bootloader Interface.
[OnePlus 9 Pro] crumle60:
https://xdaforums.com/t/t-mobile-usa-free-sim-unlocking-service-oneplus-samsung-google-lg-moto.

this is how i did my oneplus 9 pro
[OnePlus 9 Pro] cowsquad:
I am glad I came to this thread. I have an appointment tomorrow to buy this phone on T-mobile for $750 off. I will only have to pay $150 on installment payments (It is a requirement to get $750 off) But if they won't allow me to have my phone unlocked until I pay that in 24 months. I won't buy this phone then. I am sick in tired of companies blocking phones that are us.
[OnePlus 9 Pro] jruizdesign:
So I have not done any of these steps, I'm pretty sure I had to use a dialing code and an app or something and request an unlock, it told me granted within like 2 minutes and I've been able to unlock since...

View attachment 5477485
[OnePlus 9 Pro] glebbeast:
I think I DM'ed lol slightly confused, almost looks like I started a whole new post....
[OnePlus 9 Pro] :
I dont know who needs to hear it but I couldn't find this anywhere. If you are still (edit: Sim) locked you can try this out. Go to settings/Apps and Notifications/Press the 3 dot button in the top right of the screen and select System Apps/Scroll down to the App "unlock" and long press it to select enable. Once enabled, go back to your WiFi and Network settings and Unlock may be available, it was for me.
[OnePlus 9 Pro] mightysween:
Yeah, I know this is an old thread but thought I'd mention that I got two OP9's from T-Mobile in December 2021 and after the recent absolute disaster of OOS12 I decided it was time to unlock.

I was surprised to find that neither phone came SIM- locked from T-Mobile. Perhaps since the phone is aged-out and is now in the "free" tier (still on installments but with monthly credit) they are just not bothering with SIM-locking.

Still have to wait 7 days for the token, but otherwise no hoops to jump through.
[OnePlus 9 Pro] BobaHeisenberg:
Is it safe to flash the unlock_code.bin on my OnePlus 9 Pro 5G while I'm still network/sim locked to TMobile? I was able to toggle OEM Unlock and got my unlock code to submit to OnePlus and received my token from them 7 days later. I'm a Sprint customer but my phone and sim card were purchased from TMobile.
[OnePlus 9 Pro] Jed!Master:
why does it say I need 8 characters serial number but I only have 7 even did a fast boot command and came back with 7 digits only. what do I do
[OnePlus 9 Pro] Ali Zaman:
Will unlock token work if I get my phone's imei changed? I already have a working unlock token for my phone

Device: OnePlus 8
[OnePlus 9 Pro] Mattwmaster58:
btw, you can just go straight to fastboot and select "show barcode" w/ vol buttons to see your IMEI
[OnePlus 9 Pro] Radarshaggy:
I got lucky too. Mine has been unlocked since day one since I paid half of the total left after trading in my S21.
[OnePlus 9 Pro] Radarshaggy:
I have a question. I have a MacAir. With the M1 chip. Do you think that my OnePlus 9Pro T-Mobile vision and my Mac will communicate with each other, in order to unlock bootloader? My phone is already Network Unlocked. I haven't tried yet. Still get my external drives fixed (reformated) again. Been going through this ever since a stalker hacker gave me a virus. I can't find any options for that on my OP or Mac.
[OnePlus 9 Pro] geminihc:
any XDA members still doing SIM unlock for op9pro t-mobile? will donate $5! thanks!
[OnePlus 9 Pro] bguzz:
Sorry if this is a stupid question, but my TMobile Op9p is network locked, but the bootloader unlock option is not greyed out...I can select it and it tells me that my bootloader is unlocked.

Am I now able to load a custom rom on it? I thought network unlock was a requirement before unlocking the bootloader and loading a rom?
[OnePlus 9 Pro] samdaman91:
I was able to enable OEM unlock without the sim/network unlock. i can still able to unlock the bootloader right?
[OnePlus 9 Pro] CZ Eddie:
Thought I'd give Android 12 a chance and am coming from custom 11 ROM.

I was able to toggle the unlock option in Developer Settings.

But I'm having trouble using my unlock.bin that I've used dozens of times before.

C:\android>fastboot flash cust-unlock unlock_code.bin
Sending 'cust-unlock' (0 KB) OKAY [ 0.015s]
Writing 'cust-unlock' FAILED (remote: 'Error - Verify Failed ! (1:-2)')
fastboot: error: Command failed

Any ideas what's causing this?

EDIT:

Just remembered I'm now on a warranty replacement phone and my old unlock code won't work of course.

I must have never gotten a new unlock code before flashing the custom ROM before.
[OnePlus 9 Pro] CZ Eddie:
Okay, how did I manage to flash a custom ROM on my new phone a couple months ago if I didn't have an unlock.bin for it?!?

I can't remember how I managed to do that.

I can toggle the unlock in Developer Options but I'm not able to do the fastboot unlock thing because it wants a .bin.
[OnePlus 9 Pro] Samuel Holland:
Hi, thanks for the write-up. I just thought I'd share an experience one time.

I had got an used phone off eBay and wanted to sim-unlock. I used one of those; pay us $, and we will send you the unlock code. For whatever reason, after entering the code, it didn't work. I let them know, said I wasn't worried about a refund, just wanted to unlock sim. Long story short, I had to use another service.
[OnePlus 9 Pro] BMani90:
I have Oneplus which has a patch and its IMEI is changed, while filling the form it says invalid IMEI.Also I don't have the box or original IMEI of my mobile. Any other solution for unlocking the bootloader without token?
[OnePlus 9 Pro] Appreciative:
Yes but if your imei is changed, it may revert back to the original imei. (It probably won't but don't know if it will, I haven't changed an imei in years.)

You can use the MSM Tmo->Eu tool. Then you don't need the unlock token to unlock bootloader.

Link here: https://xdaforums.com/t/convert-your-t-mobile-le2127-to-eu-via-msm-no-unlock-bin-needed.4272837/
[OnePlus 9 Pro] jayram1408:
Why is my bootloader unlocked then but it is SIM locked?