Unable to Unlock Bootloader on OxygenOS 2.2.0 - OnePlus X Q&A, Help & Troubleshooting

When i do the "fastboot oem unlock" command my phone won't reboot? is that okay or how can i get it to reboot and unlock bootloader?
With "fastboot oem device-info" command i get
-Device tampeered: false
-Device unlocked: true
-Charger scren enabled: false
OPX[E1001]
OxygenOS Version 2.2.0

Ahmedmukhtar1133 said:
When i do the "fastboot oem unlock" command my phone won't reboot? is that okay or how can i get it to reboot and unlock bootloader?
With "fastboot oem device-info" command i get
-Device tampeered: false
-Device unlocked: true
-Charger scren enabled: false
OPX[E1001]
OxygenOS Version 2.2.0
Click to expand...
Click to collapse
as per your post you already have unlocked bootloader..
once you've unlocked it before you don't need to unlock it again.
if however you want it to reboot and wipe everything then use the command
fastboot oem lock then fastboot oem unlock

5star02707 said:
as per your post you already have unlocked bootloader..
once you've unlocked it before you don't need to unlock it again.
if however you want it to reboot and wipe everything then use the command
fastboot oem lock then fastboot oem unlock
Click to expand...
Click to collapse
No it's not unlocked, because I'm unable to flash twrp recovery. It show "Your device is locked".

Ahmedmukhtar1133 said:
When i do the "fastboot oem unlock" command my phone won't reboot? is that okay or how can i get it to reboot and unlock bootloader?
With "fastboot oem device-info" command i get
-Device tampeered: false
-Device unlocked: true
-Charger scren enabled: false
OPX[E1001]
OxygenOS Version 2.2.0
Click to expand...
Click to collapse
Ahmedmukhtar1133 said:
No it's not unlocked, because I'm unable to flash twrp recovery. It show "Your device is locked".
Click to expand...
Click to collapse
use this TWRP
http://forum.xda-developers.com/devdb/project/dl/?id=16464
Also go to developers option in settings and tick the OEM unlocking should be highlighted

solution
Ahmedmukhtar1133 said:
No it's not unlocked, because I'm unable to flash twrp recovery. It show "Your device is locked".
Click to expand...
Click to collapse
I had same problem, first do a fastboot oem lock than fastboot oem unlock and will 100% work!!!

I had same problem earlier. The issue is i had twrp recovery. I flashed twrp using flashify. So to unlocked you need to have default recovery. Not sure if this helps

if you still having issues, http://forum.xda-developers.com/oneplus-x/general/guide-mega-unbrick-guide-hard-bricked-t3272108 - this will fully restock your recovery and os. as it came from the box. than go for unlocking(dont forget to turn on development oem unlock)

Related

[Q] Problem to flash ruu

hi I have an htc evo 3d gsm . i relock with this "fastboot oem writesecureflag 3"
I restored the device whith this guide:
http://forum.xda-developers.com/showthread.php?p=25501212
now the devices , if I plug the cable on pc turns on in fastboot.
HBOOT-1.49.0007
RADIO-11.25.3504_06_M
How do I flash a ruu ?what exactly?
If you have unlocked bootloader you must relock it first to flash ruu. Command for that: fastboot oem lock. After that you should be able to flash ruu.
Command fastboot oem writesecureflag 3 is for making S-on.
dont use that command with unsigned bootloaders or you'll brick your device!
c000ler said:
If you have unlocked bootloader you must relock it first to flash ruu. Command for that: fastboot oem lock. After that you should be able to flash ruu.
Command fastboot oem writesecureflag 3 is for making S-on.
Click to expand...
Click to collapse
But the device's bootloader is locked
jackebbe said:
But the device's bootloader is locked
Click to expand...
Click to collapse
man

Question regarding relocking bootloader

Today i finally unlocked my bootloader officially...
My doubt is that,
1. How to relock bootloader.
2. If it is relocked, how to unlock it again.
Same question
the same Question ?
Any answers??​
asrupesh said:
Today i finally unlocked my bootloader officially...
My doubt is that,
1. How to relock bootloader.
2. If it is relocked, how to unlock it again.
Click to expand...
Click to collapse
To relock the bootloader, just flash an official miui fastboot rom via miflash and you're done....
If you have unlocked officially, you can just unlock your bootloader anytime without asking permission from xiaomi again...
If you have unlocked your device unofficially, repeat the steps you did for unlocking your device or unlock officially.....
ayush321 said:
To relock the bootloader, just flash an official miui fastboot rom via miflash and you're done....
If you have unlocked officially, you can just unlock your bootloader anytime without asking permission from xiaomi again...
If you have unlocked your device unofficially, repeat the steps you did for unlocking your device or unlock officially.....
Click to expand...
Click to collapse
Thanks for replying today i flash miui stock fastboot via miflash and checked using this code "fastboot oem device-info"
it still shows "device unlocked= true"
it didint relock my bootloder....
asrupesh said:
Thanks for replying today i flash miui stock fastboot via miflash and checked using this code "fastboot oem device-info"
it still shows "device unlocked= true"
it didint relock my bootloder....
Click to expand...
Click to collapse
can you try with fastboot oem lock?
rajneeshk said:
can you try with fastboot oem lock?
Click to expand...
Click to collapse
Sorry dude I can't, I dont want to risk it....
asrupesh said:
Today i finally unlocked my bootloader officially...
My doubt is that,
1. How to relock bootloader.
2. If it is relocked, how to unlock it again.
Click to expand...
Click to collapse
I see many asking how to Relock Bootloader, especially those who had unlocked unofficially.
http://forum.xda-developers.com/showpost.php?p=66962198&postcount=7
The steps to be followed are following:
(1) Turn on USB debugging for your phone;
Go to Settings -- About Phone --> Touch 7 times on "MIUI version" to Enable Developer Options.
Now go to Settings - Additional Settings - Developer Options --> USB debugging.
Enable USB Debugging and Connect to PC.
(2) Download Fastboot ROM (file extension .tgz or .tar) from
Code:
http://en.miui.com/a-234.html
(3) Boot into EDL
adb devices (to check it's connected)
adb reboot edl
(4) Use MI Flash Tool to Flash the Fastboot ROM
One done it will be locked... To relock follow same steps as done earlier - either official or unofficial

Not sure if bootloader unlocked

So I did all the commands (fastboot oem unlock and fastboot getvar unlocked) when I enter the second command it says yes it is unlocked but when I reboot the phone there is no corruption error, is it really unlocked?
Nevermind, when I did the tot method for root after I did it I got the error so all is good

how to relock bootloader on black shark

to relock the bootloader I tried the "fastboot flashing lock" command without quotes via adb pc fastboot the device will ask you to reset the system once you start the phone go to the developer settings and deactivate the 'unlock oem' check then restart and play original device is made for future joyui11
babboooo said:
to relock the bootloader I tried the "fastboot flashing lock" command without quotes via adb pc fastboot the device will ask you to reset the system once you start the phone go to the developer settings and deactivate the 'unlock oem' check then restart and play original device is made for future joyui11
Click to expand...
Click to collapse
This is work?
babboooo said:
to relock the bootloader I tried the "fastboot flashing lock" command without quotes via adb pc fastboot the device will ask you to reset the system once you start the phone go to the developer settings and deactivate the 'unlock oem' check then restart and play original device is made for future joyui11
Click to expand...
Click to collapse
Can you give step by step for us noobs?
Lekauseni said:
Can you give step by step for us noobs?
Click to expand...
Click to collapse
1.enter fastboot
2.adb inout fastboot flashing lock
3.rec you drvice
4.enter your device system to developer settings,turn down the OEM
5.reboot
Wanna ask if i already flash twrp as recovery would this step pass to relock bootloader?
satoririto said:
1.enter fastboot
2.adb inout fastboot flashing lock
3.rec you drvice
4.enter your device system to developer settings,turn down the OEM
5.reboot
Click to expand...
Click to collapse
Can you tell step by step?
After my bs2 enters boots mode the system doesn't not recognize again.... It give error waiting for any devices

[QUESTION] How to unlock bootloader when stuck in Fastboot mode?

My bootloader is locked, and I can't unlock the bootloader because I can't get out of Fastboot mode. I can't recover my device now. (Xiaomi Mi A3)
Does anyone know how to unlock a bootloader when it is in this state?
fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
OKAY [ 0.007s]
finished. total time: 0.008s
Trying to flash recovery (fastboot flash recovery twrp.img
target reported max download size of 804261888 bytes
sending 'recovery' (4560 KB)...
OKAY [ 0.108s]
writing 'recovery'...
FAILED (remote: Flashing is not allowed in Lock State)
finished. total time: 0.114s
BUMP
fastboot oem unlock should work
EDIT: did some research and yes your able to just run fastboot oem unlock and the device will take action from there. To be on the safe side also run fastboot oem unlock_critical as well to avoid issues
After doing so the device will be wiped and reboot. From there you can go back to fastboot and run:
fastboot flash recovery twrp.img
TheExploitedOne said:
fastboot oem unlock should work
EDIT: did some research and yes your able to just run fastboot oem unlock and the device will take action from there. To be on the safe side also run fastboot oem unlock_critical as well to avoid issues
After doing so the device will be wiped and reboot. From there you can go back to fastboot and run:
fastboot flash recovery twrp.img
Click to expand...
Click to collapse
D:\Desktop\Root>fastboot oem unlock
...
FAILED (remote: unknown command)
finished. total time: 0.002s
@Zelyr
When it comes to flash a Custom Recovery, a Custom ROM or patched boot then you have to disable dm-verity/AVB at before
jwoegerbauer said:
@Zelyr
When it comes to flash a Custom Recovery, a Custom ROM or patched boot then you have to disable dm-verity/AVB at before.
Click to expand...
Click to collapse
How do I do that?
Zelyr said:
How do I do that?
Click to expand...
Click to collapse
Leave Fastboot mode
Code:
fastboot reboot
Then
Code:
adb devices
adb disable dm-verity
adb reboot
FYI: adb disable dm-verity will work only with adb version 1.0.33 and above
EDIT:
the command was fastboot flashing unlock my bad! Try that and let me know if it works please!
Also run this:
fastboot flashing unlock_critical
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
Code:
adb devices
adb shell "getprop ro.oem_unlock_supported"
If returned value is 1, then it's supported otherwise it's not.
jwoegerbauer said:
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
If returned value is 1, then it's supported otherwise it's not.
Click to expand...
Click to collapse
I had just had a look and yes indeed he's good to unlock
TheExploitedOne said:
EDIT:
the command was fastboot flashing unlock my bad! Try that and let me know if it works please!
Also run this:
fastboot flashing unlock_critical
Click to expand...
Click to collapse
fastboot flashing unlock
Code:
...
FAILED (remote: Flashing Unlock is not allowed
)
finished. total time: 0.003s
fastboot flashing unlock_critical
Code:
...
FAILED (remote: Flashing Unlock is not allowed
)
finished. total time: 0.003s
jwoegerbauer said:
Leave Fastboot mode
Code:
fastboot reboot
Then
Code:
adb devices
adb disable dm-verity
adb reboot
FYI: adb disable dm-verity will work only with adb version 1.0.33 and above
Click to expand...
Click to collapse
doing adb devices shows no devices
Edit: I also can't leave fastboot mode
Zelyr said:
Leave Fastboot mode
Then
doing adb devices shows no devices
Edit: I also can't leave fastboot mode
Click to expand...
Click to collapse
Seems your device was disabled from being able to unlock even though it clearly shows though my research it can be.. I've got a tethered was to do it but I'm not going to go that advanced with you here
jwoegerbauer said:
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
Code:
adb devices
adb shell "getprop ro.oem_unlock_supported"
If returned value is 1, then it's supported otherwise it's not.
Click to expand...
Click to collapse
Weirdly enough it does return as 1
Zelyr said:
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
Weirdly enough it does return as 1
Click to expand...
Click to collapse
Last case is to modify the devcfg binary and flip the lock bit and reflash through EDL
TheExploitedOne said:
Last case is to modify the devcfg binary and flip the lock bit and reflash through EDL
Click to expand...
Click to collapse
Please tell me how
oHi, did you manage to solve it? I have the same problem

Categories

Resources