By mistake i did Relock my device .
What command is use to unlock again my fastboot.
Now my device doesn't have any recovery and rom after i flashed hboot 2.49 in my device
When it is in fastboot type fastboot oem unlock in cmd
Sent from my HTC One_M8 using XDA Free mobile app
admax30 said:
When it is in fastboot type fastboot oem unlock in cmd
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
it gives error in this command
and when i type fastboot oem lock it tells already locked
Anshumanabhishek said:
it gives error in this command
and when i type fastboot oem lock it tells already locked
Click to expand...
Click to collapse
if you want it unlocked type fastboot oem unlock
Related
I don't have a backup, I installed CM11 and then locked the bootloader but now it won't boot and is stuck in the Fastboot menu. When I type "fastboot oem unlock" it says command error!!
lewiskay13 said:
I don't have a backup, I installed CM11 and then locked the bootloader but now it won't boot and is stuck in the Fastboot menu. When I type "fastboot oem unlock" it says command error!!
Click to expand...
Click to collapse
It's because you are entering the wrong command. "fastboot oem unlock" is used on nexus devices. The command you will have to use to unlock is this, keeping the unlock token you got from HTCDev in the same directory as the fastboot binary
Code:
fastboot flash unlock token Unlock_code.bin
lewiskay13 said:
I don't have a backup, I installed CM11 and then locked the bootloader but now it won't boot and is stuck in the Fastboot menu. When I type "fastboot oem unlock" it says command error!!
Click to expand...
Click to collapse
you cannot lock bootloader after installing custom system as it wont detect the system.
Hi. I am trying to lock my bootloader and delete the warning of unlocked bootloader. When I try to do "fastboot flashing lock" it gives me "permission denied". I think because of "Oem Unlock". My device is Asus ZE620KL(Snapdragon)and I couldn't find anything about this. When I search only thing I could find is "how to enable on Galaxy devices". I am willing to remove only unlocked bootloader warning but "in /dev/block/bootdevice/by-name/" there is no logo file. I hoped I could at least open splash and look inside of it but I couldn't even open with any tool or extract. For any help thank you.
emincangencer said:
Hi. I am trying to lock my bootloader and delete the warning of unlocked bootloader. When I try to do "fastboot flashing lock" it gives me "permission denied". I think because of "Oem Unlock". My device is Asus ZE620KL(Snapdragon)and I couldn't find anything about this. When I search only thing I could find is "how to enable on Galaxy devices". I am willing to remove only unlocked bootloader warning but "in /dev/block/bootdevice/by-name/" there is no logo file. I hoped I could at least open splash and look inside of it but I couldn't even open with any tool or extract. For any help thank you.
Click to expand...
Click to collapse
For real lock bootloader so you need flash STOCK ROM.
For unmessage in bootloader Try:
Code:
fastboot oem lock
This need good adb-fastboot tool & drivers. Depend of OS of your PC too.
Sent from my BLU Tank Xtreme Pro using XDA Labs
lopestom said:
For real lock bootloader so you need flash STOCK ROM.
For unmessage in bootloader Try:
Code:
fastboot oem lock
This need good adb-fastboot tool & drivers. Depend of OS of your PC too.
Sent from my BLU Tank Xtreme Pro using XDA Labs
Click to expand...
Click to collapse
"fastboot oem lock" gives "unkown command" error.
"fastboot flashing lock" gives "permission denied" error.
My adb-fastboot and usb drivers works well. I can do every other commends but not these.
emincangencer said:
"fastboot oem lock" gives "unkown command" error.
"fastboot flashing lock" gives "permission denied" error.
My adb-fastboot and usb drivers works well. I can do every other commends but not these.
Click to expand...
Click to collapse
Can you please details about adb-fastboot tool&version?
What OS installed in your PC?
Maybe if your not have this so try and let me know:
https://forum.xda-developers.com/showthread.php?t=2588979
If that not working so May be your device need specific command...
You should read more here before any action/command below: https://forum.xda-developers.com/zenfone-5/general/ze620kl-zenfone-5-2018-unlock-t3787174/page4
You can try this too to know:
Code:
fastboot oem reset-dev_info
or
Code:
fastboot oem force-reset
Or
Code:
fastboot flashing lock_critical
Reading:
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Good luck!
Sent from my BLU Tank Xtreme Pro using XDA Labs
lopestom said:
Can you please details about adb-fastboot tool&version?
What OS installed in your PC?
Maybe if your not have this so try and let me know:
https://forum.xda-developers.com/showthread.php?t=2588979
If that not working so May be your device need specific command...
You should read more here before any action/command below: https://forum.xda-developers.com/zenfone-5/general/ze620kl-zenfone-5-2018-unlock-t3787174/page4
You can try this too to know:
Code:
fastboot oem reset-dev_info
or
Code:
fastboot oem force-reset
Or
Code:
fastboot flashing lock_critical
Reading:
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Good luck!
Sent from my BLU Tank Xtreme Pro using XDA Labs
Click to expand...
Click to collapse
I used first two code. Then when I reboot it asked password so I did go to recovery and done factory reset. After that I checked and warning was gone and unlocked status was false. Thank you a lot.
Hi, so my Xiaomi MI A2 is kinda not working and I think that wiping cache partition might help but I can't access the recovery so I wanted to install TWRP. The thing is I have the boatloader locked, I have the USB depuration activated but not the OEM, so how can I unlock boatload or unlock OEM via fastboot?
Thanks
_08_ said:
Hi, so my Xiaomi MI A2 is kinda not working and I think that wiping cache partition might help but I can't access the recovery so I wanted to install TWRP. The thing is I have the boatloader locked, I have the USB depuration activated but not the OEM, so how can I unlock boatload or unlock OEM via fastboot?
Thanks
Click to expand...
Click to collapse
run "fastboot oem unlock" and "fastboot oem unlock_critical" see if its execute without error , then run " fastboot oem device-info" , let us know what the result.
shihabrumel said:
run "fastboot oem unlock" and "fastboot oem unlock_critical" see if its execute without error , then run " fastboot oem device-info" , let us know what the result.
Click to expand...
Click to collapse
It won't let me. It says:
my command: fastboot oem unlock System: FAILED (remote "flashing unlock is not allowed")
Fastboot: error: command failed.
Same with the critical. I also had an error trying another command, it said, not allowed in lock mode.
Actually, I'm trying other commands and it's the same error with all comands.
My Mi A2 was not booting
My mi a2 last updated to 19/04/05 pie version, then i install the Google camera using below steps..
1. Turn on debugging mode/oem & turn off the phone
2. Then power button+vol dwn Fastboot mode & connect to pc (Pc already have the adb)
3. In pc>adb>folder>Cmd> type "fastboot oem unlock"
4. Then factory reset the phone and reboot again to fastboot mode
5. Then boot the patched image for phone
6. Then install the magisk and gcam work perfectly.
Simply i used these methods
the***********.com/enable-camera2-api-xiaomi-mi-a2-lite-guide/
But then I tried to relock the bootloader, using below commands on cmd
1. "adb reboot-bootloader"
2."fastboot oem lock"
I tried these 2 commands 4 or 5 times
But phone is not power on with locked bootloader. Then I unlock again oem and try again,, But not working,
Then i unlock bootloader again and try these commands to lock it again,
1. "adb reboot-bootloader"
2."fastboot flashing lock"
3. "fastboot oem lock"
Unfortunately it is not work, also i can't give command "fastboot oem unlock", also i can't turn on my phone, Please help me... I want to restore my phone to working mode... Please help me, Quick, urgent :crying::crying::crying::crying:
I know asking this question at a very early point would be very foolish, I tried searching various places for the answer but didn't, can anyone from previous experience or with answer tell me how can the Bootloader be locked again?
Thanks in advance!
EDIT: Thanks to IDunnoLookatXDA The BL can be locked using
Code:
fastboot oem asus-lock
THEHOLYG0D said:
I know asking this question at a very early point would be very foolish, I tried searching various places for the answer but didn't, can anyone from previous experience or with answer tell me how can the Bootloader be locked again?
Thanks in advance!
Click to expand...
Click to collapse
Fastboot oem lock
bs3pro said:
Fastboot oem lock
Click to expand...
Click to collapse
Nope, I've tried all the asus specific and default fastboot commands:
Code:
fastboot oem asus-back
fastboot oem asus-csc_lk
fastboot flashing lock
fastboot flashing lock_critical
fastboot oem lock
fastboot oem lock_critical
fastboot flash !frp-partition! default_key.bin
None of this worked
THEHOLYG0D said:
Nope, I've tried all the asus specific and default fastboot commands:
Code:
fastboot oem asus-back
fastboot oem asus-csc_lk
fastboot flashing lock
fastboot flashing lock_critical
fastboot oem lock
fastboot oem lock_critical
fastboot flash !frp-partition! default_key.bin
None of this worked
Click to expand...
Click to collapse
oem asus-lock
IDunnoLookatXDA said:
oem asus-lock
Click to expand...
Click to collapse
Holy SH1T that actually worked
for beginners oem is no command
To lock the bootloader (or remove the annoying prompt you get at startup)
Code:
fastboot oem asus-lock
THEHOLYG0D said:
Holy SH1T that actually worked
for beginners oem is no command
To lock the bootloader (or remove the annoying prompt you get at startup)
Code:
fastboot oem asus-lock
Click to expand...
Click to collapse
This does not work for me. This is what I get from the cmd prompt:
C:\Users\uli13>fastboot oem asus-lock
...
FAILED (remote: Command not supported in default implementation)
finished. total time: 0.004s
Please help
I've sent the device back because of Display issues, and no longer own it.
But what I understood from your response and suggest you is:
Turn off the device and put it in fastboot mode, then issue the above command and it should work. Hope it helps
THEHOLYG0D said:
Nope, I've tried all the asus specific and default fastboot commands:
Code:
fastboot oem asus-back
fastboot oem asus-csc_lk
fastboot flashing lock
fastboot flashing lock_critical
fastboot oem lock
fastboot oem lock_critical
fastboot flash !frp-partition! default_key.bin
None of this worked
Click to expand...
Click to collapse
fastboot oem asus-csc_lk worked for me after that wipe data
Hello, can I lock the xiaomi bootloader by fastboot using the command: fastboot oem lock?
fersouza777 said:
Hello, can I lock the xiaomi bootloader by fastboot using the command: fastboot oem lock?
Click to expand...
Click to collapse
Hi, I think so. But I recommend that you also install a stock rom before you lock the bootloader, because it may happen that you can't start your phone anymore and you have to bring it to a repair shop.