Please make sure you read the whole page of instructions before starting.
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, W-LAN, etc.
What you need to begin
1. Sony Xperia X Single SIM (F5121), verified to have an unlockable bootloader. You should also verify that the phone work properly with Android: phone calls, WI-FI, bluetooth, vibrator, etc
2. Micro USB cable
3. Internet connection
4. Windows computer (Linux and macOS support will be added later)
5. Sailfish X from Jolla shop
What you need to do
1. Update to the latest Android software version
OPTION 1: If your device has its bootloader locked:
1.1.1 Update to the latest version of Android using your phone’s OTA feature
1.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.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
OPTION 2: If your device has its bootloader unlocked:
1.2.1 Download and install the Emma tool from Sony’s developer website.
NOTE: Sony provides the Emma tool for Windows only.
1.2.2 Turn off your device. Leave it off for at least fifteen (15) seconds.
1.2.3 Hold down the ‘Volume Down’ button on the device while connecting your device to your computer via USB cable. The LED next to the speaker on the device should light up green.
1.2.4 Run the Emma tool and follow its instructions. Please make sure to install the latest version of Android with a build number of 34.3.A.0.228 or higher.
1.2.5 Boot up your device to Android and go through the setup wizard (skipping as many steps as you can) until you see “Done”.
1.2.6 Shut down your device and get ready to install Sailfish X.
2. Install the fastboot driver
If your Windows finds the fastboot driver for you device automatically, you can skip to section 3. If the driver is not found you need to install the driver manually, here are the instructions to do so:
2.0 While the device is off: Hold down the Volume Up button on the device and connect your device to your computer via USB. The LED next to the speaker on the device should light up blue.
2.1 Download the Xperia X fastboot drivers from Sony’s website.
2.2 Right click the xperia-x-driver.zip file, and click “Extract” it to a directory.
2.3 Open the ‘Device Manager’:
2.3.1 On Windows 7, right-click the ‘Computer’ icon on the desktop and choose ‘Manage’. When the Computer Management application appears, choose the ‘Device Manager’ in the tree.
2.3.2 On Windows 8 & 10, Device Manager can be found by right-clicking the Start button, or by pressing Windows+X on the keyboard.
2.4 Find the ‘S1Boot Fastboot’ device in the tree. If it is not correctly installed, it will show a warning sign.
2.5 Right-click it and choose ‘Update driver’
2.6 then ‘Browse my computer for driver software’,
2.7 Select “Let me pick from a list of available drives on my computer”
2.8 Select “Show All Devices”
2.9 Select “Have disk…”
2.10 Select “Browse …” and go to the directory where you extracted the driver package at step 2.2
2.11 Select the driver information file called ‘sa0114adb’ in that directory and click “Open”
2.12 Click “OK”
2.13 Then you should see “Sony sa0114 ADB Interface Driver” in the “Model” list.
2.14 Click “Next”
2.15 Then you might see “Update Driver Warning” for this you need to select “Yes”
2.16 After this you should see “Windows has sucessfully updated your drivers” and you can click “Close”
Now your device will be ready for unlocking.
3. Extract the Sailfish OS .zip file
3.1 Before entering this instruction page you got the download link to SailfishOS-126.96.36.199-1-f5121-0.0.1.16.zip file from Jolla shop
3.2 Extract this file to a directory. In that directory you can find the fastboot binary that can be used also for section 4.
4. Unlock the bootloader
4.1 Instructions for the unlocking process can be found on the Sony Open Devices website.
– However, skip chapter “A. Install the Android SDK and the device drivers”. You have done this in chapter 2 already.
– Continue in chapter “B. Connect to Fastboot”. However, you must skip step 3a as you have done the corresponding preparation in chapter 2.
Instead of step B4 in Sony’s instruction, do this:
When your device is connected (blue LED lit), using the Windows File Explorer go to the folder where you unzipped Sailfish OS in step 3.2 (as it has the file ‘fastboot.exe’). Press Shift, then right-click the folder background (not files) and select “Open command prompt to this directory” (Windows 7) or “Open PowerShell window here” (Windows 10). Now proceed to Sony’s instruction B5, please.
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 On Windows, fastboot drivers are needed to properly detect the device, as was needed for the unlocking process. If you need to install them, see the instructions in section 2 above.
6.6 On Windows 7, 8 & 10, double-click ‘flash-on-windows.bat’. If Windows warns you that it ‘Protected your PC’ by stopping the script from launching, click ‘More Info’ then ‘Run anyway’.
6.7 Follow the instructions in the console window.
6.8 When flashing has finished, reboot your device into Sailfish X!
Q1: 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.
Q2: After flashing Sailfish X to my Xperia™, it gets stuck on the Sony logo when it is booting up, how can I fix it?
A2:You should reflash the device with the instructions above. Make sure that you have the correct Vendor binary image from Sony.
Q3: How does this affect my warranty with Sony?
A3: 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.
Q4: Can I restore Android to my Xperia device later on?
A4: The Emma tool mentioned above can be used to wipe your device and restore Sony’s stock Android. However, when the bootloader is unlocked, special security keys are permanently removed which cannot be restored by Emma. For the impact of the loss of these keys, please check the Sony website.