yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] Dr_MC:
I am a happy user of retiredtab's Lineage 18.1 for T710. Are there any advantages to moving to 19.1? I am not a power user, although I sometimes look for specific files though myfiles types of apps and copy or move them.

Thanks

Dr_MC
[Galaxy Tab S2 Android Development] retiredtab:
If you're happy with 18.1, just stay with that unless you need a feature that's only in Android 13.
[Galaxy Tab S2 Android Development] Ayle:
Is there a special process to install nikgapps? I've tried queueing the install right after the ROM and also reboot before flashing. I see no error during the install but when I boot, there are no gapps installed... I may just go back to 18.1 for the time being.
[Galaxy Tab S2 Android Development] lpedia:
Your best bet when having problems with any particular gapps is to search the thread for that gapps - in this case, https://xdaforums.com/t/android-13-gapps-nikgapps-arm64.3915866/. If you don't find the solution already there, ask the question in that thread.
[Galaxy Tab S2 Android Development] Pawel_:
@Ayle I had the same problem. Solved by installing BiTGApps see this thread for details https://xdaforums.com/t/exynos5433-...ms-sm-t710-and-sm-t810.4480041/#post-87725189
[Galaxy Tab S2 Android Development] haircut313:
I don't know it may be my device. but I have using this 20111 rom just fine for a while now. but now the auto rotate function just stopped suddenly.it could be a hardware issue?
[Galaxy Tab S2 Android Development] lpedia:
I've never seen this on any of my LOS devices. It seems unlikely that the operating system would suddenly stop being able to rotate the screen.

Apps can control auto rotation, though, and some might also prevent the system / other apps from rotating the screen. Did you install any apps just before this started happening? If so, try removing those.

If it's not an app turning it off, it could be a sensor failure. Auto rotation uses the accelerometer sensor, and if that isn't working auto rotate won't work either. You could install something like DevCheck and see if the sensor is working.
[Galaxy Tab S2 Android Development] haircut313:
Where do I go to check accelerometer sensor?
[Galaxy Tab S2 Android Development] retiredtab:
As lpedia mentioned, you download an free ad-free app called devcheck by flar2 using playstore or Aurora Store.

https://play.google.com/store/apps/details?id=flar2.devcheck

In the app, there's a tab called sensors. That tab will have the various sensors detected and then show a graph + numeric readout when you try the sensor.
[Galaxy Tab S2 Android Development] lpedia:
Once you've installed DevCheck (available from Play Store or Aurora Store; doesn't need Google services), go to its "Sensors" tab and see what the Accelerometer is doing. The realtime graph should change as you move the tablet and turn it around. If it doesn't, or doesn't respond by much, the accelerometer might not be working properly.
[Galaxy Tab S2 Android Development] lpedia:
Oops - didn't see @retiredtab's response before I posted. 😉

The accelerometer graph has x, y, and z components to detect movement in three dimensions. They should change differently depending on how you're holding the tablet and how you move it.
[Galaxy Tab S2 Android Development] haircut313:
Only thing I see is temperature sensors. whatever that is
[Galaxy Tab S2 Android Development] lpedia:
Perhaps that's the problem! You should see a lot of sensors, not just temperature.

This is what I see on my T710.

View attachment 5777539
[Galaxy Tab S2 Android Development] haircut313:
oh yea I see those now, I don't what happened I turned it off for couple minutes an now it started working
[Galaxy Tab S2 Android Development] retiredtab:
New build called lineage-19.1-20221212-UNOFFICIAL-gts28wifi.zip

NOTE: lpedia has personally tested each build on his device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.

Dec 12, 2022 release notes

1. YOU MUST read posts 1-4 if you haven't already.

2. Dec 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2022-12
[Galaxy Tab S2 Android Development] lpedia:
Correction: Dec 12, 2022 release notes and Dec 5 security patches.

🙂
[Galaxy Tab S2 Android Development] Kyrat:
Hi guys! Merry christmas :) I'll download the rom inmediatly
[Galaxy Tab S2 Android Development] Dr_MC:
This installation guide was very helpful. It would not have occurred to me to back up then wipe and then restore stock.

I have a few questions though:

The first is regarding root status. I installed this lineage after returning to a factory image through Odin. I did not root it after that (didn't use magisk) but Crave, a Canadian streaming app from Bell says that I am rooted. It works fine on my stock Galaxy s10 . Can you suggest any paths to follow?

Second, When I go to settings and tap storage it says that I have 3.8 gigs of apps, 1.1 GB of system, and also 8.8 GB of "docs and other". When I tap on that, I get a Document screen that says "no items". Do you have any idea what might be going on here, what those 8.8 GB might be?

Thanks and Happy New Year!
[Galaxy Tab S2 Android Development] retiredtab:
The answer has not changed since you asked this May 20, 2022 wrt to 18.1

https://xdaforums.com/t/unofficial-...or-sm-t710-dec-12-2022.4430339/#post-86921681

This 19.1 rom is NOT rooted by default. It's the app incorrectly thinking that it is.

On mine, I have nothing in Documents folder, but it says I'm using 3.7GB. I do have many roms stored /sdcard and /sdcard/TWRP directory (backups of my data and settings). That's 3.7GB worth of files.
[Galaxy Tab S2 Android Development] Dr_MC:
Is your SD card treated as removable or as part of main storage?
[Galaxy Tab S2 Android Development] lpedia:
Happy New Year to you, too!

In Settings > Storage, when I tap on "Documents & other" it asks what to open it with. The only real option is "Files" (although I have another file manager app as well). Choosing that lists the folders being included in the total.

On my T710, with "This device" (the other option is the external SD card) selected, that shows non-empty file folders on both internal storage and the external SD card (which is configured as 'portable' storage).

However, if I run Files separately and touch the "Documents" button, it only lists the document-type files it finds on the selected storage (internal by default). To see "Documents" on the external SD card I have to explicitly select that storage. The "Documents" button will then list all the 'documents' on that card.

Do you have an external SD or USB storage attached? If so, my guess is that Settings > Storage is counting 'document' files on both the internal and external storage, like mine does.

Also, there could be hidden files contributing to the total. For example, SeedVault backups are hidden. In Files you can choose to show hidden files, but that's off by default.
[Galaxy Tab S2 Android Development] Dr_MC:
That must be what is going on. The files on the removable SD include a twrp backup and a few other files that would account for the 8 GB.

Thanks!
[Galaxy Tab S2 Android Development] Kyrat:
Hello everyone! there was something that I have been letting go of since this and the previous update and is the next: there is a point that the tablet gets too hot at the height of the power and volume buttons is when it is forced to restart. The reason why I did not tell you this was because I thought that it would solve it with the new update (the current one), I am commenting on it because in these two updates my micro sd card has been damaged several times (fortunately it is enough to enter the pc and let Windows correct the damage, the first time I had this problem I made the mistake of formatting from the tablet and lost my data).

it happened a couple of times while I was on telegram watching a series and other times it just got hot and rebooted.

That's all I wanted to comment friends. Regards!
[Galaxy Tab S2 Android Development] Pawel_:
I have experienced the same issue and also described it in this thread here. Also, have a solution for that.

The main cause of this issue is that clocks on all cores by default are set to run at the lowest 1100MHz and scale up to maximum values. If you check stats then there is a big spike on 1100MHz (don't have a screenshot for that)

Question to @retiredtab is it possible to change such a setting at the default configuration level to lower clocks to 400Mhz on all cores?

My solution.

1. Install magisk to get root.

2. Buy https://play.google.com/store/apps/details?id=flar2.exkernelmanager

3. Set minimum clocks to 400 MHz

4. Activate power save mode, and configure it as on the images below, especially set Cluster2 to disabled. Then when you activate PowerSave performance cores are turn off. I am using that when reading books in ReadEra or Reader Prestigo. With such settings average battery, usage is about 10% per hour with minimum screen brightness.

Normal mode with lowered minimum clocks.

View attachment 5811703

CPUs stats, most time spent in 400Mhz.

View attachment 5811705

Setting for Power Save.

View attachment 5811707

Setting for CPU default clocks.

View attachment 5811709
[Galaxy Tab S2 Android Development] retiredtab:
@Kyrat @Pawel_ ,

No promises, but I'll take a look your findings when I have time. If this is an issue, go back to 18.1 for now.
[Galaxy Tab S2 Android Development] retiredtab:
New build called lineage-19.1-20230108-UNOFFICIAL-gts28wifi.zip

NOTE: lpedia has personally tested each build on his device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.

Jan 8, 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already.

2. Jan 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-01
[Galaxy Tab S2 Android Development] pflyaz:
Hello all.

I wanted to provide some updates to the T810/T710 LOS community.

Context: I have been using the great work of @retiredtab and @lpedia to provide LOS 18.1 and 19.1 for the excellent T810 and T710 tablets. I have both tablets and have found the 18.1 ROM to be excellent and very reliable for daily use. The 19.1 ROMs are excellent, except for one thing - regular (every few days) “Connected to device. Can’t provide internet” errors with ! on wifi icon. A reboot didn’t fix it every time, and I sometimes saw multiple reboot crashes before I got a clean wifi back again. WiFi would stay on for a while, and then something triggered the fault. I have not been able to identify what.

I decided to do a clean install on both my T810 and T710 of the LOS 19.1 ROM, to start the year clean. I had been doing dirty installs for several months since the original alpha ROM was released. I can report the following which is really an update to my post on the install instructions earlier.

NikGApps Core 20220908 doesn’t properly install PlayStore – in TWRP says it installed but it doesn’t show as an App on home screen – 20220709 isthe only NikGApps version that works for me. No version of MindTheGApps works.

NikGApps up to Omni works. NikGApps Stock and Full don’t – they replace AOSP key board with Google Voice typing which you can’t get rid of. But even with Omni the included Apps don’t appear on the installed apps screen. So my recommendation is that you just use NikGApps 20220709 Core and load the Apps yourself.

After initial setup, I recommend quickly enabling Google backup. Otherwise, SeedVault jumps in and you can’t get rid of it.

Before my clean installs of LOS 19.1 using 20230107 (T810) or 20230108 (T710), it often took multiple reboots and/or power off to get the tablet to restart properly with WiFi enabled. After clean installs of 2023010X with NikGApps 20220709 Core, both devices now recover cleanly with a single reboot if the WiFi fails. It would be nice if the community can track down the culprit for what triggers “Can’t provide internet”, but until that’s found at least a single reboot will restore WiFi functionality.

Apart from the WiFi anomaly, I have experienced no other anomalies on either my T810 or T710 running LOS 19.1 since the clean installs. Thank you again @retiredtab and @lpedia for your great work. It's really appreciated.
[Galaxy Tab S2 Android Development] retiredtab:
@Kyrat , @Pawel_ , the commit to lower the little core CPU to 400Mhz is at (details and explanation in that commit)

https://github.com/retiredtab/andro...mmit/8480e024cb15d82b9d418c44efd9257db173b49e

It will be part of the Feb 5 security patches when that build is released by me.

BTW, this is not a problem in 18.1 because the custom Samsung hidl power code worked, but it was deprecated for 19.1 and everyone had to switch to the new Samsung aidl implementation as per "hidl: power: Kill legacy and libperfmgr power implementations"

https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/318109
[Galaxy Tab S2 Android Development] Kyrat:
Thank you, Ill see it
[Galaxy Tab S2 Android Development] Bacchuss:
First of all, @retiredtab and other contributors: thank you for your effort on creating this fine rom.

Then a more generic question: I notice this rom has the navigation bar enabled for me. Since our device has physical navigation buttons, I consider that a bit pointless. Do you agree? And am I right in that I would need root or magisk to disable that myself?
[Galaxy Tab S2 Android Development] retiredtab:
See FAQ25 and if you want to get rid of 3 button navigation, goto system, gestures, system navigation and choose gesture navigation.
[Galaxy Tab S2 Android Development] retiredtab:
New build called lineage-19.1-20230213-UNOFFICIAL-gts28wifi.zip

NOTE: lpedia has personally tested each build on his device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.

Feb 13, 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already.

2. Feb 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-02

3. Use stock android.hardware.power for CPU/SoC management so little cores can go as low as 400Mhz. Previously, the minimum clock speed was 1200Mhz and this may have caused some overheating. See

https://github.com/retiredtab/andro...mmit/8480e024cb15d82b9d418c44efd9257db173b49e
[Galaxy Tab S2 Android Development] lpedia:
For those who use or want to use gapps: I found that NikGapps-core-arm64-12.1-20220709-signed.zip continues to work well with this ROM on my device. I have not been able to get a later version to work correctly with it. Although it would appear to install correctly, on reboot there'd be no Play Store.

Note that if you're dirty-flashing an update on top of existing NikGapps, you will need to reflash NikGapps just after flashing the ROM. I do not know if this applies to other gapps packages as well.
[Galaxy Tab S2 Android Development] zed011:
The fix is working well, my tablet is noticeably cooler and I can see it at 400Mhz often
[Galaxy Tab S2 Android Development] jobgary:
i need
[Galaxy Tab S2 Android Development] Kyrat:
In my case too, now I can use my tablet without burning my fingers lol
[Galaxy Tab S2 Android Development] xbt-:
Any chance this can be ported to T713?
[Galaxy Tab S2 Android Development] Dr_MC:
Curiously, my T710 was very well behaved with the January update, but after dirty flashing the Feb update I started having random reboots, occasional overheating, and the "cannot provide internet" problem. The three problems seem correlated, and usually disappeared after a restart or a power+home+vol down reset. Should I return to stock and flash the Feb update, or wait until the March update (and then should I return to stock before flashing)?
[Galaxy Tab S2 Android Development] lpedia:
I'd suggest clean-flashing the Feb update and see if that behaves. No need to go right back to stock.

Dirty-flashing updates usually works, but as a general rule try a clean flash if there are any glitches.
[Galaxy Tab S2 Android Development] lpedia:
@Dr_MC - this is how I'd do a clean flash with TWRP:

In TWRP, select Wipe > Advanced Wipe.

Tick Dalvik / ART Cache, Data, Cache, System, then swipe Swipe to Wipe.

Touch the Back button and select Format Data. Type yes when prompted.

Touch the Home button and select Install.

Select the ROM zip and any addons (such as gapps), then swipe Swipe to confirm flash.

https://xdaforums.com/t/android-terminology-you-must-know-before-toying-with-your-android.4286651/ is a good introduction to XDA terminology and processes like clean and dirty flashing.
[Galaxy Tab S2 Android Development] retiredtab:
New build called lineage-19.1-20230320-UNOFFICIAL-gts28wifi.zip

NOTE: lpedia has built the rom and pflyaz personally tested the build on his device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.

March 20 , 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already.

2. Mar 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-03
[Galaxy Tab S2 Android Development] zed011:
Just wondering if anyone's been having issues with instagram. I started using it again, tried deleting and reinstalling the app but eventually the feed is a few days behind and images refuse to load. I haven't seen this issue happen on any other device but this S2. Can grab some logs later. Also videos are extremely low quality on instagram too. I only found 1 other person who commented the same but on lineage 18
[Galaxy Tab S2 Android Development] retiredtab:
I don't use Instagram and never will so I don't know why your feed is late or refuses to load.

For Instagram and low quality videos, I only know this because @ananjaser1211 mentioned this to me sometime in past year or two?

This commit

https://github.com/universal5433/pr...mmit/10a2ac9ff23a0a2c589df5c4ba1c21e4fd539d91

says it fixes

"This fixes Apps that rely on encoder (Live message and many others)

And fixes quality (decoder) in apps like instagram , twitter and so on"

Later on, the blobs were updated again in this commit.

https://github.com/universal5433/pr...mmit/c105d6037c7ad74a030101a946a53a2faf587e3d

* Previous OMX was "too new" and had many unsupported formats

* Also its AVC.Encoder is not supported on our phone

* This OMX solves all those issues

* Apply patch

sed -i "s|system/lib|vendor/lib|g" $BLOB_ROOT/vendor/lib/libExynosOMX_Core.so

So download these 2 files

https://github.com/universal5433/pr...m/vendor/lib/omx/libOMX.Exynos.AVC.Decoder.so

https://github.com/universal5433/pr...m/vendor/lib/omx/libOMX.Exynos.AVC.Encoder.so

$ sha256sum libOMX*
8de9c97fcf6af9f5e96e93bd9be1d54b1a19180571129f4535b8384d3b5a6358 libOMX.Exynos.AVC.Decoder.so
622f23a8dc367d0b2296bd2337c7ef2e3d87241f7ec3479ab22f9e6296441e5c libOMX.Exynos.AVC.Encoder.so

$ ls -al libOMX*
-rw-rw-r-- 1 l l 237496 Mar 28 16:42 libOMX.Exynos.AVC.Decoder.so
-rw-rw-r-- 1 l l 245704 Mar 28 16:42 libOMX.Exynos.AVC.Encoder.so

On my existing 19.1 build, I see

gts210wifi:/system # ls -al ./lib/omx/libOMX*
-rw-r--r-- 1 root root 164044 2008-12-31 17:00 ./lib/omx/libOMX.Exynos.AVC.Decoder.so
-rw-r--r-- 1 root root 169744 2008-12-31 17:00 ./lib/omx/libOMX.Exynos.AVC.Encoder.so

so they are earlier versions.

To update, follow these steps and see if Instagram video playback is better.

UPDATED/EDIT: See post #94 instead.

1. Save your device data.

2. Download newer versions of the libOMX encoder/decoder onto your PC.

3. Boot into TWRP.

4. Touch mount system

5. # cd into the directory where you downloaded the 2 files

6. adb push libOMX.Exynos.AVC.Decoder.so /system/lib/omx

7. adb push libOMX.Exynos.AVC.Encoder.so /system/lib/omx

8. # verify file sizes are correct

9. adb shell ls -al /system/lib/omx

10. reboot into OS and test Instagram

I have no idea if that person is running my 18.1 rom or another.
[Galaxy Tab S2 Android Development] retiredtab:
The above post changing of the OMX breaks stock camera video recording. Anan suggested something else which I will post in the next thread once I test it out.
[Galaxy Tab S2 Android Development] retiredtab:
@ananjaser1211 suggested that the low quality video is due to the open source OMX drivers not supporting adaptive-playback. He suggested removing all instances of that parameter from the media_codecs.xml file which I have done and attached as zip.

@zed011, try this

1. Save your device data.

2. Download media_codecs.zip and unzip it.

3. Boot into TWRP.

4. Touch mount system

5. # cd into the directory where you downloaded the file.

6. adb push media_codecs.xml /system/vendor/etc/media_codecs.xml

7. reboot into OS and test Instagram
[Galaxy Tab S2 Android Development] zed011:
I tried the file, looks like now videos aren't playing at all for instagram, reddit and youtube. Here's a log I captured for youtube.

03-29 02:57:06.797 7459 7459 E YouTube : Encountered unknown or invalid card
03-29 02:57:06.821 3674 16997 I GenericSource: start
03-29 02:57:06.828 3674 17002 E NuPlayerDecoder: Failed to create video/mp4v-es decoder
03-29 02:57:06.832 3674 17002 W NuPlayerDecoder: onSetParameters called before codec is created.
03-29 02:57:06.834 3674 16997 E NuPlayer: received error(0x80000000) from video decoder, flushing(0), now shutting down03-29 02:57:06.835 3674 17004 E NuPlayerDecoder: Failed to create audio/mp4a-latm decoder
03-29 02:57:06.836 7459 13802 W MediaPlayerNative: info/warning (805, -2147483648)
03-29 02:57:06.837 3674 16997 E NuPlayer: received error(0x80000000) from audio decoder, flushing(0), now shutting down03-29 02:57:06.844 7459 13802 E MediaPlayerNative: error (1, -2147483648)
03-29 02:57:06.847 7459 8000 E MediaPlayer: Error (1,-2147483648)
03-29 02:57:06.854 7459 8000 E YouTube : AndroidFwPlayer: error [prepared=true, what=1, extra=-2147483648]
03-29 02:57:06.858 7459 7459 W YouTube : Missing Vss3Config
03-29 02:57:06.859 7459 7459 W YouTube : Warning: unexpected playback play 0 suppressed
[Galaxy Tab S2 Android Development] retiredtab:
New build called lineage-19.1-20230418-UNOFFICIAL-gts28wifi.zip

NOTE: lpedia has built the rom and pflyaz personally tested the build on his device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.

Apr 18 , 2023 release notes

1. YOU MUST read posts 1-4 if you haven't already.

2. Apr 5 security patches as per https://review.lineageos.org/q/topic:S_asb_2023-04
[Galaxy Tab S2 Android Development] schnoeselmeier:
I tried a few things but couldn't pass safety net. Is there a way to do it? Not really important because I won't use banking apps on such an old device anyway. The rom is superb. Feels like a completely new device.
[Galaxy Tab S2 Android Development] lpedia:
What did you try?
[Galaxy Tab S2 Android Development] schnoeselmeier:
I changed the device fingerprint with magisk hide props and tried universal safety net fix.zip
[Galaxy Tab S2 Android Development] lpedia:
Did you try all the suggestions in https://www.xda-developers.com/how-to-pass-safetynet-android/?
[Galaxy Tab S2 Android Development] schnoeselmeier:
Not yet. I will try again tomorrow. Thanks!