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

How install SailfishOS X on Xperia XA2 with macOS

asked 2019-04-14 20:41:54 +0300

Benjamin1996 gravatar image

updated 2019-04-15 07:59:48 +0300

Maus gravatar image

Hey I followed the instruction on Jolla but i cannot install the SailfishOS. I get the terminal Error like this:

Benjamins-MacBook-Pro:Sailfish_OS-Jolla-3.0.2.8-h4113-0.0.7.13 benjaminwunderlich$ sudo fastboot oem unlock 0xFCCE89B2B4712567
Password:
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
                                                   FAILED (remote: 'Device already unlocked')
fastboot: error: Command failed

So now i test the last command: bash ./flash.sh

Get this:

Benjamins-MacBook-Pro:Sailfish_OS-Jolla-3.0.2.8-h4113-0.0.7.13 benjaminwunderlich$ bash ./flash.sh
Detected Mac OS X - Version: 10 14 4-
Searching device to flash..
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd)
Found 0 devices: 
Incorrect number of devices connected. Make sure there is exactly one device connected in fastboot mode.

I restart the phone and holding volume down and wait for the blue light. So the phone is in Fastboot mode

Can someone help me pls ? :(

edit retag flag offensive close delete

Comments

I am on the newest Version but i tried it on windows and it still Not work.

Benjamin1996 ( 2019-04-14 21:39:11 +0300 )edit

please post errors from windows as well

bomo ( 2019-04-14 21:44:33 +0300 )edit

btw, in the second log above, it doesn't find a device to flash to. Are you sure its connected and in flasboot mode?

bomo ( 2019-04-14 21:45:48 +0300 )edit
1

How did you setup adb and fastboot upon Mac using Homebrew?link text Have you tried a different cable? Admittedly this was not very latest Mohaje on my XA2:`Last login: Thu Nov 8 14:05:02 on console iMac:~ adrian$ cd //Users/adrian/Desktop/XperiaXA2Sailfish/Sailfish_OS-Jolla-3.0.0.8-h4113-0.0.7.10 iMac:Sailfish_OS-Jolla-3.0.0.8-h4113-0.0.7.10 adrian$ bash ./flash.sh Detected Mac OS X - Version: 10 14- Searching device to flash.. Found 1 devices: CQUSB Fastboot command: fastboot -s CQVUSB
Flashing boot_a partition.. target reported max download size of 536870912 bytes sending 'boot_a' (17772 KB)... OKAY [ 0.386s] writing 'boot_a'... OKAY [ 0.001s] finished. total time: 0.386s Flashing userdata partition.. target reported max download size of 536870912 bytes erasing 'userdata'... OKAY [ 0.541s] sending sparse 'userdata' 1/3 (508382 KB)... OKAY [ 10.794s] writing 'userdata' 1/3... OKAY [ 0.000s] sending sparse 'userdata' 2/3 (522787 KB)... OKAY [ 12.870s] writing 'userdata' 2/3... OKAY [ 0.000s] sending sparse 'userdata' 3/3 (72372 KB)... OKAY [ 4.780s] writing 'userdata' 3/3... OKAY [ 0.000s] finished. total time: 28.986s Flashing system_b partition.. target reported max download size of 536870912 bytes sending sparse 'system_b' 1/2 (524284 KB)... OKAY [ 11.107s] writing 'system_b' 1/2... OKAY [ 0.001s] sending sparse 'system_b' 2/2 (40932 KB)... OKAY [ 13.659s] writing 'system_b' 2/2... OKAY [ 0.000s] finished. total time: 24.768s Flashing vendor_a partition.. target reported max download size of 536870912 bytes sending 'vendor_a' (340 KB)... OKAY [ 0.017s] writing 'vendor_a'... OKAY [ 0.001s] finished. total time: 0.018s Flashing vendor_b partition.. target reported max download size of 536870912 bytes sending 'vendor_b' (340 KB)... OKAY [ 0.017s] writing 'vendor_b'... OKAY [ 0.001s] finished. total time: 0.018s Flashing oem partition.. target reported max download size of 536870912 bytes sending 'oem' (211516 KB)... OKAY [ 4.503s] writing 'oem'... OKAY [ 0.001s] finished. total time: 4.503s

Flashing completed.

Remove the USB cable and bootup the device by pressing powerkey.

iMac:Sailfish_OS-Jolla-3.0.0.8-h4113-0.0.7.10 adrian$ `

aspergerguy ( 2019-04-14 21:49:20 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2019-05-03 09:02:48 +0300

JSEHV gravatar image

Use the 'fastboot' file in Android Platform Tools 26.0.1.

Copy it to /usr/local/bin on your Mac.

This solves the issue and you can flash the XA2 Plus

edit flag offensive delete publish link more

Comments

had the same issue and this helped perfectly! Thx a lot!

Jelumar ( 2019-05-09 11:12:37 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2019-04-14 20:41:54 +0300

Seen: 941 times

Last updated: May 03 '19