We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Xperia 10 flashing does not find phone

asked 2019-11-24 20:59:55 +0300

friikki218 gravatar image

updated 2019-12-13 19:42:38 +0300

ds1979 gravatar image

Bought new xperia 10 & Jolla license. Last time with xperia x I used windows but this time decided linux (32 bit Ubuntu Mate)

Everything seemed to go rather well - here some listing:

delld420@delld420-Latitude-D420:~$ sudo fastboot oem unlock 0x3EC4F7AD6E0B32B6

... FAILED (remote: unknown command) finished. total time: 0.002s delld420@delld420-Latitude-D420:~$ sudo fastboot oem unlock 0x3EC4F7AD6E0B32B6

... FAILED (remote: Incorrect format for unlock data) finished. total time: 0.071s delld420@delld420-Latitude-D420:~$ sudo fastboot oem unlock 0x3EC4F7AD6E0B32B6

... FAILED (remote: unknown command) finished. total time: 0.000s delld420@delld420-Latitude-D420:~$

--- so somehow this did not work --- then I tried this "fastboot devices"

delld420@delld420-Latitude-D420:~$ sudo fastboot devices

[sudo] password for delld420:

CQ3001J359 fastboot

delld420@delld420-Latitude-D420:~$ sudo fastboot oem unlock 0x3EC4F7AD6E0B32B6 < waiting for any device > ... OKAY [ 1.104s] finished. total time: 1.104s

---- Now the xperia is unlocked

---- Now reconnect usb again --- but

---- then my finger slipped while pushing the usb connector

---- Xperia booted indicating something like "erasing"

---- Next trials end up with this message

delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish_OS-Jolla-3.2.0.14-i4113-0.0.4.10$ ./flash.sh

[sudo] password for delld420:

Detected Linux Searching device to flash.. No device that can be flashed found. Please connect your device in fastboot mode before running this script. delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish_OS-Jolla-3.2.0.14-i4113-0.0.4.10$

Every time I boot xperia there is message on the display "Device sw can not be checked for corruption. Lock bootloader".

Any ideas how to get xperia connected again. However, the (Android) Xperia 10 seems to work without any problems. On System settings - Developer options --- the USB debugging is still SET. OEM unlocking is gray (Bootloader is already unlocked).

edit retag flag offensive close delete

Comments

Can you try running

sudo fastboot devices -s CQ3001J359 getvar product

And verify that the actual product number matches with the package that you downloaded (single-SIM, dual-SIM, plus vs non-plus etc.)? It should be 5 characters long. It should match with the ID that seems to be in the package you have (i4113)

arinan ( 2019-11-24 21:11:09 +0300 )edit

Running that command gives:

sudo fastboot devices -s CQ3001J359 getvar product

[sudo] password for delld420:

CQ3001J359 fastboot

delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish_OS-Jolla-3.2.0.14-i4113-0.0.4.10$

Seems that after issuing command "bash ./flash.sh" delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish_OS-Jolla-3.2.0.14-i4113-0.0.4.10$ bash ./flash.sh

Detected Linux

Searching device to flash..

No device that can be flashed found. Please connect your device in fastboot mode before running this script.

delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish_OS-Jolla-3.2.0.14-i4113-0.0.4.10$

After that xperia disconnects (blue light goes off) and moves to battery charging mode.

friikki218 ( 2019-11-24 21:50:35 +0300 )edit

Did the following (to make easier to read, I renamed the xperia folder)

delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish10$ sudo fastboot oem unlock 0x3EC4F7AD6E0B32B6 < waiting for any device >

... plugged usb and blue light ... FAILED (remote: Device already unlocked) finished. total time: 0.018s

--- yes just tested can I connect to xperia

delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish10$

delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish10$ -- now does it begin flash?

bash ./flash.sh

Detected Linux Searching device to flash.. Found 0 devices: Incorrect number of devices connected. Make sure there is exactly one device connected in fastboot mode. delld420@delld420-Latitude-D420:~/Downloads/Xperia10/Sailfish10$ --- What does it mean "incorrect numberr of devices...". Have only on xperia 10 ???

friikki218 ( 2019-11-24 22:34:54 +0300 )edit

Sorry, I had a mistake in my command:

sudo fastboot -s CQ3001J359 getvar product

arinan ( 2019-11-24 23:00:23 +0300 )edit

Problem solved! Decided to move back to my good old win7. Because xperia bootloader was already unlocked it just needed the final step - flashing. Win7 could connect and do flashing. Now xperia is running sailfish nice and well. Thanks for your kind assistance!!

friikki218 ( 2019-11-24 23:58:31 +0300 )edit

6 Answers

Sort by » oldest newest most voted
3

answered 2019-11-27 22:38:09 +0300

mbo gravatar image

I had the same problem. After switching the USB connection from USB 3 to USB 2 it worked.

edit flag offensive delete publish link more

Comments

Amazing advice you saved me, I was all bothered up and annoyed. Got an old linux I had and saved it...

rubyhorse ( 2019-11-29 07:07:04 +0300 )edit

Question: What do I do, if I only have USB3 connectors on my laptop and the same problem?

ds1979 ( 2019-12-10 23:24:26 +0300 )edit

Try with an USB2 hub in between (but hubs themselves can be causing issues, too).

olf ( 2019-12-14 00:45:07 +0300 )edit

Yes, this is clearly a problem of USB3. Modern computers like my latitude 7490 do not have usb2 anymore. The install procedure must be adapted. Only saying usb3 will probably run into trouble isn't good enough IMHO.

Flight406 ( 2020-02-19 17:51:09 +0300 )edit

@Flight406, I disagree with your assessment, that USB3 capable ports (often colour coded in blue) are the primary cause of these flashing issues with Xperia 10s and XA2s.

olf ( 2020-02-19 19:07:41 +0300 )edit
1

answered 2019-12-23 23:51:12 +0300

ol2tmx gravatar image

Yes, the fastboot cli has been changed in their interface how to get the values back.

To get the product id from fastboot command see the following changes:
- "old" fastboot: --> fastboot -s CQ3001J359 getvar product
- "new" fastboot: --> fastboot getvar product

This is just one example - much more commands have to be exchanged with the new CLI. It should not be a big deal to update the flash.sh.

edit flag offensive delete publish link more
1

answered 2020-02-19 18:01:24 +0300

olf gravatar image

Following the USB precautions described at the beginning of section 2 of the "Guide: Installing Sailfish X on Xperias" might be helpful.

edit flag offensive delete publish link more
0

answered 2019-12-12 20:30:45 +0300

ds1979 gravatar image

updated 2019-12-13 20:42:25 +0300

Dear Sailors,

I have the same problem: On two computers (one Lenovo X250 with USB3 and one Lenovo X220t with USB 2) I have the same trouble.

    ds at x220 in ~/Sailfish_OS-Jolla-3.2.0.14-i4213-0.0.4.12
↪ lsusb
Bus 002 Device 004: ID 056a:00e6 Wacom Co., Ltd 
Bus 002 Device 003: ID 0bdb:1911 Ericsson Business Mobile Networks BV 
Bus 002 Device 005: ID 0fce:0dde Sony Ericsson Mobile Communications AB Xperia Mini Pro Bootloader
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 04f2:b217 Chicony Electronics Co., Ltd Lenovo Integrated Camera (0.3MP)
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ds at x220 in ~/Sailfish_OS-Jolla-3.2.0.14-i4213-0.0.4.12
↪ sudo fastboot oem unlock 0x4D97552A9E257E6D
...
FAILED (remote: Device already unlocked)
finished. total time: 0.018s
ds at x220 in ~/Sailfish_OS-Jolla-3.2.0.14-i4213-0.0.4.12
↪ bash ./flash.sh
Detected Linux
Searching device to flash..
Found 0 devices: 
Incorrect number of devices connected. Make sure there is exactly one device connected in fastboot mode.

Is there any other advice more than using a computer with USB2?

Now add a Lenovo W520 to the list with Ubuntu 14.04 on it. Still can't flash the Xperia 10 although it is already unlocked.

Because the Jolla team does not address this thing since November 24th, I am worried that this problem is of no interest for the Jolla support. Too bad that if you really need them, they are not available.

edit flag offensive delete publish link more

Comments

Why is this so important to me? My Jolla 1 keeps rebooting very often and it is very inconvenient for me to be unavailable and to start doing something and then not being able to.

Thank you very much for your help!

ds1979 ( 2019-12-12 20:31:45 +0300 )edit

"Because the Jolla team does not address this thing since November 24th, I am worried that this problem is of no interest for the Jolla support. Too bad that if you really need them, they are not available."

To be fair, if you contact the helpdesk, they normally respond within a (working) day or 2: https://jolla.zendesk.com/hc/en-us/requests/new

rgp ( 2019-12-13 22:24:40 +0300 )edit

@ds1979, it looks as if you have run into the same issues as I did when flashing Xperia XA2s and 10s, hence you might try to solve them the same way.

olf ( 2020-02-19 19:11:32 +0300 )edit
0

answered 2019-12-23 00:29:42 +0300

ds1979 gravatar image

Seems to be a problem with the device itself. When trying to flash it on an Arch system with USB2, it didn't work out, again. When dual booting the same system into Windows 10, it worked like a charm.

edit flag offensive delete publish link more
0

answered 2019-12-24 11:27:12 +0300

manu gravatar image

i think we have two issues: first, the piped grep in the flash.sh is not matching, because of changed syntax. second, the device reboots after some fastboot commands in ubuntu. so i also ended up using windows...

edit flag offensive delete publish link more

Comments

@manu: I have seen the reboots after fastboot commands on Arch Linux, too, on a fourth laptop at a friend's place. I think that it is not a problem of Ubuntu, Arch, old libraries or whatever. Either the flash script or the device.

ds1979 ( 2019-12-24 14:50:51 +0300 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-11-24 20:59:55 +0300

Seen: 1,947 times

Last updated: Feb 19 '20