Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Xperia Z2 fails to unlock bootloader

OP khumash

3rd May 2014, 05:49 PM   |  #1  
OP Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: May 2014
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
3rd May 2014, 09:42 PM   |  #2  
Senior Member
Thanks Meter: 26
 
117 posts
Join Date:Joined: Jul 2008
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.
The Following User Says Thank You to JMonkeYJ For This Useful Post: [ View ]
4th May 2014, 03:38 AM   |  #3  
Senior Member
Flag Barnsley
Thanks Meter: 836
 
1,701 posts
Join Date:Joined: Jan 2011
More
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
The Following User Says Thank You to festa20 For This Useful Post: [ View ]
4th May 2014, 08:59 AM   |  #4  
Ben Ling's Avatar
Recognized Themer
Flag Kuala Lumpur
Thanks Meter: 8,496
 
4,288 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Post
i think you shouldn't show your unlock key to us
4th May 2014, 09:20 AM   |  #5  
raducanmihai's Avatar
Senior Member
Flag Brașov
Thanks Meter: 30
 
143 posts
Join Date:Joined: Aug 2011
More
He didn't.
4th May 2014, 02:38 PM   |  #6  
OP Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: May 2014
@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?
Last edited by khumash; 4th May 2014 at 02:48 PM.
4th May 2014, 04:54 PM   |  #7  
nickwarn's Avatar
Senior Member
Flag Ronneby
Thanks Meter: 539
 
2,616 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by khumash

@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?

If your device is plugged in to PC in fastboot mode you need to do "fastboot devices"
The Following User Says Thank You to nickwarn For This Useful Post: [ View ]
4th May 2014, 05:56 PM   |  #8  
OP Junior Member
Thanks Meter: 1
 
24 posts
Join Date:Joined: May 2014
Quote:
Originally Posted by nickwarn

If your device is plugged in to PC in fastboot mode you need to do "fastboot devices"

Running "fastboot devices" can see my device now. But still fail to unlock.
Code:
Flashtool\x10flasher_lib>fastboot.exe devices
MYZ2SN      fastboot
Last edited by khumash; 4th May 2014 at 06:00 PM.
4th May 2014, 07:21 PM   |  #9  
Senior Member
Flag Barnsley
Thanks Meter: 836
 
1,701 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by khumash

Running "fastboot devices" can see my device now. But still fail to unlock.

Code:
Flashtool\x10flasher_lib>fastboot.exe devices
MYZ2SN      fastboot

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
7th May 2014, 12:56 PM   |  #10  
Senior Member
Flag Barnsley
Thanks Meter: 836
 
1,701 posts
Join Date:Joined: Jan 2011
More
We did it

Sent from my D6503 using XDA Premium 4 mobile app

The Following User Says Thank You to festa20 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes