./fastboot -i 0x0fce oem unlock 0x Invalid option error - Sony Xperia X Compact Questions & Answers

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...

Related

Command code to relock boatloader?????

Plz give the cmd code for checking details of bootloader locked or unlocked
Here you go
fastboot -i 0x1ebf oem device-info
jogson said:
Plz give the cmd code for checking details of bootloader locked or unlocked
Click to expand...
Click to collapse
**************************WARNING****************************************
Please not that unlocking and re-locking boot loader in CM12 (Lollipop) Would ERASE USER DATA!
So first make sure that your device (yureka) is detected fastboot -i 0x1ebf devices
fastboot -i 0x1ebf oem lock
Please hit Thanks! if it worked!

Computer recognises phone but phone doesn't think it's connected?

I'm trying to unlock the bootloader so that I can flash a custom recovery.
I've enabled both unlocking the bootloader and USB debugging and the computer recognizes the phone when I type "fastboot devices" in the terminal. When on the bootloader screen i've wrote "adb devices" and the computer recognised the phone.
I've then typed "fastboot flashing unlock" and a list of commands come up. The same list comes up even when I type "sudo fastboot flashing unlock".
"sudo fastboot oem" unlock gives me a FAILED (remote: unknown command) message.
What can be the cause of this problem?
My linux computer recognizes my phone when I type fastboot devices, but judging by the last line on the bootloader the phone doesn't think it's connected to the computer.
tbh just use nexus root toolkit
CloudPaganini said:
I'm trying to unlock the bootloader so that I can flash a custom recovery.
I've enabled both unlocking the bootloader and USB debugging and the computer recognizes the phone when I type "fastboot devices" in the terminal. When on the bootloader screen i've wrote "adb devices" and the computer recognised the phone.
I've then typed "fastboot flashing unlock" and a list of commands come up. The same list comes up even when I type "sudo fastboot flashing unlock".
"sudo fastboot oem" unlock gives me a FAILED (remote: unknown command) message.
What can be the cause of this problem?
My linux computer recognizes my phone when I type fastboot devices, but judging by the last line on the bootloader the phone doesn't think it's connected to the computer.
Click to expand...
Click to collapse
Try fastboot oem unlock.
fastboot flashing oem unlock.
http://www.androidpolice.com/2015/1...become-common-for-many-devices-in-the-future/

Dirty cows?

Hi all
As mentioned in the other thread Lenovo is apparently distributing free bl unlock codes. So I was wondering, is it possible to use dirty cow method to root the phone (similar to how the t-mobile LG V20 was rooted?)
This one doesn't need code. Just use regular adb method to unlock the bootloader. As far as I could recall, I failed unlock it until I installed the USB driver. I tried to specify the oem code -i 0x2b4c like you needed for Z2 but didn't help. After I install the USB driver on my Windows 10 PC, I don't think I used -i 0x2b4c but the bootloader was unlocked in a snap.
fastboot -i 0x2b4c oem unlock

what should i do

hey i have some trouble doing command " fastboot -i 0x1ebf oem unlock " and the result is waiting for device ? thanks for your help
miankaja said:
hey i have some trouble doing command " fastboot -i 0x1ebf oem unlock " and the result is waiting for device ? thanks for your help
Click to expand...
Click to collapse
Reinstall usb driver

fastboot oem get_identifier_token not working

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!

Categories

Resources