Installing Sailfish X using macOS
Note: If you are a Linux or macOS user, your device’s Android version is lower than 34.3.A.0.228 and you have already unlocked your device’s bootloader, then you will need to use Windows for one step of the flashing procedure.
Use your Xperia X device in its original shape before unlocking the bootloader.
Check that all major functions work, including mobile connections, phone calls, camera, WLAN, etc.
What you need to begin
1. Sony Xperia X Single SIM (F5121), verified to have an unlockable bootloader.
2. Micro USB cable
3. Internet connection
4. Mac Computer
5. Sailfish X from Jolla shop
What you need to do
1. Update to the latest Android software version
If your device has its bootloader locked:
1.1 Update to the latest version of Android using your phone’s OTA feature
1.2 You might need to do the OTA update multiple times, so after completing the update go to Settings | About Phone | Software Update and check for system updates again.
1.3 After you are done updating, check in your phone’s Android: Settings | About phone | Build number, and make sure the build number is 34.3.A.0.228 or higher
If your device has its bootloader unlocked BEFORE updating to the latest version of Android, you need to follow the OPTION 2 of the section 1 in Windows instructions first instead to update your device.
2. Install Fastboot tools on your computer
Install Homebrew using instructions on this link.
brew tap caskroom/cask
brew cask install android-platform-tools
3. Extract the Sailfish OS .zip file
3.1 Before entering this instruction page you got the download link to the latest Sailfish OS .zip file from Jolla shop.
3.2 Extract this file to a directory (replace with downloaded filename): unzip SailfishOS-VERSION1-DEVICE-VERSION2.zip
4. Unlock your bootloader
In order to unlock the phone you need to get the unlock key that can be found from Sony Open Devices website. After getting the key you can follow the below actions to do the actual unlocking, there is no need to do everything Sony’s website guides you to do.
Note: Please remember to enable developer mode by going to Settings | About Phone and tap the “Build Number” 7 times until you see a prompt saying “You are now a developer!”
Note #2: Please remember to enable USB debugging and allow OEM unlock from your developer mode settings menu (Settings | Developer options).
4.1 Turn off your phone
4.2 Connect usb cable to PC
4.3 Press volume up and connect the other end to phone. The LED next to the speaker on the device should light up blue.
4.4 Run command shown in C1 of Sony instructions
5. Getting the Sony vendor binary images
5.1 Download the Sony binary image named SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.zip for the Xperia™ X here.
5.2 Unzip the SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.zip file.
5.3 Copy the SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_loire.img extracted from the zip and paste it to the same directory where you extracted the Sailfish OS .zip file in step #3.
6. Flashing Sailfish X to your Xperia™
Connect your device to your PC in Fastboot mode as follows:
6.1 Disconnect your Xperia™ device from your PC
6.2 Turn off the device. Leave it off for at least fifteen (15) seconds.
6.3 Connect one end of a USB cable to your PC
6.4 While holding the ‘Volume Up’ button, connect the other end of the USB cable to your Xperia™ device. The LED next to the speaker on the device should light up blue.
6.5 Open terminal in the same directory where you extracted the Sailfish OS .zip file
6.6 Launch the flashing script by entering the command:
6.7 When flashing has finished, disconnect the USB cable, reboot your device into Sailfish X! You will first see a reminder of unlocked boot loader, followed by Sony logo. Next, Sailfish OS appears.
1. How can I check if my Xperia device can be unlocked?
A1: See the Sony Open Devices website for detailed information for each Xperia device. Scroll down to the bottom of this page, then select your device:
For the Xperia X (correct at the time of writing, Sony may update this information at any time):
In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.
Tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then your device can be unlocked. If it says No, or if the status is missing, then unlocking is not possible.
2. After flashing Sailfish X to my Xperia™, it gets stuck on the Sony logo when it is booting up, how can I fix it?
You should reflash the device with the instructions above. Make sure that you have the correct Vendor binary image from Sony.
3. How does this affect my warranty with Sony?
The effect of unlocking your phone does affect your warranty, so you should make sure that you read Sony’s warnings during the unlocking process thoroughly. We also recommend that you verify that all the hardware is working properly before unlocking their devices, as although getting repairs for existing faults under warranty may still be possible after unlocking, it will be much easier before.