yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] roohooo:
Probably two stupid questions, but:

How do I check "advanced" phone status with LOS17.1 like with the service menu of the stock ROM? For example rooting/unlock status, security config, etc.?

Does installing LOS17.1 replace the stock modem software in any case? How do I check what modem is currently being used?

Thanks!

r.
[Xperia Z5 Compact Android Development] Berni-0815:
1. There is a menu *#*#info#*#* but this does not fit all of your needs.

2. I'm not sure. In fact, I really don't know.
[Xperia Z5 Compact Android Development] roohooo:
Thanks, I had already tried the info but as you suspected this does not give me all the info I'm looking for.
[Xperia Z5 Compact Android Development] roohooo:
A quick update on this one: the issue does not occur when the phone is configured to GSM only. Data transfer via Edge is working...well...'nicely' and I don't have any issues connecting. Meanwhile I suspect the main antenna may have taken a hit during a recent fall of the phone. I'll try to replace it when I find the time and report back.
[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] petefoth:
I have just made an up-to-date unofficial LineageOS for Microg build for suzuran based on Berni's ROM. Available in this folder on AndroidFileHost

https://www.androidfilehost.com/?w=files&flid=322410

If you are clean flashing, checkout the Post-install section of the LineageOS for Microg front page

This build should dirty flash OK over earlier versions of LineageOS for Microg , and a quick test indicates it works OK over a non-Microg installation too.

Probably a good idea to backup your current setup before flashing it 🙂
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 January 2022
[Xperia Z5 Compact Android Development] Berni-0815:
Is the source code for the necessary changes available?
[Xperia Z5 Compact Android Development] petefoth:
Not sure what you mean. I built with the lineage4microg Docker file, and a manifest pointing to your repos. So I guess it will have the latest code from LOS and from you at the date I built it
[Xperia Z5 Compact Android Development] Berni-0815:
Since I'm not using docker and I'm not willing to use it, I like to know which changes are necessary for building a microG compatible ROM.

I know about this site, but I'm not sure if my work meets the requirements.
[Xperia Z5 Compact Android Development] Ermann123:
Berni, my latest ROM installatiion experience was rather smooth, with just installing Magisk -> Riru Module + Riru LSPosed (former Xposed) -> FakeGapps and then MicroG Installer Revived from Magisk. (the necessary signature spoofing was running fine from the beginning).
[Xperia Z5 Compact Android Development] Ermann123:
P.S. I was doing this on 18.1 now, but earlier before the same with 17.1 :)
[Xperia Z5 Compact Android Development] Berni-0815:
Yes! I've somehow forgotten that signature spoofing is already included.

I've installed microG from their website successfully on my 19.0 build and it seems to work flawlessly; without any additional tools.
[Xperia Z5 Compact Android Development] petefoth:
No changes are required: it's a standard LineageOS build ,except

- Signature spoofing is implemented, set to 'restricted', so only apps that are part of the ROM can spoof

- The components from this repository included as pre-installed `system` apps.

And Docker isn't necessary. I build with a script (based on the /e/ OS dockerfile) adapted to build Lineage0S as well as / instead of /e/OS. That isn't necessary: you can just build however you normally build LineageOS, so long as you include the necessary additions in your manifests and build varaibles
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 February 2022
[Xperia Z5 Compact Android Development] benh77:
For those of you that have issues with Bluetooth dropping continuously, I've found a solution. So far only tested with media player, but assume it will work for calls etc too. I needed to do this action once for each BT device, but then as I reconnect to the devices they are staying stable..

Settings > Developer Options > Bluethooth Audio Codec >> change to Use System Selection (Default)

In my case, the setting was AAC both before and after making the change, but resetting has clearly made a difference.
[Xperia Z5 Compact Android Development] benh77:
Well after a few weeks, I can see that the above isn't working perfectly. I get more stability, but the bluetooth still drop its "Active" status. Seems to happen sometimes randomly, and sometimes when I move the phone (as if there is some kind of motion trigger?). It sometimes improves after doing the steps above, usually improves after charging and sometimes after a restart.

Is anyone else experiencing this? I love listening to music and the issues is frustrating. Not sure if it's just my phone.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

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

Android security patch level: 5 April 2022
[Xperia Z5 Compact Android Development] enorrmann:
I'm having some issues with whatsapp audios, when sending, no audio is recorded (all privileges granted), when listening to audios, audio always sounds through external speaker, even close to my head
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 May 2022
[Xperia Z5 Compact Android Development] ruicunh79:
Anyone from Portugal has been able to work with bank app "activobank" with this rom. Tought it was a magisk problem, mas even after uninstalling magisk cant get the app to work. Perphaps a unlocked bootloader issue?

Other than that, great rom, thanks to the developer
[Xperia Z5 Compact Android Development] Berni-0815:
Some banking apps are complaining about an unlocked bootloader, yes.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 June 2022
[Xperia Z5 Compact Android Development] alemaoao:
Someone tried flash this rom on SO-02H ?
[Xperia Z5 Compact Android Development] norabitox:
I unlocked the boot loader and tried it, but it didn't succeed.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 July 2022

LiveDisplay - Picture adjustment re-implemented (hopefully it works now!)
[Xperia Z5 Compact Android Development] laakssim:
I am trying to downgrade from 18 to 17.1 beacause of video and microphone issues in 18. But I just can't get the newest 17.1 to work. I install with TWRP 3.6.2 (Berni's self build), and before installing I wipe caches and data. I have tried installin just the 17.1 or with gapps (no difference). When first loading the Andoid it reboots to TWRP when I should select language etc. with message "Factory data reset, Restarting...". Any suggestions what could be the problem?
[Xperia Z5 Compact Android Development] petefoth:
I think you may need to format the data partition in TWRP rather than just wipe it. I switch between android versions quite frequently on some of my devices (when testing different ROMs), and if I don't format data, then I see the symptoms you describe
[Xperia Z5 Compact Android Development] laakssim:
Thanks! Formatting the data partition solved the problem.
[Xperia Z5 Compact Android Development] Berni-0815:
Really? I've never formatted /data! I'm always wiping it in "Advanced wipe"...

That works every time.

If it helps? Why not formatting it??
[Xperia Z5 Compact Android Development] laakssim:
At least for this time it really helped.

But too bad the downgrade to 17.1 did not solve the low microphone gain problem. The other participant can still just barely hear my voice on whatsapp and messenger video calls.
[Xperia Z5 Compact Android Development] Ryu--X:
Mms too !
[Xperia Z5 Compact Android Development] Berni-0815:
Very good! :good:

Next big thing is memory. The device freezes too fast and I have problems with OpenGApps. I can neither flash the rom and OpenGApps together nor the rom first and OpenGApps after full install. Everytime the device freezes down to zero... :eek:

Next version is on the way; stay tuned...
[Xperia Z5 Compact Android Development] YamiYukiSenpai:
I just saw this today, and the latest version freezes constantly. Since I don't use my Z5C other than a multimedia device, like an iPod, which version is "most stable"?
[Xperia Z5 Compact Android Development] Berni-0815:
Unfortunately none of them. I'm sorry... :crying:
[Xperia Z5 Compact Android Development] tiptel170:
Is for me the same question. Looks fine, but after a while it turns slow.
[Xperia Z5 Compact Android Development] biokomiker:
Thanks for the progress you are making with our beloved ZX5c. But it is my primary device - I would need a nearly fully working ROM.

Thumbs up!

Is currently LOS 14.1 an alternative?
[Xperia Z5 Compact Android Development] Berni-0815:
The only one, yes.
[Xperia Z5 Compact Android Development] :
Kernel update would fix camera and improve memory management

I'm confused why you are not compiling a newer kernel and providing it with software/os binaries for 10/17.1. Kernel 4.10 is compatible with the 810 so I believe 4.14 is as well. This would more than likely resolve a number of issues with the hardware currently running 10/17.1. Is it possible for you to include an updated kernel?
[Xperia Z5 Compact Android Development] biokomiker:
Thanks, I will give a try on the weekend. One more issue. Rooting: Can I still use my banking apps?
[Xperia Z5 Compact Android Development] Berni-0815:
No! I'm not a kernel developer.
[Xperia Z5 Compact Android Development] Berni-0815:
One says yes, another no.

Will say, there is no guarantee...
[Xperia Z5 Compact Android Development] Nai PKU:
help me, I've got this error
[Xperia Z5 Compact Android Development] DevelLevel:
Looks like you are using the wrong device or the device identification got wrong. It says you are running on a E3004 . Have you fully wiped your phone? (Obviously you are going to lose your data). You could also try another twrp version. You could also try using an older version of lineage 17.

I saw someone else with this issue on lineage 15 unofficial for Xperia z/yuga
[Xperia Z5 Compact Android Development] Nai PKU:
suprise !!! I'm using z5 compact, but how was it detect as E3004
[Xperia Z5 Compact Android Development] DevelLevel:
Yea I thought you were using the right device.

But I have no idea what went wrong...

I can confirm that the 2020-02-23 version was working for me. And I were using twrp 3.2.1:)
[Xperia Z5 Compact Android Development] Berni-0815:
Wrong version of TWRP!
[Xperia Z5 Compact Android Development] Berni-0815:
That's the number of the error message...
[Xperia Z5 Compact Android Development] Nai PKU:
yep, maybe, TWRP alway show at ver 3.0.2, althought I've downloaded all file from Google drive, can you upload right verion TWRP 3.2.1 for me ?
[Xperia Z5 Compact Android Development] Berni-0815:
No! Not "maybe"; that's a fact! ROM's newer than lineageos 14 needs newer versions of TWRP!

Please take a look at my 1st post
[Xperia Z5 Compact Android Development] DevelLevel:
You learn new things every day.

Thx :)
[Xperia Z5 Compact Android Development] Berni-0815:
Issues with whatsapp audio is well known and not my business. Whatsapp seems to use another audio driver or codec. Please contact whatsapp for further help.

Audio is working flawlessly in the ROM itself and that is what I'm responsible for.

Third party apps are not part of my responsibility. I don't have the time and energy to fix every possible error in third party apps.

Please respect this. ;)
[Xperia Z5 Compact Android Development] ECeternalcat:
Is that possiable to use full pixels in this rom?
[Xperia Z5 Compact Android Development] laakssim:
Sorry to still bother about the mic volume thing, but seems that it is low on every app (tried at least four). And it occurs in video calls where you're supposed to speak further away from the phone. On voice calls with the phone on your ear there's no problem.

Could it still be some issue on these ROMs? On the OEM Sony Android 7 ROM this problem did not occur.
[Xperia Z5 Compact Android Development] Berni-0815:
The audio stuff is very complicated. I've tried a lot of things and there is no way to meet all needs.

Feel free to "play with" the file "/system/vendor/etc/mixer_paths.xml". That's the file where all audio settings are defined.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 August 2022
[Xperia Z5 Compact Android Development] MatthiasHGW:
This is admittedly a bit off topic, but I am running out of ideas:

During long distance bike rides, I used to charge my Z5C using my bike's dynamo hub via a special circuit (www.forumslader.de). This has worked flawlessly for years, and I had no problems keeping the phone's battery completely charged. This year, the charger barely manages to prevent the battery from discharging, while OsmAnd is running with the screen switched off except for turning instructions; to save power, I always have the phone switched to airplane mode. The phone is very slowly charged when I keep the screen turned completely off for hours, which is not useful, as I need Osmand for navigation.

I have measured voltages from the charger, which are in the normal range, the phone's battery is in good shape, and I have not had any

issues with the battery's endurance.

It just occurred to me that the only change to last year is an upgrade to LineageOS 17.1 (coming from 15, if I remember correctly). I installed Advanced Charging Controller (ACCA), trying to limit the maximum charging current to various levels under the asumption that fast charge mode would request to much power from the dynamo, but to no avail.

Tomorrow is going to be my last day with internet access, so I cannot risk any major updates or flash a new ROM, but I was hoping that people might suggest any tweaks or settings I could try with the existing ROM, or maybe Berni would know if there are any changes to charge management in comparison to older ROMs.

Thank you - Matthias
[Xperia Z5 Compact Android Development] Berni-0815:
Yes. There have been many changes in the kernel regarding charge management.

But unfortunately I can't say if they may produce such side effects.
[Xperia Z5 Compact Android Development] laakssim:
This ROM has been quite stable, but recently I've seen (maybe 3 times) it to reboot quite soon after startup. This morning I started the phone and about 10 minutes after (07:42) it restarted. Seems that it's not a full restart as you don't need to enter SIM PIN again after it occurs.

Anyway, here's the LOG. I'd appreciate if Berni you could take a look.
[Xperia Z5 Compact Android Development] Berni-0815:
I found this:

--------- beginning of crash
08-31 07:43:18.435 1085 4866 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x3739352f363266 in tid 4866 (Binder:1085_16), pid 1085 (system_server)
08-31 07:43:29.376 1085 1137 I ActivityManager: Start proc 12921:com.instagram.android/u0a168 for broadcast {com.instagram.android/com.instagram.analytics.uploadscheduler.AnalyticsUploadAlarmReceiver}

Once again this f*** Instagram.
[Xperia Z5 Compact Android Development] laakssim:
Well, what else could it have been :D Thanks for checking.
[Xperia Z5 Compact Android Development] Berni-0815:
But I can't see any reason why Instagram crashes the system... Really weird!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 September 2022
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry to say that; but I've decided to not longer maintain this version of my ROM!

Los18 and los19 are working stable enough and los20 is coming up sooner ot later.

Subconsequently there is no need to maintain this version any longer...
[Xperia Z5 Compact Android Development] TrulloF:
Noooo. LOS 17.1 runs perfect in my Z5C! LOS 19 is sluggish as hell compared to that. I unterstand, that it's a lot of effort to maintain these ROMs, but please reconsider.
[Xperia Z5 Compact Android Development] Berni-0815:
There is no progress in development and there is no new source code added since a lot of time.

You can use los17 as long as you like to use it because there is no "best before" date.

PS: Los18 is nearly in the same stability state as los17.
[Xperia Z5 Compact Android Development] TrulloF:
Ok, then I'll try LOS 18. Thank you for your efforts to keep this great little phone alive. Mine is pretty beat up but still kicking.
[Xperia Z5 Compact Android Development] TrulloF:
I'm positively surprised about LOS 18. It runs pretty snappy compared to 19. Seems I I'll stick to that now. Thanks again for your work Berni.
[Xperia Z5 Compact Android Development] Sikz_1218:
Hi Bernie,can you update Android security patch for this LineageOS 17.1 ？I think this is the smoothest system, so I don't want to update to 18.1
[Xperia Z5 Compact Android Development] Berni-0815:
No, I can't and I won't, because the LineageOS team has dropped every effort for ROM's older then los18.1.

The latest Android security patch level is from february 2023. We currently have july 2023.

That means in short words, los17.1 and older are quite dead!
[Xperia Z5 Compact Android Development] Berni-0815:
Since my last version is from September 2022 and the Android security patch level is from February 2023, I decided to create what will probably be the final version of this ROM; see the first post.

Android security patch level: 5 February 2023
[Xperia Z5 Compact Android Development] ghonen:
Hi Berni, sorry for bothering, i know you said you likely won't work on the ROM anymore, but i still wanted to ask.. Is it possible, just in theory, to backport changes to the camera from Lineage 19.1 to 17.1(this ROM)? On 19 the entire system is quite slow (not a surprise given the device's age) but the camera works fine. On 17 it's the opposite, the camera is quite broken and laggy but the system runs fast and stable... To have the snappiness of 17.1 with the camera version of 19.1 would be the perfect system.

I'm not asking for support or for you to do it, i know the camera is very problematic on custom ROMs on this device... I just want to hear your opinion if you think it is possible, that's all. Thanks in advance
[Xperia Z5 Compact Android Development] Berni-0815:
We're using different ways to "trigger" the camera HAL's. That has been a lot of work and unfortunately there is no way to change between these ways.

I'm sorry for that.

Try my los18.1 ROM.
[Xperia Z5 Compact Android Development] Smndora:
Is there going to be an update or improvement to this rom anytime soon before I install this one?
[Xperia Z5 Compact Android Development] Berni-0815:
I'm working on an update. But unfortunalety the last build is not booting. Please be patient.

And, please, don't use full-quotes!
[Xperia Z5 Compact Android Development] Smndora:
I'm still new here so I'm still having challenges with the reply system.
[Xperia Z5 Compact Android Development] :
You can try to bypass this error by deleting the first two lines of the updater-script file found inside the zip file.
[Xperia Z5 Compact Android Development] Smndora:
Currently I'm using LineageOS 14.1 rom and the phone could no longer play current games and I thought it was because of the processor so I uninstalled all heavy games. The phone was also facing difficulties with multitasking even when using small apps it would close other apps. I then found out that its possible to use internal storage as ram so i tried it and all the challenges with multitasking were fixed and the phone became fast again. I then tried installing back the heavy games I had uninstalled before and now they are running nicely. So it seems the challenge with this phone is the ram otherwise the processor can still hold its own.

I'm going to try out your latest rom and try to use internal storage as ram and update you on all that i can find.
[Xperia Z5 Compact Android Development] Berni-0815:
Unfortunately I'm not able to build a working rom atm. It always stucks at the bootanimation. Don't know what I've messed up... :eek:

I deleted the whole stuff, resynced it and started a clean build now. Tomorrow we will see... :fingers-crossed:
[Xperia Z5 Compact Android Development] Berni-0815:
Could you please tell me how?
[Xperia Z5 Compact Android Development] Smndora:
There is an app called ROEHSOFT RAM-EXPANDER (SWAP) its the one I used to use internal storage as ram and it needs a rooted phone. You can use either internal storage or a sd card but my sd card is slow so I used internal storage which is faster.
[Xperia Z5 Compact Android Development] Nai PKU:
it's work, thanks
[Xperia Z5 Compact Android Development] Smndora:
Are there any ram usage improvements?
[Xperia Z5 Compact Android Development] Berni-0815:
Only a few. System still uses about 1,5GB of ram and slows down when using GApps.

Not usable as daily driver.
[Xperia Z5 Compact Android Development] Smndora:
I tried it using internal storage as ram with pico gapps installed and it still had ram issues.
[Xperia Z5 Compact Android Development] monoschwarz:
hi berni

works in this Version screen mirroring and otg USB

and thanks for your works with z5c

Beim RAM Probleme hilft euch dass evtl weiter

For your RAM Problem https://www.android-hilfe.de/forum/...lagerungsdatei-swap-nutzen.261067-page-6.html

It is for andriod 2.xx but is the same Problem i think

to this time i juse lineage OS 14.1

the mirroring works not
[Xperia Z5 Compact Android Development] Berni-0815:
I don't know.

I don't want to use any 3rd party app for using swap. This must be solved internally by the rom itself
[Xperia Z5 Compact Android Development] Smndora:
The Xperia Z3 Compact also has a LineageOS 17.1 rom. I don't know if its facing the same ram challenges.
[Xperia Z5 Compact Android Development] Berni-0815:
I already wrote it some time ago: You can't compare a device with another technical background with our kitakami-based devices.

For sure we took many looks at these devices and we port whatever we can.
[Xperia Z5 Compact Android Development] Nai PKU:
I've got error "Digest verfication failed" when install 13/04 version
[Xperia Z5 Compact Android Development] Berni-0815:
The you should copy the files again. The md5 file has the correct value. Otherwise no one could install it.
[Xperia Z5 Compact Android Development] tiptel170:
The Trebuchet is crashing, I have to use the Pixel Launcher.

Edit: And the reaction is very slowly. And on the backside of the phone it will very warm and consumed a lot of battery. This was not in the version 15. And it has to restart again for working. Works for an short time well, and then will be becomes very slowly.

And the wizard for the first time to prepare the phone is very slow and will not finish the process. Restart again, and the wizard starts again.

Keyboard is the same very slow and crashed.
[Xperia Z5 Compact Android Development] Berni-0815:
I know this all. We're working on it.

But which wizard is not finishing it's work? I've seen this behaviour only if I flashed any GApps.
[Xperia Z5 Compact Android Development] tiptel170:
The wizard from the Lineage and GAPPs dos not work well, but the LA turns the Z5C very slow.

---------- Post added at 10:31 PM ---------- Previous post was at 10:25 PM ----------

I like the LA17, but with the problems, I have to use the 15.1 the version from 2020-04-04 but the camera app will not works. I know it you work on it, I respect your work and your time you spend on it. n these prev. version the cpu turns not hot on the phone.
[Xperia Z5 Compact Android Development] UIxDess:
Good Day! I saw you did a great job for such an old device. I am the developer for my main phone (Xiaomi Mi 8 SE) and the second phone is z5c. May you provide me logs for camera crashing and other troubles. Full logs+dmesg. I may try to solve the problems.

Thanks!