fastboot flashing unlock = Failed (remote: unknown comand) - Nexus 5 Q&A, Help & Troubleshooting

Hi,
I recently updated from stock Kit Kat to stock MarshMallow using the factory image mra58n.
Fastboot reports:
Bootloader version: HHZ12K
Baseband version: M8974A-2.0.50.2.27
Secure Boot: enabled
Lock State: unlocked
I noticed that the new fastboot 'flashing' commandline switches (ie fastboot.exe flashing unlock) all respond with:
FAILED (remote: unknown command)
However, the old fastboot 'oem' commands (ie fastboot.exe oem unlock) work. Which is somewhat odd because if I run 'fastboot.exe -h', 'oem' is not listed as a valid option.
Any thoughts why "fastboot flashing get_unlock_ability", etc might not be working with my Nexus 5?
Edit: Fastboot is able to detect the Nexus 5. 'fastboot reboot-bootloader' and 'fastboot devices' both work as expected.
Edit2: Not sure if related, but in Settings > Developer Options, there is no "Allow OEM unlock" option. Is this only visible if the bootloader is locked?
- Scrawl

The right command is fastboot oem unlock. Why are you using fastboot.exe xxx?
I didn't try the new official commands so I can't give you a feedback but did you try to update your SDK/fastboot?

Allow oem unlock option is for the nexus 9, nexus 5x, and nexus 6p. Not sure if the nexus 6 has this option.

audit13 said:
Allow oem unlock option is for the nexus 9, nexus 5x, and nexus 6p. Not sure if the nexus 6 has this option.
Click to expand...
Click to collapse
Have g the same problem.s on my new HTC desire 626..
Sent from my HTCD200LVW using XDA Free mobile app

Hmm, I guess the "allow oem unlock" option is not limited to Nexus devices.

audit13 said:
Hmm, I guess the "allow oem unlock" option is not limited to Nexus devices.
Click to expand...
Click to collapse
Nah,it was added in Android 5.1.1 for most if not all devices.
Sent from my Nexus 6

I looked at my N5 and don't see the option on the latest Marshmallow.

audit13 said:
I looked at my N5 and don't see the option on the latest Marshmallow.
Click to expand...
Click to collapse
Really? That's weird, could be wrong

I didn't see that option in the latest lollipop or marshmallow on a nexus 5.

have the same issue
did you ever get it to work - im tring in my cheep silver line sl1069
alps

Related

[Q] Stuck in a state between locked and unlocked

Hi everybody,
i have a really strange issue. I unlocked my device using Asus unlocker. After some day i did a "Factory Reset". Now I'm stuck at the Bootlogo. I see there "The devices is unlocked". When i boot into fastboot and use "fastboot getvar all" i see as value for unlocked false.
I can not flash anything using fastboot in this case right? Is there a way to fix this?
thePatzen said:
Hi everybody,
i have a really strange issue. I unlocked my device using Asus unlocker. After some day i did a "Factory Reset". Now I'm stuck at the Bootlogo. I see there "The devices is unlocked". When i boot into fastboot and use "fastboot getvar all" i see as value for unlocked false.
I can not flash anything using fastboot in this case right? Is there a way to fix this?
Click to expand...
Click to collapse
I and a few other people I have checked with, with unlocked devices also have there getvar command display the same, "unlocked: no".
This is not an issue as far as I know, not sure why the getvar command displays unlocked as no, - but your device is unlocked.:good:
pjc21 said:
I and a few other people I have checked with, with unlocked devices also have there getvar command display the same, "unlocked: no".
This is not an issue as far as I know, not sure why the getvar command displays unlocked as no, - but your device is unlocked.:good:
Click to expand...
Click to collapse
Thanks for your answer. Then i have an other question. When i switch into the Fastboot menu should there be an USB icon? I only have 3 Icons
-> RCK, Android, Wipe Data. If i want to flash a stock rom using Fastboot should there be this USB icon?
thePatzen said:
Thanks for your answer. Then i have an other question. When i switch into the Fastboot menu should there be an USB icon? I only have 3 Icons
-> RCK, Android, Wipe Data. If i want to flash a stock rom using Fastboot should there be this USB icon?
Click to expand...
Click to collapse
No there is no usb icon in the new 4.2.1 bootloader.
Fastboot will automatically be running if you boot in bootloader while connected to pc.
http://forum.xda-developers.com/showthread.php?t=2195883
pjc21 said:
No there is no usb icon in the new 4.2.1 bootloader.
Fastboot will automatically be running if you boot in bootloader while connected to pc.
http://forum.xda-developers.com/showthread.php?t=2195883
Click to expand...
Click to collapse
Thanks! Tried this but it seems i can not flash anything like people describe in this thread:
http://forum.xda-developers.com/showthread.php?t=2179874
Seems we do not have luck

oem unlock is not allowed

Hi, I've got the 6045Y model which I've been trying to install twrp on, but I can't unlock the bootloader; it says oem unlock is not allowed.
I've tried on os x and linux with sudo but it's the same on both sides. As my phone isn't carrier locked, I don't understand why it's not allowing me to unlock the bootloader. There's also no oem unlock option in the developer options.
Any help?
You must do something wrong?
Can you trY with Windows
You need Alcatel Drivers+Minimal Adb and Fastboot
connect device you must enable debugging and then
-type "adb reboot-bootloader" to reboot into bootloader. The device should reboot to the screen showing "alcatel onetouch...powered by android". This is bootloader mode.
-Then type "fastboot -i 0x1bbb devices" should show some numbers and "fastboot" after the numbers
-Type "fastboot -i 0x1bbb oem device-info" shows device info including bootloader status (e.g. locked).
-Type "fastboot -i 0x1bbb oem unlock" to unlock the bootloader; after this you should get, for device info,
-Type "fastboot -i 0x1bbb oem device-info" and you should see "Device unlocked: true"
-To reboot normally: "fastboot -i 0x1bbb reboot"
Alek Dev said:
You must do something wrong?
Can you trY with Windows
You need Alcatel Drivers+Minimal Adb and Fastboot
connect device you must enable debugging and then
-type "adb reboot-bootloader" to reboot into bootloader. The device should reboot to the screen showing "alcatel onetouch...powered by android". This is bootloader mode.
-Then type "fastboot -i 0x1bbb devices" should show some numbers and "fastboot" after the numbers
-Type "fastboot -i 0x1bbb oem device-info" shows device info including bootloader status (e.g. locked).
-Type "fastboot -i 0x1bbb oem unlock" to unlock the bootloader; after this you should get, for device info,
-Type "fastboot -i 0x1bbb oem device-info" and you should see "Device unlocked: true"
-To reboot normally: "fastboot -i 0x1bbb reboot"
Click to expand...
Click to collapse
I tried on windows just now and the same thing happened: "FAILED (remote: oem unlock is not allowed)". I should mention though, I flashed twrp before unlocking the bootloader. I wonder if this is what's causing the problem.
I dont remember if this option was there, but you can try. Go into Settings/About Phone, scroll down and click on “build number” continuously until you see a toast notification telling you that you've enabled Developer Options. Go back to your Settings menu and enter Developer Options, scroll down and click on the “Enable OEM Unlock” checkbox, also make sure you enable USB Debugging while you're in the Developer Options menu.
DallasCZ said:
I dont remember if this option was there, but you can try. Go into Settings/About Phone, scroll down and click on “build number” continuously until you see a toast notification telling you that you've enabled Developer Options. Go back to your Settings menu and enter Developer Options, scroll down and click on the “Enable OEM Unlock” checkbox, also make sure you enable USB Debugging while you're in the Developer Options menu.
Click to expand...
Click to collapse
I have the same problem an update was pushed to the UK version last week 6045Y 5.0.2 -010 02 now unable to unlock bootloader i tried everything, so the bootloader must of changed BTW the update was about 458mb.
aradalien said:
I have the same problem an update was pushed to the UK version last week 6045Y 5.0.2 -010 02 now unable to unlock bootloader i tried everything, so the bootloader must of changed BTW the update was about 458mb.
Click to expand...
Click to collapse
same here in the uk have same version and cannot unlock bootloader anyone been sucssesful
aradalien said:
I have the same problem an update was pushed to the UK version last week 6045Y 5.0.2 -010 02 now unable to unlock bootloader i tried everything, so the bootloader must of changed BTW the update was about 458mb.
Click to expand...
Click to collapse
Same problem with same UK model and installed that patch too. I managed to flash TWRP and install PAC ROM still bootloader claims to be locked.
fastboot -i 0x1bbb oem unlock
FAILED (remote: oem unlock is not allowed)
fastboot -i 0x1bbb oem device-info
(bootloader) Device tempered:false
(bootloader) Device Unlock:false
easiest way is to download stock firmware with flsh tool for panasonic eluga switch (rebranded idol3),. Flash it with using the included flash tool. then unlock bootloader. Then use mobile upgrade Q 5.0.6 to go back to stock. And you are on stock uk firmware with unlocked bootloader.
I flashed someone's stock 6045Y(Europe) Firmware: 5.0.2-010 03 but couldn't unlock it either. After that I flashed 6045-i806-DCZ. I was really surpriced it let me do that while claiming to be locked and untempered. After that I did factory reset and flashed PAC-ROM. I'm not sure why should I bother to unlock bootloader if I already have TWRP and PAC-ROM flashed. I've no idea how can I even flash rom's with locked bootloader? Maybe oem device-info is bugged.
Anyways I download panasonic eluga switch firmwire, gonna test it after taking backups.
Reippi said:
I flashed someone's stock 6045Y(Europe) Firmware: 5.0.2-010 03 but couldn't unlock it either. After that I flashed 6045-i806-DCZ. I was really surpriced it let me do that while claiming to be locked and untempered. After that I did factory reset and flashed PAC-ROM. I'm not sure why should I bother to unlock bootloader if I already have TWRP and PAC-ROM flashed. I've no idea how can I even flash rom's with locked bootloader? Maybe oem device-info is bugged.
Anyways I download panasonic eluga switch firmwire, gonna test it after taking backups.
Click to expand...
Click to collapse
the Panasonic firmware flash also the aboot partition which has bootloader unlock enabled. without unlocked bootloader you could end with bricked device and the only solution is mobile upgrade q.
I did as you said and finally got bootloader unlocked, yey! Hopefully I don't have to go thought that process anytime soon. Thanks and thumps up!
Reippi said:
I did as you said and finally got bootloader unlocked, yey! Hopefully I don't have to go thought that process anytime soon. Thanks and thumps up!
Click to expand...
Click to collapse
no, its permanent.
I try to unlock my bootloader but two problems : oem unlock is not allowed and eluga sotware stuck at 2 %!!! I want install MM and I have stock rom can install the same the MM upgrade without unlock the bootloader? Regards
camelotto said:
I try to unlock my bootloader but two problems : oem unlock is not allowed and eluga sotware stuck at 2 %!!! I want install MM and I have stock rom can install the same the MM upgrade without unlock the bootloader? Regards
Click to expand...
Click to collapse
1-You didnt wrote phch model do you have.
2-newer heard of this issue . Install the drivers from the eluga firmware app, reboot, turn off your device, connect device to computer, run the download form the eluga firmware app.
jlocohustler said:
I tried on windows just now and the same thing happened: "FAILED (remote: oem unlock is not allowed)". I should mention though, I flashed twrp before unlocking the bootloader. I wonder if this is what's causing the problem.
Click to expand...
Click to collapse
And do you have sucess in flash? It worked? Do you have TWRP????
---------- Post added at 10:34 AM ---------- Previous post was at 10:30 AM ----------
Reippi said:
I flashed someone's stock 6045Y(Europe) Firmware: 5.0.2-010 03 but couldn't unlock it either. After that I flashed 6045-i806-DCZ. I was really surpriced it let me do that while claiming to be locked and untempered. After that I did factory reset and flashed PAC-ROM. I'm not sure why should I bother to unlock bootloader if I already have TWRP and PAC-ROM flashed. I've no idea how can I even flash rom's with locked bootloader? Maybe oem device-info is bugged.
Anyways I download panasonic eluga switch firmwire, gonna test it after taking backups.
Click to expand...
Click to collapse
That is the point from my previouse question! If you flash TWRP, your bootloader is unlocked by default!
persona78 said:
And do you have sucess in flash? It worked? Do you have TWRP????
---------- Post added at 10:34 AM ---------- Previous post was at 10:30 AM ----------
That is the point from my previouse question! If you flash TWRP, your bootloader is unlocked by default!
Click to expand...
Click to collapse
After flashing panasonic rom, you have unlockable bootloader.
Look here
http://forum.xda-developers.com/idol-3/general/guide-repair-idol-3-t3372076
I have 6045Y and panasonic rom work!
fastboot is detecting device but oem unlock/flashing unlock command not working.
I think that command has been changed since this june month security patch.
yash_rathore25 said:
fastboot is detecting device but oem unlock/flashing unlock command not working.
I think that command has been changed since this june month security patch.
Click to expand...
Click to collapse
It looks like MM update dont include aboot with commands for unlocking bootloader. You have to use mobile upgrade Q PC aPP, or Panasonic eluga firmware flash tool (for 6045Y) to go back to 5.0.2. Then unlock bootloader, and flash update to MM (or when on panasonic firmware youhave to use mobile upgrade Q to go back to stock). When on stock, wat for OTA MM or flash MM from XDA thread.
DallasCZ said:
It looks like MM update dont include aboot with commands for unlocking bootloader. You have to use mobile upgrade Q PC aPP, or Panasonic eluga firmware flash tool (for 6045Y) to go back to 5.0.2. Then unlock bootloader, and flash update to MM (or when on panasonic firmware youhave to use mobile upgrade Q to go back to stock). When on stock, wat for OTA MM or flash MM from XDA thread.
Click to expand...
Click to collapse
but fastboot flash command is working and also sending data to phone but unable to write on phone as bootloader is locked
yash_rathore25 said:
but fastboot flash command is working and also sending data to phone but unable to write on phone as bootloader is locked
Click to expand...
Click to collapse
because they have erased this command/s from aboot partition (bootloader)

FRP Lock Problem

Hello,
i wanted to root my Huawei P8max (Android 6.0 Emui 4.0) with a guide from xda (http://forum.xda-developers.com/p8max/general/p8max-root-guide-d-701l-d-703l-t3269213)
I already have my Bootloader Code but in the 6. step typing fastboot oem unlock xxx (xxx=bootloader Code) i get a FAILED (remote: Necessary to unlock FRP).
So i removed the Google account in Settings and did a factory reset. In the beginning configuration of the phone, the phone didn't ask me for the old Google account. I thought that the FRP Lock is gone. But when I go to Fastboot & Rescue Mode there is still Standing "Phone Unlocked / FPR Lock".
I tried the 6.step again and i got still the same message FAILED (remote: Necessary to unlock FRP).
So i googled it and found out that i have to go to Settings and disable "OEM Unlock". But I don't have These Kind of Option in my Settings.
Then i did an upgrade to Android 5.1 Emui 3.1, i thought that i can find the OEM Unlock Option there but didn't find it.
Then i rooted my device with Kingroot which is only possivle with Android 5.1 and wanted to unlock Bootloader in the hope that the bootloader is still unlocked when i upgrade it to Android 6.0 but still in Android 5.1 i am not able to unlock the bootloader neither to install TWRP. I always get the FAILED (remote: Necessary to unlock FRP) message.
Can anyone help me to remove the FRP lock?
Thanks
Yaman
fyaman66 said:
Hello,
i wanted to root my Huawei P8max (Android 6.0 Emui 4.0) with a guide from xda (http://forum.xda-developers.com/p8max/general/p8max-root-guide-d-701l-d-703l-t3269213)
I already have my Bootloader Code but in the 6. step typing fastboot oem unlock xxx (xxx=bootloader Code) i get a FAILED (remote: Necessary to unlock FRP).
So i removed the Google account in Settings and did a factory reset. In the beginning configuration of the phone, the phone didn't ask me for the old Google account. I thought that the FRP Lock is gone. But when I go to Fastboot & Rescue Mode there is still Standing "Phone Unlocked / FPR Lock".
I tried the 6.step again and i got still the same message FAILED (remote: Necessary to unlock FRP).
So i googled it and found out that i have to go to Settings and disable "OEM Unlock". But I don't have These Kind of Option in my Settings.
Then i did an upgrade to Android 5.1 Emui 3.1, i thought that i can find the OEM Unlock Option there but didn't find it.
Then i rooted my device with Kingroot which is only possivle with Android 5.1 and wanted to unlock Bootloader in the hope that the bootloader is still unlocked when i upgrade it to Android 6.0 but still in Android 5.1 i am not able to unlock the bootloader neither to install TWRP. I always get the FAILED (remote: Necessary to unlock FRP) message.
Can anyone help me to remove the FRP lock?
Thanks
Yaman
Click to expand...
Click to collapse
Have you tried looking in developer options? That's where mines is.
Sent from my HUAWEI P8max using XDA-Developers mobile app
kingkea said:
Have you tried looking in developer options? That's where mines is.
Sent from my HUAWEI P8max using XDA-Developers mobile app
Click to expand...
Click to collapse
Hi Kingkea,
yes i looked there but i don't have this Option. Which Firmware do you have installed on your P8max?
you need HCU Client ... (paid tool )
sorry i don't have OEM unlock in developer Setting. which Firmware do you use? im on DAV-701LC209B203 now.
And i found out that my bootloader is already unlocked. So i jumped over to "Android 6 Flash Insecure Boot.img" and tried to do the 6. Type: fastboot flash boot boot.img.
Here i get a similar Problem like FAILED (remote: command not allowed)
any idea?

Mi4c bootloader Unlock failed!!!

My MIUI version is 7.5.2 (Chinese Stable) . I want to unlock the bootloader and flash custom rom like sMIUI. Tried the official way to unlock and i got the sms with the verification key but failed while unlocking at 50% which is very frustrating. Would be grateful if anyone please help me in details cause i have less idea about flashing any mobile phone.
Someone has created a thread about the process (link below) but it says it won't work with the higher MIUI versions.
http://forum.xda-developers.com/mi-4c/general/guide-unlocking-mi4c-bl-verification-t3336779
Please help me...
I unlocked 7.5.2 (not china version).
You can try the last 3 steps in the guide you linked. :
Reboot into fastboot mode (Power + Vol Down)
Command: fastboot oem unlock -> at this point you should have an unlocked bootloader
Now optionally install TWRP and subsequently CM 12.1 and enjoy (see respective linkes in the requirements for a howto) - TWRP: fastboot flash recovery <twrp>.img
Click to expand...
Click to collapse
and then check if unlock was successful :
fastboot oem device-info
When did you receive the SMS notification? It may take a couple more days for you to be able to actually unlock. Not your fault, blame Xiaomi.
Sent from my Mi-4c using Tapatalk
mesziman said:
I unlocked 7.5.2 (not china version).
You can try the last 3 steps in the guide you linked. :
and then check if unlock was successful :
fastboot oem device-info
Click to expand...
Click to collapse
Can you please tell me in details how i install sMiui or other stock roms? Cause i don't have any idea u talking about. I have very less knowledge about the thing.
I used the same method like mesziman mentioned, worked great for me.
But you should try the developer version ! Some guys had same problem with stable...
Edit: Links i can´t give you (maybe someone else complete) but first of all you should get all and the latest driver. I think for that you could install the xiaomi suite from en.miui or miflash, don´t remember well.
Then you have to unlock bootloader like written before by mesziman. I used for that a adb program on my pc, don´t remember the exact name.
Go into fastboot, connect phone with pc. -> commands. Then you unlocked bootloader.
Now you can flash the recovery with for example odin (pc program) and thats it.
(install rom)
But look for a step by step guide. There is written exactly what to do.
chickentuna said:
When did you receive the SMS notification? It may take a couple more days for you to be able to actually unlock. Not your fault, blame Xiaomi.
Sent from my Mi-4c using Tapatalk
Click to expand...
Click to collapse
I got the code 3 weeks laters after applying. Immediately after that i tried to unlock but it stucks at 50%
mesziman said:
I unlocked 7.5.2 (not china version).
You can try the last 3 steps in the guide you linked. :
and then check if unlock was successful :
fastboot oem device-info
Click to expand...
Click to collapse
When i command fastboot oem unlock/fastboo oem device-info it says waiting for device. I've installed Adb driver, usb debugging mode is on. What else should i do? What's wrong? Help me please.
tanvir.peace said:
When i command fastboot oem unlock/fastboo oem device-info it says waiting for device. I've installed Adb driver, usb debugging mode is on. What else should i do? What's wrong? Help me please.
Click to expand...
Click to collapse
Ok now i am able to use the command pomt. But when i enter fastboot oem unlock - it says Token verification failed. I am very frustrated. What should i do?
Do you have something like this in phone settings? : Settings>>>Developer Options >>And Enable Oem Unlock
No. Nothing like this found in developer option.
mesziman said:
Do you have something like this in phone settings? : Settings>>>Developer Options >>And Enable Oem Unlock
Click to expand...
Click to collapse
No. Nothing like this found in developer option
tanvir.peace said:
No. Nothing like this found in developer option
Click to expand...
Click to collapse
I have the same situation on my xioami mi4c
make sure you enable find my device feature from i.mi.com (make sure device located correctly as well)
and unlock the device, it will failed at 50%
just wait 4-7 days and unlock again, it will be succesfull
I'm used latest China Developer ROM (MIUI8)

error 0x7000 while unlocking bootloader, "remote: unlock failed". Simply put.

error 0x7000 while unlocking bootloader, "remote: unlock failed". Simply put.
I cant find a single post that also has unlock failed as apart of the error, I need help, I don't know why this is happening.
I type fastboot oem unlock and press volume up... unlock failed return to fastboot in 3s comes up on screen.
and in cmd: FAILED: (Remote: Unlock failed - Err:0x7000)
Edit: OEM unlocking is enabled in dev options
pls help clanezo.
Clanezo said:
I cant find a single post that also has unlock failed as apart of the error, I need help, I don't know why this is happening.
I type fastboot oem unlock and press volume up... unlock failed return to fastboot in 3s comes up on screen.
and in cmd: FAILED: (Remote: Unlock failed - Err:0x7000)
Edit: OEM unlocking is enabled in dev options
pls help clanezo.
Click to expand...
Click to collapse
First, you didn't say what device model number you have.
Next, not all devices can be unlocked and not all devices that can be unlocked can use the "oem unlock" command. Some devices use "fastboot flashing unlock" command to unlock bootloader.
Last, just because your device has the "oem unlock" option in dev settings, doesn't mean your device can be unlocked.
Sent from my LGL84VL using Tapatalk
Model number
Oh, sorry. It's a huawei lua-lo2. Is it possible to unlock that phone?
Droidriven said:
First, you didn't say what device model number you have.
Next, not all devices can be unlocked and not all devices that can be unlocked can use the "oem unlock" command. Some devices use "fastboot flashing unlock" command to unlock bootloader.
Last, just because your device has the "oem unlock" option in dev settings, doesn't mean your device can be unlocked.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Seems you didn't see my first reply, see below.. or above, where ever this reply is placed.
Clanezo said:
Seems you didn't see my first reply, see below.. or above, where ever this reply is placed.
Click to expand...
Click to collapse
Have you tried doing a simple Google search for:
"Unlock bootloader huawei lua-lo2"
If there is a known method, that will find it, if it doesn't find anything then there is not a known method.
Sent from my LGL84VL using Tapatalk
Droidriven said:
First, you didn't say what device model number you have.
Next, not all devices can be unlocked and not all devices that can be unlocked can use the "oem unlock" command. Some devices use "fastboot flashing unlock" command to unlock bootloader.
Last, just because your device has the "oem unlock" option in dev settings, doesn't mean your device can be unlocked.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Have you fixed this error?
Droidriven said:
Have you tried doing a simple Google search for:
"Unlock bootloader huawei lua-lo2"
If there is a known method, that will find it, if it doesn't find anything then there is not a known method.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Can you please help me regarding this issue.. i am facing the same error 0x7000 after executing fastboot oem unlock command. The device asks whether you want bootloader to be unlocked.. then I press volume up to say yes.. then it gets failed with error 0x7000.
I have checked all precautions.. oem unlock is on in developer mode and all the drivers are successfully installed.
my device is lenovo A5.

Categories

Resources