yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] alex009988:
GitHub - DevelLevel/android_kernel_sony_msm8994 at 8.1.x-aex

Custom kernel for Suzuran (Sony Xperia Z5 Compact) based on LOS - GitHub - DevelLevel/android_kernel_sony_msm8994 at 8.1.x-aex

github.com

I used that kernel to activate kcal for oreo los,RR,aicp,aokp,carbonrom, aosp extended. For all these oreo roms kcal works and that kernel uses the same kcal source as your cm14.1 kernel. App is closed sourced so maybe be it's app's problem. And as far as I know there is no another kcal app, no kcal alternative for this kernel fix.

Then it means kcal fix doesn't work for all kitakami cm14.1 roms, but If you apply that patch for los15, this app will work.
[Xperia Z5 Compact Android Development] alex009988:
Or we should try to use a bit another fix for cm14.1 https://github.com/CrazyGamerGR/Cra...mmit/decad9a23de6f2766a54437b78068703e1e47cea

I can't test it on my own for now as i removed source code of nougat rom.
[Xperia Z5 Compact Android Development] DevelLevel:
I've used this app to test the kcal feature and it worked on aex 4.6 / android 7.1.2 with my 7.x kernel. It should work with Lineage OS 14.1 too.
[Xperia Z5 Compact Android Development] alex009988:
Cool at least kcal can work on cm14.1 some way. Tested that app it works, but it allows to change RGB and color temperature mostly what can be adjusted by ordinary display settings, no saturation color settings for Night Light.
[Xperia Z5 Compact Android Development] Berni-0815:
This one is different from my own, indeed.

But, really, why is kcal so important for you?

In my eyes this is only another "nice to have"...
[Xperia Z5 Compact Android Development] alex009988:
Watching movies sometimes you want to have colors watched a little bit more saturated. But indeed this is not "must to have" feature. Later I think I'll try another kcal fix and write out about the results here.
[Xperia Z5 Compact Android Development] Berni-0815:
Can't this be done with LiveDisplay?
[Xperia Z5 Compact Android Development] alex009988:
Unfortunately not, saturation makes all colors more saturated, red more red, green more gren, blue more blue while lifedisplay color temperature make all colors closer to bright blue or beige.
[Xperia Z5 Compact Android Development] Berni-0815:
Ok, then I can't help you, since kcal is not working at all!
[Xperia Z5 Compact Android Development] Berni-0815:
Do you have a downloadable apk file for me?
[Xperia Z5 Compact Android Development] DevelLevel:
It is available on F-droid
[Xperia Z5 Compact Android Development] alexgill2020:
Hi Forum, I've really been enjoying to use the Berni v14 build -- what a pleasure and thanks. I'm posting b/c here in America, I'm hearing the FCC will be mandating the shutdown of 3G in early 2022, and so I'm wondering with this device becoming obsoleted, could someone suggest a well supported device?
[Xperia Z5 Compact Android Development] Berni-0815:
3G is already shut down here in Germany (or it will be at the end of 2021 for the provider O2).

I for myself haven't seen any issues with that.

My z5c is still working.
[Xperia Z5 Compact Android Development] luidgiking:
Is there any camera app port that enables 60fps video on lineage ?
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know any...
[Xperia Z5 Compact Android Development] luidgiking:
Which of your builds is the most stable and best power saver for a daily driver? Thank you so much
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, I've forgotten to answer this question; sorry! :oops:

I'm using my own 18.1 build as daily driver.

At my own device stable as hell and up to date regarding security fixes!

Edit:

Camera is a little bit buggy in all build beginning with los 15.1 but I can live with that issue...
[Xperia Z5 Compact Android Development] luidgiking:
You`re doing an amazing job anyway. Thank you for your work and for your attention! I'm on stock with green kernel. Will test your 18.1!

Btw how do android versions differ in performance and resource requiring? Is 11 the fastest/lightest?
[Xperia Z5 Compact Android Development] Berni-0815:
The most performant version is my 14.1. But there haven't been security updates since June 2021.

The higher the version number, the lower the performance. My 18.1 build sometimes feels a little bit laggy...

This seems to be logically, because of newer versions of Android have more complexity and therefore more "inner mechanisms" to work correctly.
[Xperia Z5 Compact Android Development] Berni-0815:
The wlan connection ist lost sometimes using my file manager. This seems to be a problem of this file manager.

Or do you mean something different?
[Xperia Z5 Compact Android Development] giosal:
Hello Berni,

Just a quick but maybe a stupid question:

I already have your build installed. How would I update to newer version saving all the data? Just flashing zip from TWRP without deleting cache/dalvik etc.?

Thanks!
[Xperia Z5 Compact Android Development] eng3:
Remove root and/or install magisk
[Xperia Z5 Compact Android Development] Berni-0815:
That's the way I'm doing this, yes...
[Xperia Z5 Compact Android Development] Berni-0815:
That makes android pay work?
[Xperia Z5 Compact Android Development] joska59:
Yes, I meant the connection loss of the origine telephone function. Other, than using the stock-ROOM, under LOS I observe much more. I use the phone as .. a ... telephone, so this behavior is a probleme, some calls are interupted more then 4 times..... :)

Best regards, Joska
[Xperia Z5 Compact Android Development] eng3:
Yep sorta. (Also Xposed must be disabled)

Android pay will run without the error message.

However I've never actually paid with my phone. When I put the phone up nothing happens. I posted about this before thinking it was due to something else, but I've never been able to really test it. When I ask the cashier, they say their unit is broken. So I guess I've never found a place that has a working unit.

Thats also why I wish your rom did not include ROOT. Though android pay still seems to run without me removing root.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmmm, I don't remember. Could you please PN me that? :angel:
[Xperia Z5 Compact Android Development] Blu3ye:
Sorry for this silly question maybe. But I don't see changelog anymore?!

Is Bluetooth fixed now?

Don't want to update every week and backup my custom system apps just to try...
[Xperia Z5 Compact Android Development] Berni-0815:
??? Is bluetooth not working? Or what do you mean? :confused:
[Xperia Z5 Compact Android Development] Blu3ye:
I thought it is a known problem for Los in common for this device as I remember. I am having problems with Bluetooth speaker, yes.
[Xperia Z5 Compact Android Development] RaunoT:
Bluetooth (with speakers also), has been working flawlessly for me for a long time now.
[Xperia Z5 Compact Android Development] Berni-0815:
As RaunoT says, for me there are no problems known. I'm using the device for a bluetooth phone connection with a motorcycle helmet since months without any problems. In earlier times there have been stability problems, but I can't see any of these any more.
[Xperia Z5 Compact Android Development] joska59:
Did it, but must correct myself, you'd spoken about echos, not connection loss. Excuse my mistake,

LG, Joska
[Xperia Z5 Compact Android Development] Berni-0815:
No problem. It could have happen that I've been wrong.

Echos are a problem, indeed, but I don't know how to solve that; sorry...
[Xperia Z5 Compact Android Development] joska59:
I would like to have some instead of connection loss. :(

Maybe I'll do a complete reset with a clean install again. The first one was so, but the connection problems are still alive from the beginning.

Best regards, Joska
[Xperia Z5 Compact Android Development] Blu3ye:
Hmm... OK thanks, so I will clean install the latest version and check again.

But what is it with Los for this device at all? There is no official version, right? But it should be good as a daily driver? But if, why the need of releasing new version every week?
[Xperia Z5 Compact Android Development] Berni-0815:
There is a version called "nightly" on the lineageos website. Released weekly... ;)

I'm using my version as daily driver! So, yes.

There is no need to do that. I'm doing it for myself. Maybe I'll reduce it to twice a month or so. Or if there are changes that should be set to public. I'm really not sure about that... :confused:
[Xperia Z5 Compact Android Development] maciek12:
Hello Bernie, i really appreciate your work but could you make an optional flashable zip to make the volume values stock? I find your builds a bit more stable than the original nightlies but its just way too loud for me. If not, is it possible to change them manually?

BTW

Do you guys find the LOS sound quality (especially when listening to music on headphones) worse than on stock sony rom or is it just me? There is this constant humming in the background like white noise. Disabling audiofx doesnt help.
[Xperia Z5 Compact Android Development] alex009988:
Just for the information. Tested this source with ColtOS. No change. Night light works, original app doesn't.
[Xperia Z5 Compact Android Development] alexgill2020:
My carrier keep sending alerts about this, and so I read up: seems a VoLTE capable device is needed, and so perhaps I should do some contingency planning. That said, I love using these builds but would appreciate any recommendations for a device that are known to work nicely with Lineage builds. Thanks Again!!
[Xperia Z5 Compact Android Development] Ermann123:
Hi again Berni!

Meanwhile I migrated to 18.1. While most of the time if feels more fast and snappy then 17.1 sometimes apps are being killed (I guess, they run out of memory). But when I start with SELINUX set to enforced, an important framework (xposed bzw. LSPosed) is not starting at all. With permissive SELINUX it works ok. I send you the logs via PM. Maybe we can do something about it.

And then I experienced, that in evening light surroundings, with ambilight sensor active, when activating the screen, it always starts at lowest light level, with is not a big issue, but still a bit nerving, because a bit too dark. Someone else also has this issue?
[Xperia Z5 Compact Android Development] Berni-0815:
I'll take a look into them asap.

The same here. The screen will be lighter after a few seconds without manual interaction.
[Xperia Z5 Compact Android Development] norabitox:
Hello Berni

thank you for your effort.

I unlocked the Bootloader on my Z5C (SO-02H) using the qUnlockTool.

Only SO-02H_32.1.F.1.98_1299-7123_R22C can get the firmware of this terminal.

I have installed LineageOS 14.1

I can't proceed from the first animation.

Unfortunately, Flashtool does not accept overseas versions of firmware.

Is there a way to use LineageOS 14.1?

best regards.
[Xperia Z5 Compact Android Development] Berni-0815:
Take a look at my very first post; section "

Troubleshooting:"
[Xperia Z5 Compact Android Development] norabitox:
Thank you.
[Xperia Z5 Compact Android Development] norabitox:
If you don't mind, please tell me how.

Regards.
[Xperia Z5 Compact Android Development] Berni-0815:
The same way as flashing a recovery:

fastboot flash boot boot.img
fastboot flash system system.img
[Xperia Z5 Compact Android Development] norabitox:
Thanks for your answer.

Where is system.img?

Regards
[Xperia Z5 Compact Android Development] Berni-0815:
System.img is part of the distributed flashable zip file. It is compressed using "brotli".

Quote of my own build script:
[Xperia Z5 Compact Android Development] norabitox:
Thank you very much

I will find out how to do it.

However, it is difficult to install lineage on docomo version so-02h.
[Xperia Z5 Compact Android Development] Zastando:
Hello @Berni-0815,

I'm very well aware that this thread is old and the ROM version outdated and I also hope to not bother you by tagging you, but I have a few questions concerning your ROM.

I recently flashed different custom ROMs onto my SZ5C and realized that the camera is not fully working or at least has issues with focus and resolution (only 8MP). I found out that this has something to do with a proprietary algorithm from Sony.

Can you confirm that the camera has no issues (resolution, focus, etc.) on your 14.1 ROM ?

I also did not find any indications on whether you added MicroG and Aurora Store to the mix and so assumed you did not, right ?

Do you plan on maintaining this ROM or is this Android version to old for most apps making it not very usable and thus uninteresting to maintain ?

Thanks

Bye
[Xperia Z5 Compact Android Development] Berni-0815:
This version is the only one where the camera is mostly fully working. It is indeed an issue with proprietary closed source libraries from Sony and Qualcom. I can't fix this, sorry.

But I can't tell you if the full resolution of 23mp is working.

This ROM comes without microG and Aurora Store. Please add them manually.

This ROM has reached EOL because there are no security updates any more and therefore I don't plan to maintain it any longer.

I'm only maintaining LineageOS 18 to 20, because they are still receiving security updates.
[Xperia Z5 Compact Android Development] Zastando:
Ok, I understand.

Any chance you could provide me a step-by-step guide to install microG, please ?

I have no experience and knowledge on how do to so.
[Xperia Z5 Compact Android Development] Berni-0815:
For microG the ROM needs to support the so called "signature spoofing". This ROM does NOT come with that support.

It's on you to habdle it. I'm not willing to spend any time with this outdated ROM.
[Xperia Z5 Compact Android Development] Zastando:
Of course.

Thank you for your advice.
[Xperia Z5 Compact Android Development] FellinLovewithSuzuran:
Hi,

i make partition backups of lineage 14 with twrp3.7 on my z5c.

Now i copied that rom with twrp to a second z5c and everything goes well...

....but only the fingerprint wont work anymore...

i tried different solutions...go back to stock...

restore only a few partitions.. make ba backup without security pin and fingerprint.. etc... - but its always the same...

if i flash a fresh lineage image 14-20 or stock firmware the fingerprint worked fine...

but if i restore the lineage 14 backup from the first z5c

he stop working on my second z5c..

someone any idea wheres the problem?
[Xperia Z5 Compact Android Development] Berni-0815:
Try the tip given in this post.
[Xperia Z5 Compact Android Development] FellinLovewithSuzuran:
Thank you..

just tried it in TWRP Terminal...

"SELinux: Loaded file_contexts" but nothing change...

Installed Magisk for root (it should be rooted anyway) but nothing..

From my notebook with adb "adb root" and "adb shell" wont work..

Tried copy the persists partition from the 54 stockrom.. again nothing change.

Theres an idea if ein flash back to 54 stock firmware

and after that only copy some but not all partitions of the lineage14 twrp backup?

Its the only thing that stop the idea of a 1:1 smartphone hardware backup...
[Xperia Z5 Compact Android Development] Berni-0815:
While TWRP or LineageOS is running?

Each tip is only applicable when LineageOS is running.

TWRP runs in root mode by default.
[Xperia Z5 Compact Android Development] FellinLovewithSuzuran:
from the notebook in fastboot mode... (blue light)

but there "adb root" and "adb shell" do not work...

fastboot mode from notebook is working i can flash all images like boot.img or system.img

over adb succesfull...

stockroms are flashed with flashtool in flashmode succesfully.

over twrp i install all lineage roms... with linage20.rom fingerprint is working...

with twrp terminal "restorecon -RF /persist" brings "SELinux: Loaded file_contexts"

if i use the setup of fingerprint in the copy of linage14-backup

on the second handy hes not responding.

if you speak german i can explain it more detailed over pm in german

with screenshots..
[Xperia Z5 Compact Android Development] Berni-0815:
adb does not work in fastboot mode, only in normal operating mode (under LineageOS or TWRP or other operating systems).

And, yes, I am German!
[Xperia Z5 Compact Android Development] GreyLeshy:
I collected kernel on the basis of "Green Kernel" for the LineageOS 14.1.

RamDisk from the latest firmware.

Kernel test.

I did not check this kernel for efficiency because I'm using the stock ROM.

Source: GreenKernel-DEV_cm-14.1
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, see this post

At my device sound is very good. :good:
[Xperia Z5 Compact Android Development] Berni-0815:
At my device this kernel causes the led flash red a few times, than the device stops working!

My advice:

Don't use this kernel with my rom!
[MENTION=8041676]GreyLeshy[/MENTION]: Sorry...
[Xperia Z5 Compact Android Development] GreyLeshy:
Thanks for the test!

I knew that there might be problems with downloading the rom...

[MENTION=7749536]Berni-0815[/MENTION], replace ramdisk in my kernel. I made some changes in Your ramdisk. Perhaps because of this does not start the rom.
[Xperia Z5 Compact Android Development] lmg80:
Android pay runs i.e you can add a card pass safetynet with Magisk etc but....... when making a transaction it's not registered tried countless vendors and the same thing. Revert to stock Sony and it works

Android pay on Lineage just does not work period, we really need a fix for this.
[Xperia Z5 Compact Android Development] brordavid:
I'm on resurrection remix, and I cannot make it to boot on that rom. It just shows the boot animation forever. Isn't all los based roms kernel compatible with each other? :)

Thanks for your work anyway. :)
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry, but I have to correct myself! There is a litte noise in lower volume passages. I haven't heard this before because I'm hearing louder musik like rock and metal... :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
The second one with stock ramdisk is booting and seems to work. I'm testing this kernel for a while...
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry to say that the device is not reacting to touchscreen or buttons when the screen is locked and you want wo wake it up!

You have to hard power off the device with power+volume-up... :(
[Xperia Z5 Compact Android Development] GreyLeshy:
Need logs...
[Xperia Z5 Compact Android Development] Berni-0815:
Sorry, no chance. I cannot change from charging to mtp or anything else... So adb can't find a device...
[Xperia Z5 Compact Android Development] GreyLeshy:
Okay, the kernel requires further refinement.

I will not deal with this problem in the near future. Not up to it.
[Xperia Z5 Compact Android Development] neutrinobox:
Last night i installed it on my Z5c that comes from stock rom.

It´s all fine.... only the camera is bad....
[Xperia Z5 Compact Android Development] Berni-0815:
Here is a picture taken with my LIneageOS 14.1 version. For me this is a really good quality...
[Xperia Z5 Compact Android Development] Macko mia:
Its nice to see you help this thread....! Thanks!!!:svetius:
[Xperia Z5 Compact Android Development] giosal:
Hi Bernie,

Thx for your reply about updating the builds.

I also wanted to ask you if you know how I can help with translations of LineageOS? Do you know on which platform they translate?

Thx again
[Xperia Z5 Compact Android Development] neutrinobox:
That Picture is much better than mine.

Hmmm why :confused:
[Xperia Z5 Compact Android Development] zacharias.maladroit:
I've ported a former modified GreenKernel / BreachKernel to LineageOS and it worked

comparing the prior state https://github.com/zachariasmaladro..._msm8994_kitakami_r2/commits/BreachKernel_I.1

vs. the LineageOS kernel https://github.com/zachariasmaladro...994_kitakami_r2/commits/AbyssBreachKernel_I.2

might give some hints what changes are necessary to get it working

(one part is to build a monolithic kernel with everything built into the kernel)
[Xperia Z5 Compact Android Development] Berni-0815:
Using my actual build I can't hear any noise! When the music's over, there is nothing but silence...

I'm using Poweramp.

...or I'm a little bit hard of hearing? Maybe; I'm not the youngest one under the sun... :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
Please contact the LineageOS team directly. I can't answer your questions...
[Xperia Z5 Compact Android Development] neutrinobox:
Updated with a dirty flash yesterday and it Works like a charm.
[Xperia Z5 Compact Android Development] Berni-0815:
I had to do a clean flash yesterday because some weird thing happened. For example 3rd party apps like open camera or simple gallery were no longer able to write to the sd-card... :(

There was no way to fix it. They simply crashed while trying to write to sd-card... :rolleyes:
[Xperia Z5 Compact Android Development] Berni-0815:
Once again:

This is an UNOFFICIAL version and I declare it definitely as BETA!!!

I know that there are several bugs and problems; i.e. in the handling of audio itself; but I'm not able to fix them all!!!! I'm not a professional developer; I'm an autodidactic C-programmer; not more, not less. I'm still learning every day; if you could see what kind of code they are using, you would be very scared/shocked! It is a mixture of C, C++, JAVA, makefile and "don't_know_what_else"... Please take a look at LineageOS...

So, if LineageOS declares their version as "nightly", it is in fact still an UNOFFICIAL and UNSTABLE version!!!

So please be tolerant with me... :angel:

...ym2c... ;)
[Xperia Z5 Compact Android Development] eng3:
Has anyone noticed an issue with the back button not being responsive? I've noticed this with several apps but mostly with quickpic.

I load quickpic, then click on a folder to view photos. The I click the back button. The button remains highlighted like it is stuck. Then the App closes and I get a toast saying "quickpic killed" This happens nearly everytime in quickpic. Now I have ALOT of photos and folders so maybe it is hanging trying to reload something? although the initial load is fine so I would think all that data is still cached.

I've noticed this in other apps. I can remember this happening in Maps sometimes.

Now I do have the option enabled in developer options to kill an app by holding down the back button. But I definitely am not holding it down, I am just tapping it.
[Xperia Z5 Compact Android Development] Berni-0815:
Try a clean install
[Xperia Z5 Compact Android Development] eng3:
I've had this issue for quite some time and have done a clean install in between.

I'll try another clean install.

I'm just wondering if anyone else has had this issue. It's hard to tell if its a bug or a result of laggy behavior.
[Xperia Z5 Compact Android Development] Berni-0815:
In my post #163 I've reported some weird things, so I did a clean install...
[Xperia Z5 Compact Android Development] TrulloF:
Don't have any issues like this. I'm using QuickPick too without problems. Only issues I have with this ROM are missing support for USB-OTG and MTP, but everything else is working like a charm, even better than stock Nougat (okay, audio needs to be improved too, but if you disable AudioFX the static noise isn't as bad as with it enabled, Bluetooth works very well for me).

Keep up the good work Berni and thank you for your efforts to keep this device alive.
[Xperia Z5 Compact Android Development] neutrinobox:
Last night i played around with the "mixer_patch.xml" and "audio_platform_info.xml" because my camcorder records the Audio with much rushing sound and quite Sounds like TV in the background are not recorded.

So i tried different things with the camcoder low, mid and high gains but it dosent works ood for me.

in the mixer_path.xml of my Xperia Z3 i found that the gain offset is much higher than on that rom.

The "Gain offset target for dmic1 unit calibration" is @ 104 on my Z3.

I´ve played around with that.

My friend tell me that my in call Volume now iss much higher an it sound good but with a little echo / hall.

Next year i will continue my work on this.
[Xperia Z5 Compact Android Development] Berni-0815:
This seems to be an general problem with these rom's...
[Xperia Z5 Compact Android Development] joska59:
Don't worry. Thanx a lot for your work, the usage is only my private decision ;)

Joska