yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] snorlex:
on audio device.

i have 2 BT audio adapter on my home, same name, same model, both is reconnecting .

https://imgur.com/a/8KVv62G
[Xperia Z5 Compact Android Development] Berni-0815:
Ok.

I need LOG's to see what's going wrong. Please fetch LOG's by:

Reboot device

Connect to PC

Allow connection

Enter these code lines one by one in a terminal:

adb root
adb shell dmesg > dmesg
adb shell logcat > logcat

and send my these LOG's per PN and not in this thread, because they may contain personal information.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 August 2020

Offline charging working

Notification LED working
[Xperia Z5 Compact Android Development] litelinux:
Hello,

The microphone isn't working on the 0813 build. Just received an incoming call and the other side can't hear my voice.
[Xperia Z5 Compact Android Development] Berni-0815:
Just tested it; the microphone is working as expected.

Anyone else with that problem?
[Xperia Z5 Compact Android Development] litelinux:
Update, mic working again, no idea why; but the fingerprint sensor also stops working occasionally.
[Xperia Z5 Compact Android Development] &(*):
Fingerprint sensor is a known bug with systemUI and locking/unlocking functions, other's have fixed it for other models. I believe there is a caching issue of some sort with systemUI and settings within not updating. You could ask Chippa_a what his solution was for the X compact as the software is similar. Do you notice the device getting warm while doing trivial tasks and with the screen locked/off?
[Xperia Z5 Compact Android Development] OpenMinded:
I'm happy to try and help if someone can bring me up to speed :). just pm me.

Thanks for a great job!
[Xperia Z5 Compact Android Development] litelinux:
0813, mobile network standby still consuming too much battery.

Screenshot:

https://pasteboard.co/Jnj3e3x.png
[Xperia Z5 Compact Android Development] Gessle3:
No-Homo But...

...I Gotta Say:

"-I Feck'ing ? Ya Mate!"

?

[FeedBack-Wise:

Been Testing Every Single V's So Far,

& This:

"Beta:August-2020-Update"

Judging By Pure Beta-Standard's?

Is actually not too far from,

Perfection!]
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, but that's the best result I've ever seen! At my device the battery lives more than two days. Ok, to be honest, I'm not using my device very much. :angel:
[Xperia Z5 Compact Android Development] tt_rockt:
Hello, is there a good guide which I could follow to change stock system to this nice one? :angel:
[Xperia Z5 Compact Android Development] Berni-0815:
Where are you from? There is a good one in German: Klick
[Xperia Z5 Compact Android Development] tt_rockt:
german, sthat's meets very good ;). haha, thank you :)
[Xperia Z5 Compact Android Development] Berni-0815:
Yes, german. Because, I'm German and your nickname sounds german... :angel:
[Xperia Z5 Compact Android Development] litelinux:
Oh! Doesn't your device drain battery when in standby?

Mine never passes a day...
[Xperia Z5 Compact Android Development] Berni-0815:
No, not more than with all other versions of LineageOS.
[Xperia Z5 Compact Android Development] alex009988:
Hi. I have z4 tablet (Karin). Our q ROM is based kitakami source (so your ROM). I tried to use micro sdcard as internal storage. But after the reboot internal memory is corrupted. For z5 devices (not compact) it's written that hardware ecryption is fixed. So my question is does sdcard work as internal storage in z5 compact for Q ROM?
[Xperia Z5 Compact Android Development] Berni-0815:
I'm sorry, but I can't answer your question, because I've neither tried nor used that.
[Xperia Z5 Compact Android Development] casouzaj:
Am I the only user of this ROM for whom the camera works? Well, in fact, the stock camera app shows black screen, but, fortunately, Open Camera and Cameringo+, as well as WhatsApp video files and calls work. During my tries and errors to make the camera work, at the time it threw that pop-up error message, I recall having tried to install the latest Sony camera app (downloaded off the net). It failed to get installed, but I noticed that the pop-up message had gone. Then, I tried a WhatsApp video call, and it worked. And, it's been working since then.
[Xperia Z5 Compact Android Development] Berni-0815:
Do you have a link for me? I'll try it asap. Maybe a blob or lib has been installed that we don't have?
[Xperia Z5 Compact Android Development] casouzaj:
I tried this one: https://mega.nz/file/RJ5SCC6B#pTTgSXn1_IEkCMwLsXouEL3sSr7PjD_FOiBMxg3-6T4
[Xperia Z5 Compact Android Development] Berni-0815:
Thanks. But the camera is still not working. Somehow as expected... :angel:
[Xperia Z5 Compact Android Development] casouzaj:
Can't remember anything else I made. Since the camera worked, haven't changed anything regarding the camera.
[Xperia Z5 Compact Android Development] Berni-0815:
Hmm. It would help us if you're able to remember what you've done.... ;)
[Xperia Z5 Compact Android Development] Josh Guan:
you said your version is In the latest one, 20200805.

and i'm Interested in about how you install it to be 20200805, because when i use the z1c LOS 16.1, if i use install it by last version of the LOS 16.1 it will not be "android go"

but if i install old version and update it to be last version, it will be android go version, so i think sometimes you will have somethings different result depending on how you install it (or update).

but maybe i'm wrong thinking, just feel possible.

btw my way is install last version directly and try all things as what you did without any success.
[Xperia Z5 Compact Android Development] casouzaj:
I think I experimented with the Sony camera app (and noticed that the camera was working with 3rd-party apps) still in the 0805 release. I dirty-flashed the 0813 build and the camera kept working.
[Xperia Z5 Compact Android Development] casouzaj:
I completely forgot to report that I found out, weeks ago, the culprit for what I accused this ROM to be presenting an aggressive memory management: the AVG Protect app, inherited from the stock firmware. It took up some 600 MB of RAM for itself. Since I uninstalled it, I can read e-mail messages on Gmail and listen to e.g. a 23-min long classical piece, uninterruptedly, over BT headsets, from YT Music.
[Xperia Z5 Compact Android Development] &(*):
If what you state is true, there must be something else present that is missing from the majority of user's phones. I'm wondering if you did a DRM restore ( https://xdaforums.com/xperia-z5/development/sony-credentials-restore-unlocking-t3296383 ) at some point and the app allowed libraries to be included after doing a check?
[Xperia Z5 Compact Android Development] casouzaj:
No, I haven´t flashed it. As you can check, it installs stuff in the system partition, and Android 10 is SAR. As in your linked thread, the OP states that it is outdated, a long time ago I tried to repack the kernel with his PC tool and also the patched version, but both scripts, in either Windows 10 or Linux, hang at the beginning, with any of the already released Android 10 kernels.
[Xperia Z5 Compact Android Development] &(*):
SAR? Tool is for >=X. What were you trying to accomplish, a prerooted kernel with DRM wrapped? You've done modifications that are clearly complicated, surely you can copy and Google Drive your kernel and system for other's to poke at and see what is different and present on your device that is missing from the rest.
[Xperia Z5 Compact Android Development] casouzaj:
[

Kernel is ichanged only by the stable Magisk v20.4. I'll try to upload them and let you know when it's finished.

EDIT: Here are the boot and system partitions. I copied them through 'dd 'commands, under TWRP. Enjoy!
[Xperia Z5 Compact Android Development] John Paden:
Hey Bernie, I loved your V14 for suzuran - its so cool you pick up on the V17.1 now. Found it today and will start test.

Installation went smooth.

From Lineage 14 - phone off

vol up +usb = blue led => fastboot but nothing on the screen

New TWRP 3.2.1: fastboot flash recovery recovery_suzuran_230218.img

Boot to TWRP

adb push lineage-17.1-20200813-UNOFFICIAL-suzuran.zip /sdcard

advanced wipe: cache data system davlik

install lineage-17.1-20200813-UNOFFICIAL-suzuran.zip

reboot & fresh install

reboot to TWRP to root via Magisk

adb push Magisk-v20.4.zip /sdcard/

install Magisk-v20.4.zip

reboot

First findings after 90 minutes:

Given the age of the phone, it is a blazing fast image. Fingerprint reader works great.

- Captain Obvious states: yes, memory footprint ist low. Thanks for post #197 .

- 2 unpredicdented reboots so far o/w one during editing the design - icon form to square

- Netguard does not work: Pity. Netguard is sort of a must have. How can I assist making it fly?

- USB OTP does not work. USB Stick just does not show up. No big issue since the internal sdcard reader works

- Hotspot: Other phones do connect but do get no data ("no internet")

- GPS: works fine and fast (GPSTest and Google Maps via Firefox)

- Camera:

- original included - only black screen but no pics.

- OpenCam - same with API and API2

- com.sonyericsson.android.camera_2.4.1.D.0.51-4726835 - does not even install.

Bluetooth:

- Plantronics headset connected and receives sound

NFC: tested with 2 apps no luck - but maybe its my old phone

Battery consumtion: awesome low. AccuBattery suggest a up-time up to 94h (with a new battery) - thats 4 days. With Sceen always on, still 8,5h. Both while logged into a Wifi all the time.
[Xperia Z5 Compact Android Development] John Paden:
Turning ON VoLTE ?!

Hi [MENTION=10366213]litelinux[/MENTION] you made VoLTE work on this device?

How?
[Xperia Z5 Compact Android Development] John Paden:
Z5 Premium

Hi Bernie,

you might think 'das musste ja so kommen' ,-) ...

What about restarting your great tradition of recompiling the z5C code for the Z5 Premium satsuki?

I have a z5P with 2 SIMs - here - today on the V14.1 but ready for testing .... .
[Xperia Z5 Compact Android Development] Pentarick:
Hi,

Thank you for your work. First impression is good, UI is snappy. Too bad the camera doesn't work, that's keeping me from using the ROM as a daily driver.

But when I use any of the camera apps, I don't get an error, however the image is all black. I'm under the impression something is wrong with the camera initialization, as parameters from the camera are being read
[Xperia Z5 Compact Android Development] litelinux:
My carrier (still) doesn't support VoLTE, I just turned off the switch.
[Xperia Z5 Compact Android Development] UbeSinganga:
Same Bluetooth problem

bluetooth connection work on my TWS Sony WF 1000X (BLUETOOTH 4.2) but continue to disconnnect and reconnect on my Sabbat Ultra (bluetooth 5.0)

i dont know if bluetooth version of the TWS makes any difference.
[Xperia Z5 Compact Android Development] torukk:
I had the same problem, old aptx libraries not work in 10.

Here is solution for Berni, to incorporate it in the vendor blobs:

https://xdaforums.com/showpost.php?p=83303221&postcount=17

I can confirm that with above libs it works in suzuran 17.1 with my aptx enabled bluetooth headphones. It is indeed not device specific problem but general 10 incompatibility of old libs.
[Xperia Z5 Compact Android Development] John Paden:
[MENTION=10366213]litelinux[/MENTION] where exactly did you switch it of? I do not see any switch in any of my settings?! Should be in the settings of the phone app, right?
[Xperia Z5 Compact Android Development] torukk:
BTW I've tried images posted by casouzaj in https://xdaforums.com/showpost.php?p=83432167&postcount=253 but no change with camera (tried default camera and opencamera), I've also tried to install that sony camera app he also linked, installation failed of course, but it has no effect, camera still don't work. I can't understand why the camera works for him, and if it really do, it must be something like he has original TA partition or has something special in /data which makes it working, but I highly doubt it.
[Xperia Z5 Compact Android Development] casouzaj:
It must be something in my data partition, but, for obvious reasons, I can't share the whole partition, like I did with the boot and system ones. I could tell anyone some specific data related to the camera function. When I was with a stock ROM, I had a patched boot image with my DRM keys and flashed my generated TA.ftf file. Not anymore with LOS 17.1.

As I posted before, the stock camera has always showed me black screen, but when I tried to change it from picture to video mode, my Z5C phone simply immediately turned itself off. Upon turning it on again, 3rd-party apps which make use of the camera, which previously worked, stated that they could not connect to the camera.. For some half an hour I though I had lost it, like everyone else here, but a couple of reboots later, my camera is back to business. What a fright!

EDIT: I don't believe it would affect the camera in any way, but differently from most users of this ROM, wherever I have to flash a gapps package, I pick opengapps micro.
[Xperia Z5 Compact Android Development] Berni-0815:
Which of these files have you installed?
[Xperia Z5 Compact Android Development] &(*):
Just extract the libs ( https://github.com/multiwirth/aptx-HD-magisk/releases/tag/1.1 ) from the magisk module: ( https://xdaforums.com/apps/magisk/module-aptx-hd-legacy-devices-armv7-t4081693/page3 );

Btw, I was able to install the latest Sony Camera app (not working, yet: unknown error) with a cp command; scratch everything else I wrote, as I must of been tired and the tiny text on the terminal was read wrong. Still working on piecing together the libraries.
[Xperia Z5 Compact Android Development] Berni-0815:
I've tried those images too; without any success either.

I don't think that is has something to so with different data. My idea is, that [MENTION=346743]casouzaj[/MENTION] has some kind of another hardware revision or so.
[Xperia Z5 Compact Android Development] Berni-0815:
There is a ROM for that device available: Klick
[Xperia Z5 Compact Android Development] &(*):
I think it has something to do with the DRM and TA restore he performed after unlocking it. Subsequent wipes through TWRP don't necessarily touch the TA after OE unlock has been performed, that's a one time event is it not? I think the official camera app has some kind of check to confirm if it is running on genuine hardware through either the TA and/or DRM key. That might be how he was able to install it without a failure, as I had to cp it (the official camera app) into the /system/app directory and change permissions to even get it to launch and error. Afterwards, I started including other files and libraries and confirmed that the app was reading those files (handles will indicate active if you try and delete it while in use.)
[Xperia Z5 Compact Android Development] John Paden:
Year, but stalling since February and never in the quality and performance of your code.

So... is it too much to aks for?

Where are u located, since I travel frequently in Germany, I bring a 'Kiste Bier' ? ,-)
[Xperia Z5 Compact Android Development] &(*):
TheMuppets repo?

Berni,I wonder, if you try building 17.1 with TheMuppets branch after downgrading the build to 32.4.A.0.160 would be of benefit? Have you experimented with it?
[Xperia Z5 Compact Android Development] casouzaj:
No, the Sony Camera app failed to get installed on my phone as well.
[Xperia Z5 Compact Android Development] Berni-0815:
The guys in our dev group are saying that it must have another reason. I'm really not sure about that and I'm running out of ideas...
[Xperia Z5 Compact Android Development] Berni-0815:
Oh! Haven't seen this.

No, never!

I live in the far north, near the North Sea.

I will look at the source code of Z5P and then see if I can build a version of los17 for this device. Please be patient.
[Xperia Z5 Compact Android Development] Berni-0815:
I really don't have enough time to deal with it right now. I'm sorry!
[Xperia Z5 Compact Android Development] &(*):
Was it after failing that the camera all of a sudden started working? I thought you posted that you installed the latest Sony camera app?

---------- Post added at 10:50 PM ---------- Previous post was at 10:49 PM ----------

Did you dirty flash or wipe and then install Lineage?
[Xperia Z5 Compact Android Development] casouzaj:
Right after the failed attempt to install the Sony camera app, I made a video call through WhatsApp, and it worked.

I always dirty-flash the ROM and leave it sort the data problems out for some time.
[Xperia Z5 Compact Android Development] &(*):
Okay, there's a clue (dirty-flash); does dirty flashing leave what's already there untouched and just installs what isn't? It's looking more like a needle in a haystack now. Can you post a screenshot of your running apps and cached apps when you open a video or camera app that works? Maybe we can see what else the apps are referencing during use.
[Xperia Z5 Compact Android Development] casouzaj:
Here they are, whilst running Cameringo+. I don't see anything to highlight.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post.

Android security patch level: 5 September 2020

Updated aptX encoder blobs; please test them and report if they are working!

Fixed RIL/Telephony issues
[Xperia Z5 Compact Android Development] UbeSinganga:
bluetooth connected

downloaded. tried with aptx bluetooth 5.0 TWS. no more disconnects

Danke Berni
[Xperia Z5 Compact Android Development] torukk:
From https://github.com/Aqua-devices/vendor_google/tree/x/blueline libaptXHD_encoder.so and libaptX_encoder.so to vendor dir 64bin lib dir, current 32bit libs can be deleted, they are not necessary. This applies only to 17.1 branch of vendor blobs, those libs in 15.1 branch works correctly.

---------- Post added at 09:45 PM ---------- Previous post was at 09:30 PM ----------

By the way, I'm also trying to adapt camerawrapper/shims from shinano (z3 and likes), still no success, but this is not ideal because they have latest official camera HAL from sony for version 6, while we have the same for 7, so I'm not sure if I'll be able to adapt for example this and related commits to version 7 https://github.com/LineageOS/androi...mmit/de5416ca15c27aa1b204e540a5510f54b67cb3f6

Anyway, what I believe we need is to find some device with camera supported in 17.1 release, for which the last vendor support was android 7, like ours z5(c). Because such camerawrapper/shim must be more or less generic, it wraps loading old legacy hal for 7 (like camera.qcom.so) and modify/shims new 17.1 camera HIDL interface to use legacy HAL API from version 7.
[Xperia Z5 Compact Android Development] Berni-0815:
Here you'll find what you're searching for... ;)
[Xperia Z5 Compact Android Development] weasal:
Any chance you would be willing to bump the wifi/BT firmware blobs to these: https://xdaforums.com/showpost.php?p=74029028&postcount=14?

Thanks for the great work!
[Xperia Z5 Compact Android Development] Berni-0815:
Sure can I update them! Is there a need to update these firmware files? Are there any problems known? :confused:
[Xperia Z5 Compact Android Development] weasal:
Since there are no change logs from Qualcomm, I have no idea what is in the new (new for 2017 :) versions, but I have noticed that my phone does not go into wifi power save mode when idle (it's reported by my access point when it does). I'm hoping there might be a fix in there to reduce power usage when idle.
[Xperia Z5 Compact Android Development] Berni-0815:
My next release will include these updates. They are working on my device. But I can't say if there is any improvement.
[Xperia Z5 Compact Android Development] weasal:
Excellent, thanks!
[Xperia Z5 Compact Android Development] &(*):
Main camera & Torch on same circuit & Kernel

Berni,

I stumbled upon a few peculiarities with the hardware as I had to disassemble my z5c. First, the kernel needs to reference a battery limiter function and/or algorithm as it will overcharge the phone while it is off, charging while on is fine. Second, you mentioned something upon shimming software in order for the torch to become functional, did you know the main camera is integrated on the same circuit? I confirmed this by booting the device without the main camera plugged in and the torch was no longer selectable in quick settings. Plugged it in and booted and the torch was selectable again - maybe the modification to enable the torch is interfering with a register for the camera? I didn't test the front camera to see if that is also on the same circuit, but it might be too. Ask your team to look into the above.

Side note: the firmware suggested by weasal may not contain the broadpwn exploit patch. If you are going to update it, there might be something out there with the patch included for the BCM43xx series (maybe within a software binaries update for X, which may or may not be kernel specific).
[Xperia Z5 Compact Android Development] dropkickmatze:
Hello,

How can I uninstall the Aurora Store and UnifiedNLP?

I can only disable these applications, uninstallation is not offered because they are probably system apps, right?
[Xperia Z5 Compact Android Development] Berni-0815:
I've never seen that before. Can you show evidence of this?

I will ask.

Oups! I don't think that I understand what you're talking about...
[Xperia Z5 Compact Android Development] Berni-0815:
You can delete

/system/app/AuroraStore/

and

/system/app/UnifiedNlp/

in TWRP.

Or, if your device is rooted, you can delete them in a terminal with root privileges.
[Xperia Z5 Compact Android Development] Josh Guan:
Hi there

i just notice about LOS 17.1 has something different with other version in the CPU clock

as everyone knows this kind of CPU that S810 has very poor power consumption, so usually i will using Qboot to limit big core as 864MHZ about 44%

making the temperature of my phone more cool, yeah be cool

so original frequency of little core is 1555MHZ and big core is 1958MHZ, however i notice my z5c is limit big core in 1536MHZ that is find but little core is 1344MHZ with LOS17.1 version as my attached photo

https://photos.app.goo.gl/sLLBzS44munPb1f2A

https://photos.app.goo.gl/Mr9fMdj5bUzzgmtv8

i remember when i tried LOS14.1, LOS15.1 and stock ROM not like this

i didn't read any info about limit core on this OS version(maybe i missed it), so i want to know if anyone same as me like this or maybe i do something wrong

if it is normal, could you please explain to me about this setting, because i think limit big core is ok, it's make sense but power consumption in little core is good i don't know why so limit it, thx
[Xperia Z5 Compact Android Development] Berni-0815:
You can't read any info about this because there is no limit made by us.
[Xperia Z5 Compact Android Development] Berni-0815:
New version out; see 1st post

Android security patch level: 5 October 2020

Updated aptX encoder blobs

Updated wifi/BT firmware files
[Xperia Z5 Compact Android Development] setyalhm:
How long should the first boot take?.
[Xperia Z5 Compact Android Development] Berni-0815:
Only a few minutes. If it lasts longer, you should do a clean install.
[Xperia Z5 Compact Android Development] da_julez:
@ Bernie-0815 Thanks for letting our old z5c not rip! latest version of october very good and stable rom ! Good work man! Besides power consumption is a little high, standby drains battery a lot, used your instructions to delete most power consumpting apps but hey we got Android Q on our z5c! Btw using your rom without SIM card. Grüße aus Aachen ;) - Greetings from Aachen ;)
[Xperia Z5 Compact Android Development] sabar_op:
@ Berni-0815

Just to inform you that I am able to make cam works in my Z4 tablet (similar common tree with Z5) using LineageOS 17.1. I am using source from tarkzim, camerawrapper from torukk (sony x los16) and and shim from shinano los 17.1.

The snap cam is working (both cam), video cam is not working.

Simple camera gives weird cam result, and open cam now works after turn off the flash (Z4 doesnt have it). Video cam in open cam works but horrible laggy.