'fastboot oem get_unlock_data' failure with Motorola - Android Q&A, Help & Troubleshooting
Hello, I've been struggling with this for hours and nothing seems to be working.
I have a Motorola DROID RAZR XT912 running Android 4.1.2 JB, it's already rooted but I'm attempting to unlock the bootloader using this guide.
I've installed the Android SDK as well as the latest USB Drivers.
I enter my mobile device into "AP Fastboot Flash Mode (S)" by holding power + volume down.
I plug my device into my laptop, the phone says "USB Connected".
I open a terminal in Windows 11 in my SDK tools directory [C:\Users\FOS11\AppData\Local\Android\Sdk\platform-tools]
I use the command "fastboot devices" to test if fastboot is working and detecting my device.
It properly returns with "014FFB290D006013 fastboot"
I attempt to use the command "fastboot oem get_unlock_data"
It returns with an error:
"FAILED (remote: 'unsupported command')
fastboot: error: Command failed"
I have followed the guide exactly up to this point with no errors, I have not found any forum or guide saying anything about this error, I must be missing something very simple, right? please let me know if any additional information is needed.
some moto/lenovo do not require unlock code. such old device maybe isn't even locked. just curious what happen for?
Code:
fastboot flashing get_unlock_ability
fastboot flashing unlock
fastboot oem unlock
fastboot getvar all
could be also possible it's non-unlockable bootloader (not intended by manufacturer, unofficial methods might exist)
"Your device is NOT eligible for bootloader unlock if the CID value returned is one of these: 0x0001, 0x0002, 0x0004, 0x0005, 0x0006, 0x0008, 0x000A, 0x000F, 0x0010, 0x0011"
aIecxs said:
some moto/lenovo do not require unlock code. such old device maybe isn't even locked. just curious what happen for?
Code:
fastboot flashing get_unlock_ability
fastboot flashing unlock
fastboot oem unlock
fastboot getvar all
could be also possible it's non-unlockable bootloader (not intended by manufacturer, unofficial methods might exist)
"Your device is NOT eligible for bootloader unlock if the CID value returned is one of these: 0x0001, 0x0002, 0x0004, 0x0005, 0x0006, 0x0008, 0x000A, 0x000F, 0x0010, 0x0011"
Click to expand...
Click to collapse
"fastboot flashing get_unlock_ability"
returns
"FAILED (remote: 'unsupported command')
fastboot: error: Command failed"
"fastboot flashing unlock"
returns
"FAILED (remote: 'unsupported command')
fastboot: error: Command failed"
"fastboot oem unlock"
returns
"(bootloader) fastboot oem unlock disabled!
FAILED (remote: '')
fastboot: error: Command failed"
"fastboot getvar all"
returns
"getvar:all FAILED (remote: 'unsupported command')
Finished. Total time: 0.000s"
Additional info: phone has no SIM card inserted (Not sure if this is useful)
(bootloader) fastboot oem unlock disabled!
probably means this bootloader cannot unlocked.
But last cmd shouldn't fail.. try special mfastboot.exe or more recent platform-tools
Code:
fastboot getvar unlocked
fastboot getvar securestate
fastboot getvar sku
fastboot getvar cid
or just try if unlocked by doing something invasive (does not harm on cache)
Code:
fastboot oem fb_mode_set
fastboot format cache
fastboot oem fb_mode_clear
aIecxs said:
(bootloader) fastboot oem unlock disabled!
probably means this bootloader cannot unlocked.
But last cmd shouldn't fail.. try special mfastboot.exe or more recent platform-tools
Code:
fastboot getvar unlocked
fastboot getvar securestate
fastboot getvar sku
fastboot getvar cid
or just try if unlocked by doing something invasive (does not harm on cache)
Code:
fastboot oem fb_mode_set
fastboot format cache
fastboot oem fb_mode_clear
Click to expand...
Click to collapse
Using your attached platform-tools version,
'mfastboot.exe' is not recognized as an internal or external command,
operable program or batch file.
fastboot getvar unlocked
returns
unlocked: no
fastboot getvar securestate & fastboot getvar sku
returns
FAILED (remote: 'unsupported command')
fastboot getvar cid
returns
cid: 2
fastboot oem fb_mode_set
returns
OKAY [ 0.016s]
fastboot format cache
returns
FAILED (remote: 'protocol error')
fastboot oem fb_mode_clear
returns
OKAY [ 0.016s]
Additional info: phone was rooted with a tool called "RAZR Blade"
Thank you for your help so far.
cid: 0x0002 "Your device is NOT eligible for bootloader unlock"
Frequently Asked Questions - Motorola Razr [XT912, XT910, XT908] (2015)
Frequently Asked Questions Motorola Razr [XT912, XT910, XT908] This a short list of frequently asked questions in this device forum and the answers often given as a response. It should serve as a starting point for gathering knowledge and...
forum.xda-developers.com
hi, i received other error, xt-2239-16 moto e22i,
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar unlocked
unlocked: no
Finished. Total time: 0.000s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar securestate
getvar:securestate FAILED (remote: 'Unknown variable')
Finished. Total time: 0.016s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar securestate
getvar:securestate FAILED (remote: 'Unknown variable')
Finished. Total time: 0.000s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar sku
getvar:sku FAILED (remote: 'Unknown variable')
Finished. Total time: 0.016s
C:\Users\Rosaly\Desktop\platform-tools>fastboot getvar cid
getvar:cid FAILED (remote: 'Unknown variable')
Finished. Total time: 0.016s
C:\Users\Rosaly\Desktop\platform-tools>fastboot oem fb_mode_set
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
C:\Users\Rosaly\Desktop\platform-tools>
C:\Users\Rosaly\Desktop\platform-tools>fastboot format cache
FAILED (remote: 'Invalid partition')
fastboot: error: Command failed
C:\Users\Rosaly\Desktop\platform-tools>fastboot oem fb_mode_clear
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
i m not read cid, could be help me, please.
tks
Rocha
Related
[Q] Fastboot FAILED <remote: Command not allowed> C6606
I am using this tutorial theunlockr.com/2013/07/22/how-to-root-the-sony-xperia-z-video/ trying to unlock my bootloader.. I am stuck on the fourth step... When I run cmd fastboot.exe -i 0x0fce getvar version I get version:0.5 finished. total time -0.000s Then I run fastboot.exe -i 0x0fce oem unlock 0xKEY (With my key from Sony) and I get ... FAILED <remote: command not allowed> finished. total time: 0.000s How do I fix this to unlock the boot loader?!?! If I do succeed at unlock my bootloader will this allow me by pass the sim card lock T-Mobile has of the phone? Or is there something else I have to do for that like by a code from sim unlock site? Also do need Super user pro for the adb shell or can I use the stock super user? Thanks You!!!
Huawei M5 10.8 soft bricked after a failed Magisk update
I tried to restore and reinstall ROM in numerous ways, including adb, fastboot and sdcard. I even tried Funky Huawei. Currently I can get to eRecovery and to TWRP. Fastboot works without problem. But that's about it, boot sometimes goes to Lineage boot splash, which I used prior the Magisk update. Thanks for help in advance Here is info from fastboot: fastboot oem get-product-model: <bootloader> CMR-AL09 fastboot getvar vendorcountry: vendorcountry: hw/eu fastboot oem get-build-number: (bootloader) :CMR-AL09 8.0.0.122(C432) fastboot getvar rescue_enter_recovery: getvar:rescue_enter_recovery FAILED (remote: FAIL:need all image flashed!) fastboot oem oeminforead-system_version FAILED (remote: The reason of failed input oem_nv_item error!)
MTK8163 Fastboot flashing working not full
Hi, Tried to flash my Acer Iconia B3-A30. Before I start with flashing i tried some commands. The "fastboot reboot" doesn't work for me. Every Time i try Code: platform-tools>fastboot reboot Rebooting FAILED (remote: 'not support on security') fastboot: error: Command failed bootloader is unlocked: Code: platform-tools>fastboot getvar unlocked unlocked: yes Finished. Total time: 0.003s but i found the secure state in the getvar info's: Code: platform-tools>fastboot getvar secure secure: no Finished. Total time: 0.004s is it ritght? I hope u can help me. Because my tablet stuck on boot image. Recovery doesent boot anymore.. etc.
Same problem here. Did you figure it out?
Xiaomi MI A3 stuck on bootloader
Hi I'm stuck in my Xiaomi MI A3 bootloader, can't boot to recovery and system. After flashing my stock firmware. Here is my oem device info PS C:\platform-tools> ./fastboot oem device-info (bootloader) Verity mode: true (bootloader) Device unlocked: false (bootloader) Device critical unlocked: false (bootloader) Charger screen enabled: false OKAY [ 0.004s] Finished. Total time: 0.006s PS C:\platform-tools> ./fastboot getvar current-slot current-slot: b Finished. Total time: 0.004s Thank you
bgsebiosjr said: Hi PS C:\platform-tools> ./fastboot getvar current-slot current-slot: b Finished. Total time: 0.004s Thank you Click to expand... Click to collapse Change current-slot to 'a' and reboot.
PS C:\platform-tools> ./fastboot flashing get_unlock_ability (bootloader) get_unlock_ability: 0 OKAY [ 0.002s] Finished. Total time: 0.005s PS C:\platform-tools> ./fastboot flashing unlock FAILED (remote: 'Flashing Unlock is not allowed ') fastboot: error: Command failed PS C:\platform-tools> ./fastboot set_active a Setting current slot to 'a' FAILED (remote: 'Slot Change is not allowed in Lock State ') fastboot: error: Command failed PS C:\platform-tools> How can i use EDL? Sapper Morton said: Since your bootloader is locked, and there's no proper system.img in slot B, you must change it to slot A; however it's not possible in locked state, first check if it's possible to unlock, by running: Code: fastboot flashing get_unlock_ability If the output is 0, you cannot unlock, and EDL is a must, otherwise, the output will be 1, therefore, unlock is possible, then proceed with the following steps: Code: fastboot flashing unlock Code: fastboot set_active a Code: fastboot flashing lock As explained above, it's not possible to change slot without unlocking the bootloader. Click to expand... Click to collapse
msatyanarayana said: Change current-slot to 'a' and reboot. Click to expand... Click to collapse PS C:\platform-tools> ./fastboot set_active a Setting current slot to 'a' FAILED (remote: 'Slot Change is not allowed in Lock State ') fastboot: error: Command failed PS C:\platform-tools>
Not allowed in Lock State. Is there any way to oem unlock without going to Debugging Mode -> OEM enable? I can't boot my system and recovery.
bgsebiosjr said: Not allowed in Lock State. Is there any way to oem unlock without going to Debugging Mode -> OEM enable? I can't boot my system and recovery. Click to expand... Click to collapse EDL mode and authorized Mi account. You should contact your nearest Xiaomi service center or use some online service (you might need to open your phone yourself in such case).
Cannot Root device -Mobicel Rio ss (Android 8.1)
I have been trying to root my device with no luck. I cannot run most fastboot commands when I run "fastboot getvar all" only one variable is returned ----------------------------------------------------------------- C:\Windows\system32>fastboot getvar all all: locked: yes finished. total time: 0.013s ------------------------------------------------------------------ when I try to unlock, I get the following error ------------------------------------------------------ C:\Windows\system32>fastboot flashing unlock ... FAILED (remote: Not implemet.) finished. total time: 0.006s ------------------------------------------------------ Almost all fastboot commands return the above response. I have enabled USB debugging and toggled oem unlocking. I have ran out of options please help. I have even updated my adb_fastboot to the latest release.