yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
Switched from CR-6.1 to lineage-17.0-20191116 and using it as my daily driver with ~50 apps installed.

Many thanks to NeoArian for his great work. ROM itself seems stable to me and fast enough (as fast as it can be on this old device).

I did NOT install any gapps and have about 800 MB free RAM most of the time.

Camera (photo, video 60fps) is ok (using OpenCamera),

bluetooth ok,

wifi ok (except no 5ghz, but it's because of my SIM card I think, not sure fixed, see below),

wifi tethering/hotspot ok (only 2.4ghz),

mobile data and calls are ok,

stock call recording works fine,

GPS navigation ok,

battery life... well, about same as in CR-6.1. not really, see bugs below.

Installed Magisk v20.1, Riru v19.5, EdXposed v0.4.6.0.4471 (YAHFA), GravityBox Q 10.0.0-beta-5 - all works fine.

Adopted storage - formatted SD as internal, got some java error, settings said card is corrupt, but after reboot everything ok, SD card successfully adopted.

Encryption - tap "Encrypt phone" from security settings, reboot - hang on sony logo, force power off (power+vol/up), boots ok, asks PIN before boot, settings says phone is encrypted, TWRP 3.3.1-1-A10-z3c asks PIN and decrypts data without problem.

Minor bugs:

BUG: Added "Airplane mode" button in power menu works only one time, greyed out afterwards, so I removed it and now switching Airplane mode from network settings (by tap on Operator name in pulled down statusbar).

BUG: When "Tap to wake" enabled and make call with display turned off (by proximity sensor), double tap anywhere on the screen (e.g. accidentally by cheek) ends call. This bug was like forever on AOSP-based ROMs starting with Android 7. The only way I found to "fix" this is to turn off "Tap to wake". Workaround.

BUG: Phone calls a bit noisy.

BUG: Recents are self-clearing occasionally (sometimes I press square and see nothing except currently running app), don't know is this a bug or feature, but I don't like this.

BUG: Bluetooth causes wakelocks preventing entering CPU into Deep Sleep mode.

BUG: No 5GHz wifi in Russia (and in some other regions I guess), replacing ccode=XT with ccode=RU in /system/vendor/firmware/bcmdhd.cal file fixed an issue.

I will add if find more...
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
Hmm... May be battery life not as good as in CR-6.1. At least CPU seems not going into deep sleep mode.

Performance profile in settings set to default (Balanced)

Also I installed gapps pico (needed by one important app), not sure can it be a reason or not.

[MENTION=7384824]mxperial[/MENTION] what app you use to check CPU state/frequency stats?
[Xperia Z3 Compact Original Android Development] minixperia:
I've tested some days and almost everything I've tried works correctly, including 2.4ghz and 5ghz hotspots ..

Battery usage is ok, more drain than the first build but in the first build there much that not work and don't drain energy.

In the next days i try to do a list of all the problem that i see, but more of problem that i read in the thread are not present in my phone.

But there is something that i don't like the display color much saturated, there is something to reduce the saturation?
[Xperia Z3 Compact Original Android Development] NeoArian:
You can change that with LiveDisplay. It's available in settings -> display -> LiveDisplay.
[Xperia Z3 Compact Original Android Development] minixperia:
Thanks!.

but in live display i can change only the color temperature, not the saturation of the color

And live display not work in my phone?
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Livedisplay settings do not stay set at what I select and also I only have display mode, colour temperature is greyed out
[Xperia Z3 Compact Original Android Development] NeoArian:
Oops, will look into that some day. I just checked it on my Mi 6 on lineage-17.0 quickly. I am really busy these days and can't check that anytime soon.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
No worries fella, it's stable enough as a daily driver so I'm happy for now:)
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
I made a workaround to this bug - use Automate script (flow) to turn off "Tap to wake" while calling (root needed).

Automate has action block to change settings, but I got an error when using it, so I use shell command blocks to switch setting (settings put secure double_tap_to_wake 0|1), also unprivileged shell command doesn't work, only su.

I attached flow file, unzip and import it in Automate. Also I disabled SU notifications for Automate in Magisk Manager.
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
I found a reason of constant wakelocks (preventing CPU to enter Deep Sleep mode). It's kernel module(?) BTLowPower!

Turning off Bluetooth doesn't help, even entering Airplane mode doesn't help. What helps is switching off bluetooth and reboot phone, after that CPU going into deep sleep fine, no wakelocks until you switch ON bluetooth.

Well ok, I just did FULL WIPE with formatting /data, clean install lineage-17.0-20191116-UNOFFICIAL-z3c.zip, NOT install anything (no Magisk, no Gapps, etc, just clean ROM), install GSam_Battery_Monitor_[3.38].apk, wait some time without any internet (and even without SIM inserted) with display turned off, and what I see? SAME BEHAVIOUR (deep sleep - 0s)! Then I turn off BT, reboot, all fine until turn on BT.

Next, just for testing purpose, I clean-installed latest CR-6.1 and see no problems with bluetooth and deep sleep (also my 5ghz AP became visible).

So it's definitely a ROM BUG!

BTW, I fixed 5GHz (it's also a ROM issue), updated my review on previous page.
[Xperia Z3 Compact Original Android Development] mxperial:
Kernel Audiutor, but don't mess with the kernel settings (if you are root), also, under Display section on Settings, did you disable tap to wake and sleep ?

I'm almost sure that this settings can have influence on deep sleep, since the screen needs to be checked periodically by android, maybe the devs which have more knowledge about that could confirm this tho.
[Xperia Z3 Compact Original Android Development] Mr.Tom_Tom:
WiFi issues if country code = XT

[MENTION=8746471]NeoArian[/MENTION], [MENTION=5621191]rcstar6696[/MENTION]: To my understanding 5GHz Wifi issues are mostly related to the RADIOs in our devices which are unable to handle the newer country codes correctly.

https://xdaforums.com/wiki/WiFi_regional_problem_on_Android

More concrete, the issue seems to be related with some wifi vendor blobs for the BROADCOM BCM4339/4354 connectivity chip, do you agree with this? If so, can we do anything about it?

During my research i stumbled on this: https://wireless.wiki.kernel.org/en/users/drivers/brcm80211#regulatory_implementation_for_brcmsmac could that be relevant as well?

Do we need to create a workaround from this maybe:

https://xdaforums.com/showpost.php?p=76344002&postcount=196 :victory:
[Xperia Z3 Compact Original Android Development] pgats:
TY to both Mr Tom Tom and to NeoArian for grand work and all the other coders as well !! Bottom line question: Can i use this mid-November release on my Xperia Z3 (not Z3c), hw seems identical, except for screen size.. Expansion: The Z3 forum release is mid October, this release is mid November and seems more refined. I'm looking for a daily driver and this seems to be the better candidate. I have been using NeoArian's Lineage 16 on my Z3c and its been a great daily for quite a few weeks.. I wouldnt mind using MIGRATE app to move all my stuff to the Z3 with its bigger screen and up to Android 10 fr 9 ..
[Xperia Z3 Compact Original Android Development] koraymers:
absolutely no because if it's would be possible, i could flash this rom to my z2 because of the same SoC.

here we all also wait patiently in z2 topic to some people build for z2 too
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Can anyone tell me what the default notification tone is called please?

I changed it and I wanted to change it back but it doesn't seem to exist anywhere in the sound settings selections.

EDIT: found it, when selecting the notification tone you have to complete action with media storage and not sounds.
[Xperia Z3 Compact Original Android Development] Mr.Tom_Tom:
2 remarks on this:

1. Bringing LOS 17 to our devices ist 99% Arians work. I just applied his committments on the z3, that's it mostly. If you like his work, consider donating a few bucks to him.

2. Please be patient. I have no doubt that we we will bring a stable LOS 17 to both the z3 and the z3c, and I still hope that we will get Myself5 to release CR with Q for it. But for now, if you have a sense for safety, data integrity, etc. do not use this as a daily driver yet, at least my build for the z3 which is just experimental.
[Xperia Z3 Compact Original Android Development] WaLmeN:
Im using this rom as daily since 2 days and its working lik a charm, i didnt notice aby bugs. Battery life is great, better than on stock 6.0.1 or any other ROM(i tested almost all) Thank you for great rom :)
[Xperia Z3 Compact Original Android Development] mindyabiznis:
I'm not experiencing the Bluetooth wakelock that the other xda user is mentioning.

I use Bluetooth with my Sony LDAC headphones everyday with no issues and I monitor with the gsam battery app too.
[Xperia Z3 Compact Original Android Development] smmihggb:
Fantastic work and thank you to NeoAdrian and MrTomTom for making this all possible. The November update works well and is stable. Here are some potential issues I've noticed. Not sure if this is just my device or if others are also experience.

1) Audio on a call isn't crisp. When someone speaks, voices sound "fuzzy"

2) Expanded desktop doesn't seem to be working

3) Some default applications get reset on reboot (eg texting app gets reset to the stock app as opposed to the installed 3rd party app)

4) GPS seems to take a little long to get a lock

Thank you again for the incredible work on this.
[Xperia Z3 Compact Original Android Development] Flamedog:
Good ROM, works great so far :good:

Altough I found some small bugs:

- changing accent color of the Android theme only shows 1 colour (Teal/blue/green). However I was able to change it through another setting in the Developer Settings which shows like 8 colours (after you've enabled dev mode, scroll all the way down in dev settings).

- LiveDisplay (night mode / blue light filter) doesnt seem to work. It also shows an 'Advanced' section below the LiveDisplay settings but it is empty.

I've done a clean install with the provided TWRP, and installed gapps 10.0 right after the installation from here https://www.cyanogenmods.org/download-gapps-for-android-10/ .
[Xperia Z3 Compact Original Android Development] Mr.Tom_Tom:
Toybox

Dear [MENTION=8746471]NeoArian[/MENTION]

One question regarding toybox: Restore support for toybox_static binary: The default manifest for LineageOS 17 calls for the AOSP external/toybox repository. Did you switch to the LineageOS/android_external_toybox repo or did you just apply the patch on the AOSP repo?
[Xperia Z3 Compact Original Android Development] NeoArian:
Just apply the patch on top of the default tracked repo. I didn't build recently for z3c
[Xperia Z3 Compact Original Android Development] mindyabiznis:
[MENTION=8746471]NeoArian[/MENTION]

I've got a long term issue with massively poor performance in chrome, entering text is massively lagged sometimes it takes a good 5 seconds for each letter that I've typed to show up, I'm using the Xperia keyboard but the same issue happens with gboard.

It is only in chrome text fields on but its every website including xda typing this now.

I installed pico gapps after this ROM so had to install chrome as a normal app but I have systemized the app and it makes no difference.

Did not have this issue at all on carbonrom with the same Xperia keyboard and chrome version.

Is this an android 10 issue? Or a gapps issue? or a LOS issue?

Would love to get this sorted because it's incredibly frustrating.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Just thought, could it be something to do with the new system webview setup that android Q has?
[Xperia Z3 Compact Original Android Development] WaLmeN:
I have problem with wake up phone. Pressing the power button once does not wake the device. I have to press it a second time. How to fix that? Its so annoying.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Yeah I'm also gettin a similar issue in that sometimes when I press power key to wake it wakes screen for about half a second then shuts it back down and I have to press it again:confused:
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Phone does not enter deep sleep at all, I have magic universal GMS module and the FDE.AI apk set to force doze mode but it's not happening on this ROM
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Please check whitch wakelock is the reason.

If you found this - it's impossible to fix, known bug since LOS 14.1, all Z3C devs broke their heads about it - but the good news are, this doesn't affect your battery life.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Thanks for the info but it seems I am actually suffering from the bt low power kernel wakelock, which gsam battery was not displaying.

Any ideas on how to stop this?
[Xperia Z3 Compact Original Android Development] 0LDST4R:
Unfortunately not, i'm sorry.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Ok so I've downloaded wakeblock from xda the only problem is that btlowpower does not show in the app, does anyone have any idea how to stop this or any other apps to block wakelocks?
[Xperia Z3 Compact Original Android Development] Piospi:
+1 :(
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Everyone that's complaining about call volume being too loud... It is only at full volume, just press the volume button down twice in your call and your problem is solved.
[Xperia Z3 Compact Original Android Development] pawloland:
Just FYI, MHL and desktop mode is working! Only drawback is that when connecting or disconnecting phone restarts itself.
[Xperia Z3 Compact Original Android Development] Piospi:
Rotfl, u made my day:)
[Xperia Z3 Compact Original Android Development] minixperia:
Hi [MENTION=8746471]NeoArian[/MENTION], i want to ask you if is possible to add miracast function to the rom..

And ask you if you have do anything about the advanced calibration display settings..
[Xperia Z3 Compact Original Android Development] NeoArian:
Hi,

I'm still on vacation currently, that's why I am a bit away from here these days. I didn't do anything about live display or anything else yet. I can add Miracast but if I recall correctly it was not really working when being connected to a WLAN network at the same time, it was lagging hard then. When not connected to a WLAN network it worked good though. I can see about that when I am back from my vacation.

Greetings, arian.
[Xperia Z3 Compact Original Android Development] cc-band:
Maybe You can take a look at the NFC-Issue, too, when You are back. Would be great!
[Xperia Z3 Compact Original Android Development] NeoArian:
Hey there!

I have had a night session yesterday/today for our sweet z3c.

Download

Changelog

* Update fingerprint from 23.5.A.1.291
* Fix issue of NULL pointer access in mtp_read, that fixes soft reboot when selecting MTP or PTP
* Build livedisplay sysfs service, that fixes the greyed out live display and also adds a screen calibration menu
* Updated SEPolicy for Android 10, switched to enforcing
* fixed encryption
* Trim Area Daemon moved to vendor
* LineageOS 17.1

I have updated the main post and post #2 with a new twrp build and instructions for Over the Air updates.

About NFC, i have tested Google Pay and card reading, both seemed to work fine.

Happy flashing and have a nice day!
[Xperia Z3 Compact Original Android Development] pawloland:
I am asking from pure curiosity. What is the difference between LOS 17.0 and 17.1. Did they add something big?
[Xperia Z3 Compact Original Android Development] NeoArian:
The version has been highered to 17.1 because we have rebased on android-10.0.0_r18 that means all the changes over aosp had to be applied again.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
[MENTION=8746471]NeoArian[/MENTION]

Thanks for the update, I've updated to 17.1 but is there any chance you could add the word clock/time back to the lock screen, I really like that clock and its not in the latest version?

EDIT: also flashlight is broken in this update, cannot even get 3Rd party apps to get it working
[Xperia Z3 Compact Original Android Development] BigBrother84:
What should I do if I'm on official LOS 16?

Just flash your recovery then next steps

Or

Previously flash stock branded/unbranded system?
[Xperia Z3 Compact Original Android Development] mindyabiznis:
Edit: double post
[Xperia Z3 Compact Original Android Development] Gelindo67:
It is possible to force the enabling of CAMERA 2 API and install the GCam.

Can you do it?

Or is it impossible to do it on the sony z3 compact and nobody can do it?
[Xperia Z3 Compact Original Android Development] rustem1:
bug with a microphone

Hello friends.

Found a bug. When a person calls, he doesn’t hear me very well + he has some kind of echo. And on social networks, when recording voice messages, the MICROPHONE is VERY quiet and records somehow intermittently ..

The microphone in the camera records normally.

There are options how to fix?;)

UPD.

specially set stock 6.0.1

everything works fine there, everyone hears me well and there are no problems!
[Xperia Z3 Compact Original Android Development] vilcoyote:
Hi [MENTION=8746471]NeoArian[/MENTION],

I didn't manage to OTA update from LOS 17.0 to 17.1 using your magisk module (not allowed) - and I didn't spend time on checking why. Factory reset and twrp install fixed it in a simple way ;)

Pixel launcher kept crashing as soon as the configuration completes but it allowed me to find a new beta launcher: Niagara.

For now, everything runs smoothly - and LiveDisplay does the job, I missed it in LOS 17.0! 32GB SD format as internal storage ends up with error message but works fine after reboot.

Last but not least, volume issues (high volume, noise, poor micro) that I met in LOS 16 and 17.0 seem to be less present now. Unless I'm used to them :)

Thanks for your hard work, I can continue to use my z3c d5803 as daily driver.
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
Is it possible to disable WIFI MAC randomization without setting kernel security into permissive mode? There is no "Privacy" option (to allow use device MAC) in wifi network options, also no "settings_wifi_mac_randomization" feature flag in Developer options. I need this because I use MAC filter on my router at home and also at work.
[Xperia Z3 Compact Original Android Development] pawloland:
Is the MAC changing while device is turned on? It was a bug in LOS16, maybe it is also the bug here.
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
I don't think this is a bug, rather a feature. But according to the article there should be a "Privacy" option in wifi networks config, allowing to disable randomization on a per-network basis. But in LOS 17.1 we have no such option (see my first screenshot). Only way I found to disable it is disabling selinux in kernel (setting into permissive mode) - idk how it's related, but it works (can't be considered as a fix tho).

Btw, still no Deep Sleep in fresh installed 17.1 (and same in latest 16). It's weird that only me and few others have this problem, not everyone.
[Xperia Z3 Compact Original Android Development] NeoArian:
Hehe seems like enforcing prevented the Mac address setup to work. Mac address randomisation is not supported by our device that why I disabled it. On my device the Mac is correct set on enforcing. Probably I addressed the denial after I uploaded the build.
[Xperia Z3 Compact Original Android Development] mindyabiznis:
[MENTION=8746471]NeoArian[/MENTION] thanks for the update but flashlight is now broken on a fresh clean install, I've flashed it twice now clean both times and it does not work.

Also you removed the word clock from the lock screen?
[Xperia Z3 Compact Original Android Development] Hooin Kyoma:
I confirm that flashlight doesn't work by switching tile nor by long press power button. Camera flash works.

And another complaint :rolleyes: :)

Now in 17.1 I'm suffering the opposite - too much apps cards in recents menu causing lags when scrolling (like fps drop to 15 or something), need to long scroll left to "clear all" every few hours of high activity. Is it possible somehow to limit cards to... 10 maybe? In all Androids before Pie (good old vertical layout) I never cleared recents, collected hundreds of them and have no lags, now I have to clear or (better) limit them.

---

Is "Backup" broken? Stuck at this (see first screenshot) few hours, tried to restart backup, no success. Looks like it works for some of my apps and settings, but not for calls/sms though (not a problem since I use third party tools for this anyway).
[Xperia Z3 Compact Original Android Development] john_matrix:
Thank you for you new LineageOS build NeoArian!

I guess there is no way to upgrade from LOS 16 to LOS 17.1 with a dirty flash?
[Xperia Z3 Compact Original Android Development] tomKater:
Hello Everybody,

I use the LOS16 rom with my Z3c every day. Still two problems annoying :

- Very loud call and high volume when we take a call on the phone. Only one solution : play with volume level before start to speak. Not very pratical.

- When the phone is connected in bluetooth and when I receive a call, I cannot hear the caller. No problem when it's me making a call.

Is someone can tell me if these problems are still there with LOS17.1 ROM ?

Thank you for your feedback.
[Xperia Z3 Compact Original Android Development] BigBrother84:
Hello,

I'm interested to switch roms, from carbon, I had there problem with media volume.

I have questions:

-Is it possible to install edxposed (I need it for xprivacy lua)

-Is it possible to install viper4android from xda labs?

Edit: edxposed didn't work I got bootloop, so I'm back to the LOS 16 OFFICIAL.

I have one more question: did anyone try to install swipe up gestures (could be found on crdroid or rr). I don't know where to get it but I really care about them - Z3C has really small screen and it is useful. E.g. I use tested them on xz1c and for now I don't want to use any other navigation way ;) Android 10 gestures are hmm... just OK and works just with one launcher, I really like Xperia 11.3.A.0.17 launcher.
[Xperia Z3 Compact Original Android Development] ronnay ryukay:
My friend, when will it be made for Z3? :(
[Xperia Z3 Compact Original Android Development] mister_r:
Hello all. I've updated to the latest TWRP (twrp-3.3.1-z3c-20191212-sar.img), might be worth noting that it took a while to start up after the update, but seems to be working well.

Right, using Magisk 20.3, I installed the OTA module, which did indeed show the latest update, but then results in the attached message. Not sure what's required to sort this :)
[Xperia Z3 Compact Original Android Development] NeoArian:
You can't update from 17.0 to 17.1 via ota.
[Xperia Z3 Compact Original Android Development] mister_r:
ah, crap. can I install 17.1 without losing all my settings and configurations? or am I starting from scratch? I don't mind if I do, just good to know, if so.
[Xperia Z3 Compact Original Android Development] NeoArian:
You can manually update just fine. It's just the updater disabling version updates for all cases
[Xperia Z3 Compact Original Android Development] tomKater:
Hi,

Nobody ? I just need a feedback for those who already use it on a daily basis

Thank you.
[Xperia Z3 Compact Original Android Development] NeoArian:
The first problem is fixed on lineage 16 since 2 months or something. I can't test the second one right now. It sounds weird though. The state is the same on 16.0 and 17.1.