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

Search This thread

strauchjam

Member
Mar 2, 2018
21
2
Thanks a lot for the monthly update! That Build runs perfect for me as a daily driver since a long time... But hey, is there a possible way to update without a "new install", kinda update only the system, without touching the apps and settings?
Otherwise I update with a "new install" and do all the apps install and settings after this. Its not something for evry month, but from time to time...
 
Oct 6, 2017
9
6
Bahia Blanca
This bug is mostly related to the "Ok Google" voice detection, it's known since over 2 years. I played around long time ago, because i noticed that my Galaxy S4 ( LOS 14.1, LOS 15.1 ) never had problems with this feature enabled. I replaced the values in build.prop for my Z3C and the microphone doesn't mute anymore during calls.

Changes i made:


1st:
for enabled "Ok Google" voice detection without
microphone bugs during calls

from

# Audio config
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.audiorec=true
persist.audio.fluence.speaker=false
persist.audio.handset.mic.type=analog

to

# Audio config
audio.offload.disable=1
persist.audio.fluence.speaker=true
persist.audio.fluence.voicecall=true
qcom.hw.aac.encoder=true
ro.qc.sdk.audio.fluencetype=fluence
use.dedicated.device.for.voip=true
use.voice.path.for.pcm.voip=false

2nd:
for a certified device with the correct fingerprint

from

ro.build.fingerprint=Sony/D5803/D5833:6.0.1/23.5.A.1.291/2769308465:user/release-keys

to

ro.build.fingerprint=Sony/D5803/D5803:6.0.1/23.5.A.1.291/2769308465:user/release-keys


3rd:
for enabled Google Assistant

ro.opa.eligible_device=true



I provide you my modified build.prop, backup your original build.prop, reboot to TWRP, mount system, and replace the file. Don't forget to set permissions to 0644. Remember, this build.prop is only for the latest release of .:B:.'s ROM, 07/12/2018 i believe.

You must do this in TWRP, advanced - file manager when you use Magisk root solution - replacing the file with a root explorer doesn't have an effect, because the system is mirrored trough Magisk. When you use addonsu ( LOS root solution ) you can replace the file directly with an root explorer.

The same changes can be done on any custom ROM ( Nougat and higher ) for the Z2, tested.


https://mega.nz/#!pIExWQxA!iBJwUDWkFUERIUJYo6WT7myoHwDDa0pen_7_9qANLBs

Thank you so much for this fix, I modified the build.prop manually and my phone calls work perfectly now, even when I turn ON the speaker. What doesn't work is phone calls with the Whatsapp app, they can't hear me. Do you know what I can do to fix that?
 

0LDST4R

Senior Member
May 2, 2018
273
201
Thank you so much for this fix, I modified the build.prop manually and my phone calls work perfectly now, even when I turn ON the speaker. What doesn't work is phone calls with the Whatsapp app, they can't hear me. Do you know what I can do to fix that?


You're welcome.

Sorry, but i very rare used WhatsApp calling, but i remember that there was never a problem with it. Before or after i modified the build.prop. Maybe a simple reboot or reinstall WhatsApp can help, give all required permissions to WhatsApp and please try again.
 

0LDST4R

Senior Member
May 2, 2018
273
201
@tomascus
@.:B:.

The time has come, i switched to the official LOS 16.0 for our sweet little Z3C.

I just want to say thanks to you, for sharing your knowledge, your time, and your enthusiasm with bringing Android Nougat to our device. I wish you the best for your future and your real life, and i'm proud to be a part of this great community.

Thanks,

Greetz,

0LDST4R
 

Nazo

Senior Member
Jan 7, 2008
281
62
Wait, what? The Z3C once again has official builds? And meanwhile the Z5C, which recently had official builds not only is abandoned, but all old builds were deleted (gee thanks.) I really can't figure out what is going with LineageOS...

Oh well. It's really nice to see an official build. This unofficial ROM build has actually truly been a life saver every time I was forced to pull out my old Z3C with the broken back (drives me insane) as my main driver was broken or otherwise down. The Z3C really is a good device, though lately I've been having more and more signal quality issues with it versus everything else. Maybe an official LineageOS build will solve that *fingers crossed.* Either way though, definitely we have to offer our thanks for this ROM tiding us through all this time.
 
  • Like
Reactions: 0LDST4R
Oct 6, 2017
9
6
Bahia Blanca
@tomascus
@.:B:.

The time has come, i switched to the official LOS 16.0 for our sweet little Z3C.

I just want to say thanks to you, for sharing your knowledge, your time, and your enthusiasm with bringing Android Nougat to our device. I wish you the best for your future and your real life, and i'm proud to be a part of this great community.

Thanks,

Greetz,

0LDST4R

How is the battery duration on LOS 16 compared to 14.1 on the z3c? I have been hearing some people saying it's awful, is that true? I have been wanting to switch but battery duration is very important for me. Thanks!
 

0LDST4R

Senior Member
May 2, 2018
273
201
How is the battery duration on LOS 16 compared to 14.1 on the z3c? I have been hearing some people saying it's awful, is that true? I have been wanting to switch but battery duration is very important for me. Thanks!


Battery life is great in official LOS 16.0 - on all my devices with CFWs. Doesn't matter if it's a Sony, a Samsung or whatever device, and it was in LOS 14.1 and LOS 15, all CMs since Android 2.3.7 too. I never, really never understood what a lot of people are doing with their mobiles. In my opinion in 99,9% is a "bad battery life" the user's fault.

Use naptime or leandroid or whatever to shut down WiFi, mobile data and location when your phone isn't in use, use diagnostic apps like better battery stats or gsam battery monitor to find and eliminate potential power suckers. That's all. And your battery will be your friend. :D

I charge my device during night, going to work, some calls, some WhatsApp, Maps, HotSpot for my navigation device ( SGS4 LOS 16 ), GApps Super installed, 170 apps, Magisk with fbind. During this time - maybe 12 hours - i lose about 30% akku. I'd come 3 days with one charging cycle, but at home i play around with the device, so i must charge at night.

Finally - battery life in official LOS 16 for our Z3C is good as stock. Nothing more to say. :angel:

SOT from 100% to zero about 4,5 - 5 hours, original 1st akku. In the Z3C.
 
Last edited:
Oct 6, 2017
9
6
Bahia Blanca
Battery life is great in official LOS 16.0 - on all my devices with CFWs. Doesn't matter if it's a Sony, a Samsung or whatever device, and it was in LOS 14.1 and LOS 15, all CMs since Android 2.3.7 too. I never, really never understood what a lot of people are doing with their mobiles. In my opinion in 99,9% is a "bad battery life" the user's fault.

Use naptime or leandroid or whatever to shut down WiFi, mobile data and location when your phone isn't in use, use diagnostic apps like better battery stats or gsam battery monitor to find and eliminate potential power suckers. That's all. And your battery will be your friend. :D

I charge my device during night, going to work, some calls, some WhatsApp, Maps, HotSpot for my navigation device ( SGS4 LOS 16 ), GApps Super installed, 170 apps, Magisk with fbind. During this time - maybe 12 hours - i lose about 30% akku. I'd come 3 days with one charging cycle, but at home i play around with the device, so i must charge at night.

Finally - battery life in official LOS 16 for our Z3C is good as stock. Nothing more to say. :angel:

Thanks for the reply. It's good to know that it works fine, I think I'm convinced to make the switch. :)
 
  • Like
Reactions: 0LDST4R

0LDST4R

Senior Member
May 2, 2018
273
201
Thanks for the reply. It's good to know that it works fine, I think I'm convinced to make the switch. :)


Sorry 4 being offtopic again, to proof my post above 2 screenshots from one workday...


LOS 16 Z3C...
 

Attachments

  • Screenshot_20200107-173513_Einstellungen.png
    Screenshot_20200107-173513_Einstellungen.png
    89.5 KB · Views: 177
  • Screenshot_20200107-173413_Einstellungen.png
    Screenshot_20200107-173413_Einstellungen.png
    85.5 KB · Views: 177

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)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone