We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2017-10-12 09:24:59 +0200 |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
2 | No.2 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
3 | No.3 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
4 | No.4 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
5 | No.5 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
For a more complete guide for both mac and linux without this requirement see: http://talk.maemo.org/showthread.php?t=99952
6 | No.6 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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
7 | No.7 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
8 | No.8 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
*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.
9 | No.9 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
*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.
10 | No.10 Revision |
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
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.
Flashing
This was done from a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
11 | No.11 Revision |
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
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.
fastboot devices
if anything shows you're connected.
fastboot
-i 0x0fce oem unlock Flashing
./flash.sh
When asked for your password [please clarify: what password? One has to be admin/sudo?] give it. This wiki was originally done from with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
12 | No.12 Revision |
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
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.
fastboot devices
if anything shows you're fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
./flash.sh
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
13 | No.13 Revision |
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
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.
fastboot devices
if anything shows you're connected.
fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
./flash.sh
sudo ./flash.sh
.This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
14 | No.14 Revision |
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
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.
fastboot devices
if anything shows you're connected.
fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
./flash.sh
sudo ./flash.sh
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
15 | No.15 Revision |
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
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.
sudo fastboot devices
if anything shows you're connected.
sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
bash ./flash.sh
this sudo bash ./flash.sh
.
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
16 | No.16 Revision |
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
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.
sudo fastboot devices
if anything shows you're connected.
sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
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
.
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
17 | No.17 Revision |
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
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.
sudo fastboot devices
if anything shows you're connected.
sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
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
.
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
18 | No.18 Revision |
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
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.
sudo fastboot devices
if anything shows you're connected.
sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
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
.
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
19 | No.19 Revision |
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
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.
sudo fastboot devices
if anything shows you're connected.
sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
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
.
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.
20 | No.20 Revision |
##Official
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
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.
sudo fastboot devices
if anything shows you're connected.
sudo fastboot -i 0x0fce oem unlock 0xYourUnlockCodeHere
and wait until it's done, it'll tell you.
Flashing
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
.
This wiki was originally done with a Gentoo Laptop but shouldn't be much different on other distros.
Possible problems:
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.