Struggling to unlock XZ bootloader (Windows 10) - Sony Xperia XZ Questions & Answers

Hi guys
Im having a hard time unlocking the bootloader of my XZ
D:\Users\James\Desktop>fastboot devices
CB512C43QU fastboot
D:\Users\James\Desktop>fastboot -i 0x0fce oem unlock 0x74624F5F04DD1640
...
FAILED (remote: Command not allowed)
finished. total time: 0.015s
Anyone know the reason for this error?
Under the service menu its listed as the bootloader unlock is allowed

Have you ticked the option to unlock in settings developer options

gregbradley said:
Have you ticked the option to unlock in settings developer options
Click to expand...
Click to collapse
I didn't even know this was an option! I'm coming from an Xperia Z3 and that sort of security wasn't included.. so it must have been a thing with the more recent devices.
Thank you, I didnt know the solution was so simple (I feel so nooby) :silly:

No problem....

Can't get into FASTBOOT
I can't get my Xperia XZ into FASTBOOT! I've tried holding the volume down and power, holding the volume up and power. ADB can issue adb reboot bootloader, but it doesn't reboot. I've also tried the powered off with volume button and plugging into USB.
Windows 10 64bit. Android 7.0

zobisch said:
I can't get my Xperia XZ into FASTBOOT! I've tried holding the volume down and power, holding the volume up and power. ADB can issue adb reboot bootloader, but it doesn't reboot. I've also tried the powered off with volume button and plugging into USB.
Windows 10 64bit. Android 7.0
Click to expand...
Click to collapse
Do you get any response from fastboot devices. Did you replace the google usb driver in the guide, I had nightmare getting mine to get detected and issuing command

I've tried the Google and the Sony USB driver. I show S1boot with an exclamation mark beside it in Device Manager when it's in "fastboot"

zobisch said:
I've tried the Google and the Sony USB driver. I show S1boot with an exclamation mark beside it in Device Manager when it's in "fastboot"
Click to expand...
Click to collapse
I did a search for the USB driver and removed any instance of it so it did not auto install when the phone was plugged in. I diabled the driver signature on boot check so that I could deffo install the sony driver as it said had invalid checksum. Once installed I then was able to proceed with the unlock. Check your driverstore for any android drivers as these will be auto installed and I have to remove them also

zobisch said:
I've tried the Google and the Sony USB driver. I show S1boot with an exclamation mark beside it in Device Manager when it's in "fastboot"
Click to expand...
Click to collapse
you need to follow the instructions in the "Unlock the boot loader" page after receiving email from Sony Developer World Mobile. By following it you'll download an .inf file and replace an Android studio sdk file with it.

To get your device to show up in fastboot, hold volume down when you insert your USB in your device. Type fastboot device and you should get an answer whit a bunch of number.

Related

unblocking bootloader of xperia U

Hi,
After 2 days of searching this forum and reading (unlockbootloader.sonymobile.com) this tutorial, Still I can not unblock bootloader of my xperia u
the problem is that I can not power on my xperia u in flashmode! I searched a lot but couldn't find anything.
holding volume up and power doesn't work,holding back button and power doesn't work
how can I bring my xperia u up in flashmode?
note that I checked the "Bootloader unlock allowed" was set 'yes' in my cellphone
sinoohe said:
Hi,
After 2 days of searching this forum and reading (unlockbootloader.sonymobile.com) this tutorial, Still I can not unblock bootloader of my xperia u
the problem is that I can not power on my xperia u in flashmode! I searched a lot but couldn't find anything.
holding volume up and power doesn't work,holding back button and power doesn't work
how can I bring my xperia u up in flashmode?
note that I checked the "Bootloader unlock allowed" was set 'yes' in my cellphone
Click to expand...
Click to collapse
here is official unlock guide just follow the steps on this site you have to "guess" about unlock-button
step 12
On your phone, push and hold the unlock button* at the same time as you connect the phone to the computer with a USB-cable. The unlock button may differ between different phone models. See the note in the bottom of this page for more information on what button use on your phone.
Click to expand...
Click to collapse
most important thing :
keep that button pressed while connecting your phone to computer with a USB-cable then you see how windows is searching for drivers..
step 15 is most relevant to check you pressed the right button
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.
Click to expand...
Click to collapse
well, this is it ...and should work easily !
ruscan.calin said:
here is official unlock guide[/URL] just follow the steps on this site you have to "guess" about unlock-button
step 12
most important thing :
keep that button pressed while connecting your phone to computer with a USB-cable then you see how windows is searching for drivers..
step 15 is most relevant to check you pressed the right button
well, this is it ...and should work easily !
Click to expand...
Click to collapse
thanks for replying
but my problem is with that which button is unlock button in xperia U?!!! the power button?
I tried all buttons, it doesn't work
sinoohe said:
thanks for replying
but my problem is with that which button is unlock button in xperia U?!!! the power button?
I tried all buttons, it doesn't work
Click to expand...
Click to collapse
you can be sure about that button when you get response in step 15
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.
if not something is wrong with your Android SDK /Sony drivers installation
when you connect your phone to pc check if you have ADB Interface in Dev Manager
another solution is to request help from Sony not all models are unlockable ..
did you check it by step 2 on that online guide ?
...can be power button did you check it ? also do not forget : keep it pressed ! don't release that button until you see some change on PC: Windows should search drivers if not try another computer what if something is wrong with drivers ? can you sync phone with PC Companion ?
ruscan.calin said:
you can be sure about that button when you get response in step 15
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.
if not something is wrong with your Android SDK /Sony drivers installation
when you connect your phone to pc check if you have ADB Interface in Dev Manager
another solution is to request help from Sony not all models are unlockable ..
did you check it by step 2 on that online guide ?
...can be power button did you check it ? also do not forget : keep it pressed ! don't release that button until you see some change on PC: Windows should search drivers if not try another computer what if something is wrong with drivers ? can you sync phone with PC Companion ?
Click to expand...
Click to collapse
I'm using archlinux 64 bit with latest kernel installed
I thing the problem is not with the driver, because I develop android programs with eclipse and run it in my xperia u correctly, without any probem
and also the results from adb is currect for example the adb devices shows:
Code:
/adb devices
List of devices attached
BX902X17GJ device
but the fastboot shows:
Code:
./fastboot -i 0x0fce getvar version
< waiting for device >
and it waits until I press C-c
I press and hold the power button from the beginning of powering on to loading the android
nothing happens at ALL!!
sinoohe said:
Code:
./fastboot -i 0x0fce getvar version
< waiting for device >
Click to expand...
Click to collapse
did you check in step2 if your device is unlockable ?
to develop/run apps is one thing to unlock bootloader is something different I think you don't have installed drivers for bootloader interface or your access to bootloader is locked -you can't unlock this model
also I'm worried about that x64 Linux machine...
my advice is : don't lose time and request help from Sony

Help! Nexus5!

im trying to unlock my bootloader but i cant!
the drivers are installed but when my device is in that mode from pressing volume botton down and power button the pc doesnt recognizes it!
i checked a few many times and its just telling me the the latest drivers are installed..
when i write the fastboot oem unlock it says (waiting for device) what should i do?
thanks!
adi90004 said:
im trying to unlock my bootloader but i cant!
the drivers are installed but when my device is in that mode from pressing volume botton down and power button the pc doesnt recognizes it!
i checked a few many times and its just telling me the the latest drivers are installed..
when i write the fastboot oem unlock it says (waiting for device) what should i do?
thanks!
Click to expand...
Click to collapse
Did you follow this, especially the Driver Instalation part?
Sent from my Nexus 5
adi90004 said:
im trying to unlock my bootloader but i cant!
the drivers are installed but when my device is in that mode from pressing volume botton down and power button the pc doesnt recognizes it!
i checked a few many times and its just telling me the the latest drivers are installed..
when i write the fastboot oem unlock it says (waiting for device) what should i do?
thanks!
Click to expand...
Click to collapse
You should install drivers 2 times..
Once when it is booted..
And again when it is in fastboot mode..
Since mode changes, your pc recognizes your device as new one.
So install drivers again after connecting in fastboot mode..
adi90004 said:
im trying to unlock my bootloader but i cant!
the drivers are installed but when my device is in that mode from pressing volume botton down and power button the pc doesnt recognizes it!
i checked a few many times and its just telling me the the latest drivers are installed..
when i write the fastboot oem unlock it says (waiting for device) what should i do?
thanks!
Click to expand...
Click to collapse
You have to install the drivers manually. You can do this by downloading the drivers in the SDK manager and installing them in the device manager.
This might help you solve the problem...
http://forum.xda-developers.com/showthread.php?t=2532297
This may be just me but its a good plan to make sure your pc can see your device when developer Mode is enabled before you go into fastboot this will make sure all the drivers are in order, Not sure if this makes a difference but i also make sure when enabling Developer mode that MTP and Camera Are both unchecked as it can mix up the drivers on my system anyway

Boot Loader Xperia Z3

I have a Sony Xperia Z3 model D6653 with Android 4.4.4 build 23.0.1.A.1.49, I tried to unlock the boot loader at the Sony website, It went al right till the part when I need to run cmd at the platform-tools folder (from sdk bundle), when I write "fastboot devices" the cmd don't respond me with anything, it just appears another line to enter a command again
- Installed the Google USB Driver, Android 4.4W.2 and Android 4.4.2 SDKs (don't know why there is not for 4.4.4)
- USB Debugging Mode: ON
- Fastboot mode (blue led at the phone corner) successful
I think that this normally happens when the PC dont detect the device
I'm stuck at this phase, please someone help me, thanks!
docs.google
.com/file/d/0B31eiZiEHpNFMGgwVnBMWXBQVjQ/edit?pli=1
xda didn't allow me for posting a photo url so I put it separated
Use the minimal adb and fastboot set up, that's a lot easier
http://d-h.st/zwu
If nothing here works, get the flashtool drivers for the z3. Works like a charm. Also, you should probably TA backup, if you haven't already.
I think it didn't worked for me,the thing is that I need to unlock bootloader to put root in the device
http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794
https://drive.google.com/open?id=0B31eiZiEHpNFSnhzdGs1TU5pc00&authuser=0
dan_729 said:
I think it didn't worked for me,the thing is that I need to unlock bootloader to put root in the device
http://forum.xda-developers.com/z3/development/root-stock-kernel-twrp-v01-test-28-09-t2889794
https://drive.google.com/open?id=0B31eiZiEHpNFSnhzdGs1TU5pc00&authuser=0
Click to expand...
Click to collapse
You can root without unlocking.
Search XDA.

Can't unlock bootloader after upgrade

Hi
My phone is international NXT-L29
I was on Ephemeral B180 rom but i decided to upgrade it to get emui 4.1
I flashed back stock b180 rom, and after I flashed stock b321 rom
ROM works great but i would like to get root and twrp back again, but everytime I try to go through fastboot i get this screen on picture.
I logged into my dc unlocker again and followed the procedures (manufacture mode, unlocking,...) and dc unloccker tool informs that the phone was unlocked...but no, when I do adb reboot bootloader i still get the same message on the picture.
I saw other suggestions here on XDA, i confirm oem unlock is activated on developer options...i made factory reset and then "vol+- power" (with or without phone connected to PC) but i dont't get any option to unlock bootloader. I always arrive to a menu saying that the phone is looking for upgrade and tries until 5% is reached... (if I keep waiting it does not fisplat error message, only waits and waits and after a while it reboots normally (i don't have any dload folder either on phone or sd card)
Any suggestion to solve this is highly appreciated
many thanks
Try to get ur unlock code from huawei website maybe this can help.
Did you run the bootloader unlock command with your unlock code again?
Ephemera said:
Did you run the bootloader unlock command with your unlock code again?
Click to expand...
Click to collapse
the only command my phone accept is adb reboot bootloader
Then i get the screen of picture that I posted, which says that it is a cold reboot (?)
Whem I reach this point it doens not respond to anything else taht I type on Command line (I type fastboot oem unlock (and the code) but on pc screen i read 'ewaiting device' and nothing happens on phone
gm007 said:
Try to get ur unlock code from huawei website maybe this can help.
Click to expand...
Click to collapse
I retrived my code from DC Unlocker (it has an option to read bootload code) but the problem is thar when I get de Fastboot&Rescue Mode the phone does not react to any command i can type on PC
Can I replace the stock boot.img that comes inside the UPDATE.APP file byone decrypted boot image of same rom?
If that would be possible then flashing this "modified" UPDATE.APP would solve the problem?
Many Thanks
pasil.pt said:
I retrived my code from DC Unlocker (it has an option to read bootload code) but the problem is thar when I get de Fastboot&Rescue Mode the phone does not react to any command i can type on PC
Click to expand...
Click to collapse
Hi pasil.pt,
try to update the fastboot mode driver
http://forum.xda-developers.com/showpost.php?p=69382774&postcount=202
grofock said:
Hi pasil.pt,
try to update the fastboot mode driver
http://forum.xda-developers.com/showpost.php?p=69382774&postcount=202
Click to expand...
Click to collapse
I don't see any kedacom usb device folder...
Check if the device isnfound by the computer. Restart in fastboot mode then on your computer type "fastboot devices" you should get a device and its serial. If you're not getting anything its a driver issue.
Ephemera said:
Check if the device isnfound by the computer. Restart in fastboot mode then on your computer type "fastboot devices" you should get a device and its serial. If you're not getting anything its a driver issue.
Click to expand...
Click to collapse
I did not try the command fastboot devices, but as per the new picture attached when I run adb devices the computer finds my phone
the problem is, then, when next i run 'adb reboot bootloader'...the device goes into fastboot&rescue mode and the device is not recognized by computer anymore
pasil.pt said:
I did not try the command fastboot devices, but as per the new picture attached when I run adb devices the computer finds my phone
the problem is, then, when next i run 'adb reboot bootloader'...the device goes into fastboot&rescue mode and the device is not recognized by computer anymore
Click to expand...
Click to collapse
Open control panel when your phone is in this state (it's fastboot mode) and you should see the folder I talked about.
It seems drivers issue, i hate windows 10
Try different usb port,and try to remove the drivers and install them again.
Make sure no usb device connected to any other ports.
grofock said:
Open control panel when your phone is in this state (it's fastboot mode) and you should see the folder I talked about.
Click to expand...
Click to collapse
YES!!!!!!
many thanks to you. grofock, and to ephemera, and XDA
At last i got it done. (Huawei are so tricky compared to samsung...but at least they do not explode
gm007 said:
It seems drivers issue, i hate windows 10
Try different usb port,and try to remove the drivers and install them again.
Make sure no usb device connected to any other ports.
Click to expand...
Click to collapse
You were probably right because i recently changed PC and aeverytime w10 upgrades I pray...
Have the the same problem, but didn't find the solution. Try different laptops and different cables. Windows can't recognise my Mate 8 L29 after B320 update cause of the wrong descriptor.
timasan said:
Have the the same problem, but didn't find the solution. Try different laptops and different cables. Windows can't recognise my Mate 8 L29 after B320 update cause of the wrong descriptor.
Click to expand...
Click to collapse
try grofock's hints about control panel and Device manager on windows....
pasil.pt said:
try grofock's hints about control panel and Device manager on windows....
Click to expand...
Click to collapse
I try it on four different PCs and still error 43 "wrong descriptor".
timasan said:
I try it on four different PCs and still error 43 "wrong descriptor".
Click to expand...
Click to collapse
Maybe explain more what you did,what are you trying to do and which tools you used.
gm007 said:
Maybe explain more what you did,what are you trying to do and which tools you used.
Click to expand...
Click to collapse
I'm trying to install drivers for Mate 8. I did it on different PC with Win 10 and 7. With different cables. Try to change or delete drivers for USB hub and etc. In fastboot mode and normal with usb debug and w/o.
timasan said:
I'm trying to install drivers for Mate 8. I did it on different PC with Win 10 and 7. With different cables. Try to change or delete drivers for USB hub and etc. In fastboot mode and normal with usb debug and w/o.
Click to expand...
Click to collapse
Did you install hisuite it has all the drivers and make sure to enable allow hisuite to use hdb in phone settings under security.

No green android when using flash or fastboot mode

Hi,
First of all the bootloader is already unlocked.
Two problems:
1. - I was trying to flash twrp.img on my mobile but I am not getting that green android to show up in my screen all I get a black screen with blue led light, I usually power off the mobile, hold volume up and then connect the USB cable to my mobile.
2. - Can't find mobile device while using flash or fastboot, my mobile Developer option and USB debugging are turn on, mobile drivers and adb-setup-1.4.3 are installed, I have access to my mobile on my PC , when I do the process of flashing or fastboot I turn off the mobile and I unplug USB cable from my mobile, I press the keys to do flash or fastboot (I don't see no green android just a led light turn on) and connect the USB cable, problem is my PC can't find the mobile device, I use adb function eg. adb devices or fastboot devices I get nothing no device no info.
Is this problem with Win 10?
Was my problem understood in 2. - ?
Sa9aX said:
Is this problem with Win 10? Was my problem understood in 2. - ?
Click to expand...
Click to collapse
Most likely a drivers problem, Windows10 fails to tell you that it's not installed the drivers that you pressed the install button on. It also fails to assign the right drivers when you add the phone in flashmode/fatsboot.
You will need to add them manually.
Go into safe mode and use 'driver signing disabled', try adding the drivers again. Then plug in you phone in flashmode/fastboot, then look in the device manager for the phone and change it
Several people have reported success with Zdiag drivers
Didgesteve said:
Most likely a drivers problem, Windows10 fails to tell you that it's not installed the drivers that you pressed the install button on. It also fails to assign the right drivers when you add the phone in flashmode/fatsboot.
You will need to add them manually.
Go into safe mode and use 'driver signing disabled', try adding the drivers again. Then plug in you phone in flashmode/fastboot, then look in the device manager for the phone and change it
Several people have reported success with Zdiag drivers
Click to expand...
Click to collapse
Thanks! Great Info.
I removed the drivers manually in device manager and then used Zadig, now in command mode I getting something.
Next I have to figure how root the phone, do I need to flash twrp.img ?
I have all this stuff and I got confused which one I need to do next:-
boot.img
boot-G8141-47.2.A.10.45-hideunlock-rooted.img
twrp.img
twrp-3.2.1-0-maple
xperifix.zip
ss_maple.zip
zestmaple-latest.zip
ScriptWINg-master.zip
Sa9aX said:
Thanks! Great Info.
I removed the drivers manually in device manager and then used Zadig, now in command mode I getting something.
Next I have to figure how root the phone, do I need to flash twrp.img ?
I have all this stuff and I got confused which one I need to do next:-
boot.img
boot-G8141-47.2.A.10.45-hideunlock-rooted.img
twrp.img
twrp-3.2.1-0-maple
xperifix.zip
ss_maple.zip
zestmaple-latest.zip
ScriptWINg-master.zip
Click to expand...
Click to collapse
Back again...
I figured all out:-
twrp-3.2.1-0-maple.img
boot-G8141-47.2.A.10.45-hideunlock-rooted.img (latest firmware)
Magisk Manager

Categories

Resources