yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] Berni-0815:
You have a PM
[Xperia Z5 Compact Android Development] tiptel170:
How can I reactivate the su? In the command line I type su [\b], and I get this messages: "Permission denied". The file is still there in /system/xbin/su

The root-access is activated for Apps and ADB.
[Xperia Z5 Compact Android Development] Berni-0815:
Which version are you using? I'm building without su since many versions.

su is no longer supported by lineageos. You have to flash magisk instead.

Are you sure? The last (not shared) version where su is included is dated 2020-03-16
[Xperia Z5 Compact Android Development] tiptel170:
Version from 2020-04-04 15.1 amr64

Yes, this was flashed "magisk"

And the Magisk Checker said:" Root permission not granted..."

I has flashed the ZIP-file in TRWP (3.2.1) without errors.
[Xperia Z5 Compact Android Development] Berni-0815:
Wait a moment; this is the thread for los17.1 ... ;)
[Xperia Z5 Compact Android Development] tiptel170:
has installed the old version from the Magisk APP, with this version function well: Magisk Manager v7.5.1

Thanks...

P.S. I know it I wrote in the false thread.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post. Less freezes, better memory management, lower battery consumption, lower temperature.
[Xperia Z5 Compact Android Development] Smndora:
What ram usage are you getting and is it now usable as a daily driver
[Xperia Z5 Compact Android Development] Berni-0815:
1,5GB without any additional apps.

I don't think so
[Xperia Z5 Compact Android Development] Berni-0815:
Oh, I've forgotten: Location services are working again; I've screwed something up in earlier versions.
[Xperia Z5 Compact Android Development] snorlex:
Hi,

Bluetooth audio service isn't working properly.

it's reconnecting infinitely .

thank's
[Xperia Z5 Compact Android Development] Berni-0815:
Please grab LOGs. Without a LOG it's nearly impossible to help you.

Restart the device

"Play around" with it to reproduce the error

Connect to USB; wait until connection is established

Enter these commands (one after the other):

adb root
adb shell dmesg > dmesg
adb shell logcat -d > logcat
adb shell logcat -d -b radio > radio

Send me these LOGs (zipped) via PM
[Xperia Z5 Compact Android Development] snorlex:
hi

i tried what you write

it gives me that error :(
[Xperia Z5 Compact Android Development] YamiYukiSenpai:
Does MicroG/NanoDroid work on this ROM?

What about OpenGapps? Last time I tried the phone lagged big time after installing OpenGapps.

And I gotta ask, did LineageOS 17.1 come with performance profile?
[Xperia Z5 Compact Android Development] Berni-0815:
I can't open the picture
[Xperia Z5 Compact Android Development] Berni-0815:
Still not fixed.

What do you mean?
[Xperia Z5 Compact Android Development] YamiYukiSenpai:
Like this
[Xperia Z5 Compact Android Development] Berni-0815:
Oh.

No, our rom doesn't have anything like this; I'm sorry.
[Xperia Z5 Compact Android Development] CYC1711:
Thank you for all this, even if this rom can't be used daily; now I use Resurrection Remix v5.8.5 (also from xda), maybe you can port higher level rros for z5c?
[Xperia Z5 Compact Android Development] Berni-0815:
No, that's not my business. I only build LineageOS. Sorry...
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post. Some memory improvements. Device runs smooth without GApps and keeps quite cool and battery loss is low.

But with GApps the device becomes unusable after quite short time.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post. Kernel changed from 3.10.84 to 3.10.108 ! ;)

This is an experimental version. Feedback welcome.
[Xperia Z5 Compact Android Development] Ryu--X:
Hi Berni,

unfortunately i got the same result triyng both versions (still around 1.5go of ram usage).
[Xperia Z5 Compact Android Development] Berni-0815:
Same here. It this version (of 30th april!) working without GApps? Or isn't it working at all?
[Xperia Z5 Compact Android Development] Ryu--X:
I didn't even try with the gapps...

By the way, i was looking around to see if there's something to make the camera work : i think it's going to be a tougher one
[Xperia Z5 Compact Android Development] Berni-0815:
Indeed
[Xperia Z5 Compact Android Development] beautiophile:
Holy-moly. After years, I've just tried to wake up my retiring Z5c with a ROM and found your threads. Thank you for making Z5c fun again. Very admire your effort.
[Xperia Z5 Compact Android Development] Berni-0815:
Please keep in mind, this is a very experimental version and far away from being stable enough to be usable as "daily driver".
[Xperia Z5 Compact Android Development] &(*):
I believe the ram usage is somehow tied to something not being instructed to run as embedded. Kernel was first thought, but it appears to be a Lineage system issue.
[Xperia Z5 Compact Android Development] &(*):
Camera? Have you tried this?

Found this on another post for another device to get the camera working on XZ1 17.1, it may work for the Z5 too:

adb root; adb shell /system/bin/cmd package compile -f -m speed com.sonyericsson.android.camera

( https://xdaforums.com/xperia-xz1-compact/development/rom-lineageos-17-1-unofficial-coming-t4047763 )
[Xperia Z5 Compact Android Development] :
This has nothing to do with the z5 camera issues (which is lack of drivers).

That command is just to restore the stock camera apk on xz1 where it is present on stock roms (as stated by the post, to fix it when upgrading rom version)
[Xperia Z5 Compact Android Development] &(*):
!

Well, thanks for the answer; since the issue is known why are the drivers not present or included?
[Xperia Z5 Compact Android Development] Berni-0815:
That's not the problem. The problem is, that the original blob's made by Sony or Qualcomm are not working with newer versions of LineageOS. And since they are closed source, we can't change anything with that.

If you think, that you can do our job easy, please download the sources, fix the bugs and build a fully working rom. :angel:
[Xperia Z5 Compact Android Development] &(*):
I have not inspected the 17.1 camera issue fully due to the ram usage causing excessive power consumption, I made another comment about something not being installed as embedded could be the culprit &(

https://developer.android.com/topic/performance/memory

). But you're right, until I make a ROM what do I know. I see you took up my last suggestion and updated the kernel; apparently, the system still has issues. Try not to take the issue so personal, the Z5 (810) ihas very little support and sony apparently doesn't care as much as some think with offering older tech the option of being revitalized (thanks to convenient marketing practices that make hardware obsolete with outdated software).
[Xperia Z5 Compact Android Development] Berni-0815:
You're right. But it can be very frustrating when everything we're doing changes nothing. :(
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

LiveDisplay fully working now.

Some stability improvements.
[Xperia Z5 Compact Android Development] H2Oxide:
Thanks for the ROM. I can't uninstall Aurora Store, F-Droid and UnifiedNlp. The first two can only be disabled.
[Xperia Z5 Compact Android Development] Berni-0815:
Since they are system apps, you can't uninstall them in an easy way. Why are you trying to get rid of them?
[Xperia Z5 Compact Android Development] H2Oxide:
Thanks for the quick reply. Because I'd rather have a clean-as-possible ROM, and I'm not sure what these apps do or if I'd use them.

---------- Post added at 06:26 PM ---------- Previous post was at 05:39 PM ----------

The phone becomes unusable after installing Gapps. I used the version suggested in the op. Without Gapps Everything works very smoothly! Nice!
[Xperia Z5 Compact Android Development] &(*):
Quick ?

Berni, have you tried the software binaries from Sony (https://developer.sony.com/file/dow...es-for-aosp-marshmallow-android-6-0-1-legacy/) ? Even though these are a bit outdated, perhaps the 7.1 Nougat binaries from the last Sony update are not the answer. Read this for an idea of what I am referring to : ( https://www.reddit.com/r/LineageOS/comments/b86jcs/how_to_not_use_prebuilt_kernel/ ). Was thinking these could be installed fastboot i.e. flash oem <binaries.img> ,though I do not think system will load these and am not as familiar as you are with the Lineage OS system image build process. Maybe including these binaries during make for the install will load the missing devices? IDK, just a thought since the drivers are legacy.
[Xperia Z5 Compact Android Development] Berni-0815:
F-Droid is an app store for FOSS (Free and Open Source Software) and Aurora Store is a way to get access to the (free) apps of Google's play store.

That's the reason why I've included the mentioned apps above. :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
No. And I don't think that they are useful, because LineageOS uses another way to communicate with the blobs.

But I will discuss it in our telegram developer group.
[Xperia Z5 Compact Android Development] &(*):
Let us (xda community) know if it does help.
[Xperia Z5 Compact Android Development] Berni-0815:
They are seeing no chance. Sorry.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

New: Android security patch level: 05 June 2020

New: Enforced SELinux mode. This is an important security feature!
[Xperia Z5 Compact Android Development] casouzaj:
Any advances on the extreme lagging and random reboots issues whenever a gapps file is flashed?
[Xperia Z5 Compact Android Development] &(*):
deleted, I'll look into it myself by attempting the build.
[Xperia Z5 Compact Android Development] SmartDentaku:
Unusable with Gapps

Berni, thank you very much for your effort! :good:

Years ago, I also rooted our small HTC Wildfire Smartphone successfully to extend their lifespan. Later we bought new Smartphones. Now, my Z5 compact got really slow and sluggish (after almost 5 Years) and I wanted to reset it. But then, I thought about custom ROMs and was fascinated about an Android 10 ROM for my old Android 7 brick.

I installed the ROM like you descripted in the initial post and it worked as expected. But just for the plain Lineageos: smooth, fast, great! But where are the Google Apps? Okay, "Gapps" had to be installed. I tried misc versions, but even "pico" made the phone unusable! I need some commercial Apps that are only in Google App Store. It basically worked, but utterly slow, freezing, even completely hocking up. I wonder what the problem is after installing Gapps? Are there some incompatibilities with Lineageos that are unsolvable?

Other than that: the camera doesn't work and also the flash light (part of camera) - use you write in the first post. What is the problem here? I often read with custom ROMs that the camera doesn't work. Without camera I am not able to use online banking because the TAN app needs to scan the color QR Code. Another ponline banking app (for another bank) also doesn't work - no idea why it just doesn't work.

I know you work on this in your spare time. Do you have a Z5C that you use with this ROM on an every day basis? I am a Java developer and also wrote some apps some time ago. So, if I can help debugging somtehing to get the camera working - this would be great!
[Xperia Z5 Compact Android Development] &(*):
Smartdentaku, there have been many of us users offering suggestions and/or alternative approaches; from what I can gather there are not open source binaries for the hardware after Marshmallow and the group that Berni develops with do not think those are viable to get the hardware and system communicating. It might not be the case, I was thinking of attempting a build to see the issue firsthand. I know if you can accomplish rooting the phone with the bootloader locked that the proprietary software can be pulled and that should assist the hardware functionality or lack thereof. I don't know if the bounty was ever collected for the root with locked bootloader exploit. Would love to use the less RAM hungry version of this ROM myself.

---------- Post added at 10:19 PM ---------- Previous post was at 09:44 PM ----------

Berni, on page 5 for this thread you made changes to build.prop and noted that RAM usage was lowered considerably but battery drain was worse. Since then you updated the kernel, have you tried the build.prop tweak with the updated kernel with the same results (battery drain)?
[Xperia Z5 Compact Android Development] &(*):
Berni, build.prop tweaks (in case you haven't experimented with these yet), ( https://www.droidwin.com/build-prop-tweaks-android-pie/ ) (#14, #17, maybe #20?) . Also another build.prop suggestion from 17.1 GSI ( https://xdaforums.com/showpost.php?p=80252302&postcount=376 ) .
[Xperia Z5 Compact Android Development] :
build.prop tweaks do nothing to improve the performance of the rom, also some of those are made up and don't even exist (like debug.performance.tuning).

Not to mention, this isn't a gsi rom
[Xperia Z5 Compact Android Development] Berni-0815:
Unfortunately no. :crying:
[Xperia Z5 Compact Android Development] Berni-0815:
I have a z5c, but not for daily driver. If you want to have a fully working LineageOS (including camera), you should flash my los14.1 version.

Since I don't need the camera, I'm using my los15.1 version.

You can help debug the camera, sure! Flash the rom *), grab log's and try to fix the bugs.

*) los15.1 uses a self built camera HAL, los17 uses sony's binaries. Both of them are crashing, but with very different causes. In my eyes the chance to get camera working is bigger with my self built camera HAL, because the source code is available.
[Xperia Z5 Compact Android Development] Berni-0815:
That's exactly the problem! And that's the reason why I'm trying to use my own camera HAL.

Feel free to do so.
[Xperia Z5 Compact Android Development] &(*):
Are you kidding, build.prop tweaks do nothing? Apparently there are issues with the device tree, and GSI's don't reference one upon build, so who came up with a build.prop config for devices if they do nothing? I doubt the flags "are made up" as the tutorial is a general guide not specific to xperia devices per se.

---------- Post added at 05:48 PM ---------- Previous post was at 05:46 PM ----------

Please reference page 5 of the thread van; Berni applies a build.prop to the system and notices results. Paging was less, however battery was noticeably worse. I doubt everything has been attempted here or it wouldn't be met with such scrutiny and it is as if someone's ego is being bruised and battered with the suggestions (not your's Berni).
[Xperia Z5 Compact Android Development] casouzaj:
I have my 128GB SD card splitted 1/4 as adoptable storage and 3/4 as portable storage. It works fine on the stock ROM.

It doesn't matter whether I dirty flash this ROM over the stock one, or start clean and apply the sm command to split the card afterwards, it will show the internal storage plus the adoptable one as having 160GB, in a way that it takes the adoptable storage to be 128GB long, claiming that 96GB (128GB-1/4) are used, and after a random reboot it says that the adoptable storage had been removed. Weird behavior!
[Xperia Z5 Compact Android Development] Berni-0815:
Then please help me (us) to fix the problem. I am not that familiar with all parts of the development and I cannot fix or consider everything... :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
Please keep in mind, that this rom is an experimental and early BETA. Stability has highest priority. (I can't fix it, so I'm fixing things like LiveDisplay and SELinux). Other issues must come second or later. I'm sorry...
[Xperia Z5 Compact Android Development] &(*):
Berni, that's the only reason I am writing on the thread (to help); have a z5c and would appreciate an up to date OS running smooth. On page 5 you applied a build.prop with mixed results, I thought maybe some of those other tweaks suggested with the links provided work. I'm curious as to what amount the system & apps allocated RAM at ( <1.0gb ? preferrably ), if that is the case, simply disabling applications from running in &(background) along with the power saving tweaks via build.prop might make this a bit more manageable for testing and removing other bugs.
[Xperia Z5 Compact Android Development] Berni-0815:
As I mentioned several times before: Help is always welcome!

I'm not very familiar with those tweaks. If someone can help, please feel free to do so.

As I said, I'm not very familiar with that.
[Xperia Z5 Compact Android Development] &(*):
Berni, you have a build.prop present with your 14.1 build. I think you just need to make a few modifications (mainly versions of build info, os version, etc) and include it within the zip for the install to intiate the first test of the build with it applied for 17.1. From there we (myself & other's testing it) can narrow down what works and doesn't.
[Xperia Z5 Compact Android Development] Berni-0815:
There is a build.prop included. Or do I misunderstand you?

And for sure it is modified to fit the needs for newer los-versions.
[Xperia Z5 Compact Android Development] &(*):
I think the issue after enough experimentation is the kernel; build.prop is doing very little, if anything at this point. Certain options with the kernel need to be enabled ( https://source.android.com/devices/tech/perf/low-ram ). When you updated the kernel did you build and customize it yourself or just grab a generic from a repository?
[Xperia Z5 Compact Android Development] Berni-0815:
We think so too.

That's for kernel 4.4; we're using 3.10.108

Yes.

But I'm not the one who is working on kernel; that's [MENTION=6407372]tarkzim[/MENTION]

I'm only using it...
[Xperia Z5 Compact Android Development] &(*):
There is a 3.18 kernel from what I gathered from sonyxperiadev, this is what needs attention: https://github.com/sonyxperiadev/device-sony-kitakami/tree/master/rootdir . AOSP 7.1 Binaries for 810 are MIA yet there is reference to a newer kernel. Might wanna try building with that device tree/platform to see the results.
[Xperia Z5 Compact Android Development] Berni-0815:
I've asked in our telegram group if this is helpful for us. Please be patient...
[Xperia Z5 Compact Android Development] Berni-0815:
They said no. I'm sorry.
[Xperia Z5 Compact Android Development] LzBz:
You need TWRP 3.2.1, check first post
[Xperia Z5 Compact Android Development] pleniceanu cristian:
Yep, silly me
[Xperia Z5 Compact Android Development] pleniceanu cristian:
And I installed twrp 3.2.1, wiped everything, rebooted the device into power off, opened twrp, installed lineage and gapps Pico arm 64, Android 10, I restarted the phone, it shows Sony logo, lineage logo, tries to boot for a few minutes by showing lineage animated logo but eventually fails too hot completely, the animation is moving slower and slower and finally the phone restarts again and again. I tried twice following the same steps. No problem with other rom installation, I am on MROM wright now which seems to have the less power consuming kernel. I tested lineage 14, carbon rom, RESURRECTION REMIX, no problem with installation, but the Android Nougat system is the worst from all.

That's why I was willing to move forward to any other rom, even without camera but it seems that we are stuck in Nougat.
[Xperia Z5 Compact Android Development] Berni-0815:
This rom does not work with GApps. Sometimes you can install GApps, sometimes not.

There is an Oreo rom without working camera. Apart from that, the ROM works very well and can be used as "daily driver".
[Xperia Z5 Compact Android Development] Andro-n00b:
Hey everyone - I've joined from being a long-time lurker, and using Berni's builds of Lineage-OS. (thanks for your work, Berni!)

Now... time to have a look at this.

Do you have any particular lead on what the issue with the camera is? I want to help, and if you have some ideas on compiling-errors related to it, or possibly what particular firmware-conflicts there might be, we might be able to dig up documentation on the camera in the platform, and see what kinds of drivers and documentation are available.

What has the other developers of original lineage-builds said about the issue?

Btw, I notice that OnePlus 2, another Snapdragon 810 device, doesn't have a working camera in their roms either - could this be related to the actual SoC then, and not just any of the particular extra chips in the phone?
[Xperia Z5 Compact Android Development] Berni-0815:
I'm not sure; but I think, it is a combination of software malfunctions and not working closed-source binaries originally built by Qualcomm and Sony.

The last months I've been trying to make an OSS camera HAL work. Unfortunately without any success.

Other devices are using such a HAL too.

In my los15 thread I decribed the actual state of my work. There you can see what's been done.

I get stuck at the described failing ioctl()-call.

:good:

I'm not in contact with them.

There is a small kitakami developer group but none of them know how to fix this issue.
[Xperia Z5 Compact Android Development] tiptel170:
LOS17 works well, but there are often crashing the system or the application. I must reboot it, then works well for view times. I think there is an memory problem, but in my case it will be slow. And the reaction is very slowly. After rebooting, well. Sometimes reboot the LOS17 or sticking in the reboot. Then I have to switched of and hope it will be reboot normality.

Thanks for your work Bernhard, I think this is an hard work for you. I count at you, you will fix the camera and the other little bugs.
[Xperia Z5 Compact Android Development] Berni-0815:
To be honest, I don't think so. But hope dies last...
[Xperia Z5 Compact Android Development] florstat:
There is time before android Q become too old to be worth working on it :)

Do you have references to understand where problems are? I think it could be very useful to have a page where to track the explanation and the various steps of the issue, so that any potential volunteer could easily understand if it's able to give help somehow.

What's the big difference between z5c's and zc3's cameras? I saw they have los 16 full support.
[OnePlus 7 Pro Questions & Answers] duff91:
Hi guys,

So I bought a refurbished 7 pro 8/256 and I tried to record a video in all the resolution available, but all the video are having noise in the audio even if there's silence, like static noise.. Is like a costant electric noise... Is normal?
[OnePlus 7 Pro Questions & Answers] redpoint73:
If outside on a windy day, it might pickup the wind as much noisier than you would expect (which is normal for any microphone, and in line with other phones). But otherwise, I haven't noticed any static like you describe. Just checked some of my videos, and the audio is quite silent (when it is supposed to be) with no static. Unfortunately, this may be the problem (or related) that the phone was refurbished in the first place, and not repaired properly. Or they repaired one thing and not the other.
[OnePlus 7 Pro Questions & Answers] duff91:
I tried inside my house, with no noise around, and there is this static noise.. And j tought there is something wrong with mic.. Anyway is already packed to go back, I'll try a pristine one.. Let's see if is gonna be the same
[Huawei Mate 10  Questions & Answers] typhoon9000:
The latest February update of Huawei mate 10

10.0.0.156 has issues especially in screenshots while music player is playing, it stops abruptly.

Anyone experiencing same
[Huawei Mate 10  Questions & Answers] PoLiThS:
Beta tester?

Στάλθηκε από το BLA-L29 μου χρησιμοποιώντας Tapatalk
[Huawei Mate 10  Questions & Answers] typhoon9000:
Official upgrade