yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] android666:
I installed latest 2022/03/14, update went well, together with magisk,

then I tried to activate battery saving and since this saving, I'm not able to even turn on my phone (tried power vol-up), no reaction to anything. I guess, I have to open my phone and disconnect/connect battery :-(

at this moment, I have no idea what happened, battery/phone is cold, like off, but I'm not able to turn it on :)

day after: connecting to PC (with drivers) with vol+up gives blue light for a while - so i can fix it; now also battery started charging. so no idea what the hell it was :)

it looks to be some hw problem, red led started flashing 4 times. I'm not sure if it's battery, LCD (even if it looks good) or another circuit related :-)
[Xperia Z5 Compact Android Development] 1ggn3:
Huh. Works just fine for me. I've turned on battery saver, turned off the screen, ran a few apps and so on, everything looks normal. Really weird.
[Xperia Z5 Compact Android Development] grisu59964:
I currently have the problem that there is no audio for incoming phone calls. Outgoing calls are working fine.

The problem was there in November's version and still is in the current from March. I deleted the phone app's memory, installed another dialer, disabled and enabled 4G phone calls.

I can't hear the person that is calling and they can't hear me. But, as I said, only for incoming calls.

I saw some users in November like @cdannebe who also had issues like that. Is there a solution?
[Xperia Z5 Compact Android Development] Berni-0815:
I've never noticed such issues.
[Xperia Z5 Compact Android Development] grisu59964:
Obviously having too much time on vacation, I played around with the device.

When I downgraded to your LineageOS 17.1, outgoing calls worked flawlessly. Upgrading back to 18.1, calls were broken again. I now leave the device on LineageOS 17.1 as it's not my own and a working device is required.
[Xperia Z5 Compact Android Development] Berni-0815:
Tested it today with a fresh clean install of my own LineageOS 18.1 from march 2022.

In- and outgoing calls are working flawlessly, as expected.

Dunno what's wrong with your device.

If you like to have any further help, I need informations as described in my 1st post in section "Troubleshooting"

Without these informations I'm not able and willing to help with any issues that I can't reproduce. Please respect this.
[Xperia Z5 Compact Android Development] algarues:
Has it ever been tried to run one of the various gcam mods on Lineage os for Z5 compact?

Is there any version known to work?
[Xperia Z5 Compact Android Development] Berni-0815:
Please, use the search function before you ask any question: Klick
[Xperia Z5 Compact Android Development] enorrmann:
the camera app and also opencamera app report a max resolution of 8MP, is that ok ?
[Xperia Z5 Compact Android Development] enorrmann:
reply to myself, this is already answered here

https://xdaforums.com/t/rom-unofficial-11-r-lineageos-18-1-for-z5c-suzuran.4205135/post-84151065
[Xperia Z5 Compact Android Development] bvlgvr:
How do this version LineageOS 18.1 and the previous version (LineageOS 17.1) compare with respect to performance, battery drain, memory usage ... any opinions on this?

I've read the whole thread and collected some relevant quotes below. They're somewhat conflicting.

#5

---

#10

---

#173

---

#219

---

#480

---

#679

---

#845
[Xperia Z5 Compact Android Development] bvlgvr:
Do I understand this correctly?

In order to get signature spoofing in 18.1 (to be able to install microG) I must:

first flash 17.1 and activate signature spoofing

then (dirty) flash 18.1 so signature spoofing will be carried over to 18.1

Right?
[Xperia Z5 Compact Android Development] litelinux:
Hi,

First of all, welcome onto the boat! Hope you enjoy your stay :)

The ROM was under active development and optimization, so older comments do not reflect the current state of the ROMs. Currently both the 17.1 and 18.1 ROMs are very stable and smooth.

As for the spoofing I forgot the exact procedure I did then, but as of now I believe you can flash a package from MinMicroG[1] and call it a day. Everything works after flashing (presumably).

BTW my Z5C completely died so I can't do any testing, sorry for that :-/

Cheers,

ltlnx

[1]: https://github.com/friendlyneighborhoodshane/minmicrog
[Xperia Z5 Compact Android Development] Berni-0815:
Signature spoofing (It is required for installing microG, if you're planning to use microG) is part of my ROM's. You only need to flash the ROM you want to use.

The only prerequisite may be that you're coming from the latest Sony stock ROM (32.4.A.1.54). Without that some required stuff (baseband, modem, partitions) may not be present.

If you're planning to use GApps instead (they can't coexist!), you should flash a GApps package of your choice after fully installing the ROM.
[Xperia Z5 Compact Android Development] Ermann123:
You can also just install FakeGapps (Whew version) from github as LSPosed Module and activate it for MicroG and all other apps, which normally need gapps installed.
[Xperia Z5 Compact Android Development] Berni-0815:
FakeGapps seems to be quite old...

I'm using the Services Core (gms), Services Framework Proxy (gsf), FakeStore and the DroidGuard Helper from here.
[Xperia Z5 Compact Android Development] Ermann123:
GitHub - whew-inc/FakeGApps: Signature spoofing for MicroG as an Xposed module

Signature spoofing for MicroG as an Xposed module. Contribute to whew-inc/FakeGApps development by creating an account on GitHub.

github.com

(not so old)

also works with other Roms, which do not support sig spoofing from start.
[Xperia Z5 Compact Android Development] Berni-0815:
Oumph! The latest mentioned Android version is 5.0! That's what I'm calling quite old... ;)

Edit:

I've just seen that he simply doesn't update the file Readme.md...

And, sorry, but I can't see any benefit in comparison with my way (gms, gsf, FakeStore and DroidGuard Helper; see my post above).

Nevertheless: Everyone should do what he wants to do...
[Xperia Z5 Compact Android Development] ardaxad:
is VoLTE working in the latest version?
[Xperia Z5 Compact Android Development] beggar23:
I just revived my dear suzeran, for a later handover to my mother. Anyway, I am surprised that somebody is keeping dev things alive here, fantastic job, @Berni-0815!!!

So I wiped everything (old 14.1 setup) and installed the 18.1 LOS and it runs smoothly, brilliant! One thing though, the preview in the camera is not working, it is just black, but I can take pictures. Any hints what to do with the non working cam preview?
[Xperia Z5 Compact Android Development] Berni-0815:
Camera preview is working flawlessly here.
[Xperia Z5 Compact Android Development] n00b0815de:
Just a quick one: THANK YOU, Berni!

Edit: I feel tempted to use the phone again. Now that I have a recent version of Android running it feels better than my (newer) XZ2 Compact.
[Xperia Z5 Compact Android Development] bvlgvr:
Has anyone had issues with using the lineageOS calendar app?

org.lineageos.etar (version 11)

When I try to create an event, there's a lag of up to 20 seconds with any action (keyboard popping up, activating a different text field, entering event name, modifying time/date, ...).

Message pops up "Calendar isn't responding .. Close app / Wait"

I'm using DAVx5 and have a calendar account synced.

I'm still on the los 20220413 build.

logcat doesn't look like there's anything interesting/useful.
[Xperia Z5 Compact Android Development] Pantoffel_Cruise:
Hi, first of all great job Bernie, this is an awesome ROM as it made the z5c of my gf pretty smooth.

I just upgraded it to the newest version with the hope that microphone gain would finally be on an adequate level.

Sadly, it is still very low gain, so that you really have to shout into the mic in order to get heard by the person on the other side on speach recordings on whatsapp.

Is there a way to fix that issue? Maybe I can also try to fix it if you can give me a little bit of advise on how to do it.

Best Greetings from Hanover!
[Xperia Z5 Compact Android Development] groggog:
Is this using bluetooth? I get good volumes through the phone mic and wired headsets but whenever I use a bluetooth headset (I've tried several) the people on the other end complain that they can't hear me. I've thought it was maybe a problem with the bluetooth devices but maybe it's not...

I'm on the 20210810.211238 update though if that makes any difference.
[Xperia Z5 Compact Android Development] 1ggn3:
Same here. I installed the regular Etar from F-Droid, and that one works fine. Also disabled the LOS Etar, so it won't be in the way.
[Xperia Z5 Compact Android Development] Berni-0815:
Play around with the file "mixer_paths.xml". In one of my threads you can see how to. But that's a really hard job. I've given up to adjust this file for all possible eventualities.
[Xperia Z5 Compact Android Development] petefoth:
I have recently made unofficial and custom builds of LineageOS for microg for this device, based on Professor-Berni's most recent builds.

The builds are available in this AndroidFileHost directory

More information at https://github.com/petefoth/unofficial-l4m-builds/blob/main/README.md

EDIT: AndroidFileHost downloads were failing. I have re-uploaded the files, ad downloads should work
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

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

LiveDisplay - Picture adjustment re-implemented (hopefully it works now!)
[Xperia Z5 Compact Android Development] petefoth:
Matching unofficial and custom builds of LineageOS for microG available at https://www.androidfilehost.com/?w=files&flid=322410

More details at https://github.com/petefoth/unofficial-l4m-builds/blob/main/README.md
[Xperia Z5 Compact Android Development] laakssim:
Tried the 20220715.142108 ROM and found two things not working; microphone volume level on Whatsapp and FB messenger calls is way too low, and video recording on any camera app was very laggy at first and then stopped working completely (this I noticed on the default camera app, Open Camera and Instagram app). The default camera app gives an error "Could not start media recorder", the others just won't record video.
[Xperia Z5 Compact Android Development] Berni-0815:
These are well known issues; please search the thread before posting well known stuff.
[Xperia Z5 Compact Android Development] Aluzan:
Hi, first of all many thanks for you custom ROM.

Now I'm trying to install Sony Camera application but I need some shared library presents in stock ROM.

I have followed steps explain in this thread App enabler but the archive does not contains the Jar with "com.sonyericsson.cameraextension.api" package.

Do you have access system FS from Sony stock ROM ? Specifically, /framework and /etc/permissions folders.

Regards, Aluzan
[Xperia Z5 Compact Android Development] Berni-0815:
Sure! But you can get a stock ROM yourself by using FlashTool.
[Xperia Z5 Compact Android Development] android666:
FlashTools is the best for Sony. Any idea how to run it with Windows10 x64 ? Because it does flashing, except downloading part (XperiFirm). I tried, searched but with no luck yet (I'm on latest 9.34.0 (FlashTool64) with java 8.333 x64).
[Xperia Z5 Compact Android Development] Berni-0815:
You can download XPeriFirm separately and then start it.
[Xperia Z5 Compact Android Development] android666:
i know, I tried, no luck either (In the past I tested v5.4.0 with no luck, but latest 5.6.5 looks good)
[Xperia Z5 Compact Android Development] Berni-0815:
Works flawlessly here!
[Xperia Z5 Compact Android Development] Delfinololo:
Hi, will this mean that you get the camera app working as well as on stock?
[Xperia Z5 Compact Android Development] Aluzan:
Hi Delfinololo,

I don't have the time yet to install XperiFirm in the purpose of extract custom Sony libraries.

But my aim is to make it work original Sony Camera application (last version provided for Android 7.1).

I suspect Sony to use specifics hardwares features and to do that they need to use a java library linked to a native linux library (.so file).

I don't know if it will work ...
[Xperia Z5 Compact Android Development] android666:
kind question: how may i fix if during my call, or call init, my screen goes black and proximity senzor works ?

screen is on when, for unknown reason, my call automatically starts with "loud speaker/listening" mode

after new tests, it looks, something is influencing proxi.senzor ... :-(
[Xperia Z5 Compact Android Development] &(*):
I believe you are experiencing a mixer paths issue with the loud speaker defaulting and it can be remedied by clearing all sound modifications cache and disabling/deleting any app (AudioFX) that modifies it at which point after a reboot it will be set with the correct permissions and should resolve the undesired behaviour.

As for the proximity sensor, look around under settings by typing wake and see if there is a switch or two to correct what you're describing with the display.
[Xperia Z5 Compact Android Development] android666:
I'm not sure where to reset sound modification only, but deactivated AudioFX, all possible MagiSK modules as well. Tested all with Stock-ROM (with factory reset) with no change.

I also replaced sensor, with no change :) . Strange is, that light sensor works and is served by the same sensor: Avago APDS-9910. Also strange is, this proximity sensor worked few weeks ago (according to DevInfo). This situation looks too complicated to me, when even after (difficult) part replacement, no change is visible. So it's no software (Lineage/Stock), no hardware (sensor itself) ... it's kind of magic :) I give up.
[Xperia Z5 Compact Android Development] casouzaj:
Our old Z5C in the house behaves like that: black screen during calls, either received or initiated on the phone itself. I suspect the culprit might be microphone. When paired to BT earphones, it behaves as expected.
[Xperia Z5 Compact Android Development] android666:
It sounds logical, maybe it's just a contact, or incorrectly inserted mic into the connector. And (also) I have another microphone, but these repairs, it's like a punishment :)

I confirm, with headphone (3,5jack) calling works as it should

Last update to this issue: From my spare parts, I composed 2nd Z5C, loaded TWRP backup from 1st phone and it react the same way.

TWRP restore on another phone

with pattern screen-lock does not work (unlock will fail).

you have to create backup without screen-lock

(I know Dr.Fone is also there).

In 1st phone I replaced sensor/microphone/3.5 connector

- no change with

proximity sensor

, but now I have 1 spare/backup phone in case.... :cool:

My Workaround is: turn off function when by pressing power-button opened-call is closed, then by pressing it my screen become visible.
[Xperia Z5 Compact Android Development] 1ggn3:
I think I've experienced the same with my Z5C, but the proximity sensor still works according to various test apps. With headphones, all is well. No idea why it could be, but it's not that much of an issue for me.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 October 2022
[Xperia Z5 Compact Android Development] android666:
strange coincident here , that since some Lineage release, sensors stops working on some (sony) devices (like XZ1C):

"..... In version 1.4 and up, sensors are not working and my T-Mobile data is not working. Now I have installed 1.3, and all look great!. I'm happy for now, but I don't understand...."
[Xperia Z5 Compact Android Development] Berni-0815:
For what?
[Xperia Z5 Compact Android Development] Erman.c89:
Hello and thanks for the work you do for this Sony Z5 compact. The ROM is great although the internal memory stopped working when I put a 128GB SD into it and with Lineage 14 it works fine, I have no choice but to stay with Lineage 14
[Xperia Z5 Compact Android Development] Berni-0815:
How is the SD card formatted? Afaicr some format types are not working...

Klick
[Xperia Z5 Compact Android Development] steve8x8:
@Berni-0815 is it still true after ~18 months that adopted storage (ie, combining the sdcard with internal storage) doesn't work? I don't trust sdcards too much, and would never rely on them for functionality of the core system, but others may have a different opinion, and fuse can't be that difficult?
[Xperia Z5 Compact Android Development] Erman.c89:
I had a 32GB DS card and everything was fine, I just bought a new 128 ADATA SD card and put it as portable storage to transfer files and the internal memory gave an error. the format of the SD 128G is fat 32
[Xperia Z5 Compact Android Development] Berni-0815:
How is this card formatted? Also fat32?
[Xperia Z5 Compact Android Development] Erman.c89:
yes, it is the format that comes from the factory
[Xperia Z5 Compact Android Development] Berni-0815:
Then I can give no satisfactory answer.

If this would be my SD card, I would try to reformat the SD card with ext4; that should work. But ext4 can only be used in *nix operating systems.
[Xperia Z5 Compact Android Development] Berni-0815:
Forget it! Bad hint! I've just formatted an unused 2GB SD card with ext4 and it is not recognized.

I had to reformat it inside my z5c and it's fat16 now.

There's something going terribly wrong...
[Xperia Z5 Compact Android Development] android666:
i'm on ext4 with 512GB and all is good
[Xperia Z5 Compact Android Development] Berni-0815:
Oh! Then my own SD card is broken.
[Xperia Z5 Compact Android Development] Erman.c89:
well, change the format of the SD card as ext4 and for the moment the internal memory does not give an error and it works fine, for now I can use Android 11 :) Thank you!
[Xperia Z5 Compact Android Development] steve8x8:
Um, sometimes reformatting cards with different filesystems leaves some traces of the previous format - and since `mount` tries to autodetect the current format there may be false detections.

Nuking (zero out) the first and last MB of the card would fix that.
[Xperia Z5 Compact Android Development] Berni-0815:
No matter what I'm trying, my SD card will not be recognized when formatted as ext4!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 November 2022
[Xperia Z5 Compact Android Development] Berni-0815:
Added microG version of my ROM; see 1st post!
[Xperia Z5 Compact Android Development] Erman.c89:
Hello everyone, do you know if there is any confirmation or way to optimize the processor for games? :)
[Xperia Z5 Compact Android Development] Berni-0815:
Has anyone tested this version? Have you seen any weird behaviour?
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 December 2022
[Xperia Z5 Compact Android Development] mbrodala:
I'm a bit confused about the new version with microG. From the wording I'd expect 2 versions, one regular one without anything (same as so far) and one with microG preinstalled. But the OP only links to the version with microG.

Or does one really need to delete the microG APKs as described after each update?
[Xperia Z5 Compact Android Development] Berni-0815:
I see, I have to explain it better than I did. I'm sorry!

It is a quite huge work to build a version with AND a version without microG for every ROM maintained by me.

In fact I would have to build 6 ROMs currently.

So I've decided to always build a version WITH microG.

The idea behind this decision is, that a person who uses a custon ROM is usually not the one to use any google stuff.

So, microG is the logical way.
[Xperia Z5 Compact Android Development] mbrodala:
OK, that means for me who uses this ROM and Google stuff the procedure is now:

1. Sideload update

2. Boot updated system

3. Remove microG

4. Reboot

Is this correct? Do I need to expect issues on the first boot after update having Google apps and microG? I cannot avoid that situation since microG is preinstalled.
[Xperia Z5 Compact Android Development] steve8x8:
The path @mbrodala suggests could be shortened if there was a flashable zip that does the removal - this way one, if interested in GApps, would instead flash LOS, the microG remover, the favoured GApps, and perhaps Magisk, without the need to reboot ... Am I missing some important point?
[Xperia Z5 Compact Android Development] Berni-0815:
There is no microG remover.

And I really don't know if there are issues expected when both, microG and GApps, are installed.

If it is, I have to write a microG remover. But I'm not sure if I'm able to do so...
[Xperia Z5 Compact Android Development] mbrodala:
I gave it a try and did update without removing anything. After the first boot I was greeted with many messages like Google Play services crashing and apps requiring said services. After removing the microG apps as mentioned and rebooting the messages are gone.

So it indeed looks like microG must be removed when using Google apps.
[Xperia Z5 Compact Android Development] Berni-0815:
As I've written...
[Xperia Z5 Compact Android Development] Berni-0815:
PS: I've added a link to my self written microG-remover; see 1st post.
[Xperia Z5 Compact Android Development] DaZZZl1:
I am using the MicroG version. However, in many apps the maps is not working. It says that Google Play Services are not installed. The same apps are working in /e/ version with microg. Furthermore, the official CornaWarnApp is not working, due to missing play services. In microg settings, everything looks fine. Thanks for help, and merry christmas :-)
[Xperia Z5 Compact Android Development] Berni-0815:
I know that some things are working in /e/, but I haven't understood why.

For the German CoronaWarnApp, you can use this app: Klick

But in my experience, the contact tracing is very very slow and takes way too much time.

PS:

Merry christmas too!
[Xperia Z5 Compact Android Development] DaZZZl1:
Thanks .. yes I have also contact tracing ... I want to say that there is something wrong, because these things already worked in /e/ and in other installation... maybe removing microg and install it from the fdroid repo? How can I remove it?
[Xperia Z5 Compact Android Development] Berni-0815:
Take a look three posts before... ;)
[Xperia Z5 Compact Android Development] DaZZZl1:
ohh yes, I tried it ... no difference, except that microg is not in the system menu... maybe something wrong with the signature spoofing? It seems that the calls are not redirected...
[Xperia Z5 Compact Android Development] Berni-0815:
The self test of microG says that signature spoofing is working... This piece of code is not from me... 🤷‍♂️
[Xperia Z5 Compact Android Development] DaZZZl1:
I know... maybe @petefoth could help ... but he has no 18.1 version anymore....
[Xperia Z5 Compact Android Development] Berni-0815:
I don't think that there are so much differences between 18.1 and 19.1 ... (regarding signature spoofing)
[Xperia Z5 Compact Android Development] DaZZZl1:
I solved it...

There was FakeStore 0.0.2 installed. After upgrading to 0.1.0, the maps API start working!

Maybe you can include the latest FakeStore version in your ROM?
[Xperia Z5 Compact Android Development] Berni-0815:
I'll try it asap. But FakeStore 0.1.0 is marked as "Preview release"! Maybe this will have unwanted side-effects? We'll see...
[Xperia Z5 Compact Android Development] DaZZZl1:
Look at the commits at github ... they only made adaptions for Android 11 ... It should be safe to use this version 🙃
[Xperia Z5 Compact Android Development] Berni-0815:
I'll see it soon. Currently I'm building a los19.1 ROM with FakeStore 0.1.0. (I have no 18.1 running any more)
[Xperia Z5 Compact Android Development] Berni-0815:
Where have you installed FakeStore? In system/app or in system/priv-app?
[Xperia Z5 Compact Android Development] DaZZZl1:
I installed it via F-droid ... maybe as user?