[Xperia Z3 Original Android Development] nailyk:
​

Click here to get to the new post where we'll keep updating this rom

What it is

It is an LineageOS 14.1 alpha build from official LineageOS sources devices trees and fresh caf 3.4 kernel port. This is not related anymore (2017-03-22) to the Sony Open Device Project (sonyxperiadev). They work on a different way and we are helping each others as often as possible.

This rom is worked to be as stable as possible to be used as a daily driver. There are no changes into LineageOS sources, manifest to build is attached in this post. The idea is to share this built with the community to improve this rom. If it is good enough, maybe, someday, get official again for our D6603. Thanks a lot to [MENTION=4675360]tomascus[/MENTION] who made this possible. (his donate link)​

Disclaimer

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are 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.
*
*/

Who can use it

It is only for Z3 and UNLOCKED UPGRADED BOOTLOADERS​

How to install

%= Only needed at first flash

% Update ROM to .291 with emma (or Flashtools)

% When install is done go into fastboot mode (plug usb + vol down key = blue led)

% Flash this TWRP (version 3.1.x) | If you are a Z3 Dual user, flash zip below before installing Z3 Dual version. / If you already are in .291 and have a working TWRP (modded rom/kernel/adv kernel) you can use the flashable zips below instead.

Shutdown the device

Unplug the usb cable

Maintain volume down & power until you see twrp splash screen

%

Wipe system, cache and data

Install rom zip (+ % gapps if you need it)

Reboot

Rolling back to stock

Flash stock rom with emma or flashtool

If you flash with flashtool remember to check wipe apps_log and userdata partitions to get a clean install

What gapps to flash?

Use f-droid :p

You can flash any gapps you want, our partition is 2GB and rom is 700MB:

z3:/ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/block/mmcblk0p23 2.4G 680M 1.7G 28% /system

Just take 'arm' and not 'arm64'

Gapps need to be flashed at first rom flash!

NEW RELEASE

2017-06-13:

Xperia Z3

Download

md5: 2d4ca5f88de0303575f2ab9c249d521f

TWRP 3.1.1 - 2017/06/09

Xperia Z3 Dual

See below

md5: 360fd6f9e0e22eb4ff0de72059c7de24

TWRP 3.1.1 - 2017/06/09 | Mandatory if coming from Z3 builds or new to the rom.

Temporal Z3 Dual rom (fixes SIM problems)

What's new:

- Updated Camera profiles
- Reworked Z3 Dual RIL
- Updated Audio HAL flags
- BFQ I/O Scheduler
- Bluetooth aptX support
- Qualcomm Connectivity Engine support
- Imported audio ids from original .291
- ANC Headphones support
- Dual Mic config enabled for voice calls/audio recording
- Ok Google everywhere fixed (untested)
- Tweaked autobrightness (again)

Release notes

:

2017-06-09 is just a minor update with some [experimental] tweaks for bt connections and fixed minor issues with z3dual

Older Releases

Based on Kernel 3.4

Some of these can be found here

Release History

2017-06-09:
- Tweaked a little bluetooth values (untested)
- Fixed Z3 Dual sim problems
- Latest Google source (7.1.2_r17)
- June security updates
- Permission fixes for new PowerHAL
- Z3 and Z3 Dual code cleanup
- Forced camera modes to 4kUHD@30fps, 1080p@60fps, 720p@120fps, 480p@30fps
- Fixed all of the device sensors (they're all online and working properly now)
- Latest LineageOS updates
- Smoother UI rendering with CPU

2017-05-17:
- Tweaked general audio output processing
- Updated vendor audio libraries configs (enables qcom effects)
- Auto brightness/brightness changes
- New thermanager configs based on stock
- Changed deprecated Gello for Jelly
- Some device tree cleanup
- General radio/wifi tcp updates

2017-04-16
- Audio changes,
- NFC fixes,
- Brightness changes,
- Verbosity increased for logs after night reboot + PERISTENT_TRACER
- No more vol- buton at boot time
- A lot more

2017-04-05:
- Enforcing selinux

2017-04-01:
- Audio fixes
- Encryption fix
- A lot more that I can't remember right now

2017-03-22:
- Full rework based on stock 3.4 kernel

Based on Kernel 3.10 by [MENTION=6979267]nailyk[/MENTION]

2017-01-23:

Download

md5: 04a3a614d820df78e7a70538df61203d

sha1: 10a3ea95d823a6b87b5f5a8f79896e3dabf7a8b5

Status

Workaround for in-call reboot

Include PR1130 PR1128

2017-01-15:

Download / 2

md5: 8b8898c18d631dc7f9d78a18b1e7500f / b40c7ba870ae579827e1bd7a427afc1f

sha1: 588d2c1e0fd2ef4790706980fc1050a8d793d559 / f28ba7714987a94c5ba43a6ee39fe05f0b5a5fca

Use of the reworked device trees

Include some experimental kernel pull requests

2017-01-01:

Download

md5: 6c5abcbeda01c75344cd4296bb2358d1

sha1: a46ef81e2d26ac9610f16cb90bc13e63d58a2983

Switch to LineageOS

Bluetooth deepsleep fixed

2016-12-02:

Download

md5: 496de65608fd4236f5d451a4179e1ce8

sha1: 74a25eabc0f8ac5be3458bd9d98461f9519c7c73

Bluetooth improvements

P.S.: i'm almost affiliated to LineageOS, just like tomascus who made everything.

Sources

Manifest file.

Everything else is Lineage.

Contribute gerrit.

XDA:DevDB Information

LOS-14.1, ROM for the Sony Xperia Z3

Contributors

nailyk, xkeita

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

Based On: LineageOS

Version Information

Status: Beta

Beta Release Date: 2017-06-09

Created 2016-11-27

Last Updated 2017-07-01