yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Silgrond:
Berni, thank you for this ROM (once again), long time using your builds through different versions.

I have a couple problems I've found using Anrdoid 11 however.

- I just can't get GPS signal on 11. I have used a build from around June, and have updated to the latest version hoping it would work, sadly it doesn't lock on. Anyone had this issue? I have replaced the screen a couple months ago, so I have just disassembled again but I don't see any defects on the gps/wifi antenna plate. Installed GPS test app, I have currently 23 satellites in view and 0 in use. (Edit: After selecting AGPS->Clear and update, I have 0 in view)

I may have to install an older Android to see if its a ROM issue.

- Some apps are running slow, for example on Oldschool RuneScape I get around 2-3 fps. Or for example camera video recording is very choppy/low fps.

- service menu doesn't start with *#*#7378423#*#* (Wanted to test gps)

- on landscape mode, the volume down button actually increases volume, its reversed for some reason. Maybe its a 11 feature.
[Xperia Z5 Compact Android Development] RyuX_12:
Hello,could you do clean install? If not,just do it
[Xperia Z5 Compact Android Development] Berni-0815:
Definitely NO. GPS is working as expected!

That's a well known issue and we can't fix it.

There is no service menu.

The volume buttons are working as expected!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 September 2021
[Xperia Z5 Compact Android Development] username one:
I've downloaded the file twice but still get "Zip verification failed" error message. Maybe it's just me?
[Xperia Z5 Compact Android Development] Berni-0815:
Simply disable zip verification. The zip file itself is not signed. I haven't managed to sign it. I'm sorry.

Edit:

I've just changed my 1st post.
[Xperia Z5 Compact Android Development] mbrodala:
Thanks a lot. Just a small feedback: my banking app still works fine after the update, thanks for the signed build!
[Xperia Z5 Compact Android Development] 1ggn3:
It takes a really long time to get a fix for me, sometimes it's >15 minutes, depending on the reception (I guess). Now, when the phone is set to sleep after a few minutes and the app isn't allowed to use GPS in the background, this can look like no fix at all.

Also, I tried to play around with the gpsd conf, and everything seems to work just fine, it just seems to not use all the A-GPS stuff it downloads. I was guessing it's some kind of driver issue with 11, does that not happen for you?
[Xperia Z5 Compact Android Development] Berni-0815:
No. It's working flawlessly.
[Xperia Z5 Compact Android Development] King-Ossy:
Can I flash the latest rom without wipe everything?
[Xperia Z5 Compact Android Development] 1ggn3:
Good to know, I was blaming the ROM in my head, but apparently I just messed up the GPS when I fixed the back panel :)
[Xperia Z5 Compact Android Development] Berni-0815:
That depends on which ROM you're using now. If you're on los18.1 you can dirty flash.

For every other ROM nobody can give you any guarantee.

Try it and you'll know...
[Xperia Z5 Compact Android Development] King-Ossy:
Thank you for the quick respond, for a dirty flash I only need to delete dalvik/art cache, cache and system, right?
[Xperia Z5 Compact Android Development] Silgrond:
Hey, I did a complete clean reinstall, most of these are solved, getting a good GPS signal! Now if only RuneScape wouldn't lag haha. I don't really play anyways, which version was the last where there were no lags on certain apps? LineageOS 15.1?
[Xperia Z5 Compact Android Development] Berni-0815:
For a dirty flash you have to delete nothing. A clean flash needs deleting of /system, /data (without internal memory) and dalvik/art cache.
[Xperia Z5 Compact Android Development] Berni-0815:
Try 17.1
[Xperia Z5 Compact Android Development] darkangel32:
Regarding some games/apps not running well or lagging, its not like the stock Sony rom is perfect either. Its been awhile but i remember some apps/games running bad on stock aswell, or just not running at all.

Hell, even on IOS devices there are things on the app store that either wont run well or run at all.

Certain apps lagging, i think is quite acceptable seeing otherwise the Z5 would be left on android 7 which would... implicate alot more going forward considering how old Nougat is by now.
[Xperia Z5 Compact Android Development] Max8719:
Hello Berni,

I have a problem with the front camera since the last update. The button to switch from the main camera to the front camera just disappeared in the camera app (Lineageos.snap). I tried other camera apps with the same result. That's pretty weird.
[Xperia Z5 Compact Android Development] uimaxbai:
Hi Berni,

Thank you for your effort on this build! Been using it on my Z5C for probably a week now.

I just wanted to confirm payment does indeed work (I’m in the UK) as I managed to use contactless yesterday.

Regards
[Xperia Z5 Compact Android Development] RyuX_12:
Try clean flash
[Xperia Z5 Compact Android Development] Berni-0815:
No.
[Xperia Z5 Compact Android Development] Max8719:
Sorry, I think it is a hardware problem. :(
[Xperia Z5 Compact Android Development] darkangel32:
This latest ROM for the Z5C is more stable and compleet than Apples latest IOS15 for my 6S. Battery drain, lagging apps, bug & glitches while browsing in safari..... and more. Yes first iteration and all, but hey its a trillion dollar company official release with vertical software/hardware integration.
[Xperia Z5 Compact Android Development] darkangel32:
A question, i tried to download and install Digial Wellbeing (a google llc app), using the playstore, but it says my device isn't supported.

Sideloading the apk, i can install it but the app never appears anywhere on the phone.

Does installing a custom rom like linegeOS18.1 enable the Z5C to run apps that require a higher android version than Nougat?
[Xperia Z5 Compact Android Development] RyuX_12:
Digital Wellbeing available on settings
[Xperia Z5 Compact Android Development] darkangel32:
I see the app under 'Appinformation'. Should i be able to find the app somewhere in the settings?
[Xperia Z5 Compact Android Development] Berni-0815:
I really don't know what you're talking about. I neither have nor can download an app that is named so.

Maybe it is only available in some regions?
[Xperia Z5 Compact Android Development] darkangel32:
here's the link to the Playstore app:

Digitalt välmående – Appar på Google Play

Må bättre och gör det enklare att koppla från

play.google.com

It has somewhat a function like IOS15's focus modes, hence i was intrested in Digital Wellbeing from google. It requires Android 9 as minimum, so officially the Z5C wouldnt be supported. I wonder if the playstore somehow detects it as a Z5C and assumes im running Nougat?

Im from sweden, should be the same region?
[Xperia Z5 Compact Android Development] Berni-0815:
I've tried to download this app and I failed too.

I don't know how they recognize the device, but it really seems to be.
[Xperia Z5 Compact Android Development] RyuX_12:
I assume it need stock gapps for install digital wellbeing
[Xperia Z5 Compact Android Development] darkangel32:
I have the latest mindthegapps. I assume i cant install stock gapps?
[Xperia Z5 Compact Android Development] RyuX_12:
Stock gapps need a bigger storage as you know,but you can replace mindthegapps with opengapps stock version
[Xperia Z5 Compact Android Development] Berni-0815:
It is not trivial to replace MindTheGApps with OpenGApps. MindTheGApps is somehow stored in regions that aren't easy to remove. The best way is to perform a clean install (with FULL wipe of /data and /system!) of LineageOS 18.1 and OpenGApps in one step.

There are only "pico" and "nano" flavours of OpenGApps available (see screenshot).
[Xperia Z5 Compact Android Development] baristurunc:
The previously recommended NikGApps still works good for me. It also includes digital wellbeing.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmm, I'm out. I don't give support for Google's stuff.
[Xperia Z5 Compact Android Development] darkangel32:
Ok thanks for the information, now i know its all due to what gapps one installs. Il try and test around with opengapps/nikgapps etc.

Still, i wonder why i cant install say genshin impact, or some other apps that require a certain version of android. I guess they see its a for slow hardware, too low memory etc? Im not wanting to play genshin impact on a 6 year old Z5C, just for general intrest :)
[Xperia Z5 Compact Android Development] RyuX_12:
1 reason is 810 is not supported for play genshin
[Xperia Z5 Compact Android Development] darkangel32:
Might i ask what version of Nikgapps you installed?

Edit: Flamegapps works very well with this rom (i flashed flamegapps full). None of the nikgapps/opengapps did work.
[Xperia Z5 Compact Android Development] oguzhantemiz:
Network constantly switches between 3g and 5g. Ofcourse there is no 5g in my country and on my device.
[Xperia Z5 Compact Android Development] 1ggn3:
There used to be this Vulkan patch around (https://xdaforums.com/t/adreno-430-vulkan-vulkan-api-for-adreno-430-android-nougat.3551846/), but it doesn't work with 18.1 out of the box. Maybe it could help if you made that work, but I think a few paths and mountpoints have changed since then (at least).
[Xperia Z5 Compact Android Development] linckandrea:
it seems that even vulkan libs from angler's oreo fail to load

when i tryed i got some dlopen() errors
[Xperia Z5 Compact Android Development] username one:
Try uncheck "volte temel hazırlığı yapıldı".
[Xperia Z5 Compact Android Development] _-Thomas-_:
Hello,

i just installed several equalizer apps and none is working. Wavelet gives me the following error message:"... unable to instantiate DynamicsProcessing effects"

The developer of the wavelet app wrote:

Pittvandewitt commented on 18 May 2020​

This message occurs when your ROM does not have the DynamicsProcessing library implemented correctly. This results in the features depending on that library to be hidden. You may want to contact your ROM developer to look into the missing libraries.

Help would be much appreciated.

Thanks!
[Xperia Z5 Compact Android Development] otacon5555:
Hello everyone, which one is more stable, this one or the 17.1?

Also, is there a guide on how to flash this phone?

Thanks.
[Xperia Z5 Compact Android Development] Delfinololo:
Hi all!

Does anybody experience the following problem?

When I put a file inside my SdCard and I put my SdCard back I cannot read or write on it. I receive the notification from settings that says "tap to set it up" and to be able to use it I have to format it (therefore I loose everything).

I haven't tried yet to hard reset the phone (I've never experienced this issue before).
[Xperia Z5 Compact Android Development] Berni-0815:
I'll test this asap. Please be patient.
[Xperia Z5 Compact Android Development] Berni-0815:
Fixed! Will be included in my next regular release.
[Xperia Z5 Compact Android Development] baristurunc:
This is most probably not related to this rom. Either the file system is corrupted or your sd card is dying. For the former, you can check it via fsck.{file system type}. It may not fix the filesystem, but will probably output the files that are corrupted, so that you can delete them manually.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 1 October 2021

DynamicsProcessing library implemented
[Xperia Z5 Compact Android Development] norabitox:
Hello everyone

I own a LineageOS 18.1 and Aosp Extended-v8.6 phone.

Curiously, both of them have strange proximity sensors.

The screen no longer disappears during a call.

Restoring to an older version does not help.

Currently, I went back to Stockrom and re-burned the custom ROM and it is working properly.

I recently changed TWRP from 3.2.1 to 3.5.2.9.

Also, when I update the Mgisk app (Canary), the SafetyNet check items cannot be displayed.

Has anyone encountered the same symptoms?

Regards.
[Xperia Z5 Compact Android Development] casouzaj:
On either a terminal emulator app or after adb shell, try commands:

restorecon -RF /persist
reboot

If the 'restorecon' command returns an error message, if you have root access, try command 'su' beforehand.
[Xperia Z5 Compact Android Development] norabitox:
Hello casouzaj Thank you

I'll give it a try.

suzuran:/ # restorecon -RF /persist

SELinux: Loaded file_contexts

sorry

My skill is insufficient

What is this for doing 😓
[Xperia Z5 Compact Android Development] casouzaj:
The command worked for you! Have you rebooted? Are your sensors back to work?
[Xperia Z5 Compact Android Development] norabitox:
thank you

Already the two devices have returned to Stockrom and reinstalled the custom ROM so the sensor works fine.

If the same problem recurs, I'll try that method.

Thank you very much.
[Xperia Z5 Compact Android Development] norabitox:
Hello casouzaj

I used TWRP to restore the phone to a state where the sensor is not working.

And I tried the command you taught me.

Surprisingly, the proximity sensor works fine.

Thank you for your kindness and knowledge.

Thank you very much.
[Xperia Z5 Compact Android Development] casouzaj:
Glad that you've managed to sort your problems out!
[Xperia Z5 Compact Android Development] Berni-0815:
How have you managed to do this?
[Xperia Z5 Compact Android Development] norabitox:
Hello Berni

This was done with Aosp Extended-v8.6 on the sub phone.

I restored the persist of stock 32.4.A.1.54, which was previously backed up using TWRP3020, with TWRP3529.

I don't know why the symptoms reappeared.

Regards.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmm. But with an installed stock ROM the sensors are working?
[Xperia Z5 Compact Android Development] norabitox:
What I wonder is that LineageOS 18.1 and Aosp Extended-v8.6 have the same glitches.

The bug has occurred since I updated LineageOS 18.1 and Aosp Extended-v8.6 to the latest version with TWRP3529.

And even if I restored the stock rom first, the symptom did not improve.

Flush the stock ftf and then install the custom rom.

The proximity sensor is now functional.
[Xperia Z5 Compact Android Development] Berni-0815:
That's what I wanted to know:

Does the sensors work if you flash and fully install the stock ROM?

Because this has been the only known way to reactivate the sensors.
[Xperia Z5 Compact Android Development] norabitox:
In my case

The'restorecon' command is also valid.
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe you don't understand my question...

Since I've never had any sensor issue I can't say what may help or may not help.

That's why I've asked you if the flashing and fully installing of stock ROM solved the sensor issue or not.
[Xperia Z5 Compact Android Development] norabitox:
I'm sorry I'm not very good at English.

In my case, returning to stock is very annoying as I need to add a phone baseband.

So it is very helpful to be able to repair with restorecon.

Thank you
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 November 2021

The terminal has been dropped, please search an app store for an alternative.
[Xperia Z5 Compact Android Development] bf2142:
I have a very small question.

IS there any way to get Number notifications on app Icons Instead of dots.

I'm led to believe there should be an option under notifications but I cant find it.

Apart from this the rom is running well.

Berni your doing a great job.
[Xperia Z5 Compact Android Development] bf2142:
Another large question. Would you be able to compile this rom for e6683.
[Xperia Z5 Compact Android Development] tavoc:
Just here to say thank you. Having an up to date ROM is really nice for that device.

Are there any problems known with a non working microphone?

E.g. Duo is saying there is no mic, and voice recorder have the same problem.

Installed today fresh, with mind the gapps from TWRP

added requested logfiles

With the Lineage 17.1 with gapps pico the mic is working. Therefore it is no hardware problem from my point of view.
[Xperia Z5 Compact Android Development] bf2142:
Not had a problem with mic. Boldbeast call recorder working fine.
[Xperia Z5 Compact Android Development] Berni-0815:
I would be able but I don't will do so, because there is a thread and a maintainer for this device if I'm not wrong.
[Xperia Z5 Compact Android Development] Berni-0815:
No
[Xperia Z5 Compact Android Development] tavoc:
Is there anything I can help to reproduce this? Are the logfiles sufficient to see the problem (I could not spot the right line)?

Thanks
[Xperia Z5 Compact Android Development] bf2142:
Yes your build seems a little ahead. I will wait for tarkzim to iron out some things on his build.

Your rom is working well on my wife's phone.

Have I missed something about the number bubble notifications or is it not possible.

Kind regards.
[Xperia Z5 Compact Android Development] sabotage154:
hi @uncle-sam. how did you get edxposed installed on this rom? i tried with the newest versions and get errors when installing via magisk manager.
[Xperia Z5 Compact Android Development] Berni-0815:
You can do nothing. A not working mic is most likely a hardware issue.
[Xperia Z5 Compact Android Development] tavoc:
but on your Lineage 17.1 image it works
[Xperia Z5 Compact Android Development] cdannebe:
Hi Berni, hi tavoc,

sometimes I have microphone or connection issues too. If someone calls me the connection is established, but we both hear nothing. I have tried around a bit and if I let it ring for a while, lets say 6-8 times, it works. Furthermore when I turn on the display, I have the impression that the device hangs and cannot be operated smoothly (just the first seconds, not more). Maybe the cpu speed governor take too long to switch to "performance mode". This could affect the connection/microphone usage.

@berni please check this and let me know if I can support you by sending logs or trying commands from adb-shell.

@berni Thanks for this ROM and your patience with many here on the forum.
[Xperia Z5 Compact Android Development] bf2142:
I gave up and used LsPosed seems to be working fine.
[Xperia Z5 Compact Android Development] uncle-sam:
@sabotage154

I am not sure. But I believe to remember there has been some trouble with compatibility of the magisk version and edxposed. Maybe you need to use an older magisk version or try lsposed as @bf2142 suggested.

But in general I cannot suggest to use edxposed oder lsposed. I had stability issues with both. Maybe with the newer rom version and updated magsik and module it might be better. But I wouldn't mess with it.
[Xperia Z5 Compact Android Development] sabotage154:
@uncle-sam

i figure this out and forgot to update the thread. this combination bel.ow works on suzaran lineage and aosp extended roms (didnt test on other ones) 8.1 , 10 ,11.

magisk 23.0 - you need to patch the boot.img from the rom you are using via magisk manager then flash it via twrp or fastboot.

Riru v23.8 - i found it online and installed from storage via magisk manager modules then reboot

Riru EdXposed -v0.5.2.2_4683 - i found online and installed from storage via magisk manager modules then reboot

you can then install edxposed modules. i tried all types of different magisk, riru and riru edxposed versions and the combo above seems to work for me.
[Xperia Z5 Compact Android Development] sabotage154:
hi @bf2142

i just updated the thread with magisk, riru, riru edxposed combination that worked for me. check it out if you still need edxposed.
[Xperia Z5 Compact Android Development] tanisdlj:
Hi!!

First of all, thanks for the amazing job!! I just flashed my phone with this ROM and so far, it looks amazing! First time flashing the Z5 Compact also, so took some time to get used.

A few problems I found:

Camera doesn't work. I know it has a problem focusing in short distances, but after a few pictures I've got a frozen image. If in Google Authenticator, for instance, I try to scan a QR code, I've got a black screen instead of the camera image. Once it was fixed for a few pictures rebooting, but not anymore :/

Bluetooth headphones: Work great with music, they add a lot of noise and distortion, making them unusable. The fact that it works with spotify but not calls it's odd.

Alarm sounds loud even when setting the volume down

Even in low volume, phone speaker is sometimes distorted.

Just in case, I followed the steps, wiping dalvik cache, data and something else I can't remember right now, flash the ROM, then wipe dalvik, then flash gapps, then wipe dalvik, then restarted.

Any help or if I can provide with more info is very welcome.

Thanks!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post

Android security patch level: 5 December 2021
[Xperia Z5 Compact Android Development] Ermann123:
Hi! Thx for the update. But the new integrated Fdroid (1.14 alpha) crashes every time, I try to start it. Never happened before with earlier ROM versions. Want logs?
[Xperia Z5 Compact Android Development] Berni-0815:
Weird! That doesn't happen here? LOG's! Yes, please...
[Xperia Z5 Compact Android Development] hukd:
I have the same issue. How can I provide logs?
[Xperia Z5 Compact Android Development] Berni-0815:
Take a look at the very first post, section "Troubleshooting".
[Xperia Z5 Compact Android Development] Berni-0815:
WAIT! I don't need any LOG! I'll publish a version of my ROM with the latest stable version of F-Droid asap.

Please be patient.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Back to F-Droid version 1.13.1
[Xperia Z5 Compact Android Development] hukd:
Do I have to completely reinstall LineageOS or is it possible to update my current version including keeping my settings and data?
[Xperia Z5 Compact Android Development] Berni-0815:
I'm always updating my system in a so called "dirty flash". Normally there is no need to make a clean install.

If you're experiencing some weird behaviour, a clean install may help.
[Xperia Z5 Compact Android Development] baristurunc:
It's more noticeable when the phone is throttling/hot or when you're multitasking. It may even not happen when there are no other user processes than the music app :p.
[Xperia Z5 Compact Android Development] Berni-0815:
This flag is not used.
[Xperia Z5 Compact Android Development] baristurunc:
Another issue I'm facing is >50% usage on little cores when the phone is awake and idle (no user input). Can somebody else confirm? This was measured with smartpack kernel manager.
[Xperia Z5 Compact Android Development] utehaus:
I can confirm it, 8 out of 4 cores have a load of 100% all the time. (Last Beta).
[Xperia Z5 Compact Android Development] Berni-0815:
Same here. Currently I have no idea how to fix it....
[Xperia Z5 Compact Android Development] Berni-0815:
Could you please point to a file where to search for it?
[Xperia Z5 Compact Android Development] baristurunc:
This has nothing to do with the issue AFAIK.
[Xperia Z5 Compact Android Development] alex009988:
Hi. I have z4 tablet and los18.1 based on your sources. I found that big games like call of duty and war robots don't install from play market. I gave all necessary storage permissions to play market and tried all nik, bit and flame gapps. But no luck. I have kinda that error.

01-07 18:15:19.260 E/Finsky:download_service(10456): java.io.IOException: Can't create file:///storage/emulated/0/Android/obb/com.android.vending/com.pixonic.wwr/temp.main.106419.com.pixonic.wwr.obb

Do you have the same error on your device?
[Xperia Z5 Compact Android Development] Hichem2006:
Should I use the latest version of Magisk which is 21.1 ?

Sorry for the English
[Xperia Z5 Compact Android Development] litelinux:
Yes. Versions below 21 are not compatible with Android 11.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry, but I really don't know what you're talking about.
[Xperia Z5 Compact Android Development] Hichem2006:
Oh my god, why this ROM is still on BETA, it's just perfect! Battery consumption is good,even better than Stock and performance is excellent, I installed Magisk to root it.

And it has the features from Android 11.

Good job Berni!