Both the Sony XA2 and XA2 Plus (Codename: voyager) was launched almost two years ago in 2018. Luckily, both of the devices were running on the Android 8.0 Oreo version out of the box that is a big advantage to easily support the Android 11 AOSP firmware (Custom ROM) in the name of Lineage OS 18. So, we can assume that both the devices may not receive the Android 11 official update anymore. Therefore, all the interested users can easily download and flash the Lineage OS 18 custom firmware by following the guide below. Android OS is open-source in nature and most of the Android lovers are always eager to customize their devices including flashing custom firmware or mod files. Google has also released the Android 11 GSI build for all the Project Treble supported devices (Android 8.0 Oreo or above). Whereas Google has also uploaded the Android 11 Source Code to AOSP so that the custom firmware developers can easily build their third-party ROM for compatible devices. To recall, Lineage OS is a free to use and open-source custom operating system that can be easily installed using custom recovery on Android devices like smartphones, tablet devices. It’s based on the Android AOSP source code and features all the exclusive features that come with Android versions. Most importantly, it comes from the CyanogenMod family or you can say a successor custom ROM with great stability and performance than any other custom firmware. Moreover, Lineage OS users always receive faster software updates that will bug fixes and new improvements or features. Therefore, Lineage OS 18 is the latest build based on Android 11.

Lineage OS 18 Features

LineageOS is a free, community-built, aftermarket firmware distribution of Android 10, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway. As mentioned, among all the aftermarket firmware, Lineage OS is the best one when it comes to performance, stability, and fully-featured Custom ROM. Thanks to XDA Recognized Developer LuK1337 for this latest ROM. So, the Android 11-based Lineage OS 18 firmware offers all the useful and popular features like the Conversation Notification, One-Time App Permissions, Notification History, Chat Bubbles, Built-in Screen Recording, Improved Media Player, Smart Reply, New Power Menu, Scoped Storage, Wireless ADB, Pin Apps to Sharesheet, and more.

Scheduled Dark Mode Smart Reply & Smart Folders Improved App Suggestions Conversations Notification Built-in Screen Recording Pin Apps to Sharing Menu Improved Voice Access (Accessibility) Bluetooth Active in Airplane Mode Improved Privacy & Security Features A New Power Menu Redesigned Device Controls Redesigned Music Control One-Time App Permissions Permissions Auto-Reset Chat Bubbles Notification History Wireless Android Auto Google Play System Update (Security Patch) Talkback braille keyboard Improved Lookout Mode Improved Camera features (Bokeh Mode, Built-in HAL, and Camera2 API support) Enhanced Digital Wellbeing Improved Enterprise Mode Improved Autofill Keyboard Suggestions Nearby Share Scoped Storage Resume on Reboot Blocked Permissions Soft Reboot Background Location Improved Call Screening (Identify Spams) Picture-in-picture mode 5G detection API Hinge angle sensor support Ethernet tethering Gesture sensitivity

Sony Xperia XA2 / XA2 Plus Lineage OS 18 (Download and Install)

The installation is pretty simple and easy. If you have installed any custom ROM before then you will have no issue flashing the ROM as the process is exactly the same. But before proceeding to the installation let me clear that this build is in the very early stage which means there will be bugs and many functions may not work properly. So, we do recommend not to flash the ROM on your primary device.

Pre-Requirements

Enable USB Debugging on your Sony Xperia XA2 / XA2 Plus. Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging. Also, enable the OEM Unlock from the Developer Options.

Make sure the bootloader on your device is unlocked and your device is rooted and you have a custom recovery installed. Make sure your device has more than 50% battery. Make sure you have taken a backup of your important data. Now proceed to install Lineage OS 18 ROM (Android 11) on your Sony Xperia XA2 / XA2 Plus device. Make sure that you have installed TWRP recovery on your Android device.

Disclaimer

RootMyGalaxy.net is not responsible for any damage happened to your device(s) while following this guide, proceed at your own risk.

Download Lineage OS 18 ROM for Sony Xperia XA2 / XA2 Plus (Codename: joyeuse) OpenGApps Nano for Android 11 Download latest Magisk (If you want Root access)

Flashing Steps: Lineage OS 18

Make sure your device is rooted and have the latest TWRP recovery installed. (Check the Pre-Requirement Section Above) First, download the files from the above link and extract them. Now transfer the downloaded files to the internal storage of your device. Ensure that the bootloader is unlocked. Now reboot to the TWRP recovery. Take a Nandroid backup by selecting the option from the home screen and then your data and cache from the recovery menu. Guide: How To Create & Restore Nandroid Backup Now return to the main menu of TWRP and wipe cache, data, and system before flashing the ROM

In order to Wipe data: Go to Wipe —> Advanced Wipe and select Dalvik/ART cache, cache, System, Vendor, and Data and then swipe to wipe. (Don’t select the internal storage)

Now return to the main menu of TWRP again and install the ROM which is just a .zip file Go to Install -> Install Zip > ROM File (.zip)

Next flash the Gapps file like custom ROMs Guide: How To Flash GApps (Zip) via TWRP Recovery

Last but not least, flash Magisk (optional) if you want to root (not recommended as all devices have different methods) Guide: How To Install Magisk On Android Android 11 To Gain Root

Once the flashing process is completed, reboot your Sony Xperia XA2 / XA2 Plus and you will be booted into Lineage OS 18 ROM Based on Android 11. If you have any doubts regarding this process, feel free to comment below. Source: XDA Developers

Sony Xperia XA2   XA2 Plus  Lineage OS 18  Download and Install  - 65Sony Xperia XA2   XA2 Plus  Lineage OS 18  Download and Install  - 7Sony Xperia XA2   XA2 Plus  Lineage OS 18  Download and Install  - 14Sony Xperia XA2   XA2 Plus  Lineage OS 18  Download and Install  - 53Sony Xperia XA2   XA2 Plus  Lineage OS 18  Download and Install  - 36