How do i unlock the Bootloader? - Sony Xperia XZ Premium Questions & Answers

(sorry for the dumb question) But seriously! I can't follow the "official" sony site here, because as soon i try to install the driver, which they actually call android_winbus.inf (which i don't even find anything about on the web) and nowhere else (atleast everywhere where i searched) was a actual guide that wasn't completely outdated or actual compatible with this phone! Like, even Sonys own guide doesn't even work with my PC (WIN10) I installed the Google driver (which i think was for fastboot) and then 2 normal Xperia drivers (for data i guess)
Oh and BL unlock is yes; I even activated USB debugging.
But seriously, if someone has a guide, how to unlock the Bootloader, could you please post it in here?
I just get an error installing that driver, that something's wrong with the hash of the driver or that it's damaged.
EDIT: I got it to work; there was one driver labeled samsung/aka google driver.
Went to pc maintaince, selected Android (device name for fastboot; wasn't labeled anywhere) update driver, search on pc, select from the list (drivers that are already installed) , ADB interface, Samsung Android ADB Interface install/activate the driver(by selecting yes/next/continue) and afterwards i could unlock my bootloader, just as Sony described it(on their website)

Related

[Q] Xperia E1 locked bootloader

Good Evening,
I've tried to unlock my Xperia E1(D2005); however with no success. I've followed the steps on Sony's official website, as did I follow every step thoroughly in this video https://www.youtube.com/watch?v=iIdJg7KNH3A. Did everything he requests, checked if the bootloader was unlockable - which it was and is - by typing in the dailer this code *#*#7378423#*#*; installed android SDK and downloaded all the required tools; downloaded the fastboot driver for windows - I'm using windows 8.1 btw - and inserted it in the requested place (USB driver folder); enabled USB debugging; Turned off my device and connected it through fastboot; installed the fastboot driver manually in the device manager; opened CMD and pointed to "C:\android-sdk-windows\platform-tools" where fastboot.exe is located, pasted the code and supposedly unlocked my smartphone. Just to be clear, my first attempt to run the code in the CMD returned an error message, saying the procedure was unsuccessful, but when I run the code for the second time it returned a success message.
For my surprise, when I turned the phone on, it started to bootloop. When pressing the Key down + insert USB cable combo, Sony's flashtool (Emma) returns a message saying that "phone is locked".
Just for elucidation purposes, my pc recognized my phone in every instance. It was recognized in normal circumstances, as it were recognized in fastboot. I've checked it in the device manager and everything was spot on.
So I'm kinda lost in the middle of this, suggestions would be highly appreciated. I would still like to unlock it and - if God permits - fix the bootloop problem and access my phone as I need it for work and daily routine.
To finalize, I would like to thank everyone in this forum for the amazing support and for the service provided.
Kind regards,
Absinto10
Good evening,
I've found a solution for 1/2 of the problem. If you're having a bootloop problem, the easiest fix I could find is to simply plug in your cellphone to your pc, open Sony pc companion, and update the phone's software. Just follow the instructions on this video:
http://www.dailymotion.com/video/x2...stock-in-sony-logo-always-restarting-etc_tech
Hope this helps.

[SOLVED] Soft bricked Z5 - Require Assistant

So, i havent been modding Android phones in a long time and when I wanted to flash MM on my Z5, i forgot that i dont have the Z5 drivers. Now, based on what i know, i did have SONY PC COMPANION installed prior to soft bricking my device, so i would assume the drivers are installed. My current situation is as follows:
-Device wont turn on, switches between RED/GREEN led with error message of "update failed, please connect to PC etc..."
-Sony pc companion doesnt seem to recognize the phone as i cant repair it
-Cannot flash FTF through as it keeps failing to flash at different points, do not know if not having the Z5 drivers play a factor here. I got the drivers from there but i do not know what to do with it as it is not .exe file, i also have the latest flashtool installed.
-I backed up my files prior to this, so i am willing to wipe everything.
Thank you, i would appreciate if i can get some assistant on this. Stupid me for making this mistake in the first place.
Regards,
Litoni
Use PC Companion repair option (marked with a red box on my screenshot).
LitoNi said:
So, i havent been modding Android phones in a long time and when I wanted to flash MM on my Z5, i forgot that i dont have the Z5 drivers. Now, based on what i know, i did have SONY PC COMPANION installed prior to soft bricking my device, so i would assume the drivers are installed. My current situation is as follows:
-Device wont turn on, switches between RED/GREEN led with error message of "update failed, please connect to PC etc..."
-Sony pc companion doesnt seem to recognize the phone as i cant repair it
-Cannot flash FTF through as it keeps failing to flash at different points, do not know if not having the Z5 drivers play a factor here. I got the drivers from there but i do not know what to do with it as it is not .exe file, i also have the latest flashtool installed.
-I backed up my files prior to this, so i am willing to wipe everything.
Thank you, i would appreciate if i can get some assistant on this. Stupid me for making this mistake in the first place.
Regards,
Litoni
Click to expand...
Click to collapse
What Windows version ?
Follow
# STEP 1 - GENERAL GUIDE
INSTALL / CHECK DRIVERS
of
http://forum.xda-developers.com/xperia-z5/general/guide-sony-xperia-z5-unlock-root-tweaks-t3298224
and (re-)boot into (newer) Windows by disabling the driver signature verification.
Log in with administrator rights,
Extract the zip-file,
there you have inf files
https://en.wikipedia.org/wiki/INF_file
https://msdn.microsoft.com/en-us/library/windows/hardware/ff549520(v=vs.85).aspx
right-click on those and choose install - so that the device drivers are installed.
Reboot (of Windows) shouldn't be necessary.
Entering Fastboot mode should still be possible, check whether it's being recognized now (via Minimal ADB and Fastboot).
Remember: in case the device goes crazy because it's not being detected upon connection - you can still turn it off via
Emergency off
(listed under "#FASTBOOT / FLASHMODE / RECOVERY / etc.")
Install the drivers that are inside flashtool.
Mr_Bartek said:
Use PC Companion repair option (marked with a red box on my screenshot).
Click to expand...
Click to collapse
As mentioned, SPCC doesn't recognize my phone. It somewhat does but doesn't give me the option to repair. There are these other screens which i think are prior to the repair page (hopefully) but i was stuck at the page when it asks me to remove the battery or skip if built in. It asks me to press ok to skip but hitting the ok button didn't do anything.
zacharias.maladroit said:
What Windows version ?
Follow
# STEP 1 - GENERAL GUIDE
INSTALL / CHECK DRIVERS
of
http://forum.xda-developers.com/xperia-z5/general/guide-sony-xperia-z5-unlock-root-tweaks-t3298224
and (re-)boot into (newer) Windows by disabling the driver signature verification.
Log in with administrator rights,
Extract the zip-file,
there you have inf files
https://en.wikipedia.org/wiki/INF_file
https://msdn.microsoft.com/en-us/library/windows/hardware/ff549520(v=vs.85).aspx
right-click on those and choose install - so that the device drivers are installed.
Reboot (of Windows) shouldn't be necessary.
Entering Fastboot mode should still be possible, check whether it's being recognized now (via Minimal ADB and Fastboot).
Remember: in case the device goes crazy because it's not being detected upon connection - you can still turn it off via
Emergency off
(listed under "#FASTBOOT / FLASHMODE / RECOVERY / etc.")
Click to expand...
Click to collapse
Thanks my desktop is running windows 10 and i know theres so many issues with it.
gm007 said:
Install the drivers that are inside flashtool.
Click to expand...
Click to collapse
The drivers from flashtool does not include any xperia Z5 series.
Thank you guys for the quick responses, I managed to reflash the .200 through flashtool without any hiccups. which is weird that it didn't work for .163 earlier. I didn't wipe anything, so after flashing .200 i updated the SDK stuff from Google SDK.exe which i think it solved some, from there I flashed .163 (MM) again and it worked. Kept all data intact, even my encrypted Class 10 SD card worked without any issues. So far so good, haven't really encountered any errors, fingers crossed :fingers-crossed: once again thank you for the quick responses.

Flashtool " drivers need to be installed for connected device" help

hello
I'm trying to install UK firmware on my Xperia XZ to make finger print scanner working.
but, i have done everything correct, flashtool says driver need to be installed for connected device. could anyone advice me, how to get the drivers installed?
error message-
24/040/2016 09:40:14 - ERROR - Drivers need to be installed for connected device.
24/040/2016 09:40:14 - ERROR - You can find them in the drivers folder of Flashtool.
thanks in advance
I just flashed my device this morning by following a tutorial that I was directed to by another member.
http://www.xperiablog.net/2016/03/12/install-xperia-marshmallow-using-flashtool-and-xperifirm-guide/
Did you run C:\Flashtool\drivers\Flashtool-drivers.exe?
If you are using Windows 8/10, you might need to disable driver signature enforcement before installing the drivers. The tutorial tells you how to do this.
HTH.
I want to do this to mine, but I have a locked bootloader. I have downloaded all the required things. I used the developer site of sony to get a bootload unlock code, when I go to update the driver while in fastboot, it gives me an error that the driver may have been tampered with. This is so frustrating!!! Anyone have any insight?
Just run drivers.exe from the drivers folder in the flashtool directory and choose flashmode and fastboot drivers.
It says then "Impossible to execute DPInst.EXE on current OS". I use windows 7. Does anybody knows what is wrong?
tsquare2112 said:
when I go to update the driver while in fastboot, it gives me an error that the driver may have been tampered with
Click to expand...
Click to collapse
If you run a Microsoft operating system with version number >7 you can check my guide on how to switch on installing unsigned drivers temporarily.
Be super sure that these drivers you intend to install are legit (most are, the manufactures of the devices did not go the extra mile to get them signed properly).

Trying to flash H3223

Hi! So I'm new in this forum and I'm trying to flash Xperia xa2 Ultra H3223 but had two problems, first I try flashing with Flashtool but no matter what it said "no partition delivery" or something "yes to continue", found some forum and said something about copying file 50.2.fsc and manually sync but again, clicked and nothing happened. Then I installed Emma but the only firmware was from the US (I'm from Mexico) and was a custom old version 50.1 with no other option. Finally, I just installed Newflasher, follow the instructions and nothing, just this:
"ERROR: TIMEOUT: failed with error code 997 as follows:
Se estß ejecutando la operaci¾n de E/S superpuesta.
- Error write! Need nBytes: 0x18 but done: 0x0
nBytes[0x0]:
- Error writing command getvar:max-download-size!
End. You can disconnect your device when you close newflasher.exe"
I've done everything, followed every tutorial and nothing seems to work.
By the way, I'm trying to flash firmware 50.2A.3.22, last year my phone bricked and the only thing I found was firmware Commercial and Journalists wich worked well but now I want to try other version and then LineageOs but guess I'll have to wait.
Don't know what I'm doing wrong, if I turn on my phone works perfect and nothing been erased.
My device is bootloader unlocked and no root.
Please let me know if you need to know something else, I'm not desperate but was kind of excited to try Lineage
Thanks!
I had the same problem with my H3113.
While I had installed flashtool and the drivers that come with it, it seems like they are too old for the XA2. They are from 2014.
What I had to do was get flashtool from the Sony website and open up the .exe with 7-Zip:
https://developer.sony.com/develop/open-devices/get-started/flash-tool
Inside of that is the file Sony_Mobile_Software_Update_Drivers_x64_Setup.exe - this one installs a driver from 2017.
After a reboot, flashing with Newflasher worked. What a damn pain!
I had the same problem and can confirm it works. I wish I saw this comment earlier.
If you flash with flashtool will it relock bootloader?
I am running Windows 10 Pro v. 21H1 and also have a Sony H3223.
I am trying to install the latest plain LineageOS on the phone for which is still supported. The H3223 is unlocked so there are a variety of guides for different flashing projects.
LineageOS wiki suggests installing a universal ADB driver which sadly does not apply for this phone. So I then took a peek at SailfishOS and their flashing guide... incidentally, they specify the use of Sony's Xperia X driver. This forum has a thread suggesting the use of Sony's Xperia XZ2 driver.
SailfishOS was specifying the XZ2 driver as well until they updated their guide for Windows 21H1.
I have tried to install both drivers in alteration—both times I uninstalled everything Android via safe mode—and both drivers will not properly install. I get the icon with the yellow triangle badge in my Device Manager list for 5 seconds but then it changes immediately to the questions mark badge and is only visible after showing hidden devices. This is true even while the phone is plugged in.
The phone is being connected via the included USB cable and is being plugged into a USB 2.0 port on my PC.
The phone when connected does get picked up by Windows and I get listings in other places under Device Manager. ADB sees my phone when I run any adb commands but booting into fastboot mode makes the above happen every time.
In other words, when I connect the phone to my PC, Windows installs some driver from who knows where. At this point, adb commands work but fastboot commands don't work. After this, I uninstall the stuff Windows sets up and I boot the phone into fastboot mode only. When this happens, Windows only shows an Android listing under Device Manager for hidden devices. This is the same device that is designated for the driver update in any guide I find... so at this point I have tried updating this object with the Xperia X and Xperia XZ2 drivers. The Sony object that's supposed to get added to the device tree is never added an instead it's as if nothing happened.
I have followed both the LineageOS guide and SailfishOS guide and I have no clue why Windows will not update the driver. There is nothing complicated about either guides... as I said, adb commands work but that is without me installing any driver and Windows does stuff. The only time I see what I'm supposed to see is when all drivers are uninstalled and I connect the phone to my PC while it's going into fastboot mode. However, Windows will not properly see the phone in fastboot mode due to the driver not being applied.

[SOLVED] confused noob - adb/fastboot : install or just run?

Hi
Noob alert here.
I'm trying to flash a custom recovery (twrp) on a very old phone which has its bootloader unlocked. (the phone currently runs android 6.0, yes, that old...)
I read on the forums here that I need to use ADB from windows (Win10 here) in order to flash twrp onto the phone (to replace the stock recovery).
I DLed the neccessary files (platform tools), but it's just a bunch of files with nothing to actually install AFAICT...
MAny tutorials mention that I should just launch a CLI from within the folder containing the tools and then run ADB to flash twrp.
However, I get stuck at < waiting for any device > which, according to other tutorials, isa sign that drivers are not installed for my device in windows.
Some tutorial mention that I should INSTALL ADB (rather than just run it from CLI), so I'm starting to wonder what I am missing here.
- Should I INSTALL ADB? how?
- Should I install drivers for my device? It seems like my device is properly detected by Win10 and I couldn't find any driver to install anywhere.
I'm confused about what's going on.
Could you please help me out here?
Thanks a lot for your advice.
Best,
-a-
OK, I made a little progress I think. I'm not sure my issue is actually related to windows drivers but maybe I'm wrong.
Here's the deal:
When my phone is booted and connected to my PC,
adb device
spits up something : the phone is detected. Now after running
adb reboot bootloader
the phones reboots into bootloader mode (and displays the info that the bootloader is unlocked. But from now on,
adb device
in windows CLI outputs nothing : the phone is no longer detected.
Plus now the phone shows up as an unnknown device (fastboot2.0) in windows device manager. So? Missing driver I guess?
Running windows update found a driver for
Google Android Bootloader Interface
So I guess now it should work
I'll post the results
Thanks a lot
-a-
nope...
No luck
ADB still cannot see my device when in bootloader mode
asheenlevrai said:
nope...
No luck
ADB still cannot see my device when in bootloader mode
Click to expand...
Click to collapse
Actually it works!
Even though
adb devices
would not list anything when the phone wwas in bootloader mode, I was able to flash twrp
problem solved!
In the future some commands in Bootloader Mode require fastboot oppose to ADB.

Categories

Resources