Ask / Submit

XA2: Flashing Issues

asked 2018-11-13 19:58:10 +0200

bomo gravatar image

updated 2018-11-13 22:12:45 +0200

I am having troubles with flashing Sailfish in the last step

On first try, I got:

Detected Linux
Searching device to flash..
Found 1 devices: CQ30019XXX
Fastboot command: fastboot -s CQ30019XXX
Flashing boot_a partition..
Sending 'boot_a' (17772 KB)                        FAILED (remote: 'unknown command')
Finished. Total time: 0.001s

Then I tried again and it said

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.

I then unplugged and plugged the phone again and I get

Detected Linux
Searching device to flash..
Found 1 devices: CQ30019XXX
Fastboot command: fastboot -s CQ30019XXX
Flashing boot_a partition..
Sending 'boot_a' (17772 KB)                        FAILED (remote: 'Requested download size is more than max allowed')

The images seem to be fine:

% md5sum -c md5.lst
AdbWinApi.dll: OK
AdbWinUsbApi.dll: OK
Jolla- OK
fastboot.exe: OK
fimage.img001: OK
flash-on-windows.bat: OK OK
flashing-README.txt: OK
hw-release: OK
hybris-boot.img: OK
hybris-recovery.img: OK
os-release: OK
sailfish.img001: OK
vendor.img001: OK

My fastboot version:

% fastboot --version
fastboot version 28.0.1-4986621

What am I doing wrong?

EDIT: Here some additional fastboot info:

% fastboot --help | grep set_active
 set_active SLOT            Set the active slot.
edit retag flag offensive close delete



I had same issues on latest Ubuntu. Flashed fine on Win10. I suspect ADB/fastboot issues and/or usb connection settings on XA2.

MyShipMyRulez ( 2018-11-13 21:29:06 +0200 )edit

Have you checked that your version of fastboot includes the 'set_active' command? It should look like this: $ fastboot --help | grep set_active set_active <slot> Sets the active slot. If slots are</slot>

mlohse ( 2018-11-13 22:02:48 +0200 )edit

May I ask where you got the image from? On I find onyl the images for Sony Xperia X, not XA2.

grueni ( 2018-11-13 22:09:49 +0200 )edit

@mlohse please see my updated post above. I guess my fastboot is supported, right?

bomo ( 2018-11-13 22:13:22 +0200 )edit

@grueni, I downloaded it from exactly there, but had to buy it first for 0Euro. Then, there are downloads for all different XA2 versions.

bomo ( 2018-11-13 22:14:26 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-11-14 15:44:55 +0200

jovirkku gravatar image

updated 2018-11-14 15:45:33 +0200

We have reproduced this issue on Ubuntu (18.04) when using a USB3 port for flashing.

Tip #1: Use a USB2 port if available on your computer.
Tip #2: Read

edit flag offensive delete publish link more


i got the same problem with windows 10. I use a USB2 port. and : C:\Users\Leblanc\Downloads\Sailfish_OS-Jolla-\Sailfish_OS-Jolla->fastboot.exe -s RQ300652EM flash boot_a hybris-boot.img target reported max download size of 134217728 bytes sending 'boot_a' (17772 KB)... OKAY [ 0.485s] writing 'boot_a'... FAILED (remote: Command not allowed) finished. total time: 0.500s

ERROR: Failed to execute 'fastboot.exe -s RQ300652EM flash boot_a hybris-boot.img'.

Choopsy ( 2018-11-16 20:32:11 +0200 )edit

Same problem with me. My system is a openSuSE tumbleweed VERSION="20181120", 4.19.2-1-default #1 SMP PREEMPT Tue Nov 13 20:56:49 UTC 2018 (8adee6e) x86_64 x86_64 x86_64 GNU/Linux. Laptop Dell xps13. There is no usb2 port and the Tip#2 didn't work. How to go on?

triessner ( 2018-11-22 21:45:32 +0200 )edit

answered 2018-11-17 13:57:56 +0200

FrankSiebert gravatar image

I had the problem as well with Debian stable on T430s. It worked flawless with latest Ubuntu on Samsung N510.

Using old Hardware for flashing seems to be the solution.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2018-11-13 19:58:10 +0200

Seen: 762 times

Last updated: Nov 17