FORUMS
Remove All Ads from XDA

[ROM][DEVELOPMENT] Unofficial LineageOS 14.1 (Updated 21/08)

1,645 posts
Thanks Meter: 1,492
 
By tomascus, Senior Member on 22nd March 2017, 11:00 AM
Post Reply Email Thread
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://www.androidfilehost.com/?w=f...&sort_dir=DESC
Recovery:
https://www.androidfilehost.com/?fid=961840155545571844

Changelog

Code:
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 @xkeita)
- 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...shinano-common
https://github.com/LineageOS/android...msm8974-common
https://github.com/LineageOS/android_device_sony_z3c
https://github.com/LineageOS/android...l_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-08-21
The Following 119 Users Say Thank You to tomascus For This Useful Post: [ View ] Gift tomascus Ad-Free
 
 
22nd March 2017, 11:00 AM |#2  
OP Senior Member
Flag Melbourne
Thanks Meter: 1,492
 
Donate to Me
More
Installation guide for new users:
Things you need:
- Stock firmware (if you're not on .291): https://forum.xda-developers.com/sho...48&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
The Following 8 Users Say Thank You to tomascus For This Useful Post: [ View ] Gift tomascus Ad-Free
22nd March 2017, 11:01 AM |#3  
mcgi5sr2's Avatar
Senior Member
Flag Sheffield
Thanks Meter: 1,639
 
More
First

Thoroughly tested, everything works. Great Job on this one

link removed
The Following 11 Users Say Thank You to mcgi5sr2 For This Useful Post: [ View ] Gift mcgi5sr2 Ad-Free
22nd March 2017, 11:07 AM |#4  
Rhonin86's Avatar
Senior Member
Flag Hagen
Thanks Meter: 1,305
 
More
Oh yeah I'm downloading right now to give it a try later.... If i succeed and find the time i'll report

For now A REAL BIG THX

Rhonin
The Following 3 Users Say Thank You to Rhonin86 For This Useful Post: [ View ] Gift Rhonin86 Ad-Free
22nd March 2017, 11:55 AM |#6  
panzerox123's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 809
 
More
@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
The Following 5 Users Say Thank You to panzerox123 For This Useful Post: [ View ] Gift panzerox123 Ad-Free
22nd March 2017, 12:54 PM |#7  
Senior Member
Thanks Meter: 95
 
More
This version uses stock blobs ?
22nd March 2017, 01:07 PM |#8  
mcgi5sr2's Avatar
Senior Member
Flag Sheffield
Thanks Meter: 1,639
 
More
yes uses stock blobs
The Following User Says Thank You to mcgi5sr2 For This Useful Post: [ View ] Gift mcgi5sr2 Ad-Free
22nd March 2017, 01:32 PM |#9  
Senior Member
Thanks Meter: 51
 
More
Great work guys!
22nd March 2017, 02:18 PM |#10  
Member
Thanks Meter: 16
 
More
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.
22nd March 2017, 02:20 PM |#11  
nailyk's Avatar
Senior Member
Thanks Meter: 1,941
 
More
Quote:
Originally Posted by Pisiont

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.

It is an issue when you doesn't have gapps. Reboot should work.
The Following 3 Users Say Thank You to nailyk For This Useful Post: [ View ] Gift nailyk Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes