Hello,
I need help.
I have Sailfish OS running on Sony Xperia XZ2. I need fastboot or bootloader mode to work on this device but seem like something is broken.
USB “developer modes“ are not working.
Phone can enter fastboot (blue led) and bootloader (green led) and Developer mode (from Sailfish OS), so looks device can recognize that USB cable was plugged in.
Sailfish recognized flush drive, and was ready to format it.
Charging is working.
But on computer side device can’t be discovered.
fastboot and adb devices - nothing.
In developer mode - usb network device is not created.
Total silence. I tried all USB-C cables I found, (they are working for my other devices as data cables), different computers, different operating systems. Nothing.
My setup is working for my other Xperia devices - XZ2 and 1 III, and was working for XZ2 when I flushed Sailfish.
And now I need final advice. What else I can check? Or that looks like some kind of hardware failure and I need to try to replace USB port?
1 Like
To get PC recognize XZ2 in fastboot, you have to boot into fastboot mode (blue led).
adb is not working on SFOS
fastboot mode enabled. blue led is present.
“fastboot devices” is not listing my device.
I’m still trying with Media Transfer mode. It is enabled. USB cable detected. MTP service started as seen in log:
Jan 08 22:04:40 XperiaXZ2 systemd[4313]: Started MTP service.
– Subject: Unit UNIT has finished start-up– Defined-By: systemd– Support: https://forum.sailfishos.org/
– Unit UNIT has finished starting up.
– The start-up result is RESULT.
But still in Linux:
$ mtp-detect
libmtp version: 1.1.22
Listing raw device(s)
No raw devices found.
While it is working for my other LinageOS devices.
And Developer Mode. USB is connected:
Jan 08 22:09:38 XperiaXZ2 kernel: PMI: smblib_somc_handle_wireless_exclusion: usb_present:1, vbus_reg_en:0, running_status:0
Jan 08 22:09:38 XperiaXZ2 kernel: IDTP: idtp9221_psy_set_property: POWER_SUPPLY_PROP_USBIN_VALID=1
Jan 08 22:09:38 XperiaXZ2 kernel: IDTP: idtp9221_handle_halt: client:1 halt:1
Jan 08 22:09:38 XperiaXZ2 kernel: IDTP: idtp9221_handle_halt_proc: Disable WLC_EN
Jan 08 22:09:38 XperiaXZ2 kernel: IDTP: idtp9221_control_enable: 0
Jan 08 22:09:38 XperiaXZ2 kernel: usbpd usbpd0: Type-C Source (high - 3.0A) connected
Jan 08 22:09:38 XperiaXZ2 kernel: msm-usb-ssphy-qmp 88e8000.ssphy: USB DP QMP PHY: Update TYPEC CTRL(2)
Jan 08 22:09:38 XperiaXZ2 healthd: battery l=97 v=4287 t=25.0 h=2 st=4 c=271 fc=2654000 chg=a
Jan 08 22:09:38 XperiaXZ2 kernel: msm-dwc3 a600000.ssusb: DWC3 exited from low power mode
Jan 08 22:09:38 XperiaXZ2 healthd: battery l=97 v=4287 t=25.0 h=2 st=4 c=271 fc=2654000 chg=a
And still on Linux side nothing is visible.
Fastboot maybe problematic with usb3. But as you managed to flash sfos you probably used usb2 at that time.
re usb support while in sfos: I don’t remember whether it worked or not. I am using wifi/ssh and never connect via usb. Thus testing is limited.
Via USB2 my XZ2 is also invisible. It is simply not on the list of discovered devices.
Yes, it worked years ago when I flushed sfos, but now is not.
That is with fastboot mode or not? As for sfos, I am not sure the port supports usb connection, as I wrote earlier.
Both.
And I think I can remember that usb connection also worked for me before.
That is why for me it looks like hardware failure. Because what else?
I had to use an old usb2-hub many times for flashing. In Linux you have to apply usb-rules.
Edit: always use data cables, some are charging-only
Edit2: and check for dust in your usbc-port!
1 Like
Tried that. Still silence.
XZ2 can recognize type of cable. With charging only can’t enter fastboot mode, so there is only charging.
With data cable it is entering fastboot mode - blue led, but is invisible on Linux side.
Could be hw failure or something with pc. Try another pc - maybe it would help.
Pity. sounds like XZ2 HW error then