Hello Everyone,
This is going to be a detailed post regarding unlocking your OnePlus 9 Pro’s Bootloader for anyone who is new to this or just wants a reference guide.
Note : This is only for Global / Europe / Indian models [Non T Mobile]. Guide for T Mobile bootloader unlocking is present here
Things to know before unlocking Bootloader:
(Edit: Apparently, Unlocking Bootloader after 11.2.3.3 retains L1 but still YMMV) Your L1 license is downgraded to L3 while the bootloader remains unlocked on your device. If in future you wish to re-lock it then the L1 license is restored without any hassle and everything works just fine.
Some apps partially or completely stop working. 2 of the most noticeable apps I have noticed personally are Netflix and Google Pay. Netflix becomes no longer installable/updatable from Play Store but sideloading and using it works just fine (Apart from the L3 license), whereas Google Pay straight up often refuses to work even when Magisk isn’t installed.
Unlocking your bootloader will wipe your storage! Please keep this in mind before proceeding to unlock your bootloader.
OnePlus does not void your warranty if you choose to unlock your phone’s bootloader, so your warranty remains perfectly intact.
Pre-requisites:
A computer having the latest platform tools installed
OnePlus 9 Pro running on the latest available OxygenOS firmware
USB Cable
30+% of charge
Steps:
(Optional) Flash the latest OxygenOS Firmware twice on your device, to ensure that both the slots on your device are populated with the same latest firmware.
Go to Settings > About phone and tap on “Build Number” about 7 times to enable Developer Options
Go to Settings > System > Developer options and enable the toggle option saying “OEM unlocking”
Go to Settings > System > Developer options and enable the toggle option saying “USB debugging”
(Optional) Ensure that ADB is functioning properly.
Connect your device to your system
Wait for the drivers and other software to finish installing
Once your device is properly visible, open a new shell and type
Code:
adb devices
Your phone should be getting a prompt asking to allow USB debugging for your system, Tap Allow
Now
Code:
adb devices
should be listing your device serial number properly
Boot to Fastboot by either:
Typing the command
Code:
adb reboot bootloader
in a shell using adb
Powering off the phone and then pressing and holding Vol Up and Vol Down while pressing down Power in order to boot to Fastboot mode
Powering off the phone and then Pressing and holding Vol Down while pressing Power in order to boot to Recovery Mode first and then Rebooting to Bootloader through it
Enabling “Advanced Reboot” in developer options and choosing the Bootloader option in the power menu
Once in Bootloader, connect your device to your system and run
Code:
fastboot devices
. It should list your phone’s serial number along with the text ‘fastboot’ written next to it.
Now type in the command:
Code:
fastboot flashing unlock
Your phone’s screen should now be asking for confirmation regarding Bootloader Unlock. Use the volume keys to navigate to the “Proceed” option and using the Power Button to confirm
Your device should now begin formatting itself and would reboot soon
Congrats! You just unlocked your OnePlus 9 Pro!
At least 11.2.3.3 retains Widevine L1 even if you unlock bootloader.
Older version had L3 problem, though.
AndroPlus said:
At least 11.2.3.3 retains Widevine L1 even if you unlock bootloader.
Older version had L3 problem, though.
Click to expand...
Click to collapse
What variant do you have ? I unlocked bootloader on my Indian variant running 11.2.3.3 and I still lost L1
oddlyspaced said:
What variant do you have ? I unlocked bootloader on my Indian variant running 11.2.3.3 and I still lost L1
Click to expand...
Click to collapse
I unlock + magisk mine once updated to OOs 11.2.3.3 LE15BA and L1 state was maintained too
@oddlyspaced : As a side effect, once bootloader is unlocked, I've notice that adb command " adb reboot bootloader " isn't working anymore too.
Vol- + poweron combo still working to go there, and I can also use developer option to tick the Advanced Reboot too that have the same effect and allows to reboot whether in fastboot or recovery
Fre$h said:
@oddlyspaced : As a side effect, once bootloader is unlocked, I've notice that adb commande " adb reboot bootloader " isn't working anymore too.
Vol- + poweron combo still working to go there, and I can have use developer option to tick the Advanced Reboot too that have the same effect and allows to reboot whether in fastboot or recovery
Click to expand...
Click to collapse
That's pretty weird. On my end everything is standard. Maybe you should try relocking and unlocking if you don't care about L1. Who know's what might end up getting ****ed in software.
On BA (EU) I can confirm L1 after unlock.
Nah ^^ Advanced Reboot does the job, so I'll be fine with that
dreinulldrei said:
On BA (EU) I can confirm L1 after unlock.
Click to expand...
Click to collapse
OOO Seems like EU Builds don't lose L1. Can you confirm if 'adb reboot bootloader' is working for you or not ? That might lead to a conclusion regarding EU builds.
Never use ADB for this; but pressing Vol Up and Down while turning on does the same. And it works, as well as extended reboot option via power key.
To clarify: I also use Magisk and Magisk Hide, just in case this is of interest.
Still L1 on 11.2.2.2AA as well after unlocked.
Also never had a problem with adb reboot bootloader or fastboot commands.
I used the command 'fastboot oem unlock' and not 'fastboot flashing unlock' yet retained widevine L1 (11.2.2.2 global/magisk stable/lsposed)
FYI, When you install the OnePlus drivers, the platform tools get installed as well, to :
C:\Program Files (x86)\OnePlus USB Drivers\Android
I tried locking my 9pro's bootloader and the device got soft bricked and did not boot, so I had to unlock bootloader again in order to make it function. Surprisingly L1 is intact now! wow!
how unlock bootloader for coloros
avid_droid said:
I'm back on Oneplus and noticed that my OEM unlock is greyed out. Tmo variant.
Click to expand...
Click to collapse
See this guide for T-Mobile variant...
How To: Unlock the T-Mobile Bootloader
Hello all, this is a quick and simple guide to unlocking your T-Mobile locked bootloader. Just a reminder: unlocking the bootloader will wipe your data. The instructions here will apply to all T-Mobile OnePlus devices. Unlock your SIM. Some...
forum.xda-developers.com
I've updated the Guide to reflect on T Mobile bootloader unlock and modified the statement regarding L1.
Can I still return the phone after unlocking bootloader?
How do I relock bootloader?
Related
Hey guys,
can someone tell me if it's possible to downgrade the stock android pie version to stock oreo without rooting my device or unlock the bootloader?
I read some threads and posts but i'm not sure, because the information is disputed.
So can i flash the old stock android without getting a brick or getting stuck in edl-mode?
Thank you for your answers
Mansil234 said:
Hey guys,
can someone tell me if it's possible to downgrade the stock android pie version to stock oreo without rooting my device or unlock the bootloader?
I read some threads and posts but i'm not sure, because the information is disputed.
So can i flash the old stock android without getting a brick or getting stuck in edl-mode?
Thank you for your answers
Click to expand...
Click to collapse
Hello,
I think that it's not possible without unlocking bootloader. The unique solution is to enter in edl-mode but this is more dangerous than unlock the bootloader. Unlock bootloader is very simple and not dangerous, you are just going to loose all of your data but with a backup this is not a problem.
Root is not necessary for that, if you need help to do your downgrade with bootloader unlocking tell me !
I'm here if you have any question or if you need help !
Pierre
Flashing via EDL Mode only works with unlocked bootloader!
Unlock Bootloader will erasing all data (reset system)!
Pierre_C said:
Hello,
I think that it's not possible without unlocking bootloader. The unique solution is to enter in edl-mode but this is more dangerous than unlock the bootloader. Unlock bootloader is very simple and not dangerous, you are just going to loose all of your data but with a backup this is not a problem.
Root is not necessary for that, if you need help to do your downgrade with bootloader unlocking tell me !
I'm here if you have any question or if you need help !
Pierre
Click to expand...
Click to collapse
Can you send me the links for unlock bootloader and oreo firmware? I can't find them
ᵀᴴᴱK!D ᴼᴿᴵᴳᴵᴻᴬᴸ ツ™ said:
Can you send me the links for unlock bootloader and oreo firmware? I can't find them
Click to expand...
Click to collapse
I don't now the link but I can explain you the process.
/!\ This will erase all of your data !!
1) Enable developer options by going to Settings > About Phone, scroll down to Build number and tap 5-7 times to enable developer option.
2) Once you enabled the Developer Options. Returned back to Settings > Developer Options > USB Debugging and OEM Unlock. Just Enable there options.
At that time you have 2 option, official option and non-official version.
- Official Version,
This method require some days because you have to ask xiaomi to send you an unlock code.
You need Windows it doesn't work on Linux.
1) Go to http://en.miui.com/unlock, click on Unlock button on the webpage now you have to login and then proceed to tap on Download Mi Unlock from the resulting page.
2) Now, proceed to put your Xiaomi Mi A2 Lite into Fastboot mode by powering it on while holding Volume Down and Power buttons simultaneously. Hold until you see your phone is booted into Fastboot mode.
3) After the successful login, the validation process will start on your phone, and for the first time, you will get a message that “You don’t have the permission to Unlock the device”
4) Now click on the “Go” button or use Go to MIUI Unlock page to receive the unlocking permission.
5) Now click on the Unlock Now and log in with your Mi account details and fill all details.
6) You will get OTP for confirmation use it to complete the process.
7) Now wait until your application gets approved, you will receive the OTP password on your phone number once it’s approved.
8) Now Open the Mi Flash tool click on unlock and pass the two pop-up. Your device will be unlocked
Non-Official but simple version :
1) Proceed to put your Xiaomi Mi A2 Lite into Fastboot mode by powering it on while holding Volume Down and Power buttons simultaneously. Hold until you see your phone is booted into Fastboot
mode.
4) Download Miniamal ADB and fastboot in you are on windows, https://forum.xda-developers.com/showthread.php?t=2317790
If you are on linux use
Code:
sudo apt-get install fastboot
Code:
sudo apt-get install adb
3) On Windows in Minimal ADB and fastboot or on Linux on the terminal enter this command
Code:
fastboot oem unlock
4) Your phone will reboot, it's unlock !
PS: Sorry for my bad English
Pierre
PC295 said:
Flashing via EDL Mode only works with unlocked bootloader!
Unlock Bootloader will erasing all data (reset system)!
Click to expand...
Click to collapse
Actually you could avoid the erasing data
When you get in to fastboot mode
hold to volume down button before and write "fastboot oem unlock" code
dont release until phone shows mi logo at the startup
Hello,
So today I wanted to install a Magisk module, after rebooting, it got me to a bootloop, I erased ALL DATA on adb mode (power botton and volume up). then started all over.
But the Bootloader was still unlocked (because before, I had root), The febuary update was impossible to install, so I thought, maybe locking the OEM may fix it, so I tried tool called " TOOL ALL IN ONE " that claims to have full support for my device.
After trying to OEM Lock, I get a friendly greeting that says " System has been destroyed " .
Trying to go back into ADB mode isn't working.
I have no idea if the OEM was locked, nor how to fix the phone.
I've heard of Mi Flash, but will it work on a Android One device? if so, PLEASE provide me with how to do so (in a noobie friendly way if possible)
If it'll help, I'm running on Pie with January update. No TWRP/Magisk. no current Root access.
UPDATE: I wanted to wait for an answer from you guys but I took a leap of faith and typed " fastboot oem unlock " and the phone was unlocked (showing unlocked on Android One boot screen). That got the system to start a boot! But I think it's bootlooping now. I tried entering ADB mode and I was succefully able to! then I selected to delete all data ( This helped me before to fix the bootloop ). then rebooted.
and right while I am typing this. I see a beautiful Hi there sign!!!
Bois, The phone is up and Running!!! but with all data now gone (ofc).
But still, The OEM is unlocked, Can you please recommend me a proper way to lock it?
Install dump ota febuary update in fastboot
Vitor00 said:
Install dump ota febuary update in fastboot
Click to expand...
Click to collapse
How do I do that? in a noobie way please.
wynix black said:
How do I do that? in a noobie way please.
Click to expand...
Click to collapse
Download adb and fastboot.>>>>https://androiddatahost.com/uq6us
Download ota dump>>>>>https://drive.google.com/file/d/1SZ3rOyaViNZyUzoZDbueqMAJ_Q5vKLA1/view
install adb and fastboot, and paste files from ota in the folder of adb and fastboot
open adb and fastboot and paste the commands one by one>>>>>>https://drive.google.com/open?id=1oxRLyX1x4gAQga5vwn1epHrjqtitDWRB
EDIT: To lock bootloader again, paste "fastboot oem lock" in adb and fastboot
Vitor00 said:
Download adb and fastboot.>>>>
Download ota dump>>>>>
install adb and fastboot, and paste files from ota in the folder of adb and fastboot
open adb and fastboot and paste the commands one by one>>>>>>
EDIT: To lock bootloader again, paste "fastboot oem lock" in adb and fastboot
Click to expand...
Click to collapse
Is the "ota dump" is on February update?
can I auto update easily after this or will I have to install the ota(s) manually in the future?
Are you sure that locking the oem after installing the ota won't give a system has been destroyed?
and finally, is it possible to enable Camera 2 API in the middle of the operation? Before locking the oem.
Many thanks!
Vitor00 said:
Install dump ota febuary update in fastboot
Click to expand...
Click to collapse
Vitor00 said:
Download adb and fastboot.>>>>https://androiddatahost.com/uq6us
install adb and fastboot, and paste files from ota in the folder of adb and fastboot
open adb and fastboot and paste the commands one by one
EDIT: To lock bootloader again, paste "fastboot oem lock" in adb and fastboot
Click to expand...
Click to collapse
I extracted the OTA_DAIZY.zip that you provided in the folder of minimal adb and fastboot, then typed the first command (the bluetooth one) in cmd while the phone is in Fastboot mode, CMD says " error canont load 'bluetooth.img' : no such file or directory"
please, how do I exactly " paste files from ota in the folder of adb and fastboot " ?
You can use MiFlash on this phone and not get your hands dirty with the method mentioned above. Grab the latest available stock ROM from here: https://en.miui.com/download-354.html
Download MiFlash(latest if possible). Turn off the phone and go to fastboot mode (vol down + power). Connect the phone to PC. Open MiFlash and select ROM location then click refresh, your device should be seen now. On the bottom you have options choose one then click start. DON'T interrupt the process when it's flashing.
marstonpear said:
You can use MiFlash on this phone and not get your hands dirty with the method mentioned above. Grab the latest available stock ROM from here:
Download MiFlash(latest if possible). Turn off the phone and go to fastboot mode (vol down + power). Connect the phone to PC. Open MiFlash and select ROM location then click refresh, your device should be seen now. On the bottom you have options choose one then click start. DON'T interrupt the process when it's flashing.
Click to expand...
Click to collapse
Thank you, I'm currently dowloading the stock ROM from the link you provided.
I have some questions about this,
1-you mentioned the options at the bottom, can you explain every one of them, is it as good as it sounds? one of the options is " save user data " of course i'd prefer to save my data IF it's possible and won't ruin the procces. does the "clean data and lock" can result in the System has been destroyed sign? because currently, even if i have a fresh clean all data on my phone, whenever i try to lock the bootloader (from my pc) it says system has been destroyed, If yes, will updates work fine via the settings thing or I will have to do this manually anyways? in other words, will having the oem locked give me any benefits? I'm not intrested in any warrenty/security thing.
2- if I had Magisk with root, and some of it's modules and maybe Camera 2 API enabled and I installed an update rom using Mi Flash, are they going to be deleted?
3-will this rom replace the original that i have on my phone? and my og one will be perma deleted? if I deleted all data after this procces, will it take me to a fresh instalation of this rom? or the one I had before?
4- will my phone remain unlocked after using Mi Flash with the first two options in the bottom (not "clean all and lock" ) ?
I really apologize for asking so many questions!
1- you can try save user data but the phone may not boot, I don't know the reason but I had bricked mine once and tried to flash the stock and save my data, somehow it didn't work. Try it for yourself and if it doesn't boot, flash the ROM again via MiFlash and select clean all and lock. Clean all and lock basically cleans the device, returns it to stock ROM and locks the bootloader, makes your device basically unused, you will have to set it up from scratch. If you use the clean all and lock or the clean all option, phone will boot normally and you can have updates without any problems. Locked bootloader means you can't do any changes to partitions of the device, which is good if you're not planning on rooting etc. You can have updates with either locked or unlocked BL unless of course you haven't tampered with the partitions of the device. I like locked BL because when you unlock the BL it shows another screen when booting, which I personally don't like.
2-MiFlash returns everything to stock, you will definitely lose magisk and root and the modules you installed on Magisk because using MiFlash flashes the original boot.img which makes Magisk useless. You can however get temporary root access and enable cam2API via ADB then lock the bootloader but you need to be careful with the process because you may lose your data (Locking/Unlocking BL erases all data but there's a way to bypass that)
3-As of now, the link I provided has the 10.0.3.0 (january update), if you've downloaded it your phone will install stock(from xiaomi) Pie ROM with January security patches. I forgot to write this update has issues with SIM (reverses SIM1 to SIM2) so I suggest grabbing V10.0.2.0.PDLMIFJ (Fastboot image) from here: https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913 then flashing it via MiFlash then updating to newer versions through settings.
4- if you choose "save user data" or "clean all" your phone will stay unlocked, if you choose "clean all and lock" you will have a locked bootloader. :good:
marstonpear said:
1- you can try save user data but the phone may not boot, I don't know the reason but I had bricked mine once and tried to flash the stock and save my data, somehow it didn't work. Try it for yourself and if it doesn't boot, flash the ROM again via MiFlash and select clean all and lock. Clean all and lock basically cleans the device, returns it to stock ROM and locks the bootloader, makes your device basically unused, you will have to set it up from scratch. If you use the clean all and lock or the clean all option, phone will boot normally and you can have updates without any problems. Locked bootloader means you can't do any changes to partitions of the device, which is good if you're not planning on rooting etc. You can have updates with either locked or unlocked BL unless of course you haven't tampered with the partitions of the device. I like locked BL because when you unlock the BL it shows another screen when booting, which I personally don't like.
2-MiFlash returns everything to stock, you will definitely lose magisk and root and the modules you installed on Magisk because using MiFlash flashes the original boot.img which makes Magisk useless. You can however get temporary root access and enable cam2API via ADB then lock the bootloader but you need to be careful with the process because you may lose your data (Locking/Unlocking BL erases all data but there's a way to bypass that)
3-As of now, the link I provided has the 10.0.3.0 (january update), if you've downloaded it your phone will install stock(from xiaomi) Pie ROM with January security patches. I forgot to write this update has issues with SIM (reverses SIM1 to SIM2) so I suggest grabbing V10.0.2.0.PDLMIFJ (Fastboot image) from here: https://forum.xda-developers.com/mi-a2-lite/how-to/ota-v9-6-4-0-odlmiff-t3823913 then flashing it via MiFlash then updating to newer versions through settings.
4- if you choose "save user data" or "clean all" your phone will stay unlocked, if you choose "clean all and lock" you will have a locked bootloader. :good:
Click to expand...
Click to collapse
Thank you so much for the helpful answers!
So I flashed my phone with the first link you provided ( January update ) using Mi Flash and the option to save user data, It worked perfectly fine. not just that, but I was Finally able to get the February update using the option in the settings, I'm not aware of the SIM problem you mentioned, but i'm not experiencing any major bugs right now.
I want to get camera 2 API but I'll wait till March update to bring it ( if it exists, and launched within the first 10 days ). If the March update didn't carry with Camera 2 API enabled, I'll have to do it myself.
One last question please, How to enable the cam 2 API without magisk or touching something that may stop the built-in updater from installing? how to make it (and maybe Magisk too) survive flashing an OTA?. Will the option "save user data" protect them from getting Snapped™ ?
wynix black said:
Thank you so much for the helpful answers!
So I flashed my phone with the first link you provided ( January update ) using Mi Flash and the option to save user data, It worked perfectly fine. not just that, but I was Finally able to get the February update using the option in the settings, I'm not aware of the SIM problem you mentioned, but i'm not experiencing any major bugs right now.
I want to get camera 2 API but I'll wait till March update to bring it ( if it exists, and launched within the first 10 days ). If the March update didn't carry with Camera 2 API enabled, I'll have to do it myself.
One last question please, How to enable the cam 2 API without magisk or touching something that may stop the built-in updater from installing? how to make it (and maybe Magisk too) survive flashing an OTA?. Will the option "save user data" protect them from getting Snapped™ ?
Click to expand...
Click to collapse
I don't think Xiaomi will ever let this phone have Cam2API. They even broke GCam functionality on Pie update (on Oreo Gcam worked fine but now every Gcam has focus issues). Follow this topic to have Magisk and keep it after updates: https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952 Follow this topic to have Cam2API enabled if you don't want root/Magisk: https://forum.xda-developers.com/mi-a2-lite/how-to/guide-how-to-enable-camera2-api-t3851414 :good:
I'm only used to using TWRP so I haven't done it any other way before, is there any easy methods to root the phone. I have tried with adb but I can never seem to copy files onto it.
Have you read any of the other threads??
[GUIDE] [Magisk] [Unlock / ROOT / Keep Root] OOS 13.1.0.500
Different variants of Magisk that are available for use : Magisk Variant Stable / Beta / Canary Release Official Android / OOS OOS 11 and above Maintainer topjohnwu Project Link GitHub Zygisk No...
forum.xda-developers.com
Bunecarera said:
Have you read any of the other threads??
Click to expand...
Click to collapse
Yeah I've tried one of the threads that includes ADB, is there any other way of doing it?
No.
You can follow my guide here or visit the thread linked above and use fastboot to boot from the rooted boot image. It's really not that difficult as long as you follow the directions properly.
You need to have unlocked your bootloader first but that's always the case.
Hi my friend you just need to unlock bootloader and flash magic zip with the help of fastboot link for magic is below the text. If you do not know how then I can just guide you. Install magic apk v22. Open settings and then select about phone, then press a lot of times where it says build number. Now open developer options and enable usb debugging, oem unlock and advance booting. Now hold down the power button, now comes any choice options select fastboot. Once you are booted into fastboot mode, connect your phone to your PC. Install adb and fastboot tools if you do not already have. Open the folder with fastboot and adb and then press at the top, write cmd. Now a cmd window will appear. Write (fastboot devices), to make sure your phone is connected properly. Now it's time to unlock bootloader. Write the following, (fastboot oem unlock) you now chess like success full unlocked. A warning will appear on your phone if you are sure you want to confirm unlocking. Press yes. (if your touch does not work then use the volume buttons to select up and down. Once you have selected, press the power button and done. Now your phone will reset itself. Set your phone quickly and from select frp lock. Activate fastboot again and open cmd with fastboot Flash now magically via fastboot and reboot.Enjoy your root.
Prep
Download Android SDK
Enable Developer Options
Enable USB Debugging mode (Optional)
Enable OEM Unlocking
Info Needed
IMEI number
Dial
Code:
*#06#
Serial # (also listed with unlock code step)
Settings/About Phone/Status/Serial number
Unlock Code from bootloader/fastboot mode
Enter Fastboot mode (2 options)
USB Debugging (adb reboot bootloader)
from Power Off or Reboot
Fastboot command
Code:
fastboot oem get_unlock_code
OnePlus Site
https://account.oneplus.com/signup/
Create an Account
Oneplus/T-mobile Unlock Bootloader Page
https://www.oneplus.com/unlock_token
Enter Device info
Note: It took OnePlus 7 days to send my Unlock token
Send unlock Token to Device
Reboot to bootloader/fastboot
Send Unlock Token (Use full Filename)
Code:
fastboot flash cust-unlock unlock_token.bin
Unlock Bootloader
Code:
fastboot oem unlock
Confirm unlock
Select Unlock the bootloader
Scroll with the Volume button
Select with the Power button
Warning: Device will reboot and factory reset (wipe user data)
Options
Root
Root N10 5G using Magisk for factory stock
More
https://forum.xda-developers.com/t/oneplus-nord-n10-5g-hardware-variants.4221237/
Oneplus Nord N10 5G hardware variants
Does anyone have the full list of hardware variants? BE2025 - Metro, maybe t-mobile? Be2026 - NA BE2028 - EU? BE2029 - Global I bought the BE2026 straight from oneplus in the US and realized that the situation isn't quite like it is with the...
forum.xda-developers.com
Credits
How to Unlock Bootloader on OnePlus (Unlocked / T-Mobile)
Here is a complete walk-through and guide on how to unlock bootloader on OnePlus phones. Whether you are looking to install a custom ROM or trying to root
teamandroid.com
Reboot to Bootloader/Fastboot
Reboot or Power Off
Hold Volume Up and Power Buttons
Select Restart
When the screen goes black
Hold the Volume Down button till you see the language screen
Select your language (English) with touch or Scroll (volume buttons) Select (Power button)
Select Advanced
Select Reboot to fastboot
Confirm Reboot to fastboot
Enable Developer Options
Select Settings/About phone/Build number
Tap Build number till you see
You are now a developer!
Go back to the Settings page
Select System
Developer Options will now be available.
Enable USB Debugging mode
Enable OEM Unlocking
Unlock Code from bootloader/fastboot mode
Screenshots
I was able to get the OEM unlock toggle to show after running a debloat script in another thread. I applied for my token so I'm super stoked for finally getting to unlock. I planned to make a toolkit for this device as well written in Python
So I was able to finally unlocky bootloader now that I have my token. I tried to install a custom ROM, followed the steps exactly, and upon ADB failing at 47% on the side load I reboot to get into fastboot and ended up in 900E mode (semi-brick state). I flashed stock in EDL and reunlocked again... This time I switch the slot from a to b and it did this same thing again! I'm not even sure why this happens if others haven't experienced it
Looks like I'll be sticking with stock root. Trying to flash any rom via adb sideload as shown in the instructions fails at 47%. After trying to reboot to bootloader after that it just semi-bricks. Trying to switch slots after unlocked also causes it to brick. I'm sorry, but this pisses me off a little bit. I'm not sure how others aren't running into this issue.
EDIT:
Turns out because I didn't take the OTA to Android 11 that's what caused it. It was because of the Android 10 bootloader. All is working finally! I'm truly sorry for the troubles..
Does this work with Metro By T-Mobile OnePlus Nord N10 5g?
So, I'm a little confused. The unlock code from fast boot, is it both lines as a single code? I tried to submit like that and the oneplus page says must be 64 characters. What am I missing?
nkolvek said:
So, I'm a little confused. The unlock code from fast boot, is it both lines as a single code? I tried to submit like that and the oneplus page says must be 64 characters. What am I missing?
Click to expand...
Click to collapse
Yes the unlock code is both lines put together with no spaces. Make sure all the 0 are zeros. I would triple check that you copied the code down right. The code should be 64 characters long. I had trouble with the unlock token link not working so I had to contact the Oneplus support on their website. To save you time I would find your serial number, unlock code, Imei number and your PCB number. This way you don't have to do the back and forth that I had to do for over a month. Even if they don't ask for it, just give them the info, it should save you time. Or if you are tech savvy I believe you can flash a different version of your phone to bypass the need for a unlock token. You might also try to send a direct message to an active senior member in one of these N10 forums. Good luck
My Poco F3 is Global, but I've heard people say that re-locking global results into a brick. Is this true? I want to go back to stock MIUI and re-lock my phone.
Read this thread. https://forum.xda-developers.com/t/how-to-flash-a-stock-rom-alioth.4355797/
Yeah you can download a Fastboot ROM from xiaomifirmwareupdater.com & flash it through Mi Flash. By default Mi Flash will lock your bootloader.
But be careful to choose the right ROM for the right region & that the USB connection is stable.
Flashing ROMs is dangerous. Speaking from experience ...
Actually l unlocked Mi6x bootloader but didnt installed/flashed anything. It has China ROM. How to re-lock it?
sunny155 said:
Actually l unlocked Mi6x bootloader but didnt installed/flashed anything. It has China ROM. How to re-lock it?
Click to expand...
Click to collapse
"fastboot oem lock" in fastboot mode locks the bootloader.
This will also wipe your phone, so proceed accordingly.
Thank you! Worked perfectly
user0u said:
"fastboot oem lock" in fastboot mode locks the bootloader.
This will also wipe your phone, so proceed accordingly.
Click to expand...
Click to collapse
HI,
I would like to relock the bootloader on my Xiaomi Mi9T Pro and it's not a problem to lose the data because I changed my phone and transferred everything.
I already turned off find device and signed out Xiaomi account.
I just boot the phone in fastboot mode and digital on command prompt "fastboot oem lock"?
Does the phone restart by itself formatting everything?
I have the original ROM, TWRP and I don't have root.
Let me know if I've forgotten anything.
A thousand thanks.
bricca said:
HI,
I would like to relock the bootloader on my Xiaomi Mi9T Pro and it's not a problem to lose...
Click to expand...
Click to collapse
Yes, you can do that. The phone does everything itself after you enter the command.
Also remove your password. I don't know if it has any effect on anything but I remove it just in case.
You'll need to go out a number of actions in order to restore stock MIUI and lock the bootloader on your Xiaomi device. Please be aware that depending on the precise model of your Xiaomi gadget, these instructions may differ somewhat. If you follow them wrong, you risk bricking your device or encountering other problems. Be sure to move cautiously and pay close attention to the directions. Here is an overview:
Backup your data: Before continuing, make sure that all of your vital data has been backed up, since the operation might delete your device.
Download the MIUI stock ROM here: To locate the stock MIUI ROM for your particular smartphone model, go to the MIUI website or the Xiaomi forums. Your computer should download the ROM.
On your Xiaomi handset, go to Settings > About phone and repeatedly touch on the MIUI version to activate Developer options. This will allow USB debugging. Then, enable USB debugging by going to Settings > Additional settings > Developer options.
Unlock bootloader (if locked): If the bootloader on your device is locked, you must do so first. Visit the Xiaomi unlocking page and follow the steps there to accomplish this. Please be aware that removing the bootloader will erase all of the data on your device.
Install ADB and Fastboot: Install the Android Debug Bridge (ADB) and the Fastboot software on your PC. The platform tools are available for download from the official Android developer website.
To enter Fastboot mode on your Xiaomi smartphone, turn it off, then hold down the Power and Volume Down buttons at the same time until the Fastboot logo appears on the screen.
Connect your device to the computer: To connect your Xiaomi gadget to the computer, use a USB cord.
Flash the MIUI stock ROM: Go to the directory where the ADB and Fastboot utilities were installed on your computer by opening a command prompt or terminal window and selecting it. To see if your device is recognised, use the command: Continue to the next step if your device is listed. If not, check to see if the right drivers are installed.