yashsingh1/xdaforums huggingface dataset:
[Xperia Z4 Tablet Android Development] torben5247:
That fixed the battery drain issue

The boot.img fixed the battery drain issue, thanks
[Xperia Z4 Tablet Android Development] torben5247:
Hate to repport this, but there are an issue regarding deep sleep in the newest version even if a flashed the boot.img it uses 0,9% pr. hour when laying and no use, only wifi switched on. that is almost double consumption compaired with the version 20210302. But if wifi is switched of it is less than 0,1% pr. hour if it isnt used for 2 day´s or more.

Thanks for keeping our tablet karin allive, and thanks for the hard work ;-)
[Xperia Z4 Tablet Android Development] sabar_op:
Yes...that's is a known issue in los18.1 and it's related to latest wifi HAL from lineageos which not supported by our legacy device kernel.

There may be some update to solve this issue...and I will update it in next build.
[Xperia Z4 Tablet Android Development] torben5247:
the version 20210302 is much better regarding battery consumption.

I am usin that version again.

Thanks for your hard work.
[Xperia Z4 Tablet Android Development] sabar_op:
New rom 20210617, see my link in 1st post.

Changrlog :

- June security patch

- Upstream update

- Kernel updste with various fix.
[Xperia Z4 Tablet Android Development] torben5247:
Thanks!! i am testing it asap...

Thanks for your hard Work
[Xperia Z4 Tablet Android Development] kinnyfaifai:
Thanks...stupid question, is it ok to dirty flash over previous version or a clean flash?
[Xperia Z4 Tablet Android Development] alex009988:
Should be ok.
[Xperia Z4 Tablet Android Development] ExtremeX-BB:
I try to use lineage-18.1 and lineage-18.0 branches in android_kernel_sony_msm8994_rework repository, kitakami_karin_defconfig and Google GCC 4.9 compiler to compile the kernel, but it will get a boot loop at the SONY logo.

Is there a problem with my kernel compilation? Or android_kernel_sony_msm8994_rework repository can't compile a kernel for Karin?
[Xperia Z4 Tablet Android Development] sabar_op:
You need to update karin defconfig to follow sumire defconfig update.
[Xperia Z4 Tablet Android Development] JFK1975:
Once again you've done an excellent job @sabar_op !

Made a full wipe before installing your last build. No more reboots vor s.th..

Thank you very much.👏
[Xperia Z4 Tablet Android Development] sabar_op:
Cool...

I forget to announce that there is latest update of lineageos 18.1 for Z4 with July security patch. Check my link in first post.
[Xperia Z4 Tablet Android Development] z0mbi3:
I'm loving this rom, breathed new life into this tablet.

I've noticed 2 things since flashing that I'd like to know if anyone else is experiencing.

1) I can't seem to charge past 75% unless I turn the tablet off completely

2) Bluetooth pairing mode cannot see my BK50 keyboard (the one that came with the z4). Other devices can see it though.
[Xperia Z4 Tablet Android Development] torben5247:
I dont Know about the keyboard Thing...

But i Don't have the issue with charging, charging on My Karin windy (lte) works without any issue.
[Xperia Z4 Tablet Android Development] kinnyfaifai:
I've not had either issues
[Xperia Z4 Tablet Android Development] kinnyfaifai:
Aside from security patch, anything changed?
[Xperia Z4 Tablet Android Development] sabar_op:
There should be uodate in lineage source...

Just uploading new rom with Aug security patch.
[Xperia Z4 Tablet Android Development] z0mbi3:
My bad, I'd forgotten that I had installed a battery charge limiting magisk module.

Pairing the keyboard was just me doing it incorrectly.
[Xperia Z4 Tablet Android Development] Ogawa:
Just wanted to chime in and say thanks for your work in this. Full wipe and install and no problems to report.

Definitely breathed new life into this device which is still one of the best out there even after so many years. Cheers!
[Xperia Z4 Tablet Android Development] daarky:
First of all, thanks for the regular updates! A thousand times better than the outdated stock rom! :)

I have a problem with the flashlight, or rather the camera. Maybe someone can help me. I am using the SGP712 model + lineage-18.1-20210807-UNOFFICIAL-karin_windy

After a fresh installation (wipe all data + factory reset), I cannot turn on the flashlight. When I swipe to turn on the flashlight it says 'camera in use' which is a bit... irritating, because this is displayerd right after boot without using any apps. Almost looks like being spied on ;-)
[Xperia Z4 Tablet Android Development] sabar_op:
I think our tablet doesn't have camera flashlight.
[Xperia Z4 Tablet Android Development] daarky:
Thanks, I guessed that. But 'The camera is in use' is a bit creepy. ^^ I guess it's a false positive then? Or is there something that I can do to deactivate the camera / or this message?

Do you also see this message?
[Xperia Z4 Tablet Android Development] sabar_op:
Yes...I have it as well.

You can try to re-order the icon layout to hide that icon.
[Xperia Z4 Tablet Android Development] daarky:
Ok, thanks. Just wanted to know if this is "normal" :)
[Xperia Z4 Tablet Android Development] z0mbi3:
Question, does this rom support h265 & h264 decoding? I know the SD810 was notorious for its heat issues but video apps are feeling sluggish + picking up a lot of heat on the back around the SoC.
[Xperia Z4 Tablet Android Development] nightagent1:
thank you all
[Xperia Z4 Tablet Android Development] fridoliuns:
Wonderful! Thank you very much! It revived my Z4 Tab Karin SGP771 from Lineage 14.

Questions and hints:

1)

TWRP 3.1.1-0 was flashed in my tablet before for Lineage 14 and it worked with USB-OTG-stick (fat32) for installations and backups.

a)

After I installed twrp-3.5.2_9-0-karin.img with

"fastboot flash recovery .... pathname/twrp-3.5.2_9-0-karin.img"

the external USB-stick is no longer detectable within TWRP.

b)

I tried to sail around with

"fastboot boot .... pathname/twrp-3.5.2_9-0-karin.img" .

Same problem.

2)

Because I couldn't flash the rom from the external USB (fat32), I used the ADB-sideload from twrp-3.5.2_9-0-karin.img instead:

a)

"adb sideload ....pathname/lineage-18.1-...karin.zip" and

b)

"adb sideload ...pathname/magisk.zip"

After rebooting the fantastic new rom, the USB-OTG is detected by the filemanager. Yippee!

Tried again within TWRP from the recovery: Again the USB-OTG is not detectable.

Would you check TWRP and advise, please!

3)

Trust within lineage tells me, that my Vendor-Image is out-dated.

I tried with Sony Xperia Companion for Windows. But it reports, I could not install. Yes, it's lineage, now...

I'm clueless, where the vendor-image is located and what's it's name.

a) Where could I obtain it?

b) How and where do I have to flash it?

Thanks a lot!
[Xperia Z4 Tablet Android Development] alex009988:
1) checked usb-otg with my fat32 USB stick and twrp 3.5.0_9-0. It works, try to reformat the USB stick.

3) forget it. It's cosmetic warning, not error. When I'll be building R ROMs I'll fix it, but it won't be soon. Next year I think.
[Xperia Z4 Tablet Android Development] LPark90:
Hello, i have flashed some versions of your wonderful ROM on my SGP712, but i was wondering why the last ones don't have "SELinux enforced" ?

Can i do something to "activate" it or do i have to deal with Version "lineage-18.1-20210516", which i think is the last one with SELinux enforced ?
[Xperia Z4 Tablet Android Development] alex009988:
Because it cause extra errors and bugs. In any custom rom we dont have ability to pay with nfc. So we dont need that so much and " Enforced" only works well only with nougat roms. If any other app require selinux enforced hide it with magisk. If anyone tells that it makes the system more unsecure find me at least one man who catched a real virus because of that.
[Xperia Z4 Tablet Android Development] torben5247:
I love this rom, it is fast stable and work very well. Thanks.

Thanks for the hard work. And maybe it is very rude to ask this question... But will there be any updates in the future?

I really hope so... ;)
[Xperia Z4 Tablet Android Development] alex009988:
It definitaly will, now Sabar makes R roms, I think in the next Ill get around to it and make several ROM of android 11. Not only lineage.
[Xperia Z4 Tablet Android Development] ConnorJBW:
Hi I have installed this rom and everything was working but the battery was draining quickly even when locked. I then installed the

boot_karin_wendy.img and after the install my wifi does not turn on?
[Xperia Z4 Tablet Android Development] sabar_op:
There's an issue regarding bluetooth reported by some user in latest rom when SELinux is enforced..due to I don't have the karin_windy device, I can't solved it without the log.

You can try to extract boot.img from latest SELinux enforced and flash it to latest rom to get SELinux enforced in latest rom.
[Xperia Z4 Tablet Android Development] sabar_op:
There will be updates...but now is only security updates...let me know if you need it and I will upload the latest one.
[Xperia Z4 Tablet Android Development] sabar_op:
What rom date you installed?
[Xperia Z4 Tablet Android Development] ConnorJBW:
Hi it was the latest build for Karin windy, so lineage-18.1-20210807-UNOFFICIAL-karin_windy.zip
[Xperia Z4 Tablet Android Development] sabar_op:
Please check using battery stats...what cause the battery drain...
[Xperia Z4 Tablet Android Development] jcik68:
Hey there. I installed the latest build (7. august) and can't change/activate LiveDisplay or display temperature. Is there any way how to activate it or is it a limitation of this build?

Thanks!
[Xperia Z4 Tablet Android Development] torben5247:
I love this rom, it is fast stable and work very well. Thanks.

Thanks for the hard work. And maybe it is very rude to ask this question... But will there be any updates in the future? I think that there must be some "under the hood" improvements in the lineage 18.

I really hope so... ;)

Thanks for your hard work guy´s
[Xperia Z4 Tablet Android Development] sabar_op:
I didn't continue to develop a rom for this tablet since I already give the tablet to my nephew. Perhaps @alex009988 able to continue to develop a rom to this tablet.
[Xperia Z4 Tablet Android Development] alex009988:
After I will finish building oreo roms, i will build los17,18 and try to build los19 in case my venerable 8gb ram pc is able to do it.
[Xperia Z4 Tablet Android Development] jacko69210:
Hi Alex,

We all enjoy your great work with Sabar on our Z4 tablet. :cool:

There are also millions of people on the planet hoping for a new update with recent security patch for this best Los18.1... :oops:o_O:cry::love:

If possible... :geek:

Thanks again. (y)

@+

(and don't offer your tablet to your nephew, pleeeeeeease 🙃😜😰 😱)
[Xperia Z4 Tablet Android Development] TracerBullitt:
Hi, I'm not all that savvy with this kind of stuff. Do I have to try to root my Z4 tablet for this? It's Wi-Fi only, also. I wasn't sure if that effected anything at all.
[Xperia Z4 Tablet Android Development] alex009988:
I think enough oreo roms, now I start to build los17/18/19 with some improvments.
[Xperia Z4 Tablet Android Development] jacko69210:
Very Good news... :giggle:

You're in the good way :);)

Thanks a lot Alex (y)

:love:🤩😎😇🥲🌈
[Xperia Z4 Tablet Android Development] rintala@hakunila.com:
when could you do this ..
[Xperia Z4 Tablet Android Development] alex009988:
Hi. I alrrady compiled los17 and gonna compile several Q rom before making 11/12 Roms as it works quite stable, 11/12 roms will work worse than Q roms. There will bi more bugs. Plus I have very old laptop Acer Aspire 8942g in which even Q rom to compile is a hard task as it have only 8gb ram.
[Xperia Z4 Tablet Android Development] ducanh15320:
i want to ask about the differences between karin WINDY and NO windy? Thanks for the work here
[Xperia Z4 Tablet Android Development] alex009988:
Bad news guys((( I was trying to reglue the display, but I've failed, the glass has been cracked and display become non-working. So I don't know whether to buy a new tablet or to invest in the old tablet. I don't usually ask, but I don't have much free money now, so it would be greate if you guys could do some small donate for helping me to buy new display module (even the smallest donate would be helpful). In exchange, when I repair my table, I will compile any rom on request for karin or karin_windy for those who helped me.

Unfortunately for now I suspend the develoment for month or two and I afraid if I won't repair my tablet, development will be stopped completely for that tablet. If you ready to help please write +.
[Xperia Z4 Tablet Android Development] ExtremeX-BB:
I am sorry for that.

I can provide you with a donation to continue the development of the Xperia Z4 Tablet.

Thank you for bringing us this ROM.
[Xperia Z4 Tablet Android Development] ExtremeX-BB:
If your device can be plugged into a SIM card to use mobile data and make calls, then it is karin.

Otherwise you can only use WiFi, then it is karin_windy.
[Xperia Z4 Tablet Android Development] alex009988:
Hi. When you disconnect the display, always disconnect battery too. I broke my tablet, had the same problem as https://www.ifixit.com/Answers/View/399082/LCD+backlight+not+working+after+screen+change and fixed it by myself with drop of solder.

So my tablet with cracked screen works now, i dont know what better to buy a new tablet or repair the old one, but nevertheless I now compiling carbon rom (android 10) as at least i can watch movies and youtube with the tablet.
[Xperia Z4 Tablet Android Development] scoobydu:
Deleted
[Xperia Z4 Tablet Android Development] friedrich68:
hi alex, I have an Tab S4 and like to start to build a rom but never did this for android , only linux kernel. Can you provide me with some instructions please. What status is your tablet? You will not find a new one with better screen without paying 600 €ur
[Xperia Z4 Tablet Android Development] Ggininderla:
感謝開發人員，但我無法安裝 gltools，這是日誌
[Xperia Z4 Tablet Android Development] alex009988:
Do you have the same problem in Q roms?
[Xperia Z4 Tablet Android Development] alex009988:
I finished building Q roms, now we have 11 Q roms. It's time to build R roms with latest source, kernel, device changes. First Ill build R lineage.
[Xperia Z4 Tablet Android Development] sabar_op:
Cherry-pick this commit into your build to ignore platform testing :

build: dont include tasks from tests and platform_testing · Evolution-X/build@5e68c3a

Change-Id: I36fe03fb9e26622a4b47ca011a25c02c6ab56c56

github.com
[Xperia Z4 Tablet Android Development] alex009988:
Hi guys. I haven't forget about you. I'm changing the kernel for R. With last changes the clash of clans (test game) stopped crashing. This kernel also would be the base for los19 rom. https://github.com/Alex009988/android_kernel_sony_msm8994/tree/lineage-18.1

I also want to say sabar helps me in much issues.
[Xperia Z4 Tablet Android Development] alex009988:
If you want you can already test new kernel with 6 pages code changes on github. In a word, there is a new binder, memory shrinker. By eye it became more stable, good enoth for everyday usage. Next, I'm goona intoruce some net changes.
[Xperia Z4 Tablet Android Development] alex009988:
I decided to port berni kernel. Tested it and it works more stable then los 17, work almost as nougat. I finished it completely. https://github.com/Alex009988/android_kernel_sony_msm8994_new/tree/lineage-18.1 Now I work on common tree. Will test it tomorrow, try to enable livedisplay, and some sound changes. https://github.com/Alex009988/android_device_sony_kitakami-common/tree/lineage-18.1
[Xperia Z4 Tablet Android Development] alex009988:
I made los18.1 10122022. This rom has more stable kernel, updated camera wraper, livedisplay fully works and it doesn't consume much battery. But that is not the final version. I also want to mention sabarop base and his help consulting me. You can find my rom in the cloud, first page.
[Xiaomi Mi Note 10 Questions & Answers] dattiluca:
Hi, everyone,

I'm having some problems with my Note 10.

I intended to install the global version rom, coming from european.

I used XiaomiTool V2 to automate the process.

At the end of the flashing process, the program returned an error about sideloading, and it aborted.

Then I closed the app, and rebooted the phone: it turned out I'm on global, with bootloader unlocked.

Now I'd like to lock the bootloader back, using "Fastboot oem lock", but Fastboot can't detect the phone (ADB can).

I tried on Mac, Linux and Windows, and I've the same problem with all three.

Is there anything I can do? Maybe flash a new bootloader in some way? Maybe rooting the device?

Am I screwed forever?

Thank you for your time.

[EDIT 1] I managed to properly install the drivers (both for file transferring and recovery mode) for my phone on a Windows machine running the driver installer that comes along Mi Unlock Application.

In my drivers list appears "ADB device" , or something like that.

The problem with fastboot persists, though.

[EDIT 2] I tried to use XiaomiFlashTool as suggested, but when trying to install the drivers the program stops and returns an error. Here's the log (sorry, some parts of it are in italian):

Spoiler content hidden.

[EDIT 3] I manually installed the proper fastboot drivers included in the Mi Unlock folder mentioned above, but it returns "Error Code 10", and the entry "Android Bootloader Interface" shows with a yellow triangle on Windows Device Manager.

[EDIT 4] Mi PC suite wasn't able to detect my phone either, then I found out on the web that is an obsolete application and installed the translated chinese version "mi phone assistant", still under active development. It recognized the device and let me flash the global rom again, via recovery, successfully this time (I tried to flash eea rom, but it didn't let me). Still, fastboot can't detect my device, adb can. If you know any app that lets flash via recovery non global roms that would be perfect.

[EDIT 5]

After a minor software upgrade (12.0.3 -> 12.0.4), the device is now properly detected. I managed to flash TWRP and root the device.

I guess something went wrong when flashing Global ROM over EU ROM, messing up the bootloader, and the update fixed it.

I'll wait for MIUI 12.5 to flash back EU ROM.

[EDIT 6]

A quick update and some useful infos for novice modders.

I flashed the latest EEA rom (MIUI 12.1.3, Android 11) over Global Rom (MIUI 12.0.4, Android 10) using Mi Flash and everything worked smoothly. I also managed to relock the bootloader,

so EEA LOCKED --> EEA UNLOCKED--> (errors when flashing) GLOBAL UNLOCKED + ROOT --> EEA UNLOCKED --> EEA LOCKED apparently doesn't cause any brick.
[Xiaomi Mi Note 10 Questions & Answers] joke19:
Download Xiaomi Flash Tool - Xiaomi Mi Flash Tool Download

Download Xiaomi Flash tool is for Xiaomi smartphone and tablet device users that runs on Windows PC platforms to flash fastboot firmware files on Xiaomi smartphones. All versions of Xiaomi Mi Flash Tool download is available here

www.xiaomiflash.com

On the end of the site is the how to
[Xiaomi Mi Note 10 Questions & Answers] dattiluca:
Ok, I'll give it a try, even though the procedure at some point demands my phone to be in fastboot mode, so...

Btw, I didn't use that tool, but this: https://www.xiaomitool.com/V2/
[Xiaomi Mi Note 10 Questions & Answers] dattiluca:
I tried and it failed (Also, the last version of the program is from 2018).

Check [EDIT 2] on original post.
[Xiaomi Mi Note 10 Questions & Answers] dattiluca:
Check EDIT 5
[Xiaomi Mi Note 10 Questions & Answers] dattiluca:
Check EDIT 6
[Xiaomi Mi Note 10 Questions & Answers] Prajwal 335:
I'm facing the same issue, how you did what you did in edit 4 ?

My device is stuck on poco logo and

I'm facing the same issue.

My device stuck on poco logo ( poco f5) and ABD command are working

But in fastboot mode device not detecting on my laptop and no fastboot command working neither adb command

Can you explain what you did in editing 5?
[Xiaomi Mi Note 10 Questions & Answers] dattiluca:
Hi, time's passed, but long story short, different apps with similar names are available on the web letting you flash via recovery: xiaomiTool, mi flash and so on. Try them out, one might work. I managed to install the rom, boot the phone and set the os up. Then I installed an official OTA update through system update interface in the settings app, and that restored adb and fastboot functionalities. Can't tell you more, because I kinda kept trying different solutions till it worked out.
[Moto G5 Questions & Answers] Z91:
The bootloop started very randomly one day and my phone kept restarting and the battery became very hot.(I was asleep so I noticed this after I woke up). I had already switched to an iphone but I was using the moto g for music and stuff like that. I was able to boot once and then the storage suddenly got full and the bootloop started again. So, I just removed the battery and left it. I have a whatsapp backup on it that has some very important data which I need at the moment. The phone is stock without root or cwm. Usb debugging was on, I don't know if that helps though. I really need to recover just that one backup file. I went through quite a few threads and didn't find anything that could help me. Is there any way to recover it. I don't mind if the process is tedious.
[Moto G5 Questions & Answers] sharjeel.019:
I guess you can pull files from your phone via ADB commands. Can you get into recovery mode?
[Moto G5 Questions & Answers] Z91:
I can get into recovery but adb only works in sideload so I can't do stuff like adb pull, etc.
[Moto G5 Questions & Answers] TheFixItMan:
If your bootloader is unlocked you can flash twrp and then pull files via adb or by mtp (drag and drop files to pc)

If your bootloader is locked there's nothing you can do

Note adb doesn't work in stock recovery
[Moto G5 Questions & Answers] Z91:
I haven't unlocked the bootloader so I'm assuming it's locked. Is there no way around it?
[Moto G5 Questions & Answers] TheFixItMan:
No - unlocking the bootloader requires a data wipe

Technically if adb debugging is enabled your phone might boot enough for adb to become available but it might only be for a few seconds before it restarts

You'll keep having to type

adb devices

And see if you get a device listed but the chances of it being available long enough for you to pull anything is pretty much zero
[Moto G5 Questions & Answers] Z91:
Ohh, I don't remember exactly where but while researching I had read that it's possible to stop the phone at that boot stage. Is something like that doable?
[Moto G5 Questions & Answers] TheFixItMan:
Found this it may help

Create a script and run it when adb is available on the device - usually sometime after boot logo

Windows version batch script eg run.bat

@ECHO off
cd /d %~dp0
echo.
echo Waiting for device…
adb wait-for-device
echo.
adb -d shell stop
adb pull (put directory location here)

Linux Version script eg run.sh

#!/system/bin/sh
echo " "
echo "Wating for device..."
./adb wait-for-device
echo " "
./adb -d shell stop
./adb pull (location of directory here)
[Moto G5 Questions & Answers] Z91:
So, I tried this. Bu I realized soon that adb devices was recognizing the device during the boot. SO, the scrip couldn't work I guess. Do I have to do something so that the phone gets recognized during boot.
[Moto G5 Questions & Answers] TheFixItMan:
If your phone doesn't reach the stage where adb is enabled there's nothing you can do