LineageOS 18.1 for Sony Xperia XZ Premium
RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for fixing anything (preferably dmesg and logcat).
FEATURES
DOWNLOAD
You can download the latest releases here:
maple (G8141):
twrp-3.5.0-0-20210117-maple
lineage-18.1-20210120-UNOFFICIAL-maple
maple_dsds (G8142):
twrp-3.5.0-0-20210117-maple_dsds
lineage-18.1-20210119-UNOFFICIAL-maple_dsds
INSTALLATION
Clean flash recommended when updating from Android 10 or stock:
1. Flash latest stock firmware (47.2.A.10.107) with newflasher.
2. Flash and boot the new twrp given in this post.
3. Format data and wipe everything.
4. Flash the ROM, GApps (if needed) and root (if needed).
Note: If you are updating from Android 10 and can't boot the new TWRP, please backup your stuffs and format data by using either the old TWRP or
Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
Google Apps
Both OpenGApps and NikGApps should work. You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. Open GApps for Android 11 is still in beta. You can download those releases here.
KNOWN ISSUES
derf elot, modpunk, Rooted_Ansh
Telegram Group
t.me
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Stable Release Date: 2021-01-21
Thread Information
Created 2021-01-21
Last Updated 2021-01-21

RELEASE
This is an alternative ROM for the Sony Xperia XZ Premium, offering several privacy features.
Please report any issues you observe apart from the ones listed below. Logs are needed for fixing anything (preferably dmesg and logcat).
FEATURES
- Signed with dev keys
- Up-to-date kernel
- WireGuard kernel support
- FDE (Full Disk Encryption) support
DOWNLOAD
You can download the latest releases here:
maple (G8141):
twrp-3.5.0-0-20210117-maple
lineage-18.1-20210120-UNOFFICIAL-maple
maple_dsds (G8142):
twrp-3.5.0-0-20210117-maple_dsds
lineage-18.1-20210119-UNOFFICIAL-maple_dsds
INSTALLATION
Clean flash recommended when updating from Android 10 or stock:
1. Flash latest stock firmware (47.2.A.10.107) with newflasher.
2. Flash and boot the new twrp given in this post.
3. Format data and wipe everything.
4. Flash the ROM, GApps (if needed) and root (if needed).
Note: If you are updating from Android 10 and can't boot the new TWRP, please backup your stuffs and format data by using either the old TWRP or
fastboot -w
. This is required because there are some adjusts in userdata image size to fix FDE encryption.Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.
Google Apps
Both OpenGApps and NikGApps should work. You can download and install the Google Apps from opengapps.org. You need ARM64 and 11.x. Open GApps for Android 11 is still in beta. You can download those releases here.
KNOWN ISSUES
- WFD is not working yet (waiting for new non-BSP blobs)
- Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui
derf elot, modpunk, Rooted_Ansh
Telegram Group

[EN] Xperia XZP Development
Development group for XZP (maple). Do not spam and cooperate with developers. Google first before asking any help
Source Code
maple: https://github.com/whatawurst/android_device_sony_maple
maple_dsds: https://github.com/whatawurst/android_device_sony_maple_dsds
kernel: https://github.com/whatawurst/android_kernel_sony_msm8998
Rom Information
ROM OS Version: Android 11
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Stable Release Date: 2021-01-21
Thread Information
Created 2021-01-21
Last Updated 2021-01-21
Last edited: