Sony Xperia XZ Fastboot and ADB - Sony Xperia XZ Questions & Answers

Hi Forum,
i want to put LineageOS on an old Sony XZ i have here.
I did all the required steps unto fastboot, now when i try to switch on the device in fastboot mode nothing happens.
i have no idea how it should look like when it starts in fastboot mode, is there anything supposed to happen on the phone?
i tried to install the adb driver in windows, thouight i maybe done it wrong and went with linux, but there also i dont see the device.
fastboot mode should be, according to the sony site, pressing the volume up button plus inserting the usb cable at the same time.
i tried inserting the usb cable first and pressing volume up, pressing volume up and then inserting the cable, and trying it in the same microsecond... nothing happens.
what i can see in the windows device manager is "S1Boot-Fastboot" under "other Devices" but that is it.
the "fastboot devices" command in cmd gives me nothing.
sony driver install in windows ( thats why i tried linux then. windows gave me "the best driver is already installed" without any possibility to install it
but on linux, as i said, there is also no response from the device

goorooj said:
Hi Forum,
i want to put LineageOS on an old Sony XZ i have here.
I did all the required steps unto fastboot, now when i try to switch on the device in fastboot mode nothing happens.
i have no idea how it should look like when it starts in fastboot mode, is there anything supposed to happen on the phone?
i tried to install the adb driver in windows, thouight i maybe done it wrong and went with linux, but there also i dont see the device.
fastboot mode should be, according to the sony site, pressing the volume up button plus inserting the usb cable at the same time.
i tried inserting the usb cable first and pressing volume up, pressing volume up and then inserting the cable, and trying it in the same microsecond... nothing happens.
what i can see in the windows device manager is "S1Boot-Fastboot" under "other Devices" but that is it.
the "fastboot devices" command in cmd gives me nothing.
sony driver install in windows ( thats why i tried linux then. windows gave me "the best driver is already installed" without any possibility to install it
but on linux, as i said, there is also no response from the device
Click to expand...
Click to collapse
Hello and good afternoon, @goorooj Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to
Sony Xperia XZ Questions & Answers
Ask your questions about the Sony Xperia XZ and get answers from the community! Please be as specific as possible when posting.
forum.xda-developers.com
Thanks for your cooperation!
Regards
Oswald Boelcke

For everybody reading this:
It works finally with installing adb and fastboot proper on ubuntu with
sudo apt install android-tools-adb android-tools-fastboot
instead of just taking the zipped directory and go from there ( as mentioned on this very site here https://www.xda-developers.com/install-adb-windows-macos-linux/ which is definetely not working ).
for windows 10, i have no solution.
the only sign on the XZ being in fastbnoot mode is that the little LED dot on the upper left is blue, screen stays dark.

Related

Help !! I cannot install a rom

Hello,
Few months ago , the power button of my nexus s had broken. I used volume rocker and I could turn on the screen.
Today I tried to flash a rom . I have done this before many times and I know the process.
After I had wiped all the data ( system , faxtory reset, cache) , I pulled off the battery.
When the phone starts it stucks on google logo , because there is no rom in it.
When I boot it into the fastboot mode , my pc cannot recognize it at all, I plug it in my pc and there is no sign that a new hardware has been installed.
I don't know what else to do. If I could get it recognized by my pc , I would be able to silve the problem.
Any suggestions on how can I fix it? Can I fix the fastboot mode problem????
Thanks for your time
I am looking forward hearing your replies...
If you don't have this installed on your PC already, you should install it and follow the directions for installing the drivers carefully. It worked for me.
P.S. this thread belongs in Q&A
Thanks for the reply but it cannot do anything. I posted here so as I can get help from developers who know more stuff than other users.
unless your thread is about ANDROID DEVELOPMENT ... IE your own ROM / KERNEL / MOD etc... it should be in q and a or general.
OP that is not how it works, posting in the Development Section because you believe the help is great there....WRONG! Sir, you will find the best help is in the proper place in the proper Threads....Please familiarize yourself with the Forum Rules on Posting. Thank You and Moved here.
When you connect your phone to your PC while it's in fastboot mode, if you haven't tried already, go to device manager (assuming your pc is running windows), there should be an unrecognized device in the list, if so you can right click on it and choose update driver, then select driver manually and navigate to the data/drivers folder where ever you have Wug's tool installed (if you don't have it installed then you should), that should properly install the drivers and allow your computer to recognize the phone, then you can use the flash stock+unroot option to repair your phone.
If you don't see any change in device manager when your phone is connected to your computer then I can't help much, maybe try a different usb port if you haven't already.
Good luck
jj_z1 said:
When you connect your phone to your PC while it's in fastboot mode, if you haven't tried already, go to device manager (assuming your pc is running windows), there should be an unrecognized device in the list, if so you can right click on it and choose update driver, then select driver manually and navigate to the data/drivers folder where ever you have Wug's tool installed (if you don't have it installed then you should), that should properly install the drivers and allow your computer to recognize the phone, then you can use the flash stock+unroot option to repair your phone.
If you don't see any change in device manager when your phone is connected to your computer then I can't help much, maybe try a different usb port if you haven't already.
Good luck
Click to expand...
Click to collapse
There are no changes when I plug in the phone, I tried all the usb ports , other pc and other new cable but nothing work.
Thanks for the reply

[Completed] [Q] Fastboot doesn't recognize moto g 4g on linux

I have a Moto G 4g. ADB recognizes the cell and I can restart it in fastboot mode, but when I check in the terminal with:
Code:
fastboot devices
Nothing appears, and if I go on with
Code:
fastboot oem get_unlock_data
It gets stuck at
Code:
< waiting for device >
I tried as a user and as root on an Archlinux machine with android-udev rules as shown in the Archlinux wiki (sorry, i can't put the link). AP Fastboot fast boot menu shows that the cell is locked.
Hi,
You can try a different cable, or USB port on the pc...or even a different pc. Until fastboot devices detects your device, there's nothing you can do.
Reinstall drivers...and you are on the bootloader mode right?
If none of that helps, you can ask in your device section for help....
http://forum.xda-developers.com/moto-g/help
Good luck!
Hi
I've tried with a win 7 machine and i got fastboot working on my phone after installing the drivers. Now i'm able to do the thing i want to, but the problem still persist in linux, so i don't know if i close this thread or leave it open for someone who can solve this.
trichocereus said:
Hi
I've tried with a win 7 machine and i got fastboot working on my phone after installing the drivers. Now i'm able to do the thing i want to, but the problem still persist in linux, so i don't know if i close this thread or leave it open for someone who can solve this.
Click to expand...
Click to collapse
Please start one in your section. Xda Assist is here to help navigate the site, not for support.
Thanks!

[Completed] fastboot will not recognise device (HTC One M7)

I've been trying to solve this for a while now and cant seem to get it to work.
I have adb and fastboot installed on the computer.
When I run the cmd window, I can get a recognition from adb when I'm in recovery mode, but as soon as I run <adb reboot bootloader> the phone goes into bootloader, disconnects temporarily from the computer and reconnects.
When I go into devices on the computer I can see that the computer see's it. It recognizes it as my HTC although it shouldn't right?
When I come back to my cmd window I try to run fastboot commands with no success. <fastboot devices> gives me a blank line and its ready for the next command.
I looked around and saw that a lot of people dint have the right cables, drivers for the phone or dint restart they're computer.
I have done it all. I re-downloaded the drivers I think 10 times in vane.
Any help would be appreciated thx
OS on phone is no longer there I lost it. dont know how.
OS on computer is windows 10 64 bit
pannic514 said:
I've been trying to solve this for a while now and cant seem to get it to work.
I have adb and fastboot installed on the computer.
When I run the cmd window, I can get a recognition from adb when I'm in recovery mode, but as soon as I run <adb reboot bootloader> the phone goes into bootloader, disconnects temporarily from the computer and reconnects.
When I go into devices on the computer I can see that the computer see's it. It recognizes it as my HTC although it shouldn't right?
When I come back to my cmd window I try to run fastboot commands with no success. <fastboot devices> gives me a blank line and its ready for the next command.
I looked around and saw that a lot of people dint have the right cables, drivers for the phone or dint restart they're computer.
I have done it all. I re-downloaded the drivers I think 10 times in vane.
Any help would be appreciated thx
OS on phone is no longer there I lost it. dont know how.
OS on computer is windows 10 64 bit
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
Sorry to hear about your trouble. We cannot provide technical support nor can other members reply to your posts here on XDA Assist but fortunately there is an XDA area dedicated to the HTC One (M7) at http://forum.xda-developers.com/htc-one which would be a good starting place. I suggest you post your question with all relevant details in the friendly Q&A forum there at http://forum.xda-developers.com/htc-one/help where the experts familiar with your device will be best able to guide you.
Good luck!
EDIT: Member has now posted in the suggested area. Thread closed.

[Completed] Help! LG G4 bootloop, can't get into recovery or bootloader/fastboot mode

So I was following the instructions here.
http://forum.xda-developers.com/g4/development/stock-h815-20a-stock-images-kdz-t3232282
and my G4 is in a bootloop after step 7 (reboot into twrp). Gets a second or two into the animated LG logo then resets.
I want to get back into fastboot mode or recovery so I can flash again, but no button combo does anything, (p+d or p+u, held, or with the short gap as in many descriptions). If I hold all three buttons, it shows imei and a barcode, but I can't go anywhere from this screen.
It's boot loader unlocked as per LG official unlock, and still says so in tiny writing top left when first booting.
Can anyone give me some tips on how to get this thing back into fastboot mode? I have a mac with adb and fastboot working well.
Thanks,
milesritzy said:
There were three methods outlined in the post, but i think this should help you...
In order to successfully complete this method a computer will be required. A connection between your smartphone and your PC will also have to be ensured, so on your LG G4 gain developer rights and then check USB debugging – go to “menu – settings – about phone” and tap several times on built number and then access “menu – settings – developer options”. Also, on your PC flash Android SDK by following: install Android SDK on Windows or set up ADB on MAC OS X / Linux. Don’t forget to charge your handset before going any further and then apply:
Connect your LG G4 with your computer via USB cable.
On your PC access the Android SDK folder.
There, open a command prompt window: press and hold Shift keyboard key and then right click on any blank space.
In the cmd window you have to execute the following command: “adb reboot bootloader”.
Enjoy.
Conclusions
Click to expand...
Click to collapse
I'm familiar with using adb to reboot into bootloader, That's how I got this far. But it only works if you have a working OS with developer options for adb to connect to.
Unfortunately I don't have a working OS, or working anything else.
Hi,
Try posting your question here:
G4 Q&A, Help & Troubleshooting
The experts there may be able to help.
Good luck!

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.

Categories

Resources