Hi everyone
I message you today beacause I've tried (nearly ^^) everything I could to unlock my Sony Xperia Z5 Compact's Bootloader, without any success!...
ADB actually find my Xperia, I rune:
Code:
adb reboot bootloader
and my Xperia goes right into Fastboot mod (blue led), confirmed by:
Code:
fastboot devices
but when I run:
Code:
fastboot.exe -i 0x0fce oem unlock 0x"my Sony unlock code"
the comand line answer back "fastboot.exe: unknown option -- i"...
I dug the web to find a similar case, without any success... did I miss something?
If someone has encountered this problem before, he'll be welcome to share is knowledges
It was the same here but I've tried with another fastboot.exe from another source, and it worked.
loosht said:
It was the same here but I've tried with another fastboot.exe from another source, and it worked.
Click to expand...
Click to collapse
I faced the same problem, but as @loosht advised, using different version of fastboot helped... I used this one: Minimal ADB And Fastboot V1.4.2
Related
Hey guys! I'm a noob, I aknowledge it and I apologize for it.
I've been trying to open the bootloader on my brand new Ray by following the official Sony Ericsson guide found on their website. The problem is that I'm stuck with this step:
# Open a command window and go to the tools folder within the Android SDK folder.
# Enter fastboot.exe -i 0x0fce getvar version, and verify that you get a response back (for example "0.3"). This means your phone is connected properly.
The only answer that I get from command promt is: 'fastboot.exe' is not recognized as an internal or external command, operable program or batch file.
This leads me to thinking that there's not fastboot in the SDK-folder. Why is this? I've followed the guide to the letter, and I've checked several times that I actually did follow it to the letter. Any help guys? Please?
Found the solution after hours and hours of fighting, still not through with all the problems though.
Try flashtool, inside x10 flasher folder you will find the required fastboot and adb.exe and dll for them. Try from there.
http://forum.xda-developers.com/showthread.php?t=1034087
Try this to unlock boot loader I uses it found Easier than se site
It.sounds like a driver problem I had the same issue the link above has the.drivers needed.to sort it out
sent from my gorgeus Xperia Ray
i have a xperia u with locked bootlocker and also it is allowed to unlock it.
but when i connect it in fastboot mode and open cmd in fastboot folder and paste first command for boot unlocker
and that is fastboot.exe -i 0x0fce getvar version but it shows only WAITING FOR DEVICE....
it does nothing more than this...
pls help me... what to do:crying:
Bcuz you are not yet install fastboot driver
Sent from my ST25i using xda premium
nscharan007 said:
i have a xperia u with locked bootlocker and also it is allowed to unlock it.
but when i connect it in fastboot mode and open cmd in fastboot folder and paste first command for boot unlocker
and that is fastboot.exe -i 0x0fce getvar version but it shows only WAITING FOR DEVICE....
it does nothing more than this...
pls help me... what to do:crying:
Click to expand...
Click to collapse
Your phone must have decided to abandon fastboot and went into charging mode. When you connect to fastboot, check to see if the charging icon comes up, if it does. It means your phone is not staying in fastboot.
You'll need to install fastboot drivers.
Refer to this thread http://forum.xda-developers.com/showthread.php?t=1554632
I faced your problem before, and following that thread unlocked my bootloader. Good luck!
nscharan007 said:
i have a xperia u with locked bootlocker and also it is allowed to unlock it.
but when i connect it in fastboot mode and open cmd in fastboot folder and paste first command for boot unlocker
and that is fastboot.exe -i 0x0fce getvar version but it shows only WAITING FOR DEVICE....
it does nothing more than this...
pls help me... what to do:crying:
Click to expand...
Click to collapse
try multi xperia u tool @AlexDroid00
HERE
Flashtool is the easiest and fastest way, just click on Bootloader Unlock, and follow the steps
I am following the official guide [*1], which is suggested from this root instruction[*2].
But I keep getting this error:
Code:
C:\fastboot>fastboot.exe -i 0x0fce oem unlock 0xMYKEYGOTFROMSONY
...
FAILED (remote: Command did not succeed)
finished. total time: 0.021s
What could be wrong? Is there anyway to get more debug information to see why it's failing?
Here is my settings:
Phone model: D6503 / Xperia Z2
OS: Win 7 64-bit
USB Driver: Android Bootloader Interface version 4.0.0.0 [12/6/2010]
(This one is using android_winusb.inf dowloaded from Sony official site, and the rest files from latest Android SDK (64-bit)[*3].)
In the service info > Rooting status: Bootloader unlock allowed: Yes
Running this cmd:
Code:
>fastboot.exe -i 0x0fce getvar version
shows "5.0".
I didn't insert the SIM card while unlocking.
The phone USB debugging mode is enable already.
*1 = unlockbootloader.sonymobile.com/instructions
*2 = androidcentral.us/2014/04/root-sony-xperia-z2-on-android-4-4-2/
*3 = dl.google.com/android/adt/22.6.2/adt-bundle-windows-x86_64-20140321.zip
If you run "adb devices" from wherever your adb.exe is, does your phone show up? That's a good way to test if your USB drivers are working.
Download latest flashtool and install all drivers again and then use flashtool folders to use USB might work out better for you
Sent from my D6503 using XDA Premium 4 mobile app
i think you shouldn't show your unlock key to us
He didn't.
@JMonkeYJ: I ran adb.exe with my Z2 phone in fastboot mode, but it didn't find any device.
@festa20: I downloaded flashtool-0.9.16.0-windows, installed it.
- then run flashtool\drivers\Flashtool-drivers.exe, install below drivers:
Flashmode drivers, fastboot drivers, Xperia Z2 Device Drivers.
(But when connect Z2 to the USB in fastboot mode, in Windows 7 Device Manager, it still shows:
SAMSUNG Android Phone (my old phone was a Samsung):
Sony ADB Interface (Driver Provider: Google Inc., Driver data: 12/6/2010, Driver Version: 4.0.0.0)
Looks like the ADB driver is still the old one I installed, not from the flashtool(?)
- I then run flashtool\x10flasher_lib\fastboot.exe in command line, still got same error...
Looks like it's a driver issue, how do I install the correct driver?
khumash said:
@JMonkeYJ: I ran adb.exe with my Z2 phone in fastboot mode, but it didn't find any device.
@festa20: I downloaded flashtool-0.9.16.0-windows, installed it.
- then run flashtool\drivers\Flashtool-drivers.exe, install below drivers:
Flashmode drivers, fastboot drivers, Xperia Z2 Device Drivers.
(But when connect Z2 to the USB in fastboot mode, in Windows 7 Device Manager, it still shows:
SAMSUNG Android Phone (my old phone was a Samsung):
Sony ADB Interface (Driver Provider: Google Inc., Driver data: 12/6/2010, Driver Version: 4.0.0.0)
Looks like the ADB driver is still the old one I installed, not from the flashtool(?)
- I then run flashtool\x10flasher_lib\fastboot.exe in command line, still got same error...
Looks like it's a driver issue, how do I install the correct driver?
Click to expand...
Click to collapse
If your device is plugged in to PC in fastboot mode you need to do "fastboot devices"
nickwarn said:
If your device is plugged in to PC in fastboot mode you need to do "fastboot devices"
Click to expand...
Click to collapse
Running "fastboot devices" can see my device now. But still fail to unlock.
Code:
Flashtool\x10flasher_lib>fastboot.exe devices
MYZ2SN fastboot
khumash said:
Running "fastboot devices" can see my device now. But still fail to unlock.
Code:
Flashtool\x10flasher_lib>fastboot.exe devices
MYZ2SN fastboot
Click to expand...
Click to collapse
Let me know when you have time I will help u through team viewer and see what we can do
Sent from my D6503 using XDA Premium 4 mobile app
We did it
Sent from my D6503 using XDA Premium 4 mobile app
festa20 said:
We did it
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Many thanks to festa20 walk me through the whole process!!!
help
hi
i have the same problem in my z2 d6503 please help i can enter the recovery mode when i used the commend
fastboot flash boot ***.img
it said not command not allowed even i cant flash my device in flashtools it said error with loader.sin
help
Sony xperia z2 tablet - failed command not allowed
nickwarn said:
If your device is plugged in to PC in fastboot mode you need to do "fastboot devices"
Click to expand...
Click to collapse
I get a similar msg.
Running SDK from Linux (Tiny Core)
fastboot fired up fine
But got similar message after following Sony step-by-step.
./fastboot devices
then tried
./fastboot -i etc.
RESULT:
FAILED: (REMOTE: Command not allowed)
Any ideas?
Is there a different tool I should try another utility?
This Z2 is a Verizon release...and I noticed Sony site mentions some Z2 devices cannot be unlocked.
Is this an evil empire block?
Help!
I have problem just like OP. How did you fixed it?
Bootloader Unlocked Allowed : Yes
and fastboot working, detect my phone.
I already tried with 14,15 digit IMEI but result are same as the output bootloader key is same
I have issue using this method as well as trying to use flashtool. Both doesn't work. For fastboot I get into the command prompt and it's just stuck on waiting for device. In flashtool it can't find my device and tells me to reboot the phone. Any ideas? BTW my phone is rooted does that have something to do with it?
you cant adb bootloader unlock unless you have added/modded some adb files
(only aplies to z2 btw)
(yes fastboot and flasmode too you need the files(try developer.sonymobile.com)
try flashtool from flashtool.net
install drivers first before trying
Envious_Data said:
you cant adb bootloader unlock unless you have added/modded some adb files
(only aplies to z2 btw)
(yes fastboot and flasmode too you need the files(try developer.sonymobile.com)
try flashtool from flashtool.net
install drivers first before trying
Click to expand...
Click to collapse
Still don't work after downloading again. Anyone else got it working willing to help out? I've tried going through Sony developer again and it doesn't work. BTW my handset says bootloader is unlockable.
nyichiban said:
Still don't work after downloading again. Anyone else got it working willing to help out? I've tried going through Sony developer again and it doesn't work. BTW my handset says bootloader is unlockable.
Click to expand...
Click to collapse
have you got the drivers, adb files, adb installed with fastboot n flashmode and do you have the files for those
you can get all these files from sonymobile or adb download
of course you can try the easy way to unlock which is USING FLASHTOOL
festa20 said:
We did it
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What did you do? I'm having the same problem as khumash, I get:
Code:
>fastboot.exe -i 0x0fce oem unlock 0xMYKEY
...
FAILED (remote: Command did not succeed)
finished. total time: 0.020s
However, my device shows up when I do "fastboot devices", though nothing shows up when I do "adb devices"
festa20 said:
Let me know when you have time I will help u through team viewer and see what we can do
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ive got the same problem is there any chance you could help me please? its been driving me crazy trying to do this lol.
I recently purchased an Xperia Z2 D6503 from Amazon (International version); and when trying to unlock the bootloader I ran into this issue.
I followed all steps until the part where it requires that I go to device manager> right click on s1 fastboot> update drivers> and select newest google usb drivers with the modified sony file in there. However, when I try that instead of showing a progress bar and telling me it is now an ADB boot loader interface it simply says it was unable to install drivers.
I tried different folders, different drivers, and nothing works. I tried to skip to the step of opening command prompt and typing fastboot.exe -i 0x0fce getvar version, however the message [waiting on device] appears and nothing ever happens... I waited 10 minutes and nothing happened.
I didn't try the last step of typing fastboot.exe -i 0x0fce oem unlock 0xKEY, so does anyone know what to do here?
PS: I did have a Nexus 5 before this, and unlocking the bootloader there was similar but went smooth and got it first try... not here.
My Z5 compact was updated to Nougat using the OTA service.
The bluetooth integration to my car stopped working and I read that this was a noted problem I decided to flash my phone back to Marshmallow.
I'd installed custom ROMs on previous HTC phones following info from XDA so was pretty confident.
After following the Sony guidelines and obtaining my unlock key I am unable to get it to work in fastboot mode.
I suspect that it is a USB problem at one end or another.
If I connect up the phone to the PC using the original lead I can find it using adb devices and the device is showing up as error free "Sony sa0113 ADB Interface Driver" in Windows 10 device manager.
However the phone isn't charging and I can't get it into Fastboot by holding the up vol key and plugging in the USB lead.
I can get a black screen with the blue led by running adb reboot bootloader and the phone is recognised from fastboot devices but when I try to unlock the bootloader I get an error:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -i 0x0fce oem unlock 0xB4D9AxxxxC359F2C
...
FAILED (remote: Command did not succeed)
finished. total time: 0.042s
Any help appreciated.
PhilG57 said:
My Z5 compact was updated to Nougat using the OTA service.
The bluetooth integration to my car stopped working and I read that this was a noted problem I decided to flash my phone back to Marshmallow.
I'd installed custom ROMs on previous HTC phones following info from XDA so was pretty confident.
After following the Sony guidelines and obtaining my unlock key I am unable to get it to work in fastboot mode.
I suspect that it is a USB problem at one end or another.
If I connect up the phone to the PC using the original lead I can find it using adb devices and the device is showing up as error free "Sony sa0113 ADB Interface Driver" in Windows 10 device manager.
However the phone isn't charging and I can't get it into Fastboot by holding the up vol key and plugging in the USB lead or by running adb reboot fastboot
If feels like I haven't go the fastboot USB drivers but I can't see how or where I can add them.
Any help appreciated.
Click to expand...
Click to collapse
Disable driver signature enforcement then reinstall sony drivers
tapiwasam said:
Disable driver signature enforcement then reinstall sony drivers
Click to expand...
Click to collapse
Thanks. I think I am OK there because I accepted the drivers from an unverified source during installation.
Also I can see the phone with both adb devices and fastboot devices
However when I run adb reboot bootloader the phone reboots but comes up with a blank screen with the blue led.
adb reboot bootloader just goes into bootloader mode and not fastboot mode which is needed to unlock it. Go directly into fastboot by typing adb reboot fastboot
Then when your phone led is flashing blue, run your fastboot "oem unlock" command.
Saw now that you already tried that sorry about that.
Tried running cmd with admin privileges to see if that shows any difference?
Also from sony:
Please note! It will only be possible to unlock the boot loader for certain releases. You can check if it is possible to unlock the boot loader of your device in the service menu by following the steps below:
In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.
Tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
Click to expand...
Click to collapse
PhilG57 said:
My Z5 compact was updated to Nougat using the OTA service.
The bluetooth integration to my car stopped working and I read that this was a noted problem I decided to flash my phone back to Marshmallow.
I'd installed custom ROMs on previous HTC phones following info from XDA so was pretty confident.
After following the Sony guidelines and obtaining my unlock key I am unable to get it to work in fastboot mode.
.... snip....
Click to expand...
Click to collapse
You don't need to unlock your bootloader to simply downgrade to official MM! Just use flashtool to flash the appropriate MM ftf. There are plenty guides available on XDA and elsewhere.
I'm lost in your explanation.
You wanted to unlock your bootloader to be able to downgrade your phone? That's right? And it's fine to me, but you don't need to do that if you don't feel like. Unlocking your bootloader is nog necessary to downgrade to MM via flashtool.
So you tried to unlock your bootloader. But what you write what happened afterwards is completely unclear to me, because it contradicts itself.
-->> "Also I can see the phone with both adb devices and fastboot devices"
Fine. This means your connected with your phone and fastbook recognizes your phone. So bootloader is unlocked and software to control that works fine.
-->> "However when I run adb reboot bootloader the phone reboots but comes up with a blank screen with the blue led."
Fine, so you unlocked your bootloader, and rebooted in fastboot.
-->> Obviously. It's an unlocked bootloader, you can double unlock it or something like that. You can relock it if you want (which doesn't make any difference for what you want to do) but that's a different method.
Is there any reason that you absolutely need to a second method to enter fastboot mode? Or any fastboot mode? It could be possible with another kernel, but I don't see the point to flash another kernel. I would just leave it like it is.
PhilG57 said:
Thanks. I think I am OK there because I accepted the drivers from an unverified source during installation.
Also I can see the phone with both adb devices and fastboot devices
However when I run adb reboot bootloader the phone reboots but comes up with a blank screen with the blue led.
Click to expand...
Click to collapse
that is notmal behaviour, that is fastboot mode, indicated by that blue LED
Thanks for the clarification that I don't need to unlock the bootloader to downgrade using flashtool. What I didn't say was that I couldn't reinstall Nougat using the Sony tool software restore option or get anywhere with flashtool because the phone won't go into the blue led mode by inserting the USB and holding the up vol button. I did try running flashtool in one window and the command line tools in another with the idea of running flashtool first and then unplugging the phone and replugging it to use command line to get the blue LED state, but that doesn't work because the command line tools can't see the phone once flashtool is running and has addressed the phone.
From what i read, i assume you are on nougat and want to go back to MM, right?
So you would need flashmode instead of fastboot mode.
You get there with holding Vol down button and plugging in USB cable on turned off phone.
Flashmode also shows a green notification light instead of the blue one.
If you having Problems to get there, please check following:
make sure to have latest version of flashtool installed http://www.flashtool.net/downloads.php
install drivers from your flashtool\drivers folder
don't use an USB 3.0 port or cable(have heard of some people having trouble with)
PhilG57 said:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -i 0x0fce oem unlock 0xB4D9AxxxxC359F2C
...
FAILED (remote: Command did not succeed) <- this
finished. total time: 0.042s
Any help appreciated.
Click to expand...
Click to collapse
OP, I had the exact same problem as you. At the time I tried absolutely everything but never found the culprit. So after several months I actually succeeded today
This is the guide I followed - https://forum.xda-developers.com/z5-compact/general/guide-how-to-root-z5c-painful-using-t3549388 and it worked perfectly.
A few pointers:
- Go to the service menu (*#*#SERVICE#*#*) before you begin, before you turn OEM Unlocking ON from Dev Options .
- Take note of what it says in Configuration and Firmware.
- Now enable OEM Unlocking and take note again, it should say stuff like Model Number: Unknown and other unknown stuff.
- Reboot - IMPORTANT.
- Use the guide I gave you and you will be fine, it took me ages to find a solution but now I'm on MM and rooted
Hope I helped :fingers-crossed::fingers-crossed::fingers-crossed: