[Xperia Z2 Original Android Development] rcstar6696:
LineageOS​

LineageOS Build for Sony Xperia Z2

About LineageOS:

Lin·e·age

/ˈlinēij/

noun

lineal descent from an ancestor; ancestry or pedigree.

a sequence of species each of which is considered to have evolved from its predecessor.

Disclaimer:

All information and files — both in source and compiled form — are provided on an as is basis. No guarantees or warranties are given or implied. The user assumes all risks of any damages that may occur, including but not limited to loss of data, damages to hardware, or loss of business profits. Please use at your own risk. Note that unless explicitly allowed by the warranty covering your device, it should be assumed that any warranty accompanying your device will be voided if you tamper with either the system software or the hardware.

Added Features

Substratum Rootless support

Bugs

-Sometime phone reboots at night. (Only sometime, u wont even know its happened)

Please let me know if you find more Bugs!!!

Questions & Answers Discussion Thread

Click to go Q & A Thread

Prerequisites

UNLOCKED BOOTLOADER

Click to Unlock Boot Loader

Instructions

VERY IMPORTANT - Before installing ROM for first time Wipe every partition with flashtool and install stock FTF.

---If you Update the ROM skip 2,3,4,6,8.

1. Download ROM, Gapps, TWRP recovery.

2. Extract Boot.img from ROM zip.

3. Flash the Boot.img from ROM via fastboot (fastboot flash boot pathTo/boot.img)

4. Flash TWRP Recovery via fastboot (fastboot flash recovery pathTo/recovery.img)

5. Boot into Recovery by using VOLUME UP when Sony logo comes up with pink notification light.

(Orange LED shows Recovery is Loading)

6. Wipe SYSTEM, DATA, DALVIK, CACHE from recovery (Wipe Option).

7. Flash the Rom zip from recovery.

8. Flash Gapps zip from recovery.

9. For D6502 user flash Baseband Patch

10. Reboot.

(Optional)

7.2 Root Direct Download Super Su & flash Super SU zip via Recovery

10. Reboot.

Download

LineageOS Sirius

Gapps (arm 7.1 Full)

TWRP Recovery 3.1

Changelog

Build 11/06/2017

- Added 4K , 60fps & 120fps in videos as default.

- OTG fixed

- Bluetooth calls fixed

- Ok Google fixed

- Auto brightness fixed

- June security Patch

- Powerhall permissions fixed

Build 18/04/2017

- Android 7.1.2

- Update Substratum.

- Security Patch Release April.

- Code Cleanup.

- FM Radio Sound with OK Google fixed.

- Small Audio Changes.

- HD Voice on VoIP.

- New Boot image layout.

- Rework Kernel Config.

- Offline Charging fixed.

Build 02/04/2017

- Vibration setting fixed.

- New kernel govs.

- Cpu & GPU Overclock and underclock are possible now.

- Fast charge can be enabled but untested.

- Camera works without additional ZIP.

Build 21/03/2017

- First Build

FAQ

Q- Can i install it on locked bootloader?

A- No.

Q- Which gapps should be used?

A- OpenGapps arm 7.1 Full

Q- How to install this rom?

A- Read first post.

Q- Is something not working?

A-See the bugs listed above.

Q- Something* is not working.

A-Report bugs on github or here when it is not listed above.

Video of Rom

[YOUTUBE]https://youtu.be/_3oOxQlVyrw[/YOUTUBE]

CREDITS

[MENTION=4675360]tomascus[/MENTION]

[MENTION=6979267]nailyk[/MENTION]

[MENTION=1068260]Diewi[/MENTION] for recovery

LineageOS

Source Code:

github.com/LineageOS

github.com/rcstar6696

github.com/Sony-Lineage-3.4

Kernel

Device-Tree

Vendor-Tree

XDA:DevDB Information

[ROM] [7.1.2] [NOUGAT] LineageOS 14.1 for Xperia Z2 (Sirius), ROM for the Sony Xperia Z2

Contributors

rcstar6696, akshay2shah, iXaidyiu

Source Code: https://github.com/rcstar6696

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Unlocked Bootloader

Based On: LineageOS

Version Information

Status: Stable

Created 2017-03-22

Last Updated 2017-06-12