yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Original Android Development] ErF26:
I did that and even installed rom again but the issue still
[Xperia Z5 Original Android Development] kerimcem:
too much lagging,I went back to 7.1
[Xperia Z5 Original Android Development] _harley:
Yes, MicroG is Compatible

ah then wait for tarkzim to give an update.
[Xperia Z5 Original Android Development] _harley:
Mind Giving more details so Tarkzim can maybe fix the issue you are experiencing?
[Xperia Z5 Original Android Development] zeuszos:
What 7.1 rom you want to use? Android 12 is lagging. This is true.
[Xperia Z5 Original Android Development] kerimcem:
https://xdaforums.com/t/rom-7-1-x-lineageos-sumire.3536846/

i use this it is much faster and 23 mp values.
[Xperia Z5 Original Android Development] tarkzim:
Don't expect good performance with latest Android on such an old device guys...

This was just for someone who wants to try the newer operation system.
[Xperia Z5 Original Android Development] tarkzim:
New build released

Updated with August security patches.

Upstream updates and fixes.
[Xperia Z5 Original Android Development] donnie27:
Traffic data monitor doesnt shown on wifi connection and please bring back twrp recovery. Thx @tarkzim
[Xperia Z5 Original Android Development] tarkzim:
This feature is not gonna work on Android12+ since we are using such an old kernel which don't support the new BPF feature.

And i don't understand what's the TWRP problem?
[Xperia Z5 Original Android Development] K9100ii:
There's patches for bringing back the old non-BPF network traffic monitoring support.

Revert the removal of non-BPF network traffic monitoring support · K9100ii/android_system_netd@d34ea34

Revert "eliminate TrafficController's mBpfEnabled & friends" This reverts commit ec36c89c5e6cc6beb7b8ca65e23c824e04a85cdc. Revert "bpf is always supported" This rever...

github.com

Ignore bpf errors for < 4.9 kernels · K9100ii/android_system_bpf@fd014d8

Change-Id: I037e4745d5bde12e6edd35203d3d3604ef1ec4c2 Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: rajkale99 <kaleraj.rk@gmail.com>

github.com
[Xperia Z5 Original Android Development] kukubau:
This bug might have been reported but anyways.

Bluetooth File Transfer Wizard (Fsquirt) within Windows 10 isn't compatible with 19.1. I cannot send any files from my W10 laptop to the Z5 (E6683 dual sim).
[Xperia Z5 Original Android Development] Berni-0815:
I've tried this (plus revert of commit 916d2395cc28144261cf6b2a9c528680659f18fd in system/bpf; otherwise isBpfSupported() is unknown!). But unfortunately it shows the same as before: Nothing (0 byte traffic).

And, curiosiously, there seems to miss some SELinux permissions, because in enforcing mode the setting app crashes on and on. Only in permissive mode it works; but I can't figure out which permissions are missing...

Every hint is welcome!
[Xperia Z5 Original Android Development] K9100ii:
Only reverting that commit in system/bpf is not sufficient. All that brings back is a isBpfSupported() function that just returns true, no matter what, and so it's useless.

You need the two commits here and here in system/bpf. (Rebased to have these two to give proper credits, rather than the single commit, by the way) Second one adds a proper isBpfSupported() function that returns false if the ro.kernel.ebpf.supported property is set to false.

These patches work fine on the two devices I'm using them for, so no ideas in case of any issues.

Haven't ever observed anything like that. Got denials to address from AVC messages in a log from either dmesg or logcat, I suppose.
[Xperia Z5 Original Android Development] Berni-0815:
So, this value should be set to "false" in my device's system.prop? Or is "false" the default value?

I'm using "audit2allow" to get those informations.

Will give it another try asap.
[Xperia Z5 Original Android Development] K9100ii:
Yes, it should be set to "false" for BPF not being supported. "true" is the default.

To be honest, you should address denials manually at times, and not overuse such a tool. It isn't so involved, just time-consuming, something to learn (that isn't so complicated, only a few details from an AVC denial message are needed), and it needs a lot of decision-making (for example, if a denial should actually be addressed (in cases where everything seems to work fine with it), or if a rule should be restricted to a limited context rather than granting full access to, for example, the entirety of sysfs). You can only get so far with such a tool.
[Xperia Z5 Original Android Development] Berni-0815:
1st: Mobile data traffic is now working.

2nd: The only left "avc:" beside hints to secd_exec are these two:

08-30 21:56:25.559 517 517 I auditd : type=1400 audit(0.0:131): avc: denied { ioctl } for comm="tad_static" path="/dev/block/mmcblk0p1" dev="tmpfs" ino=1782 ioctlcmd=1260 scontext=u:r:tad:s0 tcontext=u:object_r:trim_area_partition_device:s0 tclass=blk_file permissive=1
08-30 21:56:25.559 517 517 I tad_static: type=1400 audit(0.0:131): avc: denied { ioctl } for path="/dev/block/mmcblk0p1" dev="tmpfs" ino=1782 ioctlcmd=1260 scontext=u:r:tad:s0 tcontext=u:object_r:trim_area_partition_device:s0 tclass=blk_file permissive=1

That's what I wanted to say with "curiosiously"...
[Xperia Z5 Original Android Development] Berni-0815:
Weird! After a rebuilt with your commits SELinux is working flawlessly in enforced mode.

Dunno why... :oops:
[Xperia Z5 Original Android Development] Ramon111:
Hello, I have some issue with brightness, LCD suddenly dims (to about 50%) and brightness slider doesnt react in the second half of its track when trying increase it . Only reset of the phone helps. This issue was also with lineageos 18, lineageos 17 was OK.
[Xperia Z5 Original Android Development] psi78:
I tried this ROM now too (used Bitgapps for Android 12.1 in addition) and can confirm that.

It happened to me too several times outside today that the brightness got dimmed suddenly and didn't react anymore to the brightness slider.

Had to reboot to fix it and recognize anything in the sun then.

I'm having auto brightness off, when the problem occured i tried also auto brightness on, but didn't help.

Otherwise great work.
[Xperia Z5 Original Android Development] psi78:
Recording WhatsApp audio messages is still bugged on this ROM (as in LOS18), logcat attached.

When i try to record an audio message in WhatsApp it doesn't record anything.

Additionally when i click on any audio message in WhatsApp, the screen goes off. Weird.

Logcat and dmesg attached in ZIP.

Seems audio recording level is too low (see screenshot)

Edit: hmm maybe this thread could be a hint, they're mentioning to turn off qualcomm encoder and use aac instead

[BUG] Voice Record failure LineageOS 14.1 · Issue #3021 · iNPUTmice/Conversations

I had to use a fixed voice recorder for the last version of Conversation, now that it integrates the feature it doesn't work at all and crashes the app.

github.com
[Xperia Z5 Original Android Development] Sir Charles82:
Hey @ all,

I have a Sony Z5 (E6653) in unchanged state (i.e. Android Nougat stock installed) and would like to use the phone (once was my working phone but after stuck at Nougat was quickly changed).

I've read through several threads dealing with the backup of the TA-partition and saving the DRM keys.

My questions:

1. backing up the TA partition is still only possible by flashing Lollipop, saving the TA partition, using this (https://xdaforums.com/t/how-to-back...n-and-root-the-device-detailed-guide.3479532/) guide? Or this second one: https://xdaforums.com/t/universal-dirtycow-based-ta-backup-v2.3514236/

2. is the backup necessary? I surely won't sell the phone, I'm willing to use it until it melts in my hands ;-) Is there a drm-fix included in this LOS-build?

3. I've generated the code for unlocking the bootloader, does this guides linked above after backing up the TA partitions still apply?

4. I have the smart cover, which is connected through NFC... will this work? Although after factory reset it won't work under the stock rom,....

Any help will be appreciated
[Xperia Z5 Original Android Development] Sir Charles82:
PS: is there anywhere a working URL for downloading LP for the Z5 (E6653)?
[Xperia Z5 Original Android Development] dogansan:
Whatsapp web QR scannning to login in my laptop and desktop is big trouble with this gcam. Is there any solution to this issue? Otherwise, I am OK with taking picture with gcam or open cam mod recommended by @Harley .

An additional info is I can login Wechat on PC by snanning QR code very quickly.

https://xdaforums.com/t/qr-code-sca...orking-with-honor-8-pro.3638354/post-79057859 . This seems to work

Update : This works quicker than above method. https://xdaforums.com/t/rom-9-0-oneui-n920x-g92x-floyd-note8-port-v5-1.3882804/post-81770347
[Xperia Z5 Original Android Development] dogansan:
I need to report another issue: servicemenu and secret codes such as *#*#7378423#* #* is not working anymore after moving from 7.1.1 to Lineage 19.1. I understand that /system/app/ServiceMenu folder ve ServiceMenu.apk is missing. I extracted my stock ServiceMenu folder from original E6633_32.4.A.1.54_1297-9122_R2E.ftf and then from system.sin, mounted system.ext4 . Copied the folder to /system/app/ , but it did not work. I think there is a symlink from /ServiceMenu/lib/arm64/libservicemenu.so to /system/lib64/libservicemenu.so, but this file is missing in our /system/lib64 folder and I don't know how to create this symlink. I copied stock file libservicemenu.so to /ServiceMenu/lib/arm64/ then I wrote ln -s //system/lib64/libservicemenu.so ./symlink but it gave an error "libc: Access denied finding property "libc.debug.malloc.options" . I see that it is not that simple creating a symlink in android. Any idea or suggestion is appreciated. I had tried this in TWRP recovery.

Then I tried the same as follows in my linux :

adb shell "ln -sf /system/lib64/libservicemenu.so /system/app/ServiceMenu/lib/arm64/"

libc: Access denied finding property "libc.debug.malloc.options"

libc: Access denied finding property "ro.debuggable"

libc: Access denied finding property "libc.debug.malloc.options"

libc: Access denied finding property "ro.debuggable"

It gives same error
[Xperia Z5 Original Android Development] dogansan:
Any solution you found to laggy Twitter ? It was initially acceptable when I first installed Lineage , but a couple days later the sluggish scroll started. I have installed several apps, magisk, Lsposed and some modules but I don't know if any of these apps may interfere with twitter. I also updated Google apps via Playstore

Edit 1: I found a temporary solution by using twitter web version inside Opera browser, acceptable scrolling , better than nothing.

Edit 2 : Twitter lite also runs smooth
[Xperia Z5 Original Android Development] Ramon111:
Hello guys, I have used this rom for several days and found these problems.

LCD brightness lives its own life suddenly from normal level down to the lowest and back when light in room not change, after some time the LCD get dim permanently and reboot needed.

Proximity sensor does not work, during a call the LCD is black.

Default camera work odd, taking a snap lasts veeery long, flashlight goes first and snap is taken several seconds after, many times the camera stuck during the first atempt to take a picture and reboot needed. The Open camera app works much better.

During a videocall (Viber) the camera freezes after about 15-20 min. (always) and reboot needed.

Otherwise very nice rom, but especially the LCD bug make usage very uncomfortable, other bugs are not so important for me.
[Xperia Z5 Original Android Development] Ramon111:
Found that the problem with stuck camera solve killing system/bin/cameraserver_kitakami, the camera starts working again but it does not solve it permanently.

The LCD dimm bug is a problem with max brightness value. After reboot the value is 4095, after some time something happens and the value is overwritten to 255, the lcd get dimm and remains so until reboot is performed. I solve it by changing permissions in Root explorer /sys/class/leds/lcd-backlight/max_brightness (uncheck all write permissions), but after every reboot it must be done again cause default permission status is booted. For permanent solution must be changed boot image or a script made and I am not so expirienced to solve it this way.
[Xperia Z5 Original Android Development] _harley:
Hi! I saw this repository on the L18.1 and was wondering if this will be able to fix the Digital Zoom, Focus and other camera related stuff?

sumire: add missing camera blobs (Github: linckandrea / proprietary_vendor_sony_kitakami)
[Xperia Z5 Original Android Development] psi78:
Those look like @linckandrea sources for sumire's crdroid 11, so i guess no (i'm using that rom's latest version of Nov 2021). It's just adding missing libraries to the ROM. (Edit: tarkzim's sources contain similar libs, just slightly different naming:

vendor/sony/kitakami-common/proprietary/vendor/lib/libmmcamera_chromaflash_lib.so:system/vendor/lib/libmmcamera_chromaflash_lib.so \

vendor/sony/kitakami-common/proprietary/vendor/lib/libmmcamera_optizoom_lib.so:system/vendor/lib/libmmcamera_optizoom_lib.so \

vendor/sony/kitakami-common/proprietary/vendor/lib/libmmcamera_ubifocus_lib.so:system/vendor/lib/libmmcamera_ubifocus_lib.so \

See

https://github.com/Sony-MSM8994-Dev...9.1/kitakami-common/kitakami-common-vendor.mk )

Edit2: Hmm ok sorry @_harley did just read that error log here by @dogansan, so possibly those libs are important, my bad: https://xdaforums.com/t/rom-11-0-unofficial-lineageos-18-1-sumire-stable.4174189/post-87532105

Atm the best method (for the newer android versions on sumire) to improve camera on close range / documents is what i descibed already in LOS18 and crdroid thread: https://xdaforums.com/t/rom-kernel-unofficial-11-0-crdroid.4284023/post-87384349

And when using open camera for close distance photos in not optimal lighting conditions, turning on flashlight (torch/in the open camera app) also helps a lot.
[Xperia Z5 Original Android Development] psi78:
Interestingly Sony AOSP documentation for Xperia Z5 says their AOSP project supports 20 MP camera:

See https://developer.sony.com/develop/...functionality/current-platform-functionality/

Sony Software	Open Devices
Kernel	3.10	3.10
Android version	Android 7.1	Android 6.1, Android 7.1

Main camera capability	23 MP Sony Exmor RS™ for mobile sensor, Hybrid Autofocus 0.03 sec, 5 x Clear Image Zoom, Up to 8x Digital Zoom	20MP
[Xperia Z5 Original Android Development] psi78:
Hmm,

Hmm interesting, certain versions of HTC camera app work on crdroid 11 and support 20 and 23 MP, possibly on LOS 18/19 too, see https://xdaforums.com/t/rom-kernel-unofficial-11-0-crdroid.4284023/post-87630773

No photo preview though, so kinda similar to the patched open camera version you posted
[Xperia Z5 Original Android Development] psi78:
Ok, forget what i said, i found out Camera2-API works with HedgeCam 2 Advanced camera!! Much better image quality even with 8MP!

You don't need the HTC camera and 20 MP.

See

https://xdaforums.com/t/rom-kernel-unofficial-11-0-crdroid.4284023/post-87631043
[Xperia Z5 Original Android Development] _harley:
Thanks, I'll try that later. Btw do you happen to know how i can bypass safety net? it keeps failing and i do not know how to setup Magiskprophide
[Xperia Z5 Original Android Development] psi78:
You probably need safetynet-fix magisk mod by kdrag0n.

After installing you have to delete App data of Playstore and Play Services.

Regarding Hedgecam, i couldn't reproduce the good results consistently, probably was coincidential lucky shots because of a fitting autofocus
[Xperia Z5 Original Android Development] _harley:
Thanks I'll try it sometime, Regarding Hedgecam it's quite pretty good. I was able to get decent shots using it and comparing it with Footej and Opencamera Mod i'd say it's pretty close as to using a 20/23mp mode of this phone.

My Opinion bout it:

Footej: shots fast but also makes the worst ouptut

OpenCamera Mod: Depending on the Mode your in it can be very slow or very fast

Mode:

Camera API Legacy: Slow, No Preview, 23MP works, Focus is not good on near shots, Does a decent shot on landscape with fine details

Camera API 2: Same as Footej.

Hedgecam: Slightly Slow, Produces a good sharp (but not over sharpened) image, Makes me wanna wonder if it's actually capturing in 8mp or 20mp in disguise?, UI is similar to Open Camera, Lot's Of options to customize how it handles the camera, Gets Buggy sometimes with an error of "Serious Camera Error" (OS Level Issue i think)
[Xperia Z5 Original Android Development] psi78:
Hmm yes, i played around with Hedgecam more too.

Best results when i click on the point in the image i want the focus on, and when a green circle is there.

With bad lighting i often get red circles for the focus.

But with manual focus instead of autofocus, setting the ISO and Blende/aperture by hand so the lighting is appropriate, i get better results too.

Edit: However the manual settings seem to make the camera server crash more often (?)

Edit 2: Look here for options how to get more consistent good results:

https://xdaforums.com/t/rom-11-0-un...ng-camera-quality-guide.4515659/post-87711767
[Xperia Z5 Original Android Development] Mahomed123:
Hello evryone.

Can someone tell me if the SIM card is working well for this ROM?
[Xperia Z5 Original Android Development] z3non:
tried it with clean install, works on z5 dual - great work!

revolut and netflix can't be installed (due to invalid signature I guess ..). This is currently a show stopper for me. But nevertheles, a great thing to see Android 12 running on such an old device - kudos!
[Xperia Z5 Original Android Development] _harley:
Can you pull out the audio configuration files for the Z5? i modified mine and accidentally deleted the original files on my pc so i can't restore it.
[Xperia Z5 Original Android Development] psi78:
You can extract files from a ROM as described here: https://wiki.lineageos.org/extracting_blobs_from_zips
[Xperia Z5 Original Android Development] Berni-0815:
The configuration files can be found in the device's source trees:

sumire

kitakami-common
[Xperia Z5 Original Android Development] _harley:
Thank you! I'm trying to make USB audio work on my Z5 dual, the original configuration files only work when a player like "Hiby Music" has special permissions to use it but when i use it globally it get's detected but it does not output any audio at all to my DAC / USB Audio
[Xperia Z5 Original Android Development] _harley:
i forgot you commented on my reply on Lineage 18.1 with the sony audio eq port. Somehow that fixed my USB audio from not working fully, now it works but only on again : HibyMusic
[Xperia Z5 Original Android Development] se1222:
I installed the LineageOS 19.1 and the GApps package on my Sony Xperia Z5 E6633:

During testing, I experienced the following problems:

1. The SmartShaker plus application (iLuv Creative Technology) can be installed fine, but when I try to start it, the window closes after a brief appearance.

2. If I try to enter a destination using voice commands in the Waze or Google Maps, nothing happens, the applications stop.

Thank you in advance for your help.
[Xperia Z5 Original Android Development] se1222:
How can I set certain notifications (e.g. gmail) to take effect immediately even in sleep mode?
[Xperia Z5 Original Android Development] TheZeroth:
1. Hardware Encryption doesn't work!

--

E6683 variant of Z5

lineage-19.1-20220807-UNOFFICIAL-sumire

Magisk Installed for Root.

--

I can go through Encrypt phone process, goes too fast through actual encrypting process, then asks for password, then never comes out of booting animation of lineage.

hold vol up and power to power down, i can fix it by wiping data partition via TWRP

2. Any known way to get VoLTE work?
[Xperia Z5 Original Android Development] Max.Payn3:
I love this rom , smooth and made the z5 feel good as new, Thanks @tarkzim 🤓

For camera I'm using cameraGo ( autofocus works ) turning on Hdr or night mode seems shaky other than that it's great with good image quality
[Xperia Z5 Original Android Development] Max.Payn3:
I just have one problem - Calling isn't working with LTE mode and sometimes work with GSM mode 😅
[Xperia Z5 Original Android Development] ELFswe:
For me on the E6653, it gets stuck on the encryption screen saying it's 00:00 time left to finish. I left it like this for 3 hours, maybe even more. Ended up having to wipe the partition.

I'm guessing this is why I can't get the bank verification app to accept a new ID. Most likely requires encryption to be on.

(This is ofc my backup phone)

I'll try 18.1 instead :)
[Xperia Z5 Original Android Development] tarkzim:
I think encryption is buggy, avoid them.

And for banking apps, they usually verify SafetyNet or PlayIntegrity now, you have to find a way to bypass it.
[Xperia Z5 Original Android Development] Me.de:
It keeps Crashing, i mean i can boot it, but every 10 Seconds it Crashes and reboot itself
[Xperia Z5 Original Android Development] Sovereign108:
It's a shame about encryption being buggy :(

So, I am guessing newer versions of LineageOS fix the encryption being buggy? I too was stuck in the lineage boot logo.
[Xperia Z5 Original Android Development] tarkzim:
No, it won't be supported anymore in newer versions.
[Xperia Z5 Original Android Development] Sovereign108:
Thanks for the info.

Do you mean it won't be supported anymore for Xperia Z5 or generally for LineageOS? As having a search around it's still a bit vague for me on the state of encryption for LineageOS.
[Xperia Z5 Original Android Development] tarkzim:
Z5 can't use newer encryption feature on later versions.
[Xperia Z5 Original Android Development] Sovereign108:
Thanks for the clarification, that's a damn shame! Anyway, thanks for the custom ROM, made my Z5 more useful :)
[Xperia Z5 Original Android Development] kuro0:
Is there any solution to calling speaker not working it was working fine before i installed the rom
[Xperia Z5 Original Android Development] krater23:
Hello, I have found the solution to record audio messages in Whatsapp. Download the file "audio_policy_configuration.xml" and copy it in /system/vendor/etc from twrp
[Xperia Z5 Original Android Development] kuro0:
but now the ringing and alarm r silent how can I fix it?
[Xperia Z5 Original Android Development] krater23:
I don't quite understand what you mean, can't you change the volume from the sound settings?

In my case it works fine, the only thing that still does not work very well is the sensor in calls and whatsapp audios, the screen stays black until you press a button.
[Xperia Z5 Original Android Development] kuro0:
Yes alarm&ring always at 0 and can't be raised and for some reason i ****ed up my back up so do u know how to fix it or the default config
[Xperia Z5 Original Android Development] krater23:
Try to compare these Audio and Media build.prop settings with yours. To see the file make sure to mount system from twrp. It is in /system/build.prop.

But make a backup copy beforehand just in case.
[Xperia Z5 Original Android Development] kuro0:
thank's alot bro
[Xperia Z5 Original Android Development] darkwey2023:
i have sim problem in this rom when I restart my phone or open airplane mode and close it any one can help
[Xperia Z5 Original Android Development] darkwey2023:
But this in /vendor/etc will fix WhatsApp problem and apps audio problems
[Xperia Z5 Original Android Development] VvaderV:
Hi guys,

I'm new to the the site and also the mod game! I am trying to install Magisk on my old Xperia Z5 but I cannot get the TWRP to install on my phone. I have managed to unlock the boot loader. My aim is to install Lineage so I can upgrade my android operating system to 10,11,12 or even higher if possible. I have a few apps that will not run on 7.1.1 - which is my stock OS. One being android auto. Any help and walk throughs would be greatly appreciated.

I keep getting this.

Many thanks.

V