How To Install AOSP Android 8.0 Oreo Custom ROM On Sony Xperia X

Android 8.0 Oreo is coming for Sony Xperia X (Suzu, F5121 and F5122) via custom ROM based on the Android Open Source Project (AOSP). The Xperia X is an old device and not precisely the most popular smartphone, but it’s still capable of running the latest Android OS version known as Android 8.0 Oreo. Sony has stopped the official updates for Xperia X (Suzu, F5121 and F5122) and the only way is to install this latest custom firmware to experience Oreo. All credit goes to XDA Senior member, lubik1  to develop AOSP Android 8.0 Oreo Custom ROM for Xperia X.

This latest custom ROM comes with many new features and customizations and also improves the stability to run fast on your device. Remember that this ROM is not officially announced by Sony but just a custom ROM which is developed by third-party developers. Your Sony Xperia X should be rooted & have the latest version of a Custom Recovery like TWRP or CWM already installed on it to flash this AOSP Android 8.0 Oreo custom ROM.

By following this simple step by step guide, you can easily update Sony Xperia X to AOSP Android 8.0 Oreo custom ROM. The ROM is still under development so you may face some bugs or not functioning features. This latest custom firmware comes with tons of new features like picture-in-picture mode, New app notifications, Android Instant App compatibility, notification dots on app icons and much more. Before proceeding, don’t forget to take a full backup of all your valuable data. If you are interested in updating your Sony Xperia X to AOSP Android 8.0 Oreo Custom ROM, then go ahead and follow the given steps.

How To Install AOSP Android 8.0 Oreo Custom ROM On Sony Xperia X


This given guide containing the AOSP Android 8.0 Oreo ROM is only working with Sony Xperia X. Do not apply this guide on any other or incorrect variant; as a result, the device might get bricked. You can verify the model number of your device by going to Settings > About Phone.

Warning: will not be responsible for any damage occurred to the device during or after the installation of this AOSP Android 8.0 Oreo ROM on your Xperia X. Proceed at your risk.

Before Getting Started:

  • Take a proper backup of all your relevant data like your SMS, MMS, APN Settings, Call Logs, Contacts and media files, etc. with a recommended custom recovery such as TWRP recovery. In case anything goes wrong then you’ll be able to restore your data.
  • Download and configure ADB and Fastboot on your PC. Get the full Android SDK from here.
  • Download and install Sony Xperia X USB Drivers on your PC.
  • Enable USB debugging on your Xperia X by going to Settings > Developer Options.
  • Make sure that you have at least 80% of battery charge on your device before proceeding to the installation guide.

Required Files:

Steps to Update Sony Xperia X to Android 8.0 Oreo AOSP Custom ROM:

Step No 1: – First, download AOSP Android 8.0 Oreo ROM on the desktop of your PC for Sony Xperia X.

Step No 2: – Extract boot.img from the zip file separately.

Step No 3: – Now, plug your phone with PC using its USB data cable and mount its mass memory.

Step No 4: – Transfer the downloaded Android 8.0 Oreo ROM zip and Google Apps package .zip files to the root folder of your SD card on the phone.

Step No 5: – Also, copy/paste the boot.img file to android-sdk-windows\platform-tools directory on your PC.

Step No 6: – Power OFF the device to boot into Bootloader Mode.

Step No 7: – Power ON the X by pressing and holding Volume Up button while connecting it again with the USB cable. The phone LED will turn blue, and it will get into the Bootloader Mode.

Step No 8: – While the phone is in Fastboot Mode, go to android-sdk-windows\platform-tools directory on the PC and within the folder, open Command Prompt.

Step No 9: – Type the following command and press Enter.

fastboot flash boot boot.img

Step No 10: – Next, type this command and hit Enter.

fastboot reboot

Step No 11: – Once in the Recovery Mode. Turn ON the Xperia X while pressing the Volume Up or Volume Down buttons a few times till the LED light turn pink or any other colour.

Step No 12: – Once you are in ClockworkMod Recovery, select perform a full data wipe by selecting “wipe data/factory reset” as shown below. Use the Power button to select everything while in the Recovery Mode.

Step No 13: – Perform a cache wipe by navigating to “wipe cache partition”.

Step No 14: – It is recommended to perform a wipe of your Dalvik cache. Wipe Dalvik cache will help to prevent facing boot loops or any other errors.

CWM Recovery -> Advanced -> wipe dalvik cache.

Step No 15: – Go back to the main menu of Recovery,  select “install zip from SD card”. Now select “choose zip from sd card”. You can use volume keys to navigate to the Android 8.0 Oreo ROM zip file that you have already transferred to the root folder of your SD card. Select it using the Power button and confirm the installation to begin.

Step No 16: – Repeat the above-given process to install the Google Apps package on your X.

Step No 17: – Once the installation is completed, navigate to “+++++Go Back+++++” and reboot the phone by selecting “reboot system now” from the recovery menu.

Let us know in the comments area below if you have any question or trouble while following the above-detailed guide.

Leave A Reply

Your email address will not be published.