[OnePlus Nord N200 5G] edale1:
OK, this process has been hell, but I'm gonna try and consolidate everything I've worked out so far in one place. This all applies only to the T-Mobile variant (ie. it comes preloaded with all the T-Mobile bloatware) of the N200 on the T-Mobile network; and a Windows PC, where a PC is used (though I imagine the Mac/Linux commands are quite similar). This is more to gather the info in one place than to provide step-by-step instructions.

SIM/NETWORK UNLOCK

Before you can unlock the bootloader, the N200 needs to be SIM unlocked. The option to Enable OEM Unlock won't even show up in the developers options until then. A temporary SIM unlock won't work, it needs to be a permanent SIM unlock.

If your N200 is the T-Mobile variant, you can get it SIM unlocked free here (be sure to read the first post thoroughly to be sure you qualify):

https://xdaforums.com/t/t-mobile-us...ervice-oneplus-samsung-google-lg-moto.4231597

@mobbdeep had my SIM unlocked within 24 hours of sending him the required info.

You MUST have an active T-Mobile network (not Sprint or Metro) SIM card in the N200 for at least 3 full days before sending your SIM Unlock request in.

---

*edit-

An alternate is to use this debloat script:

https://xdaforums.com/t/found-a-chi...nabled-oem-unlocking-after-11-update.4306687/

Which should unlock the OEM Unlock option in the developer options.

This should work with non-T-Mobile variants of the N200 as well.

Thanks to @PopCaps1996 for pointing this option out.

---

*edit2-

Thanks to user @DeadDjembe we now know the specific command from the debloat script which enables OEM Unlocking.

adb shell pm uninstall --user 0 com.qualcomm.qti.uim

Running this ADB command on a stock T-Mobile variant N200 should enable the greyed-out Allow OEM Unlock option in the developers settings, without needing to run the full debloat script.

---

Once your N200 is SIM Unlocked, the Enable OEM Unlock option will show up in the developers options.

USB DRIVERS

You may need to use the Google USB Driver from Android Studio to allow your PC to recognize your phone when it's in fastboot mode.

Download Android Studio & App Tools - Android Developers

Android Studio provides app builders with an integrated development environment (IDE) optimized for Android apps. Download Android Studio today.

developer.android.com

Android Studio won't install the USB Drivers by default, you'll need to install them through the SDK Manager (Android Studio -> Projects -> More Actions -> SDK Manager -> SDK Tools -> Google USB Driver checkbox -> Apply)

You'll need to manually install the drivers through the device manager while the phone is in fastboot mode and connected to the PC (right-click -> Update Drivers -> Browse Computer -> Let Me Pick -> Have Disk).

The drivers should be located at:

C:\Users\[username]\AppData\Local\Android\Sdk\extras\google\usb_driver\android_winusb.inf

You'll want the 'Android Bootloader Interface' driver.

UNLOCK CODE/TOKEN

Once you can access your phone in fastboot mode, you can try:

'fastboot oem unlock'

But, you'll just get a message asking for an unlock token. Doesn't hurt to try, just in case, though.

What you need to do now, is type:

'fastboot oem get_unlock_code'

This will display both the phone's serial number, plus a 64 digit unlock code. (you might not be able to select the code to copy it, but a ctrl-a / ctrl-c should work, then just paste it in notepad)

Now, on your phone (still in fastboot mode) hit up/down on the volume buttons, until you see "Show Barcode", then tap the power button to select it.

This will bring up a barcode, as well as listing you devices IMEI number. (there are other ways to get the IMEI, but this is quick, and you're already right there)

Copy the IMEI down.

Now go to:

https://www.oneplus.com/unlock_token

You'll need to create an account.

In that form, you'll need to select the phone's model, and then enter the serial number, 64 digit unlock code (no spaces), the IMEI, and your email, as well as checking a box that you acknowledge that you void the warranty by bootloader unlocking the phone.

If all goes well, It should take about a week from submission for them to send you the unlock token.

------

I've just sent in my info an hour or two ago, and am now waiting for my unlock token.

I'll update this with what you need to do with the token once I've gotten mine and figure it out myself, lol.

------

Exactly 7 days (nearly to the minute) after sending the request in, I received the unlock code. So here's the update:

APPLYING THE UNLOCK CODE

You can use this URL to check the status of your Unlock Coed request:

unlock token - OnePlus (United States)

www.oneplus.com

Once your Status is listed as "Finished", there will be a download button at the lower right corner.

Download the "unlock_code.bin" file to your PC.

Place 'unlock_code.bin' in:

C:\Users\[user name]\AppData\Local\Android\Sdk\platform-tools\

Or where ever you have your fastboot.exe file.

If you don't know where it is, the command:

fastboot --version

will give your it's location.

Now in command line, navigate to the folder "fastboot.exe" and "unlock_code.bin" are located in. Get your phone connected via USB, and in fastboot mode, and use the following command:

fastboot flash cust-unlock unlock_code.bin

(Thanks to @lentm for posting this command)

After checking the output, to be sure it worked, use this command:

fastboot oem unlock

Follow the on-screen instructions on your phone to finish the bootloader unlock.