yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] 0LDST4R:
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
[Xperia Z3 Compact Original Android Development] Nazo:
I use su and can mount system rw if need be for build.prop, but does this specific issue and fix apply when you've always turned off "ok, google" detection? I have always had it off -- it has never even been on in the first place. (It requires you to approve it manually to allow it and I always deny that.)

I just want to be clear. I finally ordered a new Z5C (has official LineageOS builds even if it is really old, plus a fingerprint sensor which just makes so many things easier even if security-wise I theoretically shouldn't use it.) Actually, I had one a while back but broke the screen and digitizer. I didn't run into that problem with it while I had it, but who knows that it won't crop up over time like it seems to with this. (Besides, my Z3C will remain an emergency backup solution and obviously being able to make calls is a key thing for an emergency backup.) Perhaps it might help to know more specifics of the issue. Would you happen to have a link handy?

EDIT: I went ahead and integrated those changes and it did seem to work. I found "ok google" had turned itself on without my permission somehow though. That shouldn't even be possible, so I'm kind of a bit annoyed.

EDIT2: This will be lost with every update won't it? Is there any more persistent and proper fix?
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Right, the mods in build.prop are lost with every update, i personally created an additional zip file for me, to flash after each update. I always extract the "new" build.prop from the ROM, make my changes and so on, have more addons/mods installed, they don't survive. In your case it's curious with the "auto on" of the Ok Google command. Maybe you've got more than 1 devices with the same Google-acc, and activated Ok Google on your main device?

Anyways, i know, the audio edits in build.prop are working, glad to help, i use the same config on my Z2, Shinano family too. Works fine, no mic mute during calls.

Have a nice evening,

Greetz,

0LDST4R
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-01

Happy new year guys. You will find a new 14.1 build with the January 2019 ASB available through the link in my signature as of January 11th CET.
[Xperia Z3 Compact Original Android Development] tomascus:
Good memories from this device. Almost as smooth as the HTC U11 I'm using right now. I'm happy to see people still trying to keep things alive!
[Xperia Z3 Compact Original Android Development] nightwalker2018:
I wish you a happy new year too.

I found 4 problems.

1. If I use the privacy guard and I turn on asking for external storage read / write permission on my firefox browser, then it should not be able to load a webpage. But it does it without my permission after 17-20 seconds

2. If I press the power button to turn on the Airplane mode, I prefer to read

Airplane Mode

turn on

instead of

Airplane Mode

Airplane mode is off

3. Some phone codes (mmi) for my service menu no longer work.

4. And when I installed lineage-14.1-20190120-UNOFFICIAL-z3c today, google playstore was already inside but I had no gapps installed and previously I wiped data & system.
[Xperia Z3 Compact Original Android Development] .:B:.:
Any new bugs are likely bugs introduced by LineageOS changes (there haven't been any Z3C specific changes since months - you can check the git repos for that). I'm just compiling the codebase as is; it's beyond my skillset to do bugfixing, hence the name 'maintenance builds'.

As for the Play store, it is not included by default (Google doesn't allow that), and I'm building from vanilla LineageOS sources. I don't know what happened in your case, but it surely is not part of the ROM itself.

All I can advise you is to roll back to an older version, and to wait for a newer build. the 2019-01 ASB took a while to get approved (it seems it only just got added, really - took almost a month) so it might be part of the issues are related to those.
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-02

New 14.1 build with the February 2019 ASB available through the link in my signature.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Thanks again for your maintenance builds. Great.

:good:
[Xperia Z3 Compact Original Android Development] fdfgfgdfdg:
Thank you, .:B:.
[Xperia Z3 Compact Original Android Development] sebar25:
Does anyone have a problem with the microphone. Very often it happens that no one can hear me.

Restart helps but only for a next few calls. ROM downloaded from volatilesystems.org

Hardware or software problem?
[Xperia Z3 Compact Original Android Development] Nazo:
Scroll up.

EDIT: Guess that would be on the previous page now -- the one you posted on.
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-03

New 14.1 build with the March 2019 ASB available through the link in my signature.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] surikoff88:
why auto brightness does not work correctly? brightness is only added automatically, but does not decrease if you are in the dark.
[Xperia Z3 Compact Original Android Development] :
Thanks again for keeping our device up to date! :good::o

Is there any chance you'd be willing to share a "quick and dirty" guide on how to do what you're doing, i.e. merging the recent ASBs into the ROM?

I'm not even remotely a dev myself, so even the relatively simple guide on the LOS site on how to build the ROM startles me :(
[Xperia Z3 Compact Original Android Development] WindowsFan111:
Nown issues?

Hey guys, sorry for this question :) but which are the known issues of this version? I lost overview in this thread...

Big thanks for your help :good:
[Xperia Z3 Compact Original Android Development] .:B:.:
I have done a write-up here. I've tried to keep it concise while still including a few edge cases you might encounter while applying the monthly ASB patches.
[Xperia Z3 Compact Original Android Development] :
Awesome, that's exactly the kind of guide I was looking for, well-written and in a more human-friendly language than most official ones, thanks a bunch!

P.S. - You did a great job writing the guide in such painstaking detail, really well done!
[Xperia Z3 Compact Original Android Development] .:B:.:
Happy to help. Took me enough time to figure it out myself :D
[Xperia Z3 Compact Original Android Development] :
I've been using the builds that .:B:. has been compiling for us for nearly a year now, encountered no major issues so far.

There was an issue with accessing SIM Contacts some time ago, which was solved by merging a patch from the LOS Gerrit.

Apart from that, there still is an (albeit a somewhat niche) issue, which causes microphone input to stop working (other side can't hear you) if you switch to the loudspeaker during a call, which occurs only if you're using 3rd-party call recording apps. The solution is stop the recording, switch to the loudspeaker, then start it again.
[Xperia Z3 Compact Original Android Development] WindowsFan111:
Thank you for your answer! I think i will try this LOS.... :good:
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-04

New 14.1 build with the April 2019 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] kascro:
Il try this version next week!
[Xperia Z3 Compact Original Android Development] martinsegura84:
Thanks a lot for keeping this alive man! You are a LEGEND!
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-05

You're welcome, but I'm merely building on the work of the original developer.

New 14.1 build with the May 2019 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-06

New 14.1 build with the June 2019 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Yeaaahhhh... Like every month... Keep it up... :good:
[Xperia Z3 Compact Original Android Development] strauchjam:
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...
[Xperia Z3 Compact Original Android Development] strauchjam:
OK, I found it, sorry for my question. Only need to wipe cache, not dalvik and ... So thanks a lot for the monthly update!https://cdn-cf-3.xda-developers.com/images/smilies/good.gif
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-07

New 14.1 build with the June 2019 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-09

New 14.1 build with the September 2019 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2019-11

New 14.1 build with the November 2019 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] martinsegura84:
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?
[Xperia Z3 Compact Original Android Development] 0LDST4R:
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.
[Xperia Z3 Compact Original Android Development] 0LDST4R:
[MENTION=4675360]tomascus[/MENTION]

[MENTION=7927349].:B:.[/MENTION]

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
[Xperia Z3 Compact Original Android Development] Nazo:
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.
[Xperia Z3 Compact Original Android Development] martinsegura84:
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!
[Xperia Z3 Compact Original Android Development] NeoArian:
Where did you hear that it's awful :rolleyes:
[Xperia Z3 Compact Original Android Development] martinsegura84:
On Reddit, official LineageOS subreddit. Lots of people complaining about the battery (with different devices), is it not true for the z3c?
[Xperia Z3 Compact Original Android Development] 0LDST4R:
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.
[Xperia Z3 Compact Original Android Development] martinsegura84:
Thanks for the reply. It's good to know that it works fine, I think I'm convinced to make the switch. :)
[Xperia Z3 Compact Original Android Development] 0LDST4R:
You won't regret it. :good:

And now let's stop offtopic, the 14.1 users will report us to the mods... :) :) :)
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Sorry 4 being offtopic again, to proof my post above 2 screenshots from one workday...

LOS 16 Z3C...
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2020-03

New 14.1 build with the March 2020 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] martinsegura84:
Legend :)
[Xperia Z3 Compact Original Android Development] 0LDST4R:
+1
[Xperia Z3 Compact Original Android Development] strauchjam:
Thanks a lot. Great work. I didnt want to switch to Official Lineage (tried it, works good, but this one feels better), so this Baby can last as long as my phone lives...
[Xperia Z3 Compact Original Android Development] .:B:.:
New build with ASB 2020-05

New 14.1 build with the May 2020 ASB available here.

The usual caveats apply.
[Xperia Z3 Compact Original Android Development] madvinegar:
It did for me as well, but only for the first time. After a reboot, I could not boot to TWRP, only to Lineage os Bootloader ... Very strange...
[Xperia Z3 Compact Original Android Development] veti:
it seems the bluetooth problems are related to latest february security patches.

golem is reporting this https://www.golem.de/news/smartphone-google-behebt-bluetooth-problem-beim-pixel-1703-126919.html

english https://productforums.google.com/forum/#!msg/phone-by-google/UamV0tnZKNE/vdas4W0UAgAJ
[Xperia Z3 Compact Original Android Development] one0one:
Hi everybody!

Thanks to all the devs for this great ROM!!

Problem: Whenever i call someone or are called over any dialer my mic is muted... It works in whatsapp calls or with google now. So the HW is fine for sure. I already changed the dialer, checked permisson for the mic.... But no success... Any ideas what could be wrong?

Cheers
[Xperia Z3 Compact Original Android Development] tomascus:
Did you enable Google now? Apparently it somehow interferes with voice calls
[Xperia Z3 Compact Original Android Development] joshi31036:
yesterday i have the same problem, make a clean flash , then it works
[Xperia Z3 Compact Original Android Development] devil188:
EMMA resets everything, you can't choose specific things in it.
[Xperia Z3 Compact Original Android Development] Pisiont:
[MENTION=4901061]mcgi5sr2[/MENTION] are you going to build a version with Substratum support?
[Xperia Z3 Compact Original Android Development] madvinegar:
You can try footej camera.
[Xperia Z3 Compact Original Android Development] panzerox123:
Apps_log fix:

fastboot flash apps_log apps_log.bin

https://drive.google.com/file/d/0B761Y6P8gZNTazc4M0h4blFIdkU/view?usp=drivesdk
[Xperia Z3 Compact Original Android Development] Pisiont:
Great. So just flash it and than fresh install rom from TWRP?
[Xperia Z3 Compact Original Android Development] panzerox123:
Yes. Just wipe system and flash ROM and gapps. No need to wipe data. :)
[Xperia Z3 Compact Original Android Development] Pisiont:
If anybody wonders, I managed to get it working without any gapps. Just flashed and got through setup without a problem. Also Magisk 11.6 MagiskSU work in systemless mode
[Xperia Z3 Compact Original Android Development] Ale-X:
Some requests:

1) Please,in the next build - Make new version of the Google dialer.

No version is installed, except the one that is present.

2) Flashlight does not always work,need fix.

If I find something else, I will feedback
[Xperia Z3 Compact Original Android Development] panzerox123:
1. You need to flash latest Stock Opengapps to get latest dialer
[Xperia Z3 Compact Original Android Development] baudbox:
[MENTION=4675360]tomascus[/MENTION] attached the logcat about bluetooth disconnection > I did a test with a bluetooth speaker and it has been disconnected by itself after some time.

03-24 16:55:43.657 14412 14412 D AvrcpBipRsp: onReceive
03-24 16:55:43.657 14412 14412 D AvrcpBipRsp: onReceive: android.bluetooth.device.action.ACL_DISCONNECTED
03-24 16:55:43.657 14412 14412 D BluetoothMapService: onReceive
03-24 16:55:43.657 14412 14412 D BluetoothMapService: onReceive: android.bluetooth.device.action.ACL_DISCONNECTED
03-24 16:55:43.657 14412 14412 E BluetoothMapService: Unexpected error!
03-24 16:55:43.681 5072 5072 I TrustAgent.Tracker: [BluetoothConnectionTracker] Bluetooth disconnect broadast for JBL GO B8:69:C2:C9:ED:A9

Hope that helps
[Xperia Z3 Compact Original Android Development] Ale-X:
The latest version of 03.24.2017
[Xperia Z3 Compact Original Android Development] XiaToq:
Just replace Phone.apk in Priv-app and set it as default phone app, this is Lineage OS, not AOSP. Lineage use his own Dialer app
[Xperia Z3 Compact Original Android Development] JavaDroid_:
link??
[Xperia Z3 Compact Original Android Development] vooR9er:
http://opengapps.org/
[Xperia Z3 Compact Original Android Development] skaterbub2003:
I am on Windows 10 and use the Flashtool (Sony Mobile Flasher) - so how do I flash this thing? I can't select a *.bin file. Neither in Flashtool nor in the TWRP. :confused:
[Xperia Z3 Compact Original Android Development] Pisiont:
You have to flash it through fastboot. Easiest way would be to:

1. Copy *.bin file to x10flasher folder in main Flashtool folder (default location is C drive)

2. Open CMD in folder (hold Shift and right click on empty space > open command prompt here)

3. Type "fastboot flash apps_log apps_log.bin" and click enter. Should now show something like <waiting for device>

4. Now connect your phone in fastboot mode, by holding vol up button while connecting USB cable.

5. Should show two times OKAY if everything was correct
[Xperia Z3 Compact Original Android Development] skaterbub2003:
Sending seams okay, but writing is the problem...

C:\Flashtool\x10flasher_lib>fastboot flash apps_log apps_log.bin
< waiting for device >
sending 'apps_log' (8192 KB)...
OKAY [ 0.259s]
writing 'apps_log'...
FAILED (remote: Command not allowed)
finished. total time: 0.263s

My phone is rooted. Bootloader is unlocked. Any ideas? :(
[Xperia Z3 Compact Original Android Development] Pisiont:
All drivers installed? This should work...

---------- Post added at 10:39 PM ---------- Previous post was at 10:28 PM ----------

All drivers installed? This should work...
[Xperia Z3 Compact Original Android Development] flipside101:
I've got the same issue (remote command not allowed), I've double checked the bootloader is unlocked and other fastboot commands work
[Xperia Z3 Compact Original Android Development] Pisiont:
Did this work for you? Seems like fastboot can't write apps_log partition
[Xperia Z3 Compact Original Android Development] skysurfer1111:
Very nice rom so far. Thx a lot to all devs, working on it. It runs really smooth and fast without issues except BT as mentioned before.

I come from eXistenZ mm, nice, but not nougat ;)

Yesterday I flashed the rom, it took me around 30 min. It may helps someone, so I tell you my way I did it:

- backup all userapps with TB, nandroid image of all partitions (incl. ta!) with twrp3.0.2-1 & internal sd on my hdd.

- copy 3 files (lineage 14.1 rom, addonsu-arm-signed, open_gapps-arm-7.1-nano) on ext. sd

- open bootloader with flashtool

-reboot into twrp, wipe all cache & partitions except ext. sd-card of course.

- install rom, addonsu & gapps, wipe dalvik and cache again, reboot into system ( approx. 5 min)

- activate root for apps in developer settings, install titanium backup apk manually from ext. sd-card and restore all userapps with data

- restore all necessary files from computer hdd back to internal sd

- do some minor settings, done!

May be I was lucky to have no issues at all, but I read the whole thread before installing, startet brain.exe, followed the instructions for flashing of the first page and don't wanna be given to the cannibals by panzerox :)
[Xperia Z3 Compact Original Android Development] achmetinternet:
Fastboot drivers won't install even I run the exe from the flashtool drivers folder as admin. Any ideas?
[Xperia Z3 Compact Original Android Development] juliopw:
What Windows version are you using? If it's Windows 10, 8.1 or 8 you will have extra work. Just disable signature verification. It's explained here.

A question to all: is there any disadvantage of flashing .270 instead of .291 before installing this rom? It was the only one I could find a good link that wasn't mega.nz
[Xperia Z3 Compact Original Android Development] skaterbub2003:
Are you using flashtool? Then use its XperiaFirm feature. There you can download the stock roms from fast servers. ;)