yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Smikros:
Lineage doesn't start any longer

Dear experts,

I've am using Berni's build from November 2019 (20191118) and had no critical problems till last night. My phone was switched off, when I tried to turn it on again yesterday. The device is encrypted and everything is fine till entering the pin. After that the android (waiting) animation comes to no end, draining the battery empty.

I didn't find an idea how to get Lineage OS working again. Hopeless tries like booting without SIM or SD card or deleting cache were not successful.

Anyone here, who has an idea to solve this problem?
[Xperia Z5 Compact Android Development] Berni-0815:
Try to flash the ROM again. I noticed a similar problem with los17.
[Xperia Z5 Compact Android Development] Smikros:
HI Berni,

Thank you for your fast response. I've tried to flash the ROM again, but unfortunately it seems, that nothing changed. Maybe I'll try to flash a newer release of the ROM tomorrow.
[Xperia Z5 Compact Android Development] Berni-0815:
You're welcome.

Then I'm running out of ideas.

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

Android security patch level: 5 September 2020
[Xperia Z5 Compact Android Development] Smikros:
Restore was required

No luck, nothing worked. I had to format the device. :( But happily I had a backup and also the restore process worked. Therefore the amount of work is okay.

The dirty update process on my restored release was also running fine. Now at least I have the latest release from your last update, Berni! Thanks a lot! :good: :)
[Xperia Z5 Compact Android Development] lexusbest:
Time to give some fresh air to my old Z5 suzuran. I've looked to this post and seems very interesting compared to any other roms.

This will be my very first custom rom installation. Any tips before proceeding?

Thank you!
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, what a pity!

A backup is always a good idea! I follow this simple tip: 3-2-1

3 backups

on 2 different devices

1 of them outside your flat

Good to hear! :good:
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, there is so much to consider. There are many instructions, also here on xda.

However, this is not the place to start discussing these types of questions.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 October 2020
[Xperia Z5 Compact Android Development] potentialdiffer:
Hi all,

this has long been an issue to me: Video Calls in Signal Messenger.

My conversational partner is complaining about heavy echos of his/her voice. On my end of the line everything is fine. I can get around this problem by using headphones, this is however not always practical. In Whatsapp, video calls have no audio issues.

I know Berni has edited some preferences for the microphones etc. to avoid echos while on a regular phone call. I played around a bit but it did not seem to have any influence on the audio quality of Signal video calls. Anyway, I have no idea what could cause this problem only to occur in Signal.

Is anyone else experiencing a similar behavior, or even has a solution for this problem?

Thanks.
[Xperia Z5 Compact Android Development] momomomonsterbill:
I am still using my z5c as my daily driver with bernis LOS 14.1. I could hardly believe my eyes when I saw that there is 15.1, 17.1 and even 18 in the works. Which version would you pick for daily use? I would guess 15.1 as it is labeled "stable", but looking at the descriptions 17.1 isn't missing any features as well. Any hints or recommendations?
[Xperia Z5 Compact Android Development] Berni-0815:
You really can trust your eyes! ;)

17.1. That's the version I'm using as daily driver too.
[Xperia Z5 Compact Android Development] Ermann123:
Will there be further (security)updates on this ROM? (Because it is the only with working encryption = really stable)
[Xperia Z5 Compact Android Development] Berni-0815:
As soon as there are updates, I will build a new version. But there aren't any...
[Xperia Z5 Compact Android Development] Berni-0815:
Taking a look at the webpage of the LineageOS project, you can see that there possibly won't come updates for los14.1 any longer:: Klick

Quote: "Updated AOSP versions: 8.0, 8.1, 9, 10"
[Xperia Z5 Compact Android Development] Son-Y:
Hey.

Me too … I am still happily using my Z5C and running 14.1 as daily driver (y)

There is only one feature I am missing daily:

When I want to use WLAN-Calling (VoWiFi) it keeps telling me to "Mobile network is not available. Connect to a wireless network to make a call."

But my WiFi is running and my mobile says it is connected (Wi-Fi Settings).

My mobile provider also says to support WiFi Calling now and it should be activated.

Any ideas??

BTW I have just seen this:

… which makes me curious about an newer version. Luckily someone still supplies us with decent software :giggle:
[Xperia Z5 Compact Android Development] Berni-0815:
...is not working!

...there is a version 18.1 available too...
[Xperia Z5 Compact Android Development] Berni-0815:
There are still signs and wonder! :cool:

New version out; see 1st post.

Android security patch level: 5 December 2020

But I had to remove VoLTE and VoWiFi, because they were not working as expected.
[Xperia Z5 Compact Android Development] Ermann123:
////// (solved)
[Xperia Z5 Compact Android Development] Ermann123:
in the last build, when installed on a fresh wiped device, all the ringtones are gone.

could you provide a download link for a earlier version, which I can flash first?
[Xperia Z5 Compact Android Development] Berni-0815:
Sure: Klick

But I don't think that this will solve your issue, because the list of files is exactly the same.
[Xperia Z5 Compact Android Development] Ermann123:
Thx, you were right, this one did not solve the issue. I tried then man different things, even repairing the filesystems in twrp, changing to other twrp etc.... in the end, i found, that you probably just need to wait for some minutes for the ringtones to arrive in the list.

For now I restored my initial 14.1 Nandroid Backuop from before the 17.1 Odysee, until I am brave enough to try again some time.
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, I've noticed that long ago too; so long ago that I don't remember.
[Xperia Z5 Compact Android Development] Ermann123:
Unfortunatly, after every try of updating Magisk from 20.4 to any of the available 21.x versions, the phone gets stuck in bootloops.
[Xperia Z5 Compact Android Development] Berni-0815:
Then stick with version 20.4.
[Xperia Z5 Compact Android Development] momomomonsterbill:
Can anybody help me how to install UnifiedNLP? I tried finding it in the system-partition using TWRPs file manager but could not find it. In which directory do I need to look?
[Xperia Z5 Compact Android Development] Berni-0815:
Why do you want install an already installed app?

/system/app/UnifiedNlp/UnifiedNlp.apk
[Xperia Z5 Compact Android Development] momomomonsterbill:
My inner "Monk" wants it gone ;) The UnifiedNlp bundled with the ROM is the GAPPS-version and I want to use microG and thought it might conflict with microG location provider.
[Xperia Z5 Compact Android Development] Berni-0815:
Ah! My bad! I understand.... Normally those versions don't conflict with each other; they can coexistent.

But I've never tried to use microG, so I can't help you unfortunately...
[Xperia Z5 Compact Android Development] shortyzsly:
I have the stock 7.X.X deodexed from the forums here installed currently on my Z5C but I'm there's so much lag and delay opening up and switching between apps.

Can this alt build be directly installed over my current one or do I need to install the original 14.1 before this one?

Wanted to test this one out as I believe the phone could be running a tonne smoother than it is currently.

Thanks in advance 💕
[Xperia Z5 Compact Android Development] Berni-0815:
All questions like "Can version X be installed over version Y?" are completely useless, because it depends on so much imponderabilities, that noone will be able to test all variants.

It can work, it may fail.

Try it yourself, then you will know!
[Xperia Z5 Compact Android Development] TsurkaEemaldaja:
Is undervolt/underclock possible?and if so,how?

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

Android security patch level: 5 January 2021
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 February 2021
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 March 2021
[Xperia Z5 Compact Android Development] ptruchon:
@Berni-0815 I've been using this ROM for almost two years now and I wanted to take a few minutes to thank you. I gave 17.1 a try for almost two months and just switched back to 14.1 today. I'm finding it much smoother overall and the camera issues with 17.1 were a deal breaker for me.

Anyways thanks again and keep up the amazing work! I'm hoping to keep this phone for as long as it can receive security updates... Cheers!
[Xperia Z5 Compact Android Development] Berni-0815:
I've just flashed my own ROM and I have no single post-install crash. The device is working flawlessly.
[Xperia Z5 Compact Android Development] downtimeguy:
I am also so far without any crashes 🤞 but only after restoring phone to stock Marshmallow 6.0.1 and then installing latest March 7th unofficial 14.1 build. All four previous attempts to install the March 7th build resulted in post-install crashes when updating from a stock Nougat 7.1.1 install. Nothing else changed in the install process except swapping to 6.0.1 from 7.1.1 before proceeding to install the March 7th build.

My confusion is that I assumed it does not make any difference which stock ROM is installed on a device before flashing to a custom ROM. Maybe this is another of the imponderibilities involved with updating an android OS.
[Xperia Z5 Compact Android Development] pibolou85:
Hello

I try your rom, and with the last i have crackle sound but now with your s it very good, no prob.

I love the boot image....

I try to install magisk, can you say me pls link for magisk apk good version and magisk.zip i need to download because i try a lot differents but never safetynet valided ! Clap-Clap for your very good job !

Thank to help.

Greetings.

Patrice.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm always using this link. Some users reported problems with the latest version 22, I've successfully tested version 21.4.
[Xperia Z5 Compact Android Development] pibolou85:
Hello,

My joy was short-lived, for the sounds I still crackle, crackle with the notification sounds, and especially with my favorite application, tune in pro, do you think that solutions will come to correct this problem? in Netflix, or YouTube, apparently no crackles or flaws, could you watch the app "Tune in free or pro version please why these problems?"

I am waiting to receive a sim card to test all the functions related to telephony. But if not, well done, because with this rom, my Z5 is a rocket, fluid, responsive, very pleasant. It's really beautiful, and I think it's also positive for the planet to be able to put new roms in these old phones, I wanted to change my phone, but in fact I'm going to keep it, because this Android 11 is really superb for this phone . I have great admiration for your work, well done. you are a good person and you share, and it is a lot of happiness also for us who install your work in our phones ...

For Magisk :

I found on another forum a simple, fast technique, which allows almost all the time to have the last version, and everything validated in it, can I put the link here of another forum of help?

Do you know if the payments with the telephone are functional? I have a friend who asks this because I do not use this payment system.

Thank you very much.
[Xperia Z5 Compact Android Development] Berni-0815:
You're writing in the thread for LineageOS 14.1!

As far as I know no payment is working. But I can't test it because I don't use it.
[Xperia Z5 Compact Android Development] DevelLevel:
You know that topjohnwu clearly says that you only should download magisk from github right!

No other source is official...

Here is the github link.
[Xperia Z5 Compact Android Development] alex009988:
Hi. Do you have NFC-HCE(host card emulation for banking pays) working on any custom ROM. I have z4 tablet and building ROMs for that tablet. Seems this feature is only available at stock. Am I right?

NFC payment doesn't work (#1382) · Issues · LineageOS / issues / android · GitLab

Expected Behavior NFC payment should work Current Behavior NFC payment doesn't work...

gitlab.com

Testing that app https://play.google.com/store/apps/details?id=ru.nspk.mirpay&hl=ru&gl=US
[Xperia Z5 Compact Android Development] Berni-0815:
You're right! I've changed th first link. The second already points to github.
[Xperia Z5 Compact Android Development] Berni-0815:
Seems so.
[Xperia Z5 Compact Android Development] pibolou85:
Sorry !!!

I have uninstall SU, i think now not in my rom because now it is no longer present in the parameters, then I installed Magisk, there are now requests from magisk for application root permissions, on the other hand still impossible to have the safetynet validated! So I will wait if there is a method that arrives because after hours and hours of testing, I am tired of all these installs and uninstalls which every time are a failure for me and my validation of safetynet. I'm a little sad, but I can't anymore, I'll take a break hoping to find a method that works later or understand if I'm doing things wrong, but at this point it's complicated for me because I don't understand not why so many failures. Thank you for your answers.

And many thank you for this rom who is very stable and speed ! Very good job !

Greetings all.

Edit :

I will wait for another forum member to do this installation, and with success, so I hope I have some help, because I tried again for 3 hrs, full wipe of all data, sytem, ... erased everything, I reinstalled blizz, then a supersu removal, then clean install of magisk after a clean install of the ROM, but still no "Safetynet" validation, I'm really not lucky, I don't know where I am doing an error, i tried almost all versions of magisk.zip, same for magisk manager, lots of versions, but still no validated safetynet!

==> Can we hope to see the photo and video cameras working again, please? Are you working on it or is it definitely dead?

Thank you.
[Xperia Z5 Compact Android Development] patroj:
I just installed the Bromite System WebView through the WebView Manager Magisk module and it worked! The install log was complaining about the design of your ROM however, so I've attached it. Might be useful? The important thing is that it worked.

Thanks again for prolonging this phone's life!
[Xperia Z5 Compact Android Development] Berni-0815:
:ROFLMAO:
[Xperia Z5 Compact Android Development] downtimeguy:
UPDATE: Z5C (E5823) with latest March 7th 14.1 LOS build is a success with all features and functions working as expected.

On this go around I relearned that

it is necessary to fully boot a stock ROM before wiping/flashing to a custom ROM

. I was trying to be efficient by flashing TWRP, wiping, and installing 14.1 LOS immediately after Flashtool completed a fresh stock install. I suspect that not fully booting to stock ROM in between is likely what was causing my earlier post-install crashes. I did manage to successfully boot Berni's LOS 14.1 without first booting stock but then discovered that none of the phone sensors were functioning (SatStat displays no information whatsoever). Flashing the phone back to stock ROM and booting to the stock setup screen was required before powering off and then flashing TWRP/custom ROM. All sensors now function 100%. Z5C is very quick and bloat-free after booting Berni's latest 14.1 LOS

Sending 🙌 to Berni for this fantastic ROM. Please let us know if there is anywhere for sending $€£ tip.
[Xperia Z5 Compact Android Development] Berni-0815:
I'll go a little bit further: It's necessary to boot the latest stock ROM!
[Xperia Z5 Compact Android Development] downtimeguy:
If I used to know this then I had completely forgotten.

I am very satisfied for now to run my Z5C on older Nougat era OS, but something occurs to me since 3G is supposed to be phasing out in coming years. Does that mean we must eventually upgrade to a ROM that supports VoLTE in order to make calls?
[Xperia Z5 Compact Android Development] -DDD-:
i think you can still use 2G for Calls
[Xperia Z5 Compact Android Development] patroj:
I guess it highly depends on where you live - and I'm pretty sure this will take longer than the phone will last. ;)
[Xperia Z5 Compact Android Development] -DDD-:
In July 2021 is Game Over for 3G in Germany.
[Xperia Z5 Compact Android Development] Berni-0815:
VoLTE is not working in any of my builds! Every effort to make it work failed in the past and I don't see a real chance that it will work in the future.

But phone calls will still work without 3G.

3G (UMTS) is mainly a data standard. 2G (GSM) is the primary mobile phone standard.

So, no worries...
[Xperia Z5 Compact Android Development] Berni-0815:
But have you seen that there is a LineageOS 17.1 and 18.1 build for our device?
[Xperia Z5 Compact Android Development] downtimeguy:
Yes. I will likely attempt LOS 17.1 on my backup Z5C in the future. VoLTE & VoWiFi sound like good features but otherwise I don't know if there is any compelling reason to upgrade from 14.1 which is working very smoothly. I am interested in security improvements but have not found use of new android features in recent years.
[Xperia Z5 Compact Android Development] patroj:
There are actually huge security improvements in the newer Android versions! There are probably better links, but a 10 seconds search gave this good overview (about A11, but I'm quite sure A10 has great advantages over A7, too): Android 11 security features and improvements (TechRepublic)
[Xperia Z5 Compact Android Development] Berni-0815:
They are NOT working in none of my ROM's.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 April 2021
[Xperia Z5 Compact Android Development] Berni-0815:
I've noticed that I'm no longer able to build los14.1 ROM's!

There are compiling errors that I can't solve. Google has changed the version of "jack" from 1.3rc7 to 1.3a8 and that seems to cause this error message:

Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
SSL error when connecting to the Jack server. Try 'jack-diagnose'

jack-diagnose

gives this messages:

Error: Syntaxerror in Process-ID-List

Port 8077 is used by another process (pid=), please ensure to free the port or change port configuration in '/home/bernhard/.jack-settings' and '/home/bernhard/.jack-server/config.properties'

I've tried to change the ports but that doesn't change anything.

If there is anyone out there who can help me, please feel free to do so!
[Xperia Z5 Compact Android Development] Berni-0815:
I've fixed it!

The latest update of openjdk-8 (292?) caused this behaviour! I had to downgrade to version 265 of it. Yippiejayeah!

(y):cool:
[Xperia Z5 Compact Android Development] peppi001:
Hi! I flashed this ROM and I'm very happy. My only "problem" is that, the ring and notification volume is too loud. How can I change the speaker volume to the default value? And how can I change the volume steps from 15 to 7. Thanks
[Xperia Z5 Compact Android Development] Berni-0815:
Please search this thread for "mixer_paths.xml".

You can't. This can only be changed by me in my source code.
[Xperia Z5 Compact Android Development] peppi001:
Thanks for reply. I flashed the official mixer_paths.xml.zip from your old post via twrp but nothing changed. What do I wrong?
[Xperia Z5 Compact Android Development] Berni-0815:
This one? There are different files. Try this file next.
[Xperia Z5 Compact Android Development] peppi001:
I change the line nr. 1582-1583 to 76 and now the volume is "normal" for me. Thanks for your help.
[Xperia Z5 Compact Android Development] patroj:
So the Webview is being reset to AOSP with each new version I reckon. Any chance I can interest you in changing to the Bromite Webview or would that be too much tweaking for an as clean as possible ROM? As far as I can tell there is no downside to it; one does however have to trust Bromite. 🤷🏽‍♂️
[Xperia Z5 Compact Android Development] ptruchon:
@Berni-0815 Are you still able to push security updates for this one? The last one is over two months ago.
[Xperia Z5 Compact Android Development] FellinLovewithSuzuran:
Someone else problems with pictures that change rotation if you zoom in?

problem dont change if you deactivate screenrotaion or options from original cam-software..

some picture dont rotate if you zoom in but i cant find the reason....
[Xperia Z5 Compact Android Development] Berni-0815:
There are no security updates available. It seems that the version of this ROM dated may 5th will be the last version of this ROM.

Edit: Oups!! I've just seen that I haven't set this version to public; please be patient!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 May 2021
[Xperia Z5 Compact Android Development] patroj:
If I'm not mistaken, this is a common issue meaning encryption and Sim Pin don't work on this device running Lineage.
[Xperia Z5 Compact Android Development] svsvvv:
Thank you!! You are correct, disabling SIM PIN allows encryption to work.

Maybe you could add info about the encryption and SIM PIN issue to the troubleshooting section?

I managed to find info in Reddit threads about the encryption and SIM PIN error by searching for rather specific phrases (after I was informed of the issue by patroj), but it might save others some time if it was listed in your LOS build threads as well.

Otherwise your LOS 14 builds (and TWRP, sans decryption support) seem to work great on this device, haven't hit any other issues.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 June 2021
[Xperia Z5 Compact Android Development] alex009988:
Hi guys. I'm z4 tablet developer. I found that the same kernel kcal code works for oreo, but doesn't work for nougat (checked for LOS and legendrom) even with CONFIG_FB_MSM_MDSS_KCAL_CTRL=y

Could you please test if this app works for you on los14.1?

Codefire - Listing of kcal

downloads.codefi.re
[Xperia Z5 Compact Android Development] Berni-0815:
The switch "CONFIG_FB_MSM_MDSS_KCAL_CTRL" has been imported in my kernel for cm-14.1 at october 12th 2019: Klick

The user @Sony user 16 pointed me to this.

This switch isn't used in any other kernel source.

So, I'm not sure if it is working or not.
[Xperia Z5 Compact Android Development] Berni-0815:
What does this app do?
[Xperia Z5 Compact Android Development] alex009988:
That's kcal app to change color settings https://xdaforums.com/t/dev-patch-k...alcomm-mdss-8x10-8x26-8974-8084-8939.3032080/

We make kernel changes in order to make this app working. It works for los15 based and aosp based oreo roms. But doesn't works for cm14.1 based roms, but may work for aosp based roms of nougat (I haven't tested it).
[Xperia Z5 Compact Android Development] Berni-0815:
Please point to a source, where I can see, what's been changed. Maybe I can adopt it.

Your app is crashing immediately at my device running los14.1 without any noticeable LOG entry.