[Xperia Z Original Android Development] Daedroza:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

About LineageOS

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat),

which is designed to increase performance and reliability over stock Android for your device.

All the source code for LineageOS is available in the LineageOS GitHub repo.

And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

Official LineageOS website : http://lineageos.org
​

Downloads Links

LineageOS 14.x (Unlocked Bootloader) :

Nightlies : https://download.lineageos.org/yuga

Google Applications (optional) :

OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.x, Micro or Pico)

Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Informations and references :

About LineageOS updates : ChangeLog available on http://www.cmxlog.com/14.1/yuga/

About LineageOS device side : See my GitHub trees linked below
​

Flashing and updating

LineageOS clean install :

- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool

- (Optional) Wipe the data & cache (Backup to make sure not to loose data)

- Flash the LineageOS ROM zip from the Recovery

- (Optional) Flash the GApps to have the Google Applications

- (Optional) Every additional zip you want to flash

- Reboot

LineageOS update / upgrade :

- (Information) Don't wipe anything unless you want to

- (CM / UNOFFICIAL) Nothing to wipe when switching

- (FUTURE RELEASES) Might need clean, informations will be updated

- Flash the latest LineageOS ROM zip from the Recovery

- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes

- (Optional) Every additional zip you want to flash

- Reboot

LineageOS addonsu for root access :

- (Information) Read the Root section of the Q&A thread

- (Download) Download the addonsu for arm : LineageOS Downloads / Extras

- (Optional) Flash the zip on a working Lineage installation (once)

- (Information) Upon ROM updates, the addonsu is preserved

- Reboot
​

About the builds

Device tree : https://github.com/fusion3-common/android_device_sony_Yuga/commits/cm-14.1

Kernel sources : https://github.com/fusion3-common/android_kernel_sony_apq8064/commits/cm-14.1

Vendor blobs : https://github.com/fusion3-common/proprietary_vendor_sony/commits/cm-14.1
​

Issues and reports

- Report issues only if you are using the ROM kernel

- If an additional mod is installed, make sure it's unrelated, and mention it

- Make sure the issue wasn't discussed earlier in the threads

- Share a log of the error with CatLog for example
​

About LineageOS Legal : http://lineageos.org/legal/

The LineageOS team would like to thank everyone involved

in helping with testing, coding, debugging & documenting! Enjoy!

[/INDENT]

LineageOS available for Yuga also thanks to :

- The LineageOS Team

- The CyanogenMod Team

- Everyone involved in working and testing​

XDA:DevDB Information

[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia Z, ROM for the Sony Xperia Z

Contributors

Daedroza, AdrianDC, Chippa_a, Olivier, Namelos, CyberwalkmaN, sigprof

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

Version Information

Status: Testing

Created 2017-07-16

Last Updated 2017-11-10