[ROM][DEVELOPMENT] Unofficial LineageOS 14.1 (Updated 7/10)

Search This thread

tomascus

Recognized Developer
Jun 5, 2012
1,903
2,649
Melbourne
lineage_logo_strip_onteal_500x120.png
What it is
A custom ROM built from LineageOS sources.

Disclaimer
Code:
/*
* 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.
*
*/
Prerequisites
- Xperia Z3 Compact on latest .291 firmware (Any variant)
- Unlocked Bootloader ONLY
- TWRP

Download
ROM:
https://androidfilehost.com/?w=files&flid=222053&sort_by=date&sort_dir=DESC
Recovery:
https://www.androidfilehost.com/?fid=961840155545571844

Changelog

Code:
7/10/17
- October security patches
- Test netmgrd from Bacon

21/8/17
- Kernel upstreamed 3.4.0 -> 3.4.113
- Updated sdcardfs
- Upstream LineageOS changes

8/8/17
- Merge android-7.1.2_r29 with August security patch (excl. kernel patches)
- Fix mixer_paths (stuck on boot issue)

5/8/17
- 3am reboot fixed thanks to Diewi
- Sync with whatever changed in LineageOS

21/7/17
- Moved to stock RIL blobs
- Fix audioserver crashes
- Disabled fluence to workaround mic quality issue
- Fix camera not working on first boot
- Merge 70+ Security patches in kernel
- Fix bluetooth calls for some users

7/7/17
- Merged Android 7.1.2 r24
- July Security patches
- Disabled NFC-F HCE (May fix terminal payments)
- Updated widevine blobs from kipper (may help with DRM videos)
- Return to MPDecision hotplugging and interactive tunings inline with other msm8974 devices
- Return to QCOM PowerHAL
- Kernel built with -O2 flag 
- Revert round icon support (on the road to official)

23/6/17
- ambient display support (can disable in settings)
- tuned cpu hotplugging (won't wildly jump during idle anymore)
- cleaned up GPS/location related settings
- charging LED for <90% now actually orange
- aptX codec support
- Assertive display enabled
- changes to USB current control
- call microphone quality improvements

7/6/17
- More aggressive CPU tunings
- Bluetooth calls fixed??
- June security patches
- Merged Android 7.1.2_r17

25/5/17
- Misc Kernel security patches merged
- Back to CPUQuiet, with powerHAL by Kholk
- flags for Acoustic Echo Cancellation and Noise Suppression for voice pre processing
- Audio cleanups

12/5/17
- May Security Patch
- Android 7.1.2_r8 merged
- NFC changes (maybe better)
- Audio "improvements" (blame xkeita)
- Thermal settings closer to stock 

21/4/17
- Adaptive brightness tuning (thanks to [user=4550727]@xkeita[/user])
- USB OTG path fixed
- Change back to MPDecision hotplugging temporarily
- Android 7.1.2_r2 merged 
- April Security Patch
- Charging while phone turned off now turns screen off

13/4/17
- Change to CPUQuiet hotplugging
- MHL drivers included
- Time services added for RTC things
- Vibration intensity interface works now
- WIFI MAC Address randomisation issue fixed
- SELinux set to enforcing 
- Switch to sdcardfs, superseding fuse
- WIFI hotspot possibly fixed
 	
-	23/3/17
- Initial release

Sources
https://github.com/LineageOS/android_device_sony_shinano-common
https://github.com/LineageOS/android_device_sony_msm8974-common
https://github.com/LineageOS/android_device_sony_z3c
https://github.com/LineageOS/android_kernel_sony_msm8974

Credits

Main developers
@nailyk
@rcstar6696
@xkeita

External contributors
@derf elot

Testers
@tomgus1
@gr8st
@mcgi5sr2
@doriandiaconu
@Robot76
@panzerox123
Benjamin Pham


XDA:DevDB Information
Unofficial LineageOS 14.1, ROM for the Sony Xperia Z3 Compact

Contributors
tomascus, nailyk, rcstar6696, xkeita
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: LineageOS

Version Information
Status: Beta

Created 2017-03-22
Last Updated 2017-10-08
 
Last edited:

tomascus

Recognized Developer
Jun 5, 2012
1,903
2,649
Melbourne
Installation guide for new users:
Things you need:
- Stock firmware (if you're not on .291): https://forum.xda-developers.com/showpost.php?p=56046548&postcount=2
- TWRP Recovery image: Above in OP, downloads area
- The ROM: Above in OP, downloads area

Make sure you're on the latest stock firmware, version 23.5.A.1.291
If you're not:
1. Download the firmware from the above link or somewhere else, it doesn't matter which region you pick
2. Flash the FTF file with Flashtool, latest version obtainable here: http://www.flashtool.net/index.php
3. Power off the phone after completion

Flashing TWRP Recovery:
1. Download from above
2. Enter fastboot mode - while the phone is off, hold the vol up button and insert your USB cable (connected to PC), blue led light should appear
3. Enter the following command: fastboot flash FOTAKernel twrp_z3c_2017-04-26.img (or whatever the file is called)

Flashing the ROM:
1. To enter recovery, hold the power and vol-down keys while the phone is powered off
2. Wipe system, data, cache, dalvik cache
3. Select the ROM zip and flash away
4. OPTIONAL: Flash any extras, Gapps (open gapps work well) and root from here: https://download.lineageos.org/extras use addonsu-arm-signed.zip for ROOT, not SuperSU
5. Reboot

If coming from previous version:
What I recommend is full wipe. No support for those who dirty flash.
- Backup apps with Titanium Backup or other alternatives.
- Backup SMS/call log with SMS backup app.

Known Issues
* Bluetooth connection issues
* Mobile data reconnection issues
* Encryption and adoptable storage leads to bootloops

How to report bugs:
- Attach any relevent logs: dmesg or logcat (clear logs with "adb logcat -c" first, then reproduce issue)
- For random reboots, provide a last_kmsg
- Screenshots or written explanations of how to reproduce
 
Last edited:

tomascus

Recognized Developer
Jun 5, 2012
1,903
2,649
Melbourne
Snap Camera Mod
Simply exposures (pun not intended) Sony variables for the Snap camera app (default one).
- Capture prio modes (ISO/Shutter speed/Manual/Auto)
- More ISO values selectable
- Sony metering modes
- Sony video stabilisation control

Download:
https://androidfilehost.com/?fid=673791459329051895

Instructions:
1. Flash ZIP in TWRP
2. Clear data for Camera
 
Last edited:

panzerox123

Senior Member
Sep 17, 2015
1,505
828
Bangalore
@nailyk @tomascus great work!
Now, for those of you getting the Error7 in TWRP, delete these lines from META-INF>com>google>android>updater-script
Code:
(!less_than_int(1490124938, getprop("ro.build.date.utc"))) || abort("E3003: Can't install this package (Tue Mar 21 19:35:38 UTC 2017) over newer build (" + getprop("ro.build.date") + ").");
assert(getprop("ro.product.device") == "D5803" || getprop("ro.build.product") == "D5803" || getprop("ro.product.device") == "D5833" || getprop("ro.build.product") == "D5833" || getprop("ro.product.device") == "z3c" || getprop("ro.build.product") == "z3c" || getprop("ro.product.device") == "aries" || getprop("ro.build.product") == "aries" || abort("E3004: This package is for device: D5803,D5833,z3c,aries; this device is " + getprop("ro.product.device") + "."););
ui_print("Target: Sony/D5803/D5833:6.0.1/23.5.A.1.291/2769308465:user/release-keys");
ifelse(is_mounted("/system"), unmount("/system"));
If anyone asks about how to fix error 7... I will personally send hand them over to cannibals XD
 

Pisiont

Senior Member
Nov 4, 2014
83
16
So no working version yet? The one mcgi5sr2 posted couldn't go through setup after booting, didn't respond to anything other than power menu.
 

vooR9er

Senior Member
Mar 14, 2017
168
67
Thank you,mcgi5sr2, nailyk Yes, it really takes a very long time to install the firmware. Camera does not work. Black screen, the first launch of the camera with the button, now without a button on the display, very sorry. :(
P.S. Gapps is not set
 
Last edited:

Pisiont

Senior Member
Nov 4, 2014
83
16
Guys, just to clear out any misconceptions, the ROM is fully working and stable for daily use . The build was taken down because of a model specific issue. A new fixed build will be out soon. (No I am not developing it. Just testing the builds)

Is that model specific issue a not working camera? Expect that seems stable, some lineageos settings crash also but that's not a big deal.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 139
    lineage_logo_strip_onteal_500x120.png
    What it is
    A custom ROM built from LineageOS sources.

    Disclaimer
    Code:
    /*
    * 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.
    *
    */
    Prerequisites
    - Xperia Z3 Compact on latest .291 firmware (Any variant)
    - Unlocked Bootloader ONLY
    - TWRP

    Download
    ROM:
    https://androidfilehost.com/?w=files&flid=222053&sort_by=date&sort_dir=DESC
    Recovery:
    https://www.androidfilehost.com/?fid=961840155545571844

    Changelog

    Code:
    7/10/17
    - October security patches
    - Test netmgrd from Bacon
    
    21/8/17
    - Kernel upstreamed 3.4.0 -> 3.4.113
    - Updated sdcardfs
    - Upstream LineageOS changes
    
    8/8/17
    - Merge android-7.1.2_r29 with August security patch (excl. kernel patches)
    - Fix mixer_paths (stuck on boot issue)
    
    5/8/17
    - 3am reboot fixed thanks to Diewi
    - Sync with whatever changed in LineageOS
    
    21/7/17
    - Moved to stock RIL blobs
    - Fix audioserver crashes
    - Disabled fluence to workaround mic quality issue
    - Fix camera not working on first boot
    - Merge 70+ Security patches in kernel
    - Fix bluetooth calls for some users
    
    7/7/17
    - Merged Android 7.1.2 r24
    - July Security patches
    - Disabled NFC-F HCE (May fix terminal payments)
    - Updated widevine blobs from kipper (may help with DRM videos)
    - Return to MPDecision hotplugging and interactive tunings inline with other msm8974 devices
    - Return to QCOM PowerHAL
    - Kernel built with -O2 flag 
    - Revert round icon support (on the road to official)
    
    23/6/17
    - ambient display support (can disable in settings)
    - tuned cpu hotplugging (won't wildly jump during idle anymore)
    - cleaned up GPS/location related settings
    - charging LED for <90% now actually orange
    - aptX codec support
    - Assertive display enabled
    - changes to USB current control
    - call microphone quality improvements
    
    7/6/17
    - More aggressive CPU tunings
    - Bluetooth calls fixed??
    - June security patches
    - Merged Android 7.1.2_r17
    
    25/5/17
    - Misc Kernel security patches merged
    - Back to CPUQuiet, with powerHAL by Kholk
    - flags for Acoustic Echo Cancellation and Noise Suppression for voice pre processing
    - Audio cleanups
    
    12/5/17
    - May Security Patch
    - Android 7.1.2_r8 merged
    - NFC changes (maybe better)
    - Audio "improvements" (blame xkeita)
    - Thermal settings closer to stock 
    
    21/4/17
    - Adaptive brightness tuning (thanks to [user=4550727]@xkeita[/user])
    - USB OTG path fixed
    - Change back to MPDecision hotplugging temporarily
    - Android 7.1.2_r2 merged 
    - April Security Patch
    - Charging while phone turned off now turns screen off
    
    13/4/17
    - Change to CPUQuiet hotplugging
    - MHL drivers included
    - Time services added for RTC things
    - Vibration intensity interface works now
    - WIFI MAC Address randomisation issue fixed
    - SELinux set to enforcing 
    - Switch to sdcardfs, superseding fuse
    - WIFI hotspot possibly fixed
     	
    -	23/3/17
    - Initial release

    Sources
    https://github.com/LineageOS/android_device_sony_shinano-common
    https://github.com/LineageOS/android_device_sony_msm8974-common
    https://github.com/LineageOS/android_device_sony_z3c
    https://github.com/LineageOS/android_kernel_sony_msm8974

    Credits

    Main developers
    @nailyk
    @rcstar6696
    @xkeita

    External contributors
    @derf elot

    Testers
    @tomgus1
    @gr8st
    @mcgi5sr2
    @doriandiaconu
    @Robot76
    @panzerox123
    Benjamin Pham


    XDA:DevDB Information
    Unofficial LineageOS 14.1, ROM for the Sony Xperia Z3 Compact

    Contributors
    tomascus, nailyk, rcstar6696, xkeita
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.4.x
    Based On: LineageOS

    Version Information
    Status: Beta

    Created 2017-03-22
    Last Updated 2017-10-08
    37
    New release out, everything else broken not included in changelog is a WORK IN PROGRESS (maybe), including the dreaded phone trying to suicide at night issue.
    I would also appreciate if this thread is kept on-topic to development related material only.
    Also, just a gentle reminder that extra features not in plain LOS will not be added like Substratum support etc.
    Thanks.
    Code:
    12/5/17
    - May Security Patch
    - Android 7.1.2_r8 merged
    - NFC changes (maybe better)
    - Audio "improvements" (blame xkeita) :P
    - Thermal settings closer to stock
    32
    Hi people,

    You might be all wondering what has been happening lately so I'll give an update.
    We've stopped using our own little gerrit and have moved to the official LineageOS Gerrit for code review. Also, all the device trees and kernels have all been pushed to LineageOS repos as well.
    Does this mean that we are official now? Nope, there are still some outstanding issues that need to be dealt with before that can happen, but it is progress. I can't give an ETA on these things because seriously who knows?
    It's like asking someone how long it'll take to complete their homework, they might get stuck on a really hard question for a long long time and need heaps of time to finish it. Similarly, the issues with hardware encryption have not yet been resolved, as well as 3am reboots (possible solutions being tested), and bluetooth issues among other things.
    So, TL;DR just chillax and wait or contribute fixes to speed things up.

    Furthermore, I was working on Rhine platform bringup last week, which you can see on the Xperia Z1 forums with some ROMs being based entirely on our work. :D

    Anyway, hope to put out a release after July security patches are merged in LineageOS sometime this month (no idea when, don't ask).
    23
    New release. I don't know what happened to the OP.
    Please restart once for camera to work.
    Please make a backup in TWRP before flashing, I haven't had any opportunity to test this myself.
    Also, make sure to flash the new recovery to avoid error 7, link is with ROM link in the OP.
    Flash with: fastboot flash FOTAKernel twrp_xxxx.img

    Right now we are trying to focus on getting good tunings for the CPU governor and hotplug to balance performance with battery life. Also, we are still working on the two final big issues which are random reboots at night (testing out a fix atm) and encryption support (and yes, Bluetooth probably).

    Changelog:
    Code:
    - ambient display support (can disable in settings)
    - tuned cpu hotplugging (won't wildly jump during idle anymore)
    - cleaned up GPS/location related settings
    - charging LED for <90% now actually orange
    - aptX codec support
    - Assertive display enabled
    - changes to USB current control
    - lineageos latest changes
    - call microphone quality improvements
    23
    ROM updated, most of the work was done by @rcstar6696 and @nailyk
    Code:
    - CPUQuiet hotplugging instead of MPDecision
    - Time services
    - Wifi mac address doesn't randomise anymore 
    - Selinux enforcing
    - Wifi hotspot working (I think)