yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Max8719:
I had a similar problem some time ago. I also was stucked into a bootloop. First i tried to restore system, boot and data. But I did not worked for me . This is how i solved it.

1.) First wipe system, cache, data, dalvik/art cache

2.) Install the latest Lineagos 18.1

3.) Install NikGapps

4.) Install Magisk ( I don't use it)

4.) Backup only boot and data

5.) Reboot system

This worked for me . Maybe it helps you.
[Xperia Z5 Compact Android Development] uncle-sam:
You are my personal hero! This really worked!

Could we add this to sticky posts or something?

I made only one step different: i flashed the same rom version like my backup.
[Xperia Z5 Compact Android Development] Max8719:
I'm glad I could help you. 😀

I know how annoying it is when you lose all your data.
[Xperia Z5 Compact Android Development] uncle-sam:
I can confirm: it also works with the new rom just like you wrote.

I am just not sure if this would work properly if there are changes in the boot partition of the new rom @Berni-0815 ?
[Xperia Z5 Compact Android Development] Berni-0815:
You have to flash the ROM after restoring the previous system. That's a well known issue with legacy devices and Android 11.
[Xperia Z5 Compact Android Development] uncle-sam:
There i have to disappoint you. Even flashing the Rom used in my backup (of course after restoring the backup) did end up in bootloop. I am sure this issue is connected to the usage of NikGapps and/or Magisk.

EDIT: a similar issue occurs on an oneplus device in connection with magisk CLICK
[Xperia Z5 Compact Android Development] Berni-0815:
Since I don't use Magisk, I neither can agree nor disagree to that. But I'm using NikGApps and I don't have such an issue.

But I always have to flash my ROM after restoring a backup.

That's all I wanted to point to.
[Xperia Z5 Compact Android Development] pibolou85:
Hello,

I installed android 11 with my old z5compact. Is it possible to root with magisk with this unofficial rom?

Before I looked at the app: MyCanal, but now with this android 11 rom, impossible to look at Mycanal, there is an error or missing drm, because you need the L1 and L3 license. Is it possible to know how to make mycanal work with this rom, ditto for Netflix in HD? But it is above all Mycanal that I want to be able to watch as before because I have a paid subscription with Mycanal. Thank you for your help. greetings. Patrice.
[Xperia Z5 Compact Android Development] uncle-sam:
I don't know anything about mycanal. But this rom passes safety net, so it should work everything. On my phone i can usw netflix.

Magisk is working as well but to pass safety net after rooting you need to do some tweaks:
[Xperia Z5 Compact Android Development] arkadione:
I'm experiencing lag, and choppy video recording. Is this a known issue?

The camera works, it's just the video that has the major lag and choppiness.

I have this happen with: OpenCamera (api 1 and 2), stock camera, and Simple Camera.

Anybody else have this issue?
[Xperia Z5 Compact Android Development] Berni-0815:
Please use the search function. The search for "lag" gives some results: Klick
[Xperia Z5 Compact Android Development] pibolou85:
Ty

Mycanal = Canal+ in France. I have install what s you said but error drm in Mycanal. No works ! Netflix need L3 or L1, and My canal need L1 or L3 too... Possible patch to have L1 and l3 Licences drm ?

This android 11 is very good and fast ! My Z5 Compact start in 30 s to OFF = > On ready ! Very good and stable,

I have a small problem with the notifications sounds, there is a big crackle with the sound which is unpleasant, do you have that too, do you know how to improve this with settings or others in the phone?

Edit : ==> For sound speaker I have prob with sound crackle with phone and same also with the headphones in the jack.

Is it same with linaege 17 ? ( for sound problem ) Because crackle all time. no good to speak and hear to talk with a contact.

Ty

Greetings.
[Xperia Z5 Compact Android Development] norabitox:
Hello

Thank you

17.1 works fine

The same problem of screen ON.OFF even Lineage18.1 GSI of Xcompact
[Xperia Z5 Compact Android Development] norabitox:
No, there is no cable
[Xperia Z5 Compact Android Development] Berni-0815:
The video from you shows screen on/off. I cannot reproduce this. My devive is working as expected.

And I mentioned the not working function "Extreme power saver", which you can enable in settings. This only occurs when the USB cable is plugged in (the device is in charging mode).
[Xperia Z5 Compact Android Development] norabitox:
Hello

Thank you

The usb cable is not connected at the time of setting.

So it's strange.

However, the battery saver settings are now normal.

The same problem of screen ON.OFF with Lineage 18.1 GSI of Xcompact.

From the speaker only at the moment when the phone screen turns ON

"Puchi'" and you will hear a sound.(Touch sound?)

Is this a software issue?

Regards
[Xperia Z5 Compact Android Development] pibolou85:
Hello..; No solution for prob sound crackle ? because it s very not good for all appli, same for stream, all sound crackle !

Is the lineage 17, al sound are ok ? I m alone with the prob sound phone ?

In safetynet, i have no all ok, firt ligne with basicintegrity is ok, but the second ligne with ctsprofile not validate. how to do please ?

Greetings all and thank for help !

Patrice.
[Xperia Z5 Compact Android Development] Berni-0815:
Maybe.

When I enable and disable the screen manually, I hear a sound. When the display disables automatically, no sound is heared.

Since I'm using nearly the same device source code than in los17.1 it must be a general LIneageOS related issue and I can't fix it.
[Xperia Z5 Compact Android Development] Berni-0815:
...double posting...
[Xperia Z5 Compact Android Development] uncle-sam:
If you're using magisk you could try the "liboemcrypto disabler". I did not try it myself but the description says it would fix drm issues with netflix etc. So it might also fix your mycanal problem.

View attachment 5247673

If you are using magisk on your device do as I suggested in the post below. Then you should be fine and ctsprofile should be validated.

EDIT:

I am sure as long as safetynet is not fully validated your netflix and mycanal will not work (properly). It think it should work if ctsprofile is validated.
[Xperia Z5 Compact Android Development] norabitox:
Thank you
[Xperia Z5 Compact Android Development] pibolou85:
Thank you i will try soon. Greetings.
[Xperia Z5 Compact Android Development] uncle-sam:
Bonne chance!

I installed mycanal recently and it worked. Maybe you have to add it to the 'hide' list in magisk because mycanal can detect root.
[Xperia Z5 Compact Android Development] pibolou85:
TY... But for mycanal, i have install it too, but can you watch tv or movie, because it s when i start a movie or tv streming that the error drm message come. Greetings.
[Xperia Z5 Compact Android Development] uncle-sam:
I can't try this because I have no mycanal account. I'm not living in France so there is no need for me to have one. Maybe here is someone else from France who can test it?

EDIT: I just found out you can sign up there for free. And it is working on my device - I can watch videos!
[Xperia Z5 Compact Android Development] 1ggn3:
Damn, I was gone for some time, real life kept me busy.

Anyway, regarding to the thermal stuff, I opened up my phone (backplate broke, too lazy to glue replacement in r/n) and borrowed an infrared thermometer from a friend. It seems that even in power-down mode, the battery will stay at or below 45°C. Yay!

One could argue about battery life and temperatures, but since my battery is still going, the issue can't be that big.

Also, I've been using this ROM as a daily driver for quite a few weeks, and it's really stable. Apart from occasional lags, I would not notice that this is ~4 android versions ahead of the latest stock. There is this issue with higher power consumption with bluetooth turned on, but since I don't need bluetooth 24/7 (and it still lasts for about a day on a full battery), that is not really a problem.
[Xperia Z5 Compact Android Development] betacrypt:
Slightly off topic but couldn't find an answer. Does this rom or the Z5C in general support raw image capture for the camera? I have an X Compact, which can run GCam 8.x mods with HDR and NightSight, can the Z5C do the same?
[Xperia Z5 Compact Android Development] uncle-sam:
Not as far as i know. Due to the camera quality on this rom and no working gcam so far you can barely take snapshots with it. What would raw be a use for?

But the phone is supporting camera2api, so theoretically it is possible to use gcam. If you figure out how to run gcam on this rom let us now.
[Xperia Z5 Compact Android Development] 1ggn3:
If I remember correctly, there was no raw support, not even on stock rom. In fact, the camera (or rather, the bad software/drivers) are one of my main issues with this phone.
[Xperia Z5 Compact Android Development] uncle-sam:
Yes. The rest fits all my expectations I have of a daily driver.
[Xperia Z5 Compact Android Development] betacrypt:
Thanks. Raw capture is used for HDR processing, and is required to run most GCam mods after version 6. I was mostly interested to see if Camera2 API was supported. Looks like the X Compact (kugo) is the only compact device that supports it, which is a shame because the hardware/kernel support is the pits and the Z5C actually has better hardware than it despite being the older model. Sony also locked Camera2 API and raw capture on the entire XZ1-3 lineup.
[Xperia Z5 Compact Android Development] uncle-sam:
Nope. Just tested:

Camera 2 API is fully suported, RAW is not.
[Xperia Z5 Compact Android Development] betacrypt:
Good to know. For comparison - the XZ1C has the same result. The XC has LEVEL_3 + RAW support.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Kernel improvements
[Xperia Z5 Compact Android Development] casouzaj:
OK, I've given this ROM another try (I dirty flashed the latest release over LOS 17.1) and I found out why I always faced frequent kernel panic reboots in all my previous attempts: presence of adoptable storage. Upon removing it, so far, so good! Thanks for your efforts, Bernie!
[Xperia Z5 Compact Android Development] Berni-0815:
What exactly do you mean with that?
[Xperia Z5 Compact Android Development] casouzaj:
The SD card, or part of it, behaves like the internal storage, after sm commands are applied on a terminal emulator app (or adb shell). It's available since Android 6
[Xperia Z5 Compact Android Development] Berni-0815:
Ah! I understand! Since I've never used this, I can't say if this is working or not.
[Xperia Z5 Compact Android Development] xmini2011:
First of all I want to thank you for the great job you did with you ROM's!

I use 14.1 now for a while and wanted to upgrade today.

So far everything worked but one app: Traderepublic. It always complains about the missing Play Services, but I installed and updated them. Do you have any hint what to do about such an issue issue?

Used Gapps: NikGapps-core-arm64-10-20210130-signed.zip

Sorry I'm an idiot! If I use NikGapps-core-arm64-11-20210130-signed.zip it works ;-)
[Xperia Z5 Compact Android Development] RyuX_12:
hello

i just installed this rom today and performance is good

but charging off not showing after powering off in usb charger connected,isn't bug?

1 more,android 11 use 11 gb in system?
[Xperia Z5 Compact Android Development] uncle-sam:
There are several discussions about charging while powered off in this thread. I don't know what is the actual state of development there.

On my device the android system uses ~8GB.
[Xperia Z5 Compact Android Development] Berni-0815:
I'm not sure that I understand what you're trying to ask...
[Xperia Z5 Compact Android Development] cdannebe:
Hi Berni,

again many, many thanks for your work and spare time!

I have still the following issues (even using your latest ROM from march 24th):

Charging only to 75% if Android is running, if the phone is off it charges to 100%, but it seems to over charge or the CPU is running at its highest clock speed. If I load the device during the night, it is still warm next morning.

Low sd-card speed (this avoids recording video directly to sd-card, I assume this is the reason for choppy video)

I use OSMAND+ for navigation and it takes very long until this app can find my position (several minutes). I have no experience with other apps that require my location. Perhaps others here can also report on their experiences with the GPS positioning.

I miss the auto focus at low distances with the camera.

Berni, do work on one of these items?

Best regards, ... and greetings from Saxony :)
[Xperia Z5 Compact Android Development] Berni-0815:
That doesn't happen here. I can always charge up to 100%.

All other mentioned issues are well known and there is no solution in sight.
[Xperia Z5 Compact Android Development] RyuX_12:
In my device work normally,charged 100% if android is running,maybe your battery going drop i guess
[Xperia Z5 Compact Android Development] RyuX_12:
Solved but not percentage in charging off?
[Xperia Z5 Compact Android Development] Berni-0815:
That's not laying in my hands. Offline charging is part of the source code coming from LineageOS team; as far as I know.
[Xperia Z5 Compact Android Development] cdannebe:
Okay, thanks for the information
[Xperia Z5 Compact Android Development] username one:
I use Advanced Charging Controller (acc) that controls temperature. If you are using some similar app, charging might stop at a preset percentage of fully charged.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post

Android security patch level: 5 April 2021
[Xperia Z5 Compact Android Development] John Paden:
Hi, did someone get this

https://xdaforums.com/t/bootanimations-for-suzuran.4253169/

to fly unter LOS 18.1?

my /system/media is empty?
[Xperia Z5 Compact Android Development] Berni-0815:
They are working in all of my builds.
[Xperia Z5 Compact Android Development] John Paden:
my bad. Clearly USB debugging as root must be enabled in the developer settings.

Now it works here too,

Thanks!
[Xperia Z5 Compact Android Development] cdannebe:
Hi,

thanks to "username one" for the hint. I had installed "AccuBattery" from digibites just to monitor the temperature (but I set up the charge threshold to 99%). This worked for several weeks fine. Now I uninstalled this app and charged my device. The first try was still 75%. I had the suspicion that perhaps some service or script of this app was still running in the background. After rebooting the device twice I can charge upto 100% without overheating!!!

@Berni-0815 : Now, the charging and battery behaviour of your ROM is as good as the old LOS14.1 I used until last December. Many thanks for the great job :) .
[Xperia Z5 Compact Android Development] cdannebe:
@Berni-0815 : Any news about the low SD-Card speed or the "low distance focus"-issue?
[Xperia Z5 Compact Android Development] Berni-0815:
Unfortunately not.
[Xperia Z5 Compact Android Development] H2Oxide:
I just updated from the 18.0 rom to 18.1. This is a minor thing, but wallpapers always seem to have some sort of zoom level. This wasn't the case on 18.0.
[Xperia Z5 Compact Android Development] Berni-0815:
This is not laying in my hands! I'm only maintaining the device specific source code.

Everything else is maintained by the LineageOS team itself.
[Xperia Z5 Compact Android Development] RyuX_12:
Same case but not too annoy,i think its from LineageOS source code
[Xperia Z5 Compact Android Development] Berni-0815:
As I've written. You can search the "wallpaper" sources of LineageOS's repo at github, for example this one: Klick
[Xperia Z5 Compact Android Development] Berni-0815:
There seems to be an echo issue in calls for the calling person. I've built a test version to see if this issue can be fixed: Klick
[Xperia Z5 Compact Android Development] Ermann123:
(deleted)
[Xperia Z5 Compact Android Development] RyuX_12:
I just install your latest build and I have uninstalled magisk,but why still failed? Should I do clean system or anything else?
[Xperia Z5 Compact Android Development] casouzaj:
How come? I have the latest Canary release (22103), and only the Systemless Hosts module installed. Key apps are in MagiskHide hide list, Magisk itself is renamed (hidden), and my E5823 variant phone passes both SafetyNet tests.
[Xperia Z5 Compact Android Development] RyuX_12:
Maybe I'll try again install magisk and try to hiding magisk

Still same,reflashing rom,gapps and magisk,then hiding it,safetynet fails
[Xperia Z5 Compact Android Development] RyuX_12:
I dont know this bug or not but im try call to my number,it look like this (left phone is incoming call from right phone)

I use latest build,sorry for photo quality
[Xperia Z5 Compact Android Development] Max8719:
Hello Berni,

I have a problem with the camera since the last update. I can start video recording, but when I try to stop video recording the camera app freezes and crashes afterwards. (Snap camera)

After a reboot of the phone video recording works as expected. But when I try after some minutes again, the same problem as I described occurs again. I also tried it with open camera, with the same result.
[Xperia Z5 Compact Android Development] darkangel32:
Been running this rom for 24 hours, its certainly better then the ancient stock nougat rom.

Some notes, gestures can be quircky when swiping upwards on the homescreen. Makes the phone more modern.

PIP doesnt seem to funktion (anyone else tested?)
[Xperia Z5 Compact Android Development] Berni-0815:
I can confirm this bug!

Is this occurring only in the latest build? Or it this a general bug?

To be honest, I've never recorded a video, so I can't be sure if this bug is already present in earlier build....
[Xperia Z5 Compact Android Development] Max8719:
In the previous build it worked fine. I also never noticed this bug before, since I'm using this rom.
[Xperia Z5 Compact Android Development] Berni-0815:
That's really weird, because I can't see any reason for that!
[Xperia Z5 Compact Android Development] Berni-0815:
I've identified the culprit!

A new ROM is currently being created and will be available in a few hours. Please be patient!
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Fixed camcorder bug
[Xperia Z5 Compact Android Development] Max8719:
Thank you Berni. Camcorder problem is solved. Quick reply and solution, like always. (y)(y)(y)
[Xperia Z5 Compact Android Development] MatthiasHGW:
Hi Berni,

thank you for your amazing work, it is amazing how you singlehandely keep our phones up to date!

I do have a small problem with the current ROM, though. I have been using "Neutron Music Player" with your release of LineageOS 17.1 without any problems. Unfortunately, it does not work with the current 18.1 release:

At first I had thought that the app crashes immediately after opening: it shows the "Neutron" logo and the progress bar at the top of the screen, but then the screen turns black. However, clicking on the back button a couple of times, the Neutron logo comes back and by increasing screen brightness, one can see that part of the UI has been drawn.

The developer of the app assumes that there is something wrong with the OpenGL driver in your ROM and has pointed me to a previous version (2.11.1) of Neutron MP which does indeed run without problems.

Do you have any idea what could trigger this behavior or what I could do to narrow down the underlying problem?

Thank you - Matthias
[Xperia Z5 Compact Android Development] Berni-0815:
Please grab a LOG (see 1st post) and while grabbing reproduce the error and send me this LOG via PM (it may contain personal data!).
[Xperia Z5 Compact Android Development] MatthiasHGW:
Sorry to bother you again, but I have just discovered another problem: while trying to import a backup into the NewPipe-App, I realized that at least on my phone there is something wrong with handling of zip files. I can reproduce this in a terminal window like this:

echo "This is text" > 1.txt
zip test.zip 1.txt
unzip -l test.zip

I have tried this a couple of times and always get the error message "unzip: couldn't open test.zip: File mapping failed". Could someone try this out on their phone to check if it is only a problem with my phone or something more general?
[Xperia Z5 Compact Android Development] Berni-0815:
I have to investigate this.
[Xperia Z5 Compact Android Development] sahmerdan:
I have a similar problem. When I try to insert my 128 gb sandisk ultra sd card into the phone and use it as phone memory, the phone reboots itself over and over again until you remove the jewelry card or exit the menu. Before that, I was using the original ROM, the card was working without any problems. I wonder if 128 gb sounds too big?
[Xperia Z5 Compact Android Development] casouzaj:
Not, at all! I have a Samsung 128GB SD card inserted all the time. I faced constant reboots only when I used part of that card as adoptable storage.
[Xperia Z5 Compact Android Development] sahmerdan:
I understand, then I will format and use the card with the old type "Use SD for file transfer" option (translated like this in my language). Are there any downsides to using it this way over the other?
[Xperia Z5 Compact Android Development] Berni-0815:
Could you please try to set your SELinux to permissive?

And I need the policy file:

adb pull /sys/fs/selinux/policy
[Xperia Z5 Compact Android Development] luka-:
Hi guys,

Sorry this may be basic question,

I flashed the phone and everything seems great, fast and flashy but I am having issue to synchronize all my contacts details from google.

I have installed NikGapps-core and even thou the contact app recognizes my google account within settings it does not download-synchronize the data.

Does anyone know what the issue might be or should I upgrade to NikGapps-basic or download different contacts app?

Similar goes for calendar.

Many thanks
[Xperia Z5 Compact Android Development] darkangel32:
Try mindthegapps.
[Xperia Z5 Compact Android Development] luka-:
Thank you, much appreciated!

This synchronizes contacts perfectly. (y)
[Xperia Z5 Compact Android Development] Berni-0815:
Good to hear! :cool:

Edit:

Is there an official way to download it?
[Xperia Z5 Compact Android Development] darkangel32:
I got it from here: http://downloads.codefi.re/jdcteam/javelinanddart/gapps

11 x64 for this rom (z5 compact).

Edit: Instructions for those that want: https://www.getdroidtips.com/mindthegapps-8-1-0/

Edit 2: As can be seen here, for lineageos18.1, mindthegapps seems recommended: https://wiki.lineageos.org/gapps.html
[Xperia Z5 Compact Android Development] H4NNE5:
I tried several ROMs 14, 17 and this one and with all devices the microphone routing from a bluetooth microphone is not working, meaning only the phone's inbuilt microphone is used in all scenarios 😒 Does it maybe have to do with the phone itself? Because my several bluetooth devices work with other android phones, regarding the microphone functionality.
[Xperia Z5 Compact Android Development] FellinLovewithSuzuran:
Hi,

ich bought my second Z5C and run on first Bernies Lineage14 and the second one Bernies Lineage18. Thank you for that real great work and feel free to give your Paypal adresse so i can thank you!

Is it possible for me to copy the deskclock from Lineage14 to Lineage18?

i wanna start learning build that things on my own.

any help would be great... got root and twrp on both phones...
[Xperia Z5 Compact Android Development] Berni-0815:
You're right. This seems to be broken. Currently I have no idea...
[Xperia Z5 Compact Android Development] Berni-0815:
What do you mean? I'm not sure to understand your question.

There are very good tutorials in the wild of the net. First you should take a look at LineageOS's wiki: Klick
[Xperia Z5 Compact Android Development] Berni-0815:
Does this happen with los14.1 and los17.1 too?
[Xperia Z5 Compact Android Development] Ermann123:
I guess , that he is asking for the cLock applet, where it is also possible to integrate the display of the weather , instead of the "simple" clock applet.

I would also very welcome this (for 17.1 too) :)