GETDroidTipsGETDroidTips

Trending

Sony Xperia X and X Compact Stock Firmware: Download and Flash Guide (2026)

Download Sony Xperia X Compact F5321 stock firmware (34.4.A.2.118 Oreo and older builds) and flash it with Flashtool or Newflasher to unbrick, unroot or return...

Mohammed Huwais

Updated 5 min read

Share

This page covers the stock firmware for the Sony Xperia X (F5121, F5122) and Xperia X Compact (F5321). It has direct download links for the X Compact firmware, lists the official software versions Sony released, and shows how to flash the firmware to unbrick the phone, fix a bootloop, remove root or a custom ROM, or return it to stock.

Both phones launched in 2016 with Android 6.0.1 Marshmallow, were updated to Android 7.1.1 Nougat, and got their final major update, Android 8.0 Oreo, in early 2018.

Sony Xperia X and X Compact stock firmware

Xperia X and X Compact at a glance

Xperia X Xperia X Compact
Models F5121, F5122 (Dual SIM) F5321
Codename suzu kugo
Display 5.0-inch, 1080 x 1920 4.6-inch, 720 x 1280
Chipset Snapdragon 650 Snapdragon 650
RAM / storage 3GB / 32 or 64GB 3GB / 32GB
Cameras 23MP rear, 13MP front 23MP rear, 5MP front
Final official Android 8.0 Oreo 8.0 Oreo

Why flash stock firmware?

  • Unbrick the phone or fix a bootloop
  • Remove root, TWRP or a custom ROM
  • Fix software bugs, lag or stutter
  • Prepare the phone for a custom ROM, since LineageOS asks for the latest stock Oreo firmware first
  • Return the phone to factory condition before selling it

These are full firmware packages in FTF format, which you flash with Flashtool. Pick the one that matches your region or carrier. If you’re not sure, the Customized US build works on most unbranded F5321 phones. The files are hosted on Google Drive and Dropbox by third parties, not by Sony.

Version Android Region / carrier Download
34.4.A.2.118 (latest) 8.0 Oreo Customized US Google Drive | Dropbox
34.4.A.2.118 (latest) 8.0 Oreo EE UK Google Drive | Dropbox
34.4.A.2.97 8.0 Oreo Customized US Google Drive | Dropbox
34.4.A.2.85 8.0 Oreo Customized SA Google Drive | Dropbox
34.4.A.0.364 8.0 Oreo Vodafone NZ Google Drive | Dropbox
34.1.A.1.198 6.0.1 Marshmallow Claro SV Google Drive | Dropbox

If a link stops working, try the other host, or download the firmware yourself with XperiFirm as shown further down. For the Xperia X (F5121, F5122), use XperiFirm.

Advertisement

How to flash an FTF file with Flashtool

  1. Install the Sony USB drivers and Flashtool on a Windows PC.
  2. Copy the downloaded .ftf file into the firmwares folder inside your Flashtool folder (usually C:\Users\YourName\.flashTool\firmwares).
  3. Open Flashtool, click the lightning icon and choose Flashmode.
  4. Select the firmware. To keep your data, leave DATA unticked under Wipe. Tick it for a full clean install. Click Flash.
  5. When Flashtool asks, turn the phone off, hold Volume Down and connect the USB cable. The notification light turns green.
  6. Wait until the log says flashing is finished, then unplug the phone and turn it on. The first boot can take a few minutes.

Xperia X and X Compact software versions

Software version Security patch Android
34.4.A.2.118 (latest) September 2018 8.0 Oreo
34.4.A.2.107 August 2018 8.0 Oreo
34.4.A.2.97 July 2018 8.0 Oreo
34.4.A.2.85 June 2018 8.0 Oreo
34.4.A.2.70 May 2018 8.0 Oreo
34.4.A.2.50 April 2018 8.0 Oreo
34.4.A.2.19 Early 2018 8.0 Oreo
34.4.A.0.364 First Oreo build (February 2018) 8.0 Oreo
34.3.A.0.252 December 2017 7.1.1 Nougat
34.3.A.0.244 November 2017 7.1.1 Nougat
34.3.A.0.238 October 2017 7.1.1 Nougat
34.3.A.0.217 August 2017 7.1.1 Nougat
34.3.A.0.206 July 2017 7.1.1 Nougat
34.3.A.0.194 First Nougat build 7.1.1 Nougat

The X and X Compact shared the same software versions. 34.4.A.2.118 was the final release, so it’s the one to install in almost every case.

Another option: download firmware with XperiFirm

Sony doesn’t post firmware on its website. XperiFirm is a free community tool that downloads official firmware packages from Sony’s servers, and it’s the way to get firmware for the Xperia X or a carrier variant not listed above.

  1. Download XperiFirm from its official XDA Forums thread and run it on a Windows PC.
  2. Select Xperia X or Xperia X Compact from the list, then pick your exact model (F5121, F5122 or F5321).
  3. Choose your region or carrier variant (CDA) and click the latest firmware version on the right.
  4. Click Download. XperiFirm saves the firmware files into a folder on your PC.

Downloads for these older phones depend on Sony still hosting them. If XperiFirm can’t find your model’s firmware, check XDA Forums for archived copies.

Advertisement

How to flash XperiFirm downloads with Newflasher

Newflasher flashes the files XperiFirm downloads directly, without converting them. If you’d rather use Flashtool, our guide to create FTF files with XperiFirm and Flashtool shows how to convert them.

  1. Install the Sony USB drivers on your PC.
  2. Download Newflasher from its official XDA Forums thread and copy newflasher.exe into the folder where XperiFirm saved the firmware.
  3. To keep your data, delete the userdata files from the firmware folder before flashing. Leave them in for a full clean install.
  4. Turn the phone off. Hold Volume Down and connect the USB cable. The notification light turns green when the phone is in flash mode.
  5. Run newflasher.exe and follow the prompts. Answer n to the GordonGate driver question if you already installed the Sony drivers.
  6. Wait for flashing to finish, then disconnect the phone and turn it on. The first boot can take a few minutes.

Flashing firmware can erase your data and, if interrupted, stop the phone from booting. Use firmware for your exact model only. GetDroidTips is not responsible for any damage to your device.

Frequently asked questions

What is the latest firmware for the Xperia X Compact?

34.4.A.2.118, based on Android 8.0 Oreo with the September 2018 security patch. Sony released no further major updates after that.

Can I flash firmware from a different region?

Yes, on an F5321 you can usually flash any region’s firmware. The main differences are carrier apps, boot logos and preset network settings.

Did the Xperia X or X Compact get Android 8.1 or Android 9?

No. Both stopped at Android 8.0 Oreo. For newer Android versions, look at custom ROMs like LineageOS 20 for the X Compact.

Will flashing stock firmware relock the bootloader or restore DRM keys?

No. Flashing firmware doesn’t relock the bootloader, and DRM keys erased by unlocking can only come back if you backed up the TA partition first. See our guide to relock the bootloader on Sony Xperia.

Can I flash Xperia X firmware on the X Compact?

No. Even though they share version numbers, each model has its own firmware. Always download firmware for your exact model.

Written by

Mohammed Huwais

I started my career as a blogger in 2014 and also worked on an Android niche platform to gain extra income. I cover the topic on How to guides, software updates, Custom ROM updates and also product review. I'm 24 years old, completed MBA (Master of Business Administration) from Sikkim Manipal University.

Share

Leave a Comment

Share your thoughts, questions, or extra tips with other readers.

Comments are reviewed before appearing on the site.