yashsingh1/xdaforums huggingface dataset:
[Xperia Z4 Tablet Android Development] Philham:
Hi, my Xperia Z4 is running Karin_windy and it works quiet perfect. My only question is, if its normal that the battery is turning very hot while the tablet is doing anything...It doesn`t matter if im reading, streaming or surfing...

Thanks :)
[Xperia Z4 Tablet Android Development] mishaham:
It is normal that the CPU heats up during use. And if there is a desire to make sure that this is not a defect - try installing an application that controls the temperature and already having specific indicators try to solve the problem!
[Xperia Z4 Tablet Android Development] alex009988:
I'm trying to build los19 but as for now it bootloops. I hope I find a solution but if I can't. No more new roms would be for our device.
[Xperia Z4 Tablet Android Development] daarky:
I'll keep fingers crossed for you. A new version would be great!
[Xperia Z4 Tablet Android Development] bingo20:
How do you guys calibrate the battery?

W/ LineageOS 18.1 the system shuts down after a few minutes and thinks battery is empty. But it is not empty in TWRP mode shows that.

The common hints with deleting the battery stats file is not working on this Sony.
[Xperia Z4 Tablet Android Development] xperiefon:
Thank you once again for the ROM.

I am experiencing a minor issue with the default enabled WiFi MAC address randomization. I have been unable to locate any option to disable it.

Is it possible to incorporate an overlay to allow the disabling of MAC randomization?
[Xperia Z4 Tablet Android Development] Lefteris Fragiadakis (Frago):
I was buildings roms at Xperia play ages, I have to say, one of the best rom's I tried on this tablet, great work!
[Xperia Z4 Tablet Android Development] bingo20:
I have massive problems with the run time since I installed the Linage OS compared to stock rom.

I investigated and found out the something with the battery calibration is not working correctly.

System shuts down because of empty battery. When I reboot into TWRP I see 57% SOC (TWRP shows always 20% after booting, but after some minutes it gets correct data from bat bms, then it jumps to e.g. 57%). See attached picture.

I have tried all the hints with charging with turned off Android etc, but none of them worked.

Off course the battery of my pad is old and in bad sharpe as it is still stock battery. Nevertheless with stock rom before updating to Linage I got some hours of runtime. Since the Linage is installed sometimes it shuts down after some very few minutes.

As I see here some people reporting that Linage OS 18.1 consumes battery very fast but Alex stated that he cannot find any sub-systems consuming it faster than expected -> I can assume that this rom is not consuming the energy faster but just not using the complete SOC range (e.g. using only 100%-80% range and shutting down thinking bat is empty). On my device I even saw it shutting down at 80% area...
[Xperia Z4 Tablet Android Development] Henry48:
For a long time I have been using Lineage ROM for my Z,Z2 and recently Z4 devices. Thank you to the creators for their great work. I look forward to the new one I will definitely install it. Yours sincerely.
[Xperia Z4 Tablet Android Development] win5hit:
Good morning Gents!

I just flashed my SPG712 with this build. I am still setting up everything but already realized: Bluetooth is broken.

When i enable it it keeps jumping between on and off. Showing a few near bt devices in between.

I`ll gladly provide you with the required logs for you to provide a fix: if you can tell me what you need.

Just adb logcat and dump everything to a file? or is there a more sophisticated approach?

Thanks for your work! Motivated me to bring this tablet back to life.
[Xperia Z4 Tablet Android Development] mishaham:
Strange... I flashed more than ten pieces of XZ4T (SGP-771) and there was no problem with the “blue tooth”. Try another option, with a complete cleaning of the system.
[Xperia Z4 Tablet Android Development] buzz-lightyear:
Ehlo,

I have two tablet Z4 with the rom lineage-18.1-20230204-UNOFFICIAL-karin.

The front camera is of poor quality. I can't use it with QR codes because the image is so bad. On the other hand, the image from the front camera is correct.

Do you have the same issue ?

Have a good day.
[Xperia Z4 Tablet Android Development] fishman8:
Try [ROM][11]Havoc-OS 4.19[SGP712/771] , the ROM is very good and BT works.
[Xperia Z4 Tablet Android Development] buzz-lightyear:
Ehlo. Thanks for your reply.

I tried with Havoc, but it doesn't change the issue : camera quality is also so poor.

I can't flash QRcode.

With Camera2 Probe app, the hardware support level is at "Limited" instead "Full". How to enable it ?

I tried this 2 commands but it doesn't work :

setprop persist.camera.HAL3.enabled 1

setprop vendor.persist.camera.HAL3.enabled 1

Any suggestions ?

Thanks.
[Xperia Z4 Tablet Android Development] alex009988:
Camera works well only on nougat roms. No way to improve it on the roms with higher version.
[Xperia Z4 Tablet Android Development] Lefteris Fragiadakis (Frago):
Can we find the updated version?on xperia z2 tablet is been out a newer version of lineage os 18.1
[Xperia Z4 Tablet Android Development] alex009988:
Actually I try to build los 19. The current state it pass boot animation then I have kernel panic and reboot. I won't make any version for los18 for our device. But I'll try to make los19 and los20.
[Xperia Z4 Tablet Android Development] macsmoo45:
Thanks for the great work so far!!

Wanted to check in with the people here if anyone of you experience battery drain? Particularly my set is running very hot behind the front camera!
[Xperia Z4 Tablet Android Development] alex009988:
Good news. A was able to build los19, touchpad, sound headphons works. Doesn't work cell, wifi, camera, Bluetooth. Ill try to fix wifi and make release.
[Xperia Z4 Tablet Android Development] alex009988:
I was able to fix WiFi and now write by the tablet with Los 19. Gapps and YouTube works. Tomorrow I'll start to build public version.
[Xperia Z4 Tablet Android Development] hba35:
Hi, i can't sideload with TWRP 3.1.1.0
[Xperia Z4 Tablet Android Development] alex009988:
Use twrp 3.4.0 and power + val- to get to recovery.
[Xperia Z4 Tablet Android Development] hba35:
it's ok now, i have 18.1...but the gapps was to lite... i want to recovery with twrp and i can't do it...how can i replace the gapps ?
[Xperia Z4 Tablet Android Development] alex009988:
Just flash a new one.
[Xperia Z4 Tablet Android Development] hba35:
to flash a new one, TWRP must go on... and with 18.1 twrp is no longer available with vol- and power.
[Xperia Z4 Tablet Android Development] alex009988:
You can use fastboot and vol- + power must work. Maybe be you take it not long enough.
[Xperia Z4 Tablet Android Development] hba35:
It's now ok with lineage 18.1 and a gapps but adding a sd card in internal memory mode generates a loop restart of the tablet ... I have to install the card in storage mode ... have you a solution to install the card in internal memory mode ?
[Xperia Z4 Tablet Android Development] sabar_op:
New update : (see 1st post for the link)

- Updated to Android 11.0.0_r27 with January security patches.

- Upstream updates and fixes.

- LineageOS features updates.

- Fixed livedisplay driver (better power consumption)
[Xperia Z4 Tablet Android Development] alex009988:
I also have that problem both with Los17/18. With los14/15 this function works.
[Xperia Z4 Tablet Android Development] hba35:
it's ok nos with 15 but i Fanny instal Netflix...i santé to install magiksbut twrp dont des thé zip...
[Xperia Z4 Tablet Android Development] hba35:
it's ok now with 15 but i can't install Netflix , i want to install magiks but twrp don't see the zip...
[Xperia Z4 Tablet Android Development] alex009988:
Internal storage is encrypted now, that's why you cannot see it. Use another sdcard or usb otg to install magisk.
[Xperia Z4 Tablet Android Development] lvtz:
Kernel panic and games downloads on play store are fixed on new update ?
[Xperia Z4 Tablet Android Development] lvtz:
Installed this morning and nothing fixed. Games downloads on play store not possible and kernel panic with reboot still here... Very annoying
[Xperia Z4 Tablet Android Development] sabar_op:
Should be no kernel panic anymore...

Are you using karin or karin windy?
[Xperia Z4 Tablet Android Development] lvtz:
Karin windy

when tablet is in charge, no reboots. Also can you please tell us how we can't install some games on play store please ? Alex already found what's wrong when we tried to install games somes posts back.
[Xperia Z4 Tablet Android Development] sabar_op:
Not sure about karin windy...i only tested with karin...

The issue in storage is perhaps explained in here : https://www.raywenderlich.com/10768834-scoped-storage-tutorial-for-android-11-deep-dive..
[Xperia Z4 Tablet Android Development] lvtz:
It can be but i don't understand all i'm not a developer. Only thing i know is that i use custom rom based on Android 11 on 4 devices and this is the only one where i faced games install issue. Can you try to solve it please ? It would be great for us
[Xperia Z4 Tablet Android Development] alex009988:
I tried 26012021 los18 and it seems it became more stable. However hfc mifare card bug it still here. It asks again to format sdcard. Maybe this is because I use another rom before that.

I found if sdcard is out of the tablet big games installs normally. So there is kinda writing permission problen of obb file to sd card. Maybe it's connected to why it asks often to format sdcard.
[Xperia Z4 Tablet Android Development] lvtz:
Thanks for your answer. But i don't use sdcard on mine.

I will try PixelExperience if it will release for karin_windy. I'm using on a phone and works good. Will see.
[Xperia Z4 Tablet Android Development] alter.daemon:
@sabar_op

could you pleae enable SELinux in the next build?
[Xperia Z4 Tablet Android Development] hba35:
Hi,

Juste for information... What is Clover version or the rom ?
[Xperia Z4 Tablet Android Development] sabar_op:
Clover is mi pad 4
[Xperia Z4 Tablet Android Development] sabar_op:
I will after fixing some issues...
[Xperia Z4 Tablet Android Development] alter.daemon:
@sabar_op

When I try to encrypt the tablet I am getting bootloop, the process never ends. I think encryption process doesn't even start as the only think I can see is an OS startup splash after reboot.
[Xperia Z4 Tablet Android Development] sabar_op:
The encryption still doesn't work on this rom.
[Xperia Z4 Tablet Android Development] sabar_op:
New update : https://sourceforge.net/projects/ka...e-18.1-20210222-UNOFFICIAL-karin.zip/download

- Feb security patch

- fix issues in wifi
[Xperia Z4 Tablet Android Development] lvtz:
Karin_windy version available soon ? It would be nice.

And are you planning to make Pixel Experience rom version for Karin_windy too ? It would be great to test it on our sgp512 devices.
[Xperia Z4 Tablet Android Development] sabar_op:
Here is for karin_windy : https://sourceforge.net/projects/ka...-20210222-UNOFFICIAL-karin_windy.zip/download

Not tested, but should work.

I stop temporary for pixel experience...need to focus to los18.1 and for other device as well.
[Xperia Z4 Tablet Android Development] lvtz:
Thanks. Tested today. Still impossible to download big games from playstore. Sad. I hope one day you will fix it.

Back to LOS 17 for now.
[Xperia Z4 Tablet Android Development] torben5247:
Quick question, as i recall i wasn´t able to boot into twrp after installing one of the earliest versions´s.

Is that fixed in the 20210222 version?

Thanks for the hard work(y)
[Xperia Z4 Tablet Android Development] sabar_op:
Not yet fixed...

Both boot into recovery and save into obb folder is not fixed yet.
[Xperia Z4 Tablet Android Development] sabar_op:
New update lineage-18.1-20210302-UNOFFICIAL-karin.zip, see my link in 1st post.

Changelog :

- update kernel

- fix reboot into recovery
[Xperia Z4 Tablet Android Development] torben5247:
The version 20210302 looks very promising. running smooth and battery time looks ok.

Only thing i stumbled over was the recovery.

When boot up holding power and volume down i booted into lineage os recovery and not twrp. It seems like twrp got replaced by the lineage os recovery after every boot. So i had to flash twrp everytime i needed it.

But otherwise the rom seems to be very good.

Thanks for the hard work. (y)
[Xperia Z4 Tablet Android Development] sabar_op:
Yes...need to flash twrp again after flashing new rom before restart.
[Xperia Z4 Tablet Android Development] daarky:
Thanks for the new Update. Is there a new windy version available?
[Xperia Z4 Tablet Android Development] sabar_op:
Try this link : https://sourceforge.net/projects/ka...-20210305-UNOFFICIAL-karin_windy.zip/download
[Xperia Z4 Tablet Android Development] daarky:
Wow, that was quick. Thank you!
[Xperia Z4 Tablet Android Development] alter.daemon:
@alex009988

I think you should add in first post about what doesn't work:

- tablet encryption

- SELinux proper configuration for a proper security

In this regard 18.1 is rendered unusable, at least by the light of some quite basic security standards.
[Xperia Z4 Tablet Android Development] alex009988:
Done it, what do you mean with tablet encryption, sdcard as internal storage?
[Xperia Z4 Tablet Android Development] alter.daemon:
@@alex009988

thx

I meant for internal storage encryption. Sadly you can't encrypt it.

sd card encryption is not that much of a problem.

and SElinux should be enforcing when for now it is totally disabled.

I wouldn't install magisk or enable root on 18.1 for now for security reasons.
[Xperia Z4 Tablet Android Development] daarky:
I flashed the latest windy build on my sgp712 along with flamegapps. Logged in with my google account. Playstore, Chrome etc worked but opening the youtube app just shows an infinite loading circle. Videos cannot be played. Same issue with NikGapps.
[Xperia Z4 Tablet Android Development] torben5247:
What´s new in the 20210203 version compaired with the 20210222?

Thanks (y)
[Xperia Z4 Tablet Android Development] sabar_op:
Work flawlessly in karin...can't test it in windy one. Maybe need to wipe cache and dalvik.
[Xperia Z4 Tablet Android Development] sabar_op:
It was mentinoned in previous post.
[Xperia Z4 Tablet Android Development] belrik:
Same exact issue on fresh install. Wiped cache and davlik but no change. Looks like the app is trying to load online content... I had a microSD inserted, so I tried ejecting that and re-installing youtube but it made no difference.
[Xperia Z4 Tablet Android Development] alex009988:
Try older versions of YouTube.
[Xperia Z4 Tablet Android Development] belrik:
Tried YouTube version 14 and 15, really old versions. Same problems, like it can't connect to my Google account. Wondering if this is caused by opengapps? I am using the Android 11 test version of opengapps nano (which doesn't include YouTube). I've used opengapps nano forever but maybe this is wrong?
[Xperia Z4 Tablet Android Development] sabar_op:
Try nikgapps...if the problem still occured, grab a log and send me a pm
[Xperia Z4 Tablet Android Development] alex009988:
There is still no opengapps for Android 11.
[Xperia Z4 Tablet Android Development] belrik:
OpenGApps - Browse /arm64/test/20210130 at SourceForge.net

OpenGApps daily releases

sourceforge.net

I used the test version. I'll check the space in /system and try a larger gapps.
[Xperia Z4 Tablet Android Development] belrik:
Same with both opengapps mini and nikgapps Omni - YouTube fails to load from a fresh install. Even when YouTube is included in gapps it fails to load on karin_windy.
[Xperia Z4 Tablet Android Development] daarky:
I can confirm that. Tested latest flamegapps and nikgapps.
[Xperia Z4 Tablet Android Development] sabar_op:
Try lineage-18.1-20210321-UNOFFICIAL-karin_windy.zip in my sourceforge l.
[Xperia Z4 Tablet Android Development] belrik:
Working now, thanks for the update! What did you change?
[Xperia Z4 Tablet Android Development] sabar_op:
I use SGP771 binary, newer than SGP712.
[Xperia Z4 Tablet Android Development] alter.daemon:
Hi @sabar_op is there any chance for working internal storage encryption?

Is it forseeable in the nearest future?
[Xperia Z4 Tablet Android Development] sabar_op:
Honestly I never try it and I don't have any intention to make it working. If other developers of Z5 can do it, I will port it to Z4.
[Xperia Z4 Tablet Android Development] kuroneko007:
Will there be any new versions of this or is it better to change to another ROM?
[Xperia Z4 Tablet Android Development] alex009988:
I guess sabar_op is likely to make new versions, but anyway I'll make android 11 roms for our tablet after a few months after oreo and Q roms.
[Xperia Z4 Tablet Android Development] sabar_op:
I will build new rom....
[Xperia Z4 Tablet Android Development] sabar_op:
New rom 20210505 for karin and karin_windy with changelog :

- April security patch

- Kernel source update

- Fix some annoying log.

- SELinux Enforcing.
[Xperia Z4 Tablet Android Development] xperiefon:
Thanks for your work.

lineage-18.1-20210505-UNOFFICIAL-karin_windy.zip

It gave me a bootloop (with factory reset wipe beforehand).

I also tried lineage-18.1-20210504-UNOFFICIAL-karin_windy yesterday, same thing, bootloop.

I'm on TWRP twrp-3.5.2_9-0-karin_windy.

(I reflashed lineage-18.1-20210321-UNOFFICIAL-karin_windy.zip)
[Xperia Z4 Tablet Android Development] kuroneko007:
Thank you so much!

Edit: unfortunately, I tried the same ROM and also got bootloop after factory wipe/dirty flash. Back to 20210321 for now.

(SGP712)
[Xperia Z4 Tablet Android Development] sabar_op:
I think I did a mistake in kernel config for karin windy as I didn't test it.

Just upload new boot.img with name boot_karin_windy_210505.img.
[Xperia Z4 Tablet Android Development] kuroneko007:
Confirmed, works! Thanks again.
[Xperia Z4 Tablet Android Development] xperiefon:
Thanks, it works (y)
[Xperia Z4 Tablet Android Development] sabar_op:
Working normally in SGP771 (karin).

Can you send full log (using syslog) through pm?
[Xperia Z4 Tablet Android Development] sabar_op:
New update 20210506 : fix some sepolicy denials.
[Xperia Z4 Tablet Android Development] ikoretsky:
Which set of GAPPS do you recommend?
[Xperia Z4 Tablet Android Development] sabar_op:
I am using Nikgapps.
[Xperia Z4 Tablet Android Development] ikoretsky:
Big games are not installed. More than 1 GB.

For a test, try install three or four games.
[Xperia Z4 Tablet Android Development] alex009988:
Could you please restore the latest stock with emma (not flashtoool) and flash again los18. If this problem appears again it means it's rom problem, not mounting partitions. I had this with npugat los and aicp, call of duty. But solved it by goining back to stock with emma and flashing the custom roms afterwards.
[Xperia Z4 Tablet Android Development] lvtz:
I did but still the same. Many times. The only way to downlaod and play games is to go back to los 17.1. But not updated since december.
[Xperia Z4 Tablet Android Development] alex009988:
Then It means it definately rom problem with permisions.
[Xperia Z4 Tablet Android Development] kuroneko007:
Just wanted to say, the new ROM is amazing! Very stable and great battery life. Installed Nova launcher and it is running smooth as butter. Thank you so much!
[Xperia Z4 Tablet Android Development] JFK1975:
As always a big thank you for still supporting our great devices. I installed directly 20210506 Update for karin_windy.

Something doesn't seem to fit with this build. From this build there is a Problem with the Micro SD. When Display went dark, I dont get it on again. Only Power Button and volume gets the device restarted.

Installed the Last Update twice or three Times and result was the same.

Went back to march build and sd Card is still Not recognized right. (In win10 there is No Problem with the Micro sd).

Greets from Berlin and a great weekend to all.🌞😷
[Xperia Z4 Tablet Android Development] sabar_op:
I can"t test it as I am not using sdcard...If you can take a logcat using usb debugging and pc...i will try to look the issue.. it may because selinux is enforcing that may block something....as march build is permissive..

But 1st perhaps you try to format your sdcard using your device using your device...
[Xperia Z4 Tablet Android Development] sabar_op:
New update : see my link in 1st post

Changelog :

- May security patch

- Kernel update (fs exfat and ext4, cpu governor, and include silent some log spam).

- fix obb folder issue (i.e can't install big games). Need to clear data of playstore and restart the device.
[Xperia Z4 Tablet Android Development] ikoretsky:
I did a clean install with date and system format.

Bigger games are not installed.

sabar_op do you have a tablet? Or do you make assemblies without it?
[Xperia Z4 Tablet Android Development] mcfisch:
On my device with the new version the Bluetooth issue is back again, can't enable it.
[Xperia Z4 Tablet Android Development] ikoretsky:
me too. don't work Bluetooth in my karin.
[Xperia Z4 Tablet Android Development] alex009988:
Syslog or logcat please. We need to be ready that this bug maybe be never fixed. Sabar doesn't have sdcard and without sdcard big games should install well. Being the developer is a hard and often ungratefull work that takes huge period of time.

Bluetooth may not work because of SELinux enforced.

I also wanna say without the sabar we would have los14 and no more. And even what I built, some nougat roms, I did that with his huge help. So we must really grateful to him.
[Xperia Z4 Tablet Android Development] sabar_op:
Working in my device.... I am using SGP771.

What gapps you are using? I am using nikgapps basic.
[Xperia Z4 Tablet Android Development] sabar_op:
Bluetooth is working in my device...

As alex009988 said, grab a log and send me through pm.
[Xperia Z4 Tablet Android Development] mcfisch:
My log is at https://gist.github.com/mcfisch/4d4ceaf37f3cdfcf5d3127f6bc234189.

I also can't get the encryption going. Other than on another device (Moto G5+) where I'm not getting any forward I here I'm at least still able to boot. The respective error that was logged (overlapping partitions due to not enough space or so) I was able to fix be shrinking /data, but it still doesn't encrypt. It just reboots and that's it.
[Xperia Z4 Tablet Android Development] sabar_op:
You are using SGP712 (karin windy) and not tested by myself ( I am using SGP771).

In your log looks Bluetooth HAL is crashed...if in the prev version bluetooth is working it because SELinux is disabled. It means there's sepolicy denials during boot up. Try grab log once your device is boot as fast as you can or use your pc to adb logcat since power on to catch sepolicy denials.

Check prev post, encryption is still not working in this device.
[Xperia Z4 Tablet Android Development] JFK1975:
Thanks for the new build(y) As mentioned before there is a Problem with deepsleep on my karinwindy since build Form may 6th. Device doesn't wakeup from deepsleep. Only way to "wakeup" the device is to push the Volume button + Power button.

Unfortunately same problem occures with the last build Form may 16th.

Ging back to last build from March.
[Xperia Z4 Tablet Android Development] sabar_op:
Similar answer with prev post for karin windy...it may because SELinux...quickly grab a log once device boot up and send me through pm..
[Xperia Z4 Tablet Android Development] TracerBullitt:
Will this work without root? I've had issues rooting my Z4 tablet (wifi), before.
[Xperia Z4 Tablet Android Development] alex009988:
About big games downloading https://xdaforums.com/t/rom-11-0-un...-1-sumire-stable.4174189/page-7#post-85090751

So seems all kitakami devices have this problem.
[Xperia Z4 Tablet Android Development] torben5247:
Thank you very much for the hard work.

Just wanted to share a small thing regarding battery consumption in stand by mode (wifi, lte off and battery save mode on. And no use).

The version 20210302 is using 0,1% pr. Hour

And the 20210516 are using 0,2% pr. Hour.

Just wanted to share my experince with you guy´s

Thanks again for keeping our z4 karin alive.

Kind regards Torben5247
[Xperia Z4 Tablet Android Development] sabar_op:
Try latest boot.img in my link. Flash it using twrp.