yashsingh1/xdaforums huggingface dataset:
[Xperia Z4 Tablet Android Development] alex009988:
This is stable Oreo firmware (Android 8.1) .

Features:

OS Version: 8.1.0 Oreo

Kernel: Linux 3.10

Android security patch level: 5 April 2020

Using sony blob's from stock version 32.4.A.1.54

Working(tested):

Phone calls

SMS

Manual mobile network search

WIFI

Bluetooth

GPS

Location services

SDcard as internal storage

LiveDisplay (see attached pictures)

Camera; built-in app (Snap) and 3rd-party apps (Thanks to @torukk) *)

*) Snap is only working with main camera! If you switch to the so called "selfie" camera, the app crashes. OpenCamera is working in both modes. Video recording works for main camera only and if you set the resolution a 720x480 and 15FPS.

These things are NOT working (don't ask!)

Encryption (haven't tested it)

FM-Radio (not included)

NFC-HCE

Front camera camcorder

SELinux is set permessive. With enforced I got touchscreen frozen and can't login to google account.

something I haven't found.

How to install:

1) use TWRP 3.5.0.

If you using 3.1.1 one, remove the first two lines from updater-script (\ META-INF \ com \ google \ android);i

assert(getprop("ro.product.device") == "SGP771" || getprop("ro.build.product") == "SGP771" ||
getprop("ro.product.device") == "karin" || getprop("ro.build.product") == "karin" || abort("E3004: This package is for device: SGP771,karin; this device is " + getprop("ro.product.device") + "."););

2) wipe system, data, cashe, dalvik;

3) Flash the firmware, gapps, magisk.

Change log:

20200330 - fixed app crashing.

20200417 - fixed sim card bug.

20200509 -fixed exfat.

20200515 - added advanced settings for color management.

20200608 - livedisplay now fully works.

22102020 - camera was fixed.

20210510 - updated los source, Android security patch level: 5 April 2020.

20210511 - updated rom for karin_windy.

20210705 -:

-Implemented Kcal display driver

-Implemented Voltage control

-Implemented Adreno idler

-Implemented "zen" and "fifo" i/o schedulers

-Implemented "Chill" and "BioShock" governors

-Implemented Boeffla-wakelock-blocker

-Implemented Spectrum Profiles (Not tested!

-Android security patch level: 5 June 2021

20210706 - revert GMS identifiers

The firmware can be downloaded from here.

Last builds are here.

Sources:

https://github.com/lineageos

https://github.com/Professor-Berni/android_kernel_sony_msm8994

https://github.com/sabarop/android_kernel_sony_msm8994

https://github.com/sabarop/android_device_sony_karin

https://github.com/sabarop/android_device_sony_karin_windy

https://github.com/Professor-Berni/android_device_sony_kitakami-common

We must be infinite grateful to sabar_op for his hard work in development of this rom and Bernie and Tarkzim who help to update kernel for kitakami devices. :good:.
[Xperia Z4 Tablet Android Development] torben5247:
Wow.. This is great news.

Thanks [MENTION=2705776]sabar_op[/MENTION] and [MENTION=6336863]andralex8[/MENTION]

Do you have any comments to the battery consumption? Is it better or worse than nougat stock or nougat los?

thanks for your work.

Kind regards Torben5247
[Xperia Z4 Tablet Android Development] alex009988:
I've changed the battery, and it's enough for a one day of active usage with Oreo.
[Xperia Z4 Tablet Android Development] alex009988:
The version for karin_windy is released too.
[Xperia Z4 Tablet Android Development] nicke85:
Good work, work on SGP771 :) So its possible to have updated tablet to lastest versions I hope soon Android 10 stable will be released.

Exellent! Do you plan to work on kernel too for Xperia Z4 Tablet?
[Xperia Z4 Tablet Android Development] alex009988:
Do you mean kernel for a stock? As for Android 10, now it is unstable, but some progress is done.
[Xperia Z4 Tablet Android Development] nicke85:
For newer roms 8.1, 10 you should need to compile custom kernel.

And add features to overclock cpu, gpu, governors, disk sytems, zram etc.

With kernel there will be more custom roms.

Regards
[Xperia Z4 Tablet Android Development] 1GTRBG:
Thanks [MENTION=2705776]sabar_op[/MENTION] and [MENTION=6336863]andralex8[/MENTION]

I just installed the rom, it's working OK except the camera - can you send a link to working camera for this rom.

And also Viber Messanger doesn't work - it crashes everytime I'm starting the app - any solutions?

---------- Post added at 12:35 PM ---------- Previous post was at 12:35 PM ----------

Thanks [MENTION=2705776]sabar_op[/MENTION] and [MENTION=6336863]andralex8[/MENTION]

I just installed the rom, it's working OK except the camera - can you send a link to working camera for this rom.

And also Viber Messanger doesn't work - it crashes everytime I'm starting the app - any solutions?
[Xperia Z4 Tablet Android Development] xperiefon:
Thanks [MENTION=2705776]sabar_op[/MENTION] and [MENTION=6336863]andralex8[/MENTION] for the stable rom.

Appart for some random freezes which also happened on los14.1 everything seems to be working fine from my end.

As for the bug : when the tablet is off, during charging, the diode will always light red;

GravityBox [O] allows to disable it.

Is lineage-15.1-20200408-UNOFFICIAL-karin_windy the latest build for karin_windy?
[Xperia Z4 Tablet Android Development] alex009988:
I'll ask sabar to compile for karin_windy.
[Xperia Z4 Tablet Android Development] 1GTRBG:
Just installed today's release:

lineage-15.1-20200522-UNOFFICIAL-karin.zip

Viber and Youtube problems resolved?

Hope to fix camera soon
[Xperia Z4 Tablet Android Development] alex009988:
The ROM for Karin_windy is uploaded. Check YouTube and advance color settings in live display.
[Xperia Z4 Tablet Android Development] torben5247:
Sorry if this is a bit out of context.

Before flashing the lineage rom i would update my twrp from 3.1.1 to 3.3.1. But the touchscreen doesn´t work in twrp 3.3.1.. I have search but no fix pops up.

Anyone else have a working twrp 3.3.1?

i am running stock rom and the tablet is the lte model.

Thanks in advance.
[Xperia Z4 Tablet Android Development] alex009988:
It only works well with los17 flashing, to make touchpad unfrozen wipe cashe and dalvik via fastboot, but you'll still have problems with los15 flashing. Use twrp 311 for los15.
[Xperia Z4 Tablet Android Development] 1GTRBG:
Last release - huge battery drain - 20% - 25% per night without useage

SOT about 1,5 hours

The battery is brand new - one month old
[Xperia Z4 Tablet Android Development] alex009988:
20200515 has the same battery drain?
[Xperia Z4 Tablet Android Development] 1GTRBG:
20200519 was my first install, and there was battery drain about 15% per night without useage
[Xperia Z4 Tablet Android Development] alex009988:
Use at least, 22052020 it's a ROM with fixed YouTube. I think around 15 percent it's OK, try to disable WiFi. los 15 will always work a bit worse then los14 as Sony and Qualcomm blobs are not fully incompatible with android 8 and up. For example, sllinux should be enforcing but it's permissive cause ROM doesn't work with enforcing. On the other hand, los15 works almost as los14 and much much more stable then los17.
[Xperia Z4 Tablet Android Development] xperiefon:
Sorry I could not check this version.

I couldn't install in TWRP even when I edit the first two lines from updater-script.
[Xperia Z4 Tablet Android Development] alex009988:
What twrp do you use? Are you sure you edited two lines. Check archive after modifying updater sqript.
[Xperia Z4 Tablet Android Development] xperiefon:
I managed to install it, my problem was being able to generate a valid zip file format with 7zip.

I'm using TWRP 3.1.1, I also installed the previous rom after editing the updater script.

Dirty Flash caused freezing and bootloop, I did a clean install, everything seems to be working fine, no problem with youtube, picture adjusment in livedisplay is working.

Thanks again for the updated rom.
[Xperia Z4 Tablet Android Development] alex009988:
Do you need new version, with fully-working live-display?
[Xperia Z4 Tablet Android Development] xperiefon:
I don't really need it, I'm using third party app to dim the screen.

Maybe for the other users, it's always good to have an up to date build and live-display should be useful and also help with the energy consumption compared with alternative apps which can increase battery drain.

Thanks
[Xperia Z4 Tablet Android Development] 1GTRBG:
Just installed the latest release and it stucks on the Lineage boot logo.

Any ideas what to do?
[Xperia Z4 Tablet Android Development] 1GTRBG:
lineage-17.1-20200620-UNOFFICIAL-karin.zip

Great work guys, thank you!

After clean install everything works flawless
[Xperia Z4 Tablet Android Development] alex009988:
This ROM works worse then los15. After using it around 1-2 hours clash of clans will be crashing. This is because kernel is not perfect, some memory leaks. Sabar now is also working on los16.
[Xperia Z4 Tablet Android Development] xperiefon:
Hi, any way to pass safety net on 15.1-20200522_karin_windy or should I try the 17.1-20200730-karin_windy?
[Xperia Z4 Tablet Android Development] alex009988:
Even for los 14 it fails, why do you need it passed?
[Xperia Z4 Tablet Android Development] xperiefon:
for netflix

Edit: This version is working https://www.apkmirror.com/apk/netflix-inc/netflix/netflix-4-15-0-build-14908-release/netflix-4-15-0-build-14908-android-apk-download/
[Xperia Z4 Tablet Android Development] JFK1975:
Hello to the community.

I'd like to switch from LOS14 to LOS15 on my karin_windy. Unfortunatly I don't get twrp 3.3.1 karin or 3.4.0 karin_windy to work. It does not start after flashing to recovery. Last working twrp is 3.1.1 from 2017.

It would be great to give this great device a newer build.

Great weekend to all of you!:cool:
[Xperia Z4 Tablet Android Development] alex009988:
Then use 3.1.1 and the instructions on first page.
[Xperia Z4 Tablet Android Development] JFK1975:
Thx for your advise! Could anyone please help me with the instructions on first page? How to change/delete the first two lines from the updater-script.

Sorry for beeing such a noob but never have done this before.

Thx:svetius:
[Xperia Z4 Tablet Android Development] xperiefon:
Use winrar.

Unzip lineage-17.1-...-.zip, go to the lineage-17.1..... folder, go to the subfolders \ META-INF \ com \ google \ android.

Open/Edit the file named updater-script with a text editor (notepad for instance), remove the first two lines as instructed , save, rezip the file using winrar (make sure the archive format is ZIP).

Then you can follow the instructions on the first page:

3) wipe system, data, cashe, dalvik;

4) Flash the firmware, gapps, magisk and that’s it.
[Xperia Z4 Tablet Android Development] JFK1975:
Thank you very much!?
[Xperia Z4 Tablet Android Development] sabar_op:
New update : here

- Latest security patch

- Camera working !!! Big thanks to @torukk
[Xperia Z4 Tablet Android Development] JFK1975:
Thank you very much for your great hard work for our tablet!

Would you please make a update for karin_windy too?:svetius:
[Xperia Z4 Tablet Android Development] sabar_op:
Try los17.1 :good:
[Xperia Z4 Tablet Android Development] JFK1975:
I will and will tell about it
[Xperia Z4 Tablet Android Development] alex009988:
Guys, I'm now building los 15.1 and have bootloop problem. Sabar_op is helping me now in that. I need someone who test my los15.1 rom for karin_windy. Otherwise there would be no oreo roms for karin_windy as I can't make them blindly.
[Xperia Z4 Tablet Android Development] alex009988:
Updated oreo rom for karin and karin_windy. this is my ROM № 13. I'm also try to make various livedisples fixes. Maybe it fixes some battery drain.
[Xperia Z4 Tablet Android Development] alex009988:
New update 05.07.2021 for karin only.

-Implemented Kcal display driver

-Implemented Voltage control

-Implemented Adreno idler

-Implemented "zen" and "fifo" i/o schedulers

-Implemented "Chill" and "BioShock" governors

-Implemented Boeffla-wakelock-blocker

-Implemented Spectrum Profiles (Not tested!

-Android security patch level: 5 June 2021
[Xperia Z4 Tablet Android Development] LPark90:
Hello,

i am try to get the last windy version running but it doesn't work for me. Has someone else tested it too?

@alex009988 what can i do for you to get it running?
[Xperia Z4 Tablet Android Development] alex009988:
Did you try the last version from 20210511?
[Xperia Z4 Tablet Android Development] LPark90:
yes i did. After boot logo it end up with a black screen and a meassage like "android setup service don't react" appears.
[Xperia Z4 Tablet Android Development] alex009988:
Did you make full wipe of data, dalvic, cache, system?
[Xperia Z4 Tablet Android Development] LPark90:
Of course i did this prepartion things.😉
[Xperia Z4 Tablet Android Development] alex009988:
Did you try to install los15 first boot it and then install majisk, gapps?
[Xperia Z4 Tablet Android Development] LPark90:
Yes, but majisk i did't install... Is it necessary?
[Xperia Z4 Tablet Android Development] alex009988:
Did some privious version work for you?
[Xperia Z4 Tablet Android Development] LPark90:
Jap, I have already tested some LOS 17 and 18 builds without that Problem.
[Xperia Z4 Tablet Android Development] alex009988:
But did you tested previous builds of los15 made by sabar? Did it have the same problem?
[Xperia Z4 Tablet Android Development] LPark90:
So now i have tested the first build "lineage-15.1-20200522". It starts fine but after i restarted and installed gapps (bitgapps) the same erros message appears.
[Xperia Z4 Tablet Android Development] sabar_op:
I didn't test my build using other gapps instead of opengapps.
[Xperia Z4 Tablet Android Development] alex009988:
try opengapps
[LG G7 ThinQ  Questions & Answers] CharFalco:
Good afternoon,

Is it possible ro relock my bootloader with an ULM model? I basically need to go back to complete stock for OEM repair.
[LG G7 ThinQ  Questions & Answers] netookska05:
Yes

1. Crossflash to G710ULM11g_01_NAO_US_OP_1112.kdz

2. Reboot enable debugging in developer options.

3. Turn off device disconnect usb cable then hold volume down while you plug in usb cable again then you will boot into fastboot.

4. Enter this at the command prompt: fastboot oem lock and then enter fastboot reboot. You are now bootloader unlocked. Crossflash back to your stock kdz.
[LG G7 ThinQ  Questions & Answers] maydayind:
I whould realy advice against it....

If your bootloader detects anny signs of wrong software it won't boot and you are Bricked
[Moto G7 Questions & Answers] maybeme2:
Android 10 comes with ability to record video screenshots but this has apparently been disabled in the Moto G7.

Does anyone know how to restore that ability to video record the screen in a rooted G7?

The method described here did not work for me.

https://android.gadgethacks.com/how...194955/#jump-method2usetheadbcommandallothers

Thanks.
[Asus Zenfone Max Pro M2 Questions & Answers] nanda24:
Hai all

please help auto focus my phone not working and make my camera blur(i cant tap to focus object too) after last update (WW .073), already downgrade to Oreo (WW.158) it doesn't help auto focus still not working. Clear data, presist, vendor with twrp and then flash via twrp to WW .072 it doesn't help too. Is my camera modul broken or last update software bug? Cz before last update my camera working fine
[Asus Zenfone Max Pro M2 Questions & Answers] amitjain94675:
Did you get any fix for it
[Android Head-Units] ramunsa:
I am trying to backup my AC8227L alps FF-5000 android stereo in order to load new software. However, no matter what I do, I can't get the laptop to talk to the stereo using spflash tool. I opened the stereo and my board looks a lot different from the other boards that I see on the forums. there are no contacts for the VOL UP and ...

Any help is much appreciated.

photos.app.goo.gl/Wcs5e73JTiAindwq5

photos.app.goo.gl/thdaf4zX3bB3adue7

photos.app.goo.gl/qNFbRowqFeWHQkXQ8
[Android Head-Units] codecxbox:
I have the same radio..I found the Test Point..

Help me and Ill help you with SP Flash..dont use any flashing method here, it will brick..Ill help you get to save the image
[Android Head-Units] brody6104:
Could you help me also? I can't seem to find any information on root for this. I have (Eonon 10.1 Android HU) Alps FF-5000 AC8227l but it's really android 8.1 because it has API 27.
[General Topics] wolframio74:
hi all, i google for a long time and i cannot find some like a black timed screen saver, i mean some that i can setup to turn off the screen after some time like my HTC S710 does... and would be nice too a CLOCKING tool for underclocking the CPU, my Pocket PC is a HP RX4540 with a 400 MHz Samsung CPU...

REGARDS!
[General Topics] wearefree:
Try start -> settings -> backlight -> Battery power -> turn off back light if device is not used for (time).

Or better, use S2U2.
[General Topics] wolframio74:
thx for the reply, the change of settings just dimmed up the screen and not shuted down to black, i got a pogram that you press a button and shutdown the screen, but it would be nice if the pocket pc do it after a while...

mi pocket PC with the screen, WiFi and the CPU at top can stand like 2:30 Hrs of Life, but, with the screen off and the cpu at 250 MHz (i use Pocket Hack Master) it can take arround 8 or 9 Hrs... Regards!

PD: i try S2U2 but i need some more simple!
[General Topics] wolframio74:
anyone? :(
[General Topics] TheChampJT:
Best saver period!

Just kidding, Spb Time has a screen saver, and if you search around there are some other free screen savers. I found a sleep timer by the developer of PHM RegEdit at www.phm.lu/products. I don't understand why the power feat doesn't work for you.
[Samsung Galaxy S20 / S20+ / S20 Ultra Questions & ] sublimaze:
Does anyone know how to add a network connection *type* button to the Quick Settings panel? I'd like to switch between 5G/LTE/2G from the Quick Settings. There are apps in the Play Store to add custom buttons to the Quick Panel, but I don't want an app for something that could potentially be done via adb command.

I ran the following in adb:

settings get secure sysui_qs_tiles

but found nothing to switch the network type, only a binary toggle for data on/off.
[Android Q&A, Help & Troubleshooting] MildlyRegularPerson:
Hi folks. Today I tried to install a great app I remembered from years ago and it turns out it has not updated since. I downloaded the apk and installed it, but to no avail. The message in the title comes up when I open the app and then proceeds to close itself. Is there any potential workaround for it to work on my Android 10 device?

Thx in advance
[Android Q&A, Help & Troubleshooting] natiya:
I found I can use these ADB commands to turn on and of the WiFi of a rooted phone:

adb shell su -c 'svc wifi enable'
adb shell su -c 'svc wifi disable'

However, I'm interested in doing it without having to root the phone for an automatic testing I'm doing. Do you guys know if this is possible?

I found this project which allows me to connect to a WiFi through ADB commands not being a root user. I was wondering if anyone knows how to disconnect also from ADB and not being a root user.

UPDATE:

I've been recently trying:

C:\adb>adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb server is out of date. killing...
* daemon started successfully *
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front
and

C:\adb>adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }

Warning: Activity not started, its current task has been brought to the front

I also found doing this type of command:

adb shell input keyevent 20 & adb shell input keyevent 23

I can navigate and click. The problem seems to be that I always finish in a different state so the next time I input the command

adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings

I start in a different place and start clicking elsewhere. I've tried returning home, but that doesn't fix the issue. Is there any way to start always from the same point inside the WiFi settings?

Thanks!
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
Turn WiFi off

adb shell settings put global airplane_mode_on 1
adb shell settings put global wifi_on 0
adb shell settings put global wifi_scan_always_enabled 0

Afterwards you've to re-boot the device.

Turn WiFi on

adb shell settings put global airplane_mode 0
adb shell settings put global wifi_on 1
adb shell settings put global wifi_scan_always_enabled 1
[Android Q&A, Help & Troubleshooting] natiya:
Thank you, but those don't produce any change on my device. Actually, if I put the first two commands without doing "adb kill-server" in between, I get this message:

But the output when they work is:

and nothing happens.

I've been recently trying:

C:\adb>adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb server is out of date. killing...
* daemon started successfully *
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front

and

C:\adb>adb -s serial_number shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings }
Warning: Activity not started, its current task has been brought to the front

This opens the screen where you can turn on and off the WiFi but it doesn't do it...not sure if I'm missing something!
[Android Q&A, Help & Troubleshooting] jeffrey268:
Just to be shure, make shure your using the latest version of ADB offered by google here:

https://developer.android.com/studio/releases/platform-tools
[Android Q&A, Help & Troubleshooting] Hcr2020:
You could use adb wifi

After activating when using usb it and connecting through the same wifi:

svc wifi enable

works without root
[Android Q&A, Help & Troubleshooting] GalaxyA325G:
I'm a little late to this thread, but if it still helps the OP, non-rooted Android 10 and below allowed wireless adb connections AFTER a USB connection was first established (adb start-server && adb tcpip 5555 && adb connect [IP]:5555), but that changed (for the better) in Android 11 and above with the new new Developer options Wireless debugging random port assignments (adb connect [IP]:[PORT] or adb pair [IP]:[PORT] [PIN]) such that the adb wireless connection never needs USB cable ever again.

Given Android 11 allows Developer options Wireless debugging via a random port, and Android 12 new Developer options Wireless debugging allows that to be accessed even easier with a new Developer options Wireless debugging tile, the only thing missing is a way to turn the non-rooted Android Wi-Fi on or off via adb (which was the OP's original question after all).

Maybe this will work if we can figure out how to tap the buttons?

For swiping on the phone from adb this works...

But you want to tap the buttons, right?

If we can figure out the positions, maybe this would work?

Here is a somewhat related post...

[adb,scrcpy,vysor] What ports does Android 12 randomly set when Wi-Fi connecting via Wireless debugging adb "pair" or "connect" commands?
[Android Q&A, Help & Troubleshooting] James wick:
Type adb tcpip 5555 in the command line or Terminal and press Enter.

Find your phone's IP address in Settings > About Phone > Status > IP Address.

Back in the command line or Terminal, type adb connect [your Android's IP address].

Finally, press Enter again.

Regards,

J Wick
[Android Q&A, Help & Troubleshooting] ampnix:
comedian :ROFLMAO: . Yh buttons is the fastest way and require no root through adb with android 13.

shell string - adb shell "am start -a android.settings.WIFI_SETTINGS"

shell output stream - Starting: Intent { act=android.settings.WIFI_SETTINGS }.