How install SailfishOS X on Xperia XA2 with macOS
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 ? :(
seems to be a macos issue: https://www.androidbeat.com/2015/11/how-to-fix-couldnt-create-a-device-interface-iterator-error-in-adbfastboot-on-os-x-el-capitan/ which version are you running?
bomo ( 2019-04-14 21:30:50 +0200 )editI am on the newest Version but i tried it on windows and it still Not work.
Benjamin1996 ( 2019-04-14 21:39:11 +0200 )editplease post errors from windows as well
bomo ( 2019-04-14 21:44:33 +0200 )editbtw, 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 +0200 )editHow 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 +0200 )edit