LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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 restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Before you begin:
- Please be aware that this is highly experimental and may contain bugs that prevent daily use. Current builds are for testing purposes only!
- You should be on the Sony's official Android 12 Firmware, and the preferred version is 58.2.A.4.52.
- Make sure that you know how to work with fastboot and ADB
- See sections below to check existing known bugs / problems
Instructions:
A. ROM Preparation:
- Download the ROM package from the link provided in Download section (should be a zip file)
- Decompress the tar.gz file, and you should get a folder which contains a list of images
- Make sure again that your phone is on the latest Android 12 firmware, preferred version would be 58.2.A.4.52
- Connect your phone to your computer
- Turn your phone off, and keep pressing the volume-up button until you see the LED light turns blue
- Type the following commands below to get into FastbootD Mode:
Code:
fastboot reboot fastboot
- You should see a screen with text: FastbootD
Flash the Lineage Recovery
Code:
fastboot flash recovery.img
Reboot to the lineage recovery and sideload the zip
Code:
adb sideload [lineageos.zip]
You also need to erase the userdata if you flash the ROM from stock ROM
Downloads:
Known Issues:
- "OK Google" Will not work when screen off (sound trigger problem?)Tracklist:
Here I am listing things that are reported not working, so that I can have a TODO list:Please report bugs you encountered
Device Trees:
Device Tree: https://github.com/hellobbn/android_device_sony_pdx203/tree/lineage-19.1Common Tree: https://github.com/hellobbn/android_device_sony_edo-common
Kernel Source: https://github.com/hellobbn/android_kernel_sony_sm8250/tree/lineageos-19.1
Credits:
Huge thanks to:Luk1337 and Sjllls for their help on debugging and fixing issues and device trees as references
Footnotes:
- As you can see, there are minor problems in this ROM, and I do want to have bug reports to make the ROM perfect one day
- If you are interested in fixing those bugs, you can contact me so that we can work together : ^ )
Last edited: