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

Revision history [back]

click to hide/show revision 1
initial version

posted 2017-10-12 09:24:59 +0200

Sailfish X install: flash-on-Linux

This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for who to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X

This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for who to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X

For a more complete guide for both mac and linux without this requirement see: http://talk.maemo.org/showthread.php?t=99952


This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for who to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X

For a more complete guide for both mac and linux without this requirement see: http://talk.maemo.org/showthread.php?t=99952


This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for who how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X

For a more complete guide for both mac and linux without this requirement see: http://talk.maemo.org/showthread.php?t=99952


This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

For a more complete guide for both mac and linux without this requirement see: http://talk.maemo.org/showthread.php?t=99952

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X


This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

For a more complete guide guide, for both mac and linux linux, without having to have the latest ota update on your Xperia X see this requirement see: comment below or research: http://talk.maemo.org/showthread.php?t=99952

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X


This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

For a more complete guide, for both mac and linux, *Flashing without having to have the latest ota OTA update on your Xperia X see this comment below or research: http://talk.maemo.org/showthread.php?t=99952research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X

Before starting, consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service (a wiki is possibly prepared to here).


This is a short write up on how you install Sailfish X. It's how I did it and since I didn't encounter any problems It has no warnings regarding such. Hope it helps someone. :)

Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

*Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update on your Xperia X

Before starting, consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service (a wiki is possibly prepared to here).


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you user.

Prepping for flashing

  1. step one download every thing: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

*Flashing Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service (a wiki is possibly prepared to here).


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with you your user.

Prepping for flashing

  1. step one download every thing: everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This differs between distro but if you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This was done from a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest ota OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service (a wiki service. The instructions are currently missing but some information is possibly prepared to here, here). and here.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install android-tools. This the command line tool to handle the Android device. The name differs between distro but if distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run "fastboot devices" fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run "fastboot fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere" 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run "./flash.sh" ./flash.sh When asked for your password [please clarify: what password? One has to be admin/sudo?] give it.
  4. Looking at the script this should work on both mac and linux
  5. Wait till it's done.
  6. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done from with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run fastboot devices if anything shows you're connected. connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run ./flash.sh When asked
  4. This needs sudo privileges and will either ask you for your password [please clarify: what password? One has to be admin/sudo?] give it. or fail. If it fails run 'sudo ./flash.sh'.
  5. Looking at the script this should work on both mac and linux
  6. Wait till it's done.
  7. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can ad to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run ./flash.sh
  4. This needs sudo privileges and will either ask you for your password or fail. If it fails run 'sudo ./flash.sh'.sudo ./flash.sh.
  5. Looking at the script this should work on both mac and linux
  6. Wait till it's done.
  7. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can ad add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run ./flash.sh
  4. This this needs sudo privileges and will either ask you for your password or fail. If it fails run sudo ./flash.sh.
  5. .
    • Looking at the script this should work on both mac and linux
  6. Wait till it's done.
  7. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem by calling and using mobile data (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run sudo fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run bash ./flash.sh this needs might also need sudo privileges and will either ask you for your password or fail. If it fails run sudo bash ./flash.sh.
    • Looking at the script this should work on both mac and linux
  4. Wait till it's done.
  5. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

Official instructions: https://jolla.com/sailfishx-linux-instructions/

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem by calling and using mobile data (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.

After having tested the hardware, in Android 1) go into Settings > About phone and tap about seven times on Build number to enable developer mode and options. 2) From Settings go into Developer options and enable OEM unlocking and USB debugging.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run sudo fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run bash ./flash.sh this might also need sudo privileges and will either ask you for your password or fail. If it fails run sudo bash ./flash.sh.
    • Looking at the script this should work on both mac and linux
  4. Wait till it's done.
  5. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

Official instructions: https://jolla.com/sailfishx-linux-instructions/

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia XX and you have purchased a device with unlockable bootloader Verify bootloader by calling to *#*#7378423#*#* > tap Service Info > Configurations > Rooting Status, that has to have Bootloader unlock allowed = Yes.

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem by calling and using mobile data (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.

After having tested the hardware, in Android 1) go into Settings > About phone and tap about seven times on Build number to enable developer mode and options. 2) From Settings go into Developer options and enable OEM unlocking and USB debugging.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run sudo fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run bash ./flash.sh this might also need sudo privileges and will either ask you for your password or fail. If it fails run sudo bash ./flash.sh.
    • Looking at the script this should work on both mac and linux
  4. Wait till it's done.
  5. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

Official instructions: https://jolla.com/sailfishx-linux-instructions/

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X and you have purchased a device with unlockable bootloaderbootloader. Verify bootloader by calling to *#*#7378423#*#* > tap Service Info > Configurations > Rooting Status, that has to have Bootloader unlock allowed = Yes.

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem by calling and using mobile data (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.

After having tested the hardware, in Android 1) go into Settings > About phone and tap about seven times on Build number to enable developer mode and options. 2) From Settings go into Developer options and enable OEM unlocking and USB debugging.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run sudo fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run bash ./flash.sh this might also need sudo privileges and will either ask you for your password or fail. If it fails run sudo bash ./flash.sh.
    • Looking at the script this should work on both mac and linux
  4. Wait till it's done.
  5. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

Official ##Official instructions: https://jolla.com/sailfishx-linux-instructions/

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X and you have purchased a device with unlockable bootloader. Verify bootloader by calling to *#*#7378423#*#* > tap Service Info > Configurations > Rooting Status, that has to have Bootloader unlock allowed = Yes.

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem by calling and using mobile data (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition partition which hosts the DRM keys to ease a possible warranty service. The instructions are currently missing but some information is here, here and here.service.

After having tested the hardware, in Android 1) go into Settings > About phone and tap about seven times on Build number to enable developer mode and options. 2) From Settings go into Developer options and enable OEM unlocking and USB debugging.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (...loire.zip SHA-256 (SHA-256 of version 13 of ...loire.zip 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then go into Settings > About phone and tap about seven times on Build number to enable developer. After that go into Settings > Developer options and enable OEM unlocking and USB debugging.

Now you must turn off your Xperia X, leave it off for at least fifteen (15) seconds, and seconds. Then hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run sudo fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run bash ./flash.sh this might also need sudo privileges and will either ask you for your password or fail. If it fails run sudo bash ./flash.sh.
    • Looking at the script this should work on both mac and linux
  4. Wait till it's done.
  5. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.

Sailfish X install: flash-on-Linux

##Official

Official instructions: https://jolla.com/sailfishx-linux-instructions/

This guide will only work if you have the latest OTA update (build number is 34.3.A.0.228 or higher) on your Xperia X and you have purchased a device with unlockable bootloader. Verify bootloader by calling to *#*#7378423#*#* > tap Service Info > Configurations > Rooting Status, that has to have Bootloader unlock allowed = Yes.

Before starting, use the Android to test your hardware. For example, record a video (stereo audio) and use headphones to check both mics, check display, check stereo speakers, check modem by calling and using mobile data (with a prepaid SIM), check (public) WLAN. Also consider doing backup of your TA partition which hosts the DRM keys to ease a possible warranty service.

After having tested the hardware, in Android 1) go into Settings > About phone and tap about seven times on Build number to enable developer mode and options. 2) From Settings mode. After that go into Settings > Developer options and enable OEM unlocking and unlocking and USB debugging.


This is a short write up on how you install Sailfish X. Installing Sailfish X from Linux takes no time at all as long as you have a working email and can access USB ports with your user.

Prepping for flashing

  1. step one download everything: https://shop.jolla.com/downloads/ and https://developer.sonymobile.com/downloads/software-binaries/software-binaries-for-aosp-marshmallow-android-6-0-1-kernel-3-10-loire/ (SHA-256 of version 13 of ...loire.zip 88f3aa103d1447007e3ccf3532721b45daa2228c533056158646819e22c7978e)
  2. unzip the two archives and place the content (.img file) of the Sony one into the folder unziped from the Jolla one.
  3. install the command line tool to handle the Android device. The name differs between distros: fastboot / android-tools-fastboot / android-tools / fastboot-android / etc. If you can't find it in the official repository the search engine of your choice will probably find a repo you can add to solve this. Then the usual apt-get/dnf/pacman/emerge/etc magic for installation.

Unlocking the bootloader

https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ This link will explain how to get your unlock code. Then go into Settings > About phone and tap about seven times on Build number to enable developer. After that go into Settings > Developer options and enable OEM unlocking and USB debugging.

Now you must turn off your Xperia X, leave it off for at least fifteen (15) seconds. Then hold volume up at the same time as you plug it into the USB cord already connected to you computer. If a blue led shines after a quick visit of a red one and the screen is still black, then you're in fastboot mode.

Now.

  1. open a terminal and run sudo fastboot devices if anything shows you're connected.
    • If not you need to solve this before continuing. Try searching for how to configure fastboot on your distro.
  2. Now run sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere and wait until it's done, it'll tell you.
    • YourUnlockCodeHere should be replaced by your unlock code
  3. Now your phone is unlocked. Keep it plugged in.

Flashing

  1. If the unlocking above went well and you kept your phone connected this will take no time at all.
  2. open a terminal and change directory to the folder unziped from the Jolla archive.
  3. run bash ./flash.sh this might also need sudo privileges and will either ask you for your password or fail. If it fails run sudo bash ./flash.sh.
    • Looking at the script this should work on both mac and linux
  4. Wait till it's done.
  5. Done, disconnect your phone and boot it up. It will complain about an unlocked bootloader but that will pass.

This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.

Possible problems:

  • Your user isn't in the "usb" group (can be named differently on other distros).
  • The flash.sh isn't marked executable.
  • You don't have the drivers you need.

Flashing without having the latest OTA update on your Xperia X see this comment below or research a more complete guide, for both mac and linux, here at an external site.