yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Berni-0815:
As I said several times in the past, they have stopped to support LineageOS and their repo's are very outdated. It's not possible to easily add their outdated repo's to actual LineageOS's source code. There has been too much changes in this code.

Maybe someone with a lot of programming knowledge would be able to so; but, unfortunately, I can't. Sorry! :(
[Xperia Z5 Compact Android Development] :
Are you able to help sony user 16 with his AEX at least?
[Xperia Z5 Compact Android Development] Berni-0815:
Sorry for very late answer; I've been very busy the last days...

I've compared his device-trees (I hope, I've found the right repos :angel: !) with mine and can't find any significant differences. His kernel is very close to mine; so, I don't see any reason why bluetooth is not working in his rom.

The only markable different thing I've seen is, that he's declaring some things twice; i.e. the files Android.mk and AndroidProducts.mk (in his kitakami base tree) have nearly the same content.

This should be reviewed!
[Xperia Z5 Compact Android Development] Sony user 16:
That's because aex/aosp looks for the AndroidProducts.mk file while lineage looks for the Android.mk file. AndroidProducts.mk is basically a copy. But I am keeping the old Android.mk if something relies on it in the kernel or device trees...
[Xperia Z5 Compact Android Development] Berni-0815:
Yes; I know about that. But isn't it possible that this twice declaring "kills" bluetooth? I really have no other idea... :confused:
[Xperia Z5 Compact Android Development] Sony user 16:
I don't know:confused:, I will try to build without the Android.mk
[Xperia Z5 Compact Android Development] Berni-0815:
Good luck! :good:
[Xperia Z5 Compact Android Development] username one:
My battery is almost four years old. I charge to 80% when the battery is down to 40%, which takes about three days. I use it very sparsely.
[Xperia Z5 Compact Android Development] :
This is like a dream coming true, thanks very much
[Xperia Z5 Compact Android Development] Berni-0815:
I don't want to build two different versions; one with and one without OMS-Support; that's too much hassle.

So, I have to decide what to do.

I don't know if OMS-Support does affect "normal" use of this rom. If not and OMS-Support is working, why not build this rom with OMS-Support in the future?

:confused:
[Xperia Z5 Compact Android Development] :
As far as i know, all three features don't affect regular usage, they can be ignored by users who don't need it.
[Xperia Z5 Compact Android Development] Berni-0815:
Ok. The main question is therefore: Are these things working?
[Xperia Z5 Compact Android Development] :
I'm currently busy and need my phone to be stable, i will test the experimental build and give feedback in a few days (saturday/sunday).

Edit: Meanwhile you can try them out yourself.

Kcal: open kernel adiutor, change colors or saturation. If you notice the colors changing tone then it's working.

Undervolting: if the section for it is present on kernel adiutor, it probably works. You should notice less heat during benchmarks. Or you can go hard mode and just set a very low voltage and see if the phone crashes and reboots...

OMS: just try any free theme that uses it. Maybe try changing accent color with Harmony.
[Xperia Z5 Compact Android Development] Berni-0815:
Ok.

Check! :good:

Check! :good:

Check! :good:
[Xperia Z5 Compact Android Development] Mike3009:
Can this be installed on the z5 premium as well?
[Xperia Z5 Compact Android Development] Berni-0815:
Short answer:

No! This is a build for suzuran (z5 compact) only.

Longer answer:

Since I'm using the same basic code and binaries (blob's) for suzuran and satsuki (z5 premium), it might be possible to install in on a satsuki. But I don't recommend to do so; you might brick your device! Please wait until I've built a version for satsuki and announced it in the satsuki-thread...
[Xperia Z5 Compact Android Development] :
Sony user 16 just added Adreno Idler to his AEX. Maybe you could add that to the next experimental build
[Xperia Z5 Compact Android Development] Berni-0815:
I've seen that!

But I'm not sure if this is a very good idea. I've read about several problems using this in the main thread.

And this is a thing that affects every user. Stability is my main goal.

Hmmmm, I'm very unsure.... :confused:
[Xperia Z5 Compact Android Development] :
i will test the new aex and will report back if it's giving issues.

back when i was using stock rom + green kernel i didn't have issues with it, oneplus devices have this feature on stock rom too and it works flawlessly
[Xperia Z5 Compact Android Development] bbb555:
[MENTION=7749536]Berni-0815[/MENTION], is there no security patch for this month? Or are you holding off on regular builds until you can get the new experimental build verified?
[Xperia Z5 Compact Android Development] Berni-0815:
Lineageos.org is very late this month... :eek:
[Xperia Z5 Compact Android Development] bbb555:
Uh oh :(
[Xperia Z5 Compact Android Development] Berni-0815:
If anyone could tell me how to cherry-pick the changes easily from source.android.com, please let me know... :angel:

It really seems that LineageOS 14.1 is dying and is no longer beeing supported by "official" lineageos.org at github :(
[Xperia Z5 Compact Android Development] yaceq8:
Hey!

I just want to make sure - NFC for payment still doesn't work, yes?
[Xperia Z5 Compact Android Development] Berni-0815:
AFAIK: Yes
[Xperia Z5 Compact Android Development] daniel.duesentrieb:
up and running :)

flashed as update (with NanoDroid pre-installed)

quick-test (camera, BT ,Wifi, ...) shows no problem

Thanks a lot :)

D.D.
[Xperia Z5 Compact Android Development] Totowashere:
Thanks Berni.

Are you planning to add the crypto feature ?

Regards
[Xperia Z5 Compact Android Development] Berni-0815:
What crypto feature?
[Xperia Z5 Compact Android Development] Totowashere:
Hello,

the encryption feature, i'm using this version of TWRP :

https://xdaforums.com/z5-compact/general/twrp-twrp-3-3-0-z5-compact-t3929320

The encryption work but no signal with the device encypted (cell and wifi)
[Xperia Z5 Compact Android Development] Berni-0815:
I don't work on TWRP. I don't know how encryption is realized in TWRP and I therefore can't include this feature in my rom!
[Xperia Z5 Compact Android Development] vajra_naga:
Been using the ROM as a daily driver for almost a month, loving it.

I think Bluetooth AVRCP isn't working though. I've tried clean install, multiple apps, reset network, etc. Didn't work on final official LOS build either, so there's that.

Currently on 2019.09.12.

thanks for your work.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm not sure, what exactly you're meaning. With my BT-Helmset for my motorcycle helmet I can start, stop, step forward and backward the songs in the music player on my z5c.
[Xperia Z5 Compact Android Development] vajra_naga:
Sorry i wasn't clear. Fwd/back, play/pause all work. Track metadata (artist, track album, track length) are not being transmitted. I'm not personally familiar with the methods, but I've read that it should be handled separately by that protocol (ver. 1.3 AVRCP until Oreo, then you can choose versions). It was supported and worked on this model before.
[Xperia Z5 Compact Android Development] Berni-0815:
Is that working only with stock rom? Or with one of my versions too?
[Xperia Z5 Compact Android Development] rudidercoole:
Hi,

My Top Speaker is not working when calling.

When i call somebody i have to switch to the loud speaker to hear the other person.

I wiped the whole phone and reinstalled the bernie rom. It is still the same. On Stock Rom it was working..

Does someone know this issue?
[Xperia Z5 Compact Android Development] Berni-0815:
Let me guess: The speaker is broken. ;)
[Xperia Z5 Compact Android Development] rudidercoole:
Yeah i think thats it.

But i am still hoping that it is a software issue.
[Xperia Z5 Compact Android Development] stereo007:
Hello, everybody,

I'm still thrilled how well the version of you works, [MENTION=7749536]Berni-0815[/MENTION] thanks.

I have a question that might be a bit OT. Are there general apps from the Playstore that have problems running under the rom? There is one app I need but it doesn't want to start. The support says: "You are using a rooted smartphone which has changed your configurations and settings. This can cause APP's to crash, etc. That will probably be the reason why our APP doesn't run properly on your phone."

Can somebody else try this and see if it starts? Also via PM. Sorry if I become OT.

Thanks
[Xperia Z5 Compact Android Development] Berni-0815:
There are several apps that refused to work on rooted devices; especially banking apps! This is a well known issue... :angel:

As a workaround you can deinstall root (described in my 1st post) and install magisk instead. Magisk is able to hide the root status of your device. With that the mulish app should work.

But even with magisk the payment function via nfc is not working with my rom!! For that you have to use stock rom.
[Xperia Z5 Compact Android Development] vajra_naga:
I only flashed your ROM last month, so I can't speak to before that, or the stock as I have been using official LOS for nearly the life of the phone. Last time I used Bluetooth audio was in 2017, and the track data was being sent correctly with (then) current lineage.

Sorry I can't offer more info, it's connecting to a car system (Mazda connect) which I rarely do, so I only noticed it this month. There was one post in this thread mentioning what sounds like the same issue (searching Bluetooth track).

I can't experiment too much since it's my daily phone.
[Xperia Z5 Compact Android Development] uzalu:
Hello there, I'll start by thanking you Berni for continuing to build this ROM.

I have a few problems I wanted to see if anyone else has had. I'm currently using the July version, but these existed on earlier versions too.

1. Bluetooth

often my Bluetooth connection will suddenly cut, then a few seconds later, reconnect. This can happen at any time, but seems to mostly happen shortly after screen-off or when launching a demanding app like Google maps.

while it's cut, media continues to play as if it's still connected, but obviously I can't hear it. just before reconnecting, there's a CPU-usage spike from a process called Bluetooth Share, which is newly launching after being killed - that seems to be why the audio cuts out.

testing I did a few months ago seemed to demonstrate that this problem only existed while I was using zram. I recently found it also happens when using a swap file, even without zram. Is anyone else using either of these without problems?

2. Camera

there's a delay between pressing the shutter and the photo being taken, during which time the photo will be blurred if the camera moves. there's also a delay activating the camera in the first place. both delays can vary from 1 second up to several seconds.

I assume this problem is either due to my lack of TA partition (I didn't back up while unlocking the rom, won't make that mistake on my next phone), or just the fact that this isn't the stock rom/camera app. however, if I'm wrong and there is a way to fix it, I'll be glad I asked.

3. Performance

mostly OK, but I find that the default CPU settings are not fast enough to smoothly scroll some apps, eg. twitter or the play store. to solve this, I use the CPU touch-boost increasing the frequencies up to maximum, and an otherwise battery-friendly Governor profile. probably an extreme measure but it's the only reliable method I've found.

FYI this does (from vague memory of how it was before) cause noticeable battery drain while I'm using the phone, but I consider smooth scrolling necessary. I haven't got around to building my own Governor profile based on some guides on XDA, so maybe that would help.

is this consistent with the performance on other people's devices? I saw someone saying they get 2 days life with regular use, I probably get most of one day. I'm using a recently-purchased battery and only charge up to 80%.

-

I'm also curious if anyone has any luck with microG? I installed it a while ago, everything reported as working correctly but several things didn't work, especially location, as I recall.

My primary concern is the Bluetooth problem.

thanks to anyone who can help with any of these, even just to say you don't have the same problem.
[Xperia Z5 Compact Android Development] bobbux:
Thank you for keeping this device alive !
[Xperia Z5 Compact Android Development] imska:
unfortunately, I also have that issue with the sim card. It is recognized because I have to enter my pin upon boot, but after unlocking the sim, there is no signal.
[Xperia Z5 Compact Android Development] ahlis_se:
No mobile network

Hi there,

first of. Big thanks keeping this alive especially the Z5c as this is also a phone I use a lot.

I have installed the image in the first post after some issues wiping cache but after a failed install ending up in a boot loop I managed to format the unaccessible partitions going via ext2 and back to ext4 and now I could wipe it.

after this the installation completed without error.

to my happiness almost everything is fine now my Motorola 360 watch have connect although it required many attempts before it succeeded and also MHL + BT is confirmed and working with a JVC KW-V51BT - awesome stuff!

as always something will need additional attention.

my mobil network data have only worked once fiddling around with the preinstalled browser, firefox and chrome. no clue if it had any impact. sometimes I can receive whatsapp messages even if it says "no data connectivity" (the little read x)

I have restarted, reset mobile network settings and still no luck

Phone calls work.

I would like to check if a "clean install" is the same as wiping cache and dalvik or is it something else that should be wiped to do a clean install ?

again thanks for putting in the effort. If I can learn how to get logs from it Id be happy to provide it.

:update:

after some more poking around, it seems that the image have some problems setting up mobile APN settings correct and this can be the issue that some of us will have issues with mobile network connectivity.

My recommendation for those with issues is to google your providers name and "APN" settings, these settings are usually automatic but if they fail you will not get mobile network.

brg

ahlis
[Xperia Z5 Compact Android Development] Berni-0815:
A so called "clean install" is with wiping /data (without internal memory) to be proceeded by TWRP.

Warning:

By wiping /data you will loose every app data/settings and you have to reinstall every app!

But sometimes this is the only way that will help you to get a normal working device... :angel:

Yeah! That is in fact the way to get rid of it...
[Xperia Z5 Compact Android Development] Berni-0815:
How can I do that?

Just tested this. You can setup a new APN and switch to him. Phone calls are working. But I don't know if it's really volte...
[Xperia Z5 Compact Android Development] blue-spiderfire:
Could this be all what we need to set up a new APN? https://www.telekom.de/hilfe/mobilf...n-mobilfunk/wie-lauten-die-apn-fuer-mobilfunk.

go to settings -> wireless/network -> mobile network -> access points (APN) and just add a new APN with ^ this cofiguration

My provider is t-mobile, too. Can't test it now, everyone is sleeping.
[Xperia Z5 Compact Android Development] Berni-0815:
New version (see first post)
[Xperia Z5 Compact Android Development] giosal:
I have installed this build and I like everything so far.

Except only problem - I can't change the network. I live close to border and work on the other side of the border, hence when I was today at work, the phone registered into roaming network. Now I'm trying to search for networks, and to choose my home network, but the phone only says can't connect and goes back to roaming network.

What can be the problem?

I have also tried to register to other roaming networks, it doesn't work either.

Thanks
[Xperia Z5 Compact Android Development] Berni-0815:
This has been discussed in the last pages of this thread. I don't know if the problem is solved or not. Seems that this is a general problem of actual LOS'es... :(
[Xperia Z5 Compact Android Development] Berni-0815:
On my device this setting is reverted at every boot... :(

So, this it not useful for me!
[Xperia Z5 Compact Android Development] xenondroid:
[MENTION=7749536]Berni-0815[/MENTION] do you (plan to) submit your changes to official build repo? Everyone can benefit from features like VoLTE.
[Xperia Z5 Compact Android Development] Berni-0815:
See my post #23 ... ;)

VoLTE is not fully working or tested...
[Xperia Z5 Compact Android Development] torrentu:
it is possible to upgrade from the official version to your version

bypass over "Can't install this package on top of incompatible data. Please try another package or run a factory reset")?
[Xperia Z5 Compact Android Development] Berni-0815:
No. You have to delete /data before, as you can see:

I'm sorry...
[Xperia Z5 Compact Android Development] Berni-0815:
New version (see first post) and switched to weeklies. That means, that I'll publish a new version every week; mondays, if possible. No new version when I'm on vacation or my computer is broken or the world's on their end or something like that. :angel:

No announcement about new versions to keep this thread a little cleaner. Just check first post from time to time... ;)

Tnx!
[Xperia Z5 Compact Android Development] eng3:
Thanks, however it would be nice if you could announce what has changed in each build. Specifically what you have changed versus the official changes.
[Xperia Z5 Compact Android Development] Berni-0815:
That's not very easy, because some if my changes are present since a number of versions and are still not merged into the official builds. :(

And in some builds there is absolutely nothing changed by me! Then I'm only building this stuff weekly.

All of the things that are not changed by me are listed in the changelog.

This is listed in my first post under Important informations...

If I added some new things, they are marked as new.
[Xperia Z5 Compact Android Development] Root97:
(Calls) volume on Bluetooth headset is really low.

Is there a way to boost it a bit ?

Music volume is okay
[Xperia Z5 Compact Android Development] Berni-0815:
Speaker or microfon? I assume speaker....

In this post you can see what has been changed and how it can be changed on the fly.

If I knew what has to be changed for increasing bluetooth volume I'll set it ;)
[Xperia Z5 Compact Android Development] eng3:
That works, I can just look there for what is marked as "new".

I think it is important to show what the differences are because the most common question you will get in this thread is how your build is different than official.
[Xperia Z5 Compact Android Development] Berni-0815:
I've changed my first post. Do you think it's ok now? :fingers-crossed:
[Xperia Z5 Compact Android Development] Nanook_rf:
Speaker sound

Hi Berni,

thanks for the good work first of all.

Is it possible to increase volume steps even more than 15? Especially when I am talking to someone (normally and not by headset) the Speaker sound is still loud enough that people around me can hear it as well. That is not good. I know you already changed it from 7 to 15 but it seems it needs to be more flexible.
[Xperia Z5 Compact Android Development] Berni-0815:
In my eyes this is not a good idea!

Better change the maximum volume level in the file mixer_paths.xml. Here you can see how to do this and I think, you should decrease the value of "RX1 Digital Volume" in line 1990 and 2033. Try 76...
[Xperia Z5 Compact Android Development] joska59:
Hello Berni

As you said in the android-hilfe-forum, sometimes the connection is lost, while using LOS, using the Stock-ROM, this problem was absent. Is it a LOS-problem of the whole LOS-develepment, or of the suzuran-fork. Do you have any idea, to decrease this?

Best regards, Joska
[Xperia Z5 Compact Android Development] ahlis_se:
I see, then in my case I did a clean install but mobile network settings failed to set. I am using Swedish provider telia. Is there anything you would like extracted from the phone?
[Xperia Z5 Compact Android Development] Berni-0815:
I really don't know how to set all network apn data all over the world... :angel:
[Xperia Z5 Compact Android Development] Smikros:
Remove Encryption & Battery Management

Berni, thanks a lot for maintaining and providing your builds. :) I am currently preparing a freshly bought and used Z5C as replacement for my old Z5C, which battery is at end of life. For the old one I took the official build and I am glad to have your alternative and updated ROM for the new device now. Thank you very, very much for your work. :good:

Remove Encryption

I want to use the device encryption and know, that it is not possible to access encrypted data with TWRP. Therefore I want to set the device completely up with all required apps, configuration and so on before running the encryption process. Finally I intend to make a TWRP backup from the non-encrypted smartphone, so that I can restore the device to this snapshot later if required. After that I am planning to encrypt the device.

Now I am asking myself, whether there are problems to restore the non-encrypted backup on the encrypted device, as TWRP cannot access every partition or area. I think that I have to wipe several areas of the device before doing the restore, but do I have to expect any problems thereby and which sections have to be wiped? Of course I know every data in the phone will get lost.

Battery Management

My old Z5C was also a used device and to be honest I am not really happy with the lifetime of the battery. Of course I don't know, how intensive the use of the device was by the previous owner, although he said, that it was only a temporarily used replacement device. Nevertheless it would be interesting to know, whether the battery management (in view of device lifetime) of Lineage is better, equal or worse comparing to the official Sony Z5C ROM. At the end I'd like to know if you think, that the lifetime can be increased using one of the multiple battery apps.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry to say that I can't help you in any of your questions regarding encryption, since I don't use it.

The battery management is another weird thing. My device lives very long, others are reporting a worse battery life. My latest build has voltage control. Maybe you can set the device to lower voltages to increase the battery life?
[Xperia Z5 Compact Android Development] MixEcoSystem:
I would just like to say thank you Berni and all the others who continue to support this phone. I understand that making custom ROMs is not easy, but it still feels unfortunate that this phone is practically stuck on Nougat. As far as I can see this is the only ROM for this phone still being updated and is daily driver-able.

Since I will no longer daily drive this phone, may I ask what makes this phone hard to develop for?
[Xperia Z5 Compact Android Development] Berni-0815:
The closed source drivers originally made by qualcomm! I cannot manage them to work with newer roms like oreo or pie.

Maybe someone can disassamble or patch them; I can't. I'm sorry... :(
[Xperia Z5 Compact Android Development] realramnit:
Thank you Bernie!

Hey Bernie,

I registered only to thank you for the effort you have put in over the years to keep this lovely device alive. Thanks to you I am able to use a Google free device with cutting edge sec patches! Is there any way to support and your work here? Do you have a PayPal.me-Link or anything similar?
[Xperia Z5 Compact Android Development] Berni-0815:
No. I'm doing this just for fun... ;)
[Xperia Z5 Compact Android Development] Berni-0815:
2019-Christmas Eve version out; see 1st post
[Xperia Z5 Compact Android Development] snorlex:
Hey,

In this version, on my device, sensors are not working,
[Xperia Z5 Compact Android Development] Berni-0815:
Which sensors are not working? Tested with which app?

A little bit more information would be helpful... ;)