fastboot oem get_identifier_token not working - HTC U Ultra Questions & Answers

Hey guys! I just got and HTC U Ultra, and I'm trying to unlock the bootloader the same way I always have with any HTC. fastboot oem get_identifier_token. I'm using a command prompt from a Linux build OS, but the command keeps failing. FAILED (remote: unknown command). Any ideas?
EDIT: Never mind. There was a glitch that I worked out. Thanks anyways!

Related

[Q] Trying to unlock write failed error

Just got Nexus 4 and trying to unlock the bootloader.
Follow the instructions and Fastboot detetcts the Nexus ok using command "fastboot devices"
But when I then type "fastboot oem unlock" I get "command write failed unknown error"
Any ideas please?
robolots said:
Just got Nexus 4 and trying to unlock the bootloader.
Follow the instructions and Fastboot detetcts the Nexus ok using command "fastboot devices"
But when I then type "fastboot oem unlock" I get "command write failed unknown error"
Any ideas please?
Click to expand...
Click to collapse
Off the top of my head: try another port, another cable reinstall drivers.

Zuk Z1: FAILED (remote: oem unlock is not allowed)

Hello everyone, I locked my smartphone and now I want it back. The only way by which I can operate it from the Fastboot mode presents the recovery of stock Cyanogen. From platform-tools, I would like to unlock the bootloader to install a TWRP recovery, but I can not because I get this message FAILED (remote: oem unlock is not allowed) when I enter this command fastboot oem unlock -i 0x2b4c. Could someone help me? Pretty much in advance.
alessio93 said:
Hello everyone, I locked my smartphone and now I want it back. The only way by which I can operate it from the Fastboot mode presents the recovery of stock Cyanogen. From platform-tools, I would like to unlock the bootloader to install a TWRP recovery, but I can not because I get this message FAILED (remote: oem unlock is not allowed) when I enter this command fastboot oem unlock -i 0x2b4c. Could someone help me? Pretty much in advance.
Click to expand...
Click to collapse
Bro How did you solved this ?
Could you please help me.
I am stuck at the same point.
A solution would be to flash a new factory rom through the QFIL tool.
any link for QFIL ROM ?
aamszia said:
any link for QFIL ROM ?
Click to expand...
Click to collapse
I'll give you next week if needed

A2017G fastboot oem lock

Hi
I am trying to relock the BL for warranty.
I did a EDL-FULL-Nougat, then found out that Nougat does not boot into bootloader.
So I downloaded A2017G_NrollbackM from ZTE, which worked nicely. I'm in bootloader now and see
Code:
C:\>fastboot getvar unlocked
unlocked:
finished. total time: 0.008s
which was expected.
... just I don't understand, why I can't lock or get oem device-info
Code:
C:\>fastboot oem device-info
...
FAILED (remote: unknown command)
finished. total time: 0.004s
C:\>fastboot oem lock
...
FAILED (remote: unknown command)
finished. total time: 0.001s
please help, thanks alex
did you enable 'oem unlock' on the developer settings?
yes, sorry forgot to add
lxlx said:
yes, sorry forgot to add
Click to expand...
Click to collapse
so i guess you have been able to lock it?
No, I mean I forgot to add that info in my first post.
I can not run device-info or lock, log posted.
Cheers :/
your Fastboot.exe is too old
Choose an username... said:
so i guess you have been able to lock it?
Click to expand...
Click to collapse
but you didn't even respond to my question
did you enable 'oem unlock' on the Developer settings?
skdubg said:
your Fastboot.exe is too old
Click to expand...
Click to collapse
that sounds promising, where to get the up-to-date fastboot.exe?
Choose an username... said:
but you didn't even respond to my question
Click to expand...
Click to collapse
I tried, but my non-native english failed apparently.
So to be clear:
Choose an username... said:
did you enable 'oem unlock' on the Developer settings?
Click to expand...
Click to collapse
yes I had oem unlock in dev-options enabled. Then I tried
Code:
C:\>fastboot oem device-info
...
FAILED (remote: unknown command)
finished. total time: 0.004s
C:\>fastboot oem lock
...
FAILED (remote: unknown command)
finished. total time: 0.001s
Post deleted. Didn't notice you are on mm.
lxlx said:
that sounds promising, where to get the up-to-date fastboot.exe?
Click to expand...
Click to collapse
The 15 seconds ADB installer should install the newest fastboot available. But be sure to get rid of the old installation
How to be sure?
Uninstall all related driver programs, check usbdeview on connected device and uninstall accordingly.
Connect and axon does not get fully installed, yellow ? In device manager. Install with local google usb_driver does not work.
Only with ZTE driver I got adb device. Then adb devices and fastboot devices works. But still can not lock.
I found my old aboot_lock.img from unlocking backup... But it's getting more scary step by step.
Not sure what I did wrong along the way.
EDL FULL then original MMrollback. Shouldn't this be all stock ZTE everywhere? Why fastboot does not like me...
lxlx said:
How to be sure?
Uninstall all related driver programs, check usbdeview on connected device and uninstall accordingly.
Connect and axon does not get fully installed, yellow ? In device manager. Install with local google usb_driver does not work.
Only with ZTE driver I got adb device. Then adb devices and fastboot devices works. But still can not lock.
I found my old aboot_lock.img from unlocking backup... But it's getting more scary step by step.
Not sure what I did wrong along the way.
EDL FULL then original MMrollback. Shouldn't this be all stock ZTE everywhere? Why fastboot does not like me...
Click to expand...
Click to collapse
This hasn't got anything to do with the drivers. I mean, delete the fastboot.exe and adb.exe that you have, then download the "15 seconds ADB installer" and install it, and try again
OK, a bit more digging.
I have 15sec-adb installed systemwide in C:\adb>
Code:
C:\adb>dir /B
aboot.img
aboot_lock.img
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
strings.exe
as you can see, I put my aboot dumps there as well, and a strings-linux-like tool - after
reading this thread.
so, I got the ZTE driver to have my Axon7 visible to adb/fastboot (otherwise no device) ... and I have the latest 15sec adb here.
Code:
C:\adb>fastboot devices
823b48f5 fastboot
... but that's the only thing that works. not even easy things like this do
Code:
C:\adb>fastboot continue
resuming boot...
FAILED (remote: unknown command)
finished. total time: 0.015s
quoting the other thread
What’s missing in this list are fastboot oem commands. These commands are specific to Android device manufacturers, and there is no comprehensive list or documentation anywhere for what fastboot oem commands are available.
Click to expand...
Click to collapse
so I'm not sure if my fastboot version is the problem. I rather think that the Nougat->MM stock thingy, overwrite my Axon7 aboot.img with only a small set of fastboot commands available.
in my backup I see
Code:
C:\adb>strings aboot* | findstr /i oem
C:\adb\aboot.img: 04 0004 OEM_ID1
C:\adb\aboot.img: oem unlock is not allowed
C:\adb\aboot.img: oem unlock
C:\adb\aboot.img: oem unlock-go
C:\adb\aboot.img: oem lock
C:\adb\aboot.img: oem device-info
C:\adb\aboot.img: is_oem_unlock_allowed
C:\adb\aboot_lock.img: 04 0004 OEM_ID1
C:\adb\aboot_lock.img: oem unlock is not allowed
C:\adb\aboot_lock.img: oem unlock
C:\adb\aboot_lock.img: oem unlock-go
C:\adb\aboot_lock.img: oem lock
C:\adb\aboot_lock.img: oem device-info
C:\adb\aboot_lock.img: is_oem_unlock_allowed
so in old and new aboot I had oem-commands available, back then...
I'm not an expert, but do you guys really know that my problem is related to the PC-config I have, and not to the device-config?
I can not check aboot on device, as I'm not root.
update...
I did not succeed with fastboot commands, see above.
But, I flashed the A2017G B10_FULL_EDL package, and have no more 'not-verified-boot-screen-warning' ...
After miflash android greeted me with 'enter-android-password' ... I wiped cache/data again, now all good and -it seems- BL locked.
so, if you have access to EDL mode, try different EDL packages, you may end up like I did, full stock locked (at least it seems so)... good luck
lxlx said:
update...
I did not succeed with fastboot commands, see above.
But, I flashed the A2017G B10_FULL_EDL package, and have no more 'not-verified-boot-screen-warning' ...
After miflash android greeted me with 'enter-android-password' ... I wiped cache/data again, now all good and -it seems- BL locked.
so, if you have access to EDL mode, try different EDL packages, you may end up like I did, full stock locked (at least it seems so)... good luck
Click to expand...
Click to collapse
Pretty sure miflash cannot lock your bl.
Technically I would not know why it should not be possible.
If it flashes block wise, it can update anything... for me the purpose of EDL.
lxlx said:
Technically I would not know why it should not be possible.
If it flashes block wise, it can update anything... for me the purpose of EDL.
Click to expand...
Click to collapse
I think it is still unlocked. I read something weird about the message not appearing after having a full stock system
But if you're gonna sell it/claim warranty, who cares?
update, ZTE repaired the display
lxlx said:
update, ZTE repaired the display
Click to expand...
Click to collapse
Did you lock the bootloader after all?
I guess they wouldn't even notice if the 5 sec screen didn't show up lol
BL still unlocked.
I sent it with MM-B10-FULL-EDL, where 5sec screen was not displayed.
And got it back with MM-B06 ... with 5sec screen
so I guess what happened:
- ZTE turns on, does not see 5sec, repairs display, does usual EDR 'update' which is actually a downgrade to MM-B06, then sees 5sec-warn and thinks of what to do now, but as screen is repaired, what else than return
OR
- ZTE repairs screen (VIP) although bootloader unlocked
either way, all good.
what I learned is
- fastboot parameters need to be in aboot.img
- I can't do getvar or oem-lock until I flash another aboot.
Anyone with A2017G and unlocked BL who needs to send back:
EDL to A2017G_B10_FULL_EDL.zip
and hope you also have hidden 5sec screen (BL still unlocked)

Just a question about the bootloader

Hello there,this probably has been questioned a lot of times but I will ask it anyway.
I'm new to this so I researched a bit about the subject,already downloadead the files and everything is pretty much ready. The only thing that I can't do right now is the bootloader part,basically I put this code on the prompt "fastboot oem get_unlock_data" and all I get is this message "FAILED (remote: unknown command)".
So what should I do ? Is there an alternate command that I can try ?
My phone i a MediaTek and it's model is XT1763
I don't have much else to say so thank you for reading.
Are you in fastboot (bootloader mode) when you issue the command? Here's the procedure I followed.
Thanks that guide worked,apparently I didn't need the code from lenovo and could already unlock it

./fastboot -i 0x0fce oem unlock 0x Invalid option error

I'm trying to flash a custom rom to my X Compact. I'm using Mac OS with the latest release of ADB platform tools.
Whenever i try to input ./fastboot -i 0x0fce oem unlock 0xmyunlockcode i get a -i invalid command error
Usb debugging and oem unlock in my phone are set to on and i can see the phone when i enter fastboot devices.
What's the problem here?
Thanks.
Deadlypants02 said:
I'm trying to flash a custom rom to my X Compact. I'm using Mac OS with the latest release of ADB platform tools.
Whenever i try to input ./fastboot -i 0x0fce oem unlock 0xmyunlockcode i get a -i invalid command error
Usb debugging and oem unlock in my phone are set to on and i can see the phone when i enter fastboot devices.
What's the problem here?
Thanks.
Click to expand...
Click to collapse
Never used fastboot on a Mac, but I wonder if trying a different fastboot version might help, or just type fastboot help, and see options. Maybe what used to be -i option has changed in newer version...

Categories

Resources