Having trouble flashing the OS

Hello
i followed all the procedures succefuly,but when running the command sudo bash ./flash.sh i get:

Flash utility v1.2
Detected Linux
Searching device to flash..

and that’s it. I’ve waited for quit some time but nothing happened.

i’m on linux(Manjaro),with a laptop,and tried all the usb ports.

lsusb                                                                                                                        ✔ 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1532:001c Razer USA, Ltd RZ01-0036 Optical Gaming Mouse [Abyssus]
Bus 001 Device 002: ID 2a7a:0d03  U
Bus 001 Device 005: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 Jefferson Peak (JfP)
Bus 001 Device 004: ID 13d3:56a2 IMC Networks USB2.0 HD UVC WebCam
Bus 001 Device 006: ID 0fce:0dde Sony Ericsson Mobile Communications AB Android
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

try with different cables, I had to use 2 or 3 different ones before making it work.

2 Likes

Chapter 2 “Flashing SailfishOS” of this guide “Installing SailfishX an Xperias” will likely help you, specifically the part about other devices attached to the USB-Bus (001 in your case).

1 Like

i disabled both

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 0fce:0dde Sony Ericsson Mobile Communications AB Android
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

still can’t flash,i get the same Terminal output.
i tried all the USB ports with 2 different cables.

i tried doing it in VB(Linux machine/openbox), but even though under the VM’s ‘usb’ settings i can add the Android device,i fails to attach inside the vm, plus i can’t manage to drag or copy the Sailfish folder to the VM(i installed both the guest additions and extension pack.)

i would try doing it in Vmware where i have a windows 11 machine,but even though the USB controller is present and i chose USB compatibility 2.0,i can’t see the phone under Device manager.

Edit:
unfortunately,i might have to try it on a windows PC,
do i need to re-unlock the boot-loader the Windows way,or just install the Fastboot driver and then flash through Powershell with ‘flash-on-windows.bat’?

  1. Once the device is unlocked, it stays unlocked until you lock it explicitely. So your device is still unlocked, you don’t have to unlock a second time. You can start with flashing.

  2. in my case (Xperia 10) it was necessary to insert an USB hub between the computer (also a laptop like yours) and the phone, and use an USB 2 socket of the hub. In flashing mode the USB chip of the phone doesn’t want to communicate with an USB 3 port, but flashing works fine with an USB 2 port as supported by the USB hub. Maybe worth a try.

1 Like

i’ll try and find a hub,but it looks like i have a usb 2.0 port.

can i Flash without a having the sim card in the phone?
I’m asking since I’ll be doing it at work on a Windows PC, and i would still have to be reachable and not free to do all the first set up.

Yes, you can, as long as you don’t need data. If you have access to wifi, you will be able to register/install apps and set up your phone without SIM card.
When you will then insert the sim, just test MMS as the default settings need the SIM in to be adjusted, if necessary. (The default values for MMS server parameters are sometimes wrong)

1 Like

i won’t have access to wifi; i just want to flash without a sim,and then at home insert the Sim enable Data and do all the set up/register and so on.

Ok. Maybe, just boot until the hello screen to verify all went ok after flashing. You can then shut down with long power press right away to complete all the first boot procedure being online.
Good luck!

1 Like

succeeded flashing on Windows; straightforward and painless.

1 Like