yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Original Android Development] LuK1337:
What about you also answer my question above?
[Galaxy Tab S2 Original Android Development] musashiken:
Ok I removed my sdcard and tried to clean flash again. Now it bootloops even while flashing in TWRP.

I'm going to try to odin flash stock samsung firmware first and see how it goes first.
[Galaxy Tab S2 Original Android Development] moloko01:
Same here, removing SDCard makes no difference.

I have to clean cache and davik cache on reboot. [MENTION=5075128]LuK1337[/MENTION] Did you see my logcat?
[Galaxy Tab S2 Original Android Development] LuK1337:
Pretty much nothing is happening in your log.
[Galaxy Tab S2 Original Android Development] jackspeed:
At a first glance, dirty flash from last 15.1 worked flawlessly.

Good work.

Thx, jacks
[Galaxy Tab S2 Original Android Development] qok7650r3u:
So, I just installed the latest 16.0 build, doing a clean upgrade from 15.1. Everything seems to be working fine with the one exception of connecting to my WPA EAP protected Wi-Fi. I configured the network as before, but it only get to "Connecting" now before aborting the connection attempt. This worked perfectly fine with the same configuration and certificated under 15.1, so the only change is the new LOS version. Judging from the logcat, it looks like there might be some issue related to OpenSSL that is causing the issue:

03-09 22:33:35.567 3825 3825 I wpa_supplicant: wlan0: Trying to associate with SSID '<SSID>'
03-09 22:33:35.653 3825 3825 I wpa_supplicant: wlan0: Associated with <MAC>
03-09 22:33:35.653 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
03-09 22:33:35.659 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
03-09 22:33:35.672 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=13
03-09 22:33:35.686 3825 3825 I wpa_supplicant: TLS - SSL error: error:0900006e:PEM routines: OPENSSL_internal:NO_START_LINE
03-09 22:33:35.686 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 13 (TLS) selected
03-09 22:33:37.361 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='<CA cert>' hash=<hash>
03-09 22:33:37.377 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='<Radius server cert>' hash=<cert>
03-09 22:33:37.425 3825 3825 I wpa_supplicant: OpenSSL: openssl_handshake - SSL_connect error:00000000:invalid library (0): OPENSSL_internal:invalid library (0)
03-09 22:33:50.678 3825 3825 I wpa_supplicant: wlan0: CTRL-EVENT-DISCONNECTED bssid=<MAC> reason=1
03-09 22:33:50.679 3825 3825 E wpa_supplicant: nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory
03-09 22:33:50.679 3825 3825 E wpa_supplicant: nl80211: Failed to set IPv4 unicast in multicast filter
[Galaxy Tab S2 Original Android Development] moloko01:
So, what can I do?
[Galaxy Tab S2 Original Android Development] jackspeed:
Strange. WPA EAP works fine here.

At least in PEAP-MSCHAPv2 mode. Don't know if OpenSSL is being used in this mode, though.
[Galaxy Tab S2 Original Android Development] Atreya1:
I would respectfully that you do another clean install and check. I have no problems with the Wi-Fi connection at all
[Galaxy Tab S2 Original Android Development] musashiken:
Yup my tablet is dead. I tried to odin flash a stock firmware. So now it's on bootloop mode in stock recovery, endlessly trying to install update but keeps on restarting.

Lol, there's absolutely nothing I can do now. I'll just let it reboot endlessly until the battery is dead.
[Galaxy Tab S2 Original Android Development] Atreya1:
Have you tried holding power and volume down to turn it off, when it turns off it will try to restart. You have to be quick and press the buttons for recovery. Hope it works for you
[Galaxy Tab S2 Original Android Development] qok7650r3u:
I'm using EAP-TLS. If I understand PEAP correctly, it does not use client-side certificates. The error message is unfortunately a bit cryptic, but I think OpenSSL is having a problem reading at least one of the certificates, probably the client certificate, since the data from the CA and server is shown in the log. The "NO_START_LINE" error usually seems to be associated with certificates that are ill-formed or in an unexpected format. Importing the certificate into the store seemed to have worked fine, though.

EDIT: The issue is not the "NO_START_LINE" part. I just checked the logs of my phone that is running LOS 15.1 and which can connect to the Wi-Fi via EAP-TLS. It produces the same "SSL error: error:0900006e:PEM routines:eek:PENSSL_internal:NO_START_LINE" error, but the EAP authentication is completed successfully nonetheless.

The difference lies in this line: "OpenSSL: openssl_handshake - SSL_connect error:00000000:invalid library (0): OPENSSL_internal:invalid library (0)". That one does not appear on LOS 15.1.

WPA2-PSK works just fine. Only thing that does not is EAP-TLS.
[Galaxy Tab S2 Original Android Development] musashiken:
Of course I can go into recovery. That's not the issue. I can flash zips in custom recovery and I can flash stock firmware using Odin. The problem is after flashing successfully, my tablet just doesn't want to work .

So in the case of flashing lineage os in twrp, the tablet will just refuse to load Android properly, it will just bootloop.

Now I have tried flashing stock Samsung firmware using Odin as the final resort. Odin says flash passed, tablet restarts into stock recovery to complete installation of the firmware. However after it goes into stock recovery to complete installation, it just reboots. Now it bootloops every time it goes into recovery.

My suspicion is that the flash memory in my tablet is physically damaged or has bad sectors. So nothing I can do about it except to send it in for repair.
[Galaxy Tab S2 Original Android Development] moloko01:
I revert rooting with Magisk and use lineage su instead. Now rebooting works without problems. Thank you.
[Galaxy Tab S2 Original Android Development] Spegeli:
Is this Rom working with every T813 like the T813N?
[Galaxy Tab S2 Original Android Development] Zacharee1:
The T813 and T813N are the same thing.
[Galaxy Tab S2 Original Android Development] rfvdboom:
Before installing a new ROM, did you format system, cache, data,dalvik?

Did you installed correct twrp version?
[Galaxy Tab S2 Original Android Development] CarlosCalderon:
Hey,

thanks for your amazing work. Bringing new life to the Tab S2.

Sometimes my Wifi connection is lost.... after switching on/off, it's getting back to work.

The battery is not very good sadly. Without use my Tab S2 is killed within 24h of standby. What can I do to improve Standby battery time?

Thanks!
[Galaxy Tab S2 Original Android Development] fehrcomp:
Someone 2 pages back mentioned the app: Naptime (in Playstore)

I installed it a couple days ago and it's perfect. No stand-by battery draining anymore. Maybe something for you too?
[Galaxy Tab S2 Original Android Development] T_I:
Same here, Installing Magisk results in a loop during boot. (Lineage boot animation keeps running, logcat shows it looping over same errors. When I have more time I'll try to catch a logcat. Restore of system + boot from backup solved the issue without resetting the installed apps. (I'm guessing only restoring boot would work as well)
[Galaxy Tab S2 Original Android Development] moloko01:
Thank you, did you see my post #180 ?

I used Magisk uninstaller and simply install official LOS SU. Result - no boot loop.

But Magisk is the better way for rooting. So hope it will work again.
[Galaxy Tab S2 Original Android Development] OhioYJ:
It makes a huge difference, especially if you kill Wifi and GPS, etc. On my tablet I don't need it to do anything while the screen is off generally, so it's not a big deal. On phone's I've found the app doesn't work as well for me, but on tablets, it works wonders.

---------- Post added at 10:15 AM ---------- Previous post was at 10:12 AM ----------

Are you using the 18.1 Magisk? Which LOS? None of my tablets have had any issues with Magisk yet.
[Galaxy Tab S2 Original Android Development] Kou-kun:
Does anyone know if mhl works with this? I currently have Lineage 15.1 installed and am getting no output to my TV using my micro usb to hdmi mhl adapter.
[Galaxy Tab S2 Original Android Development] LuK1337:
Stock doesn't even support it, does it?
[Galaxy Tab S2 Original Android Development] Kou-kun:
I honestly have no clue. Looking online gave me varying answers. I'll try to go back to stock and see if things work, if not I'll just upgrade to Lineage 16.
[Galaxy Tab S2 Original Android Development] almahix:
I'm running 3/19/19 Lineage 16.0 (dirty flash over a January build) and Magisk 18.1 with no issues.
[Galaxy Tab S2 Original Android Development] CarlosCalderon:
This would be great...it is sadly not working for me. Have standby drain around 1,5-2% drain in standby. I'm now at 56% battery with 24h standby time and 26 mins dot. What can I do?

Gesendet von meinem SM-T813 mit Tapatalk
[Galaxy Tab S2 Original Android Development] davidnw:
Have made the permissions settings ?

To use Naptime’s features without Root, you need to grant it DUMP permission via ADB on your computer by executing this command:

adb -d shell pm grant com.franco.doze android.permission.DUMP

You also need to grant WRITE_SECURE_SETTINGS permission:

adb -d shell pm grant com.franco.doze android.permission.WRITE_SECURE_SETTINGS
[Galaxy Tab S2 Original Android Development] CarlosCalderon:
I'm on root with magisk. Also have an SD card installed.

Thanks for the help.

Also the performance is good, some animations are somehow a bit choppy (using nova launcher), e.g. Scrolling of the Google now page.

Gesendet von meinem Pixel XL mit Tapatalk
[Galaxy Tab S2 Original Android Development] gjstroom:
When I press on the home screen and select wallpapers, I get App isn't installed. What App do I need to install to fix this ?

Probably the cause is that I upgraded from a non official version.

I also experience the wallpaper is cut off (a small part of the bottom screen is black) after some time, with previous versions an eays fix was to rotate forward an back. Now this doesn't work anymore.

I also had the pixel launcher installed when the rom was unofficial.
[Galaxy Tab S2 Original Android Development] vercety974:
Restarting while charging does not function.

Envoyé de mon SM-T813 en utilisant Tapatalk
[Galaxy Tab S2 Original Android Development] Reynald0:
[MENTION=5227588]Deltadroid[/MENTION]

Inside WireGuard/src/compat/dst_cache/dst_cache.c there is at line 18 #if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 50) that prevents me from compiling the kernel on a Ubuntu machine with kernel 4.1.8, I don't think is intended that I must have a upper version in order to compile it, in some older versions I found that if 0 was used, and that allow to compile it right.
[Galaxy Tab S2 Original Android Development] Deltadroid:
Yeah, I was going to write a note about that. It seems that wireguard does not support the latest kernel backports for 3.10. Here is the solution.

Author: syphyr <syphyr@gmail.com>
Date: Sun Aug 12 20:00:19 2018 +0200

net: Fix Wireguard compile error

This function has been backported by the following commits:

fixes: "ipv6: Add rt6_get_cookie() function"
fixes: "ipv6: add rcu grace period before freeing fib6_node"

diff --git a/src/compat/dst_cache/dst_cache.c b/src/compat/dst_cache/dst_cache.c
index 7ec22f7..ca96234 100644
--- a/src/compat/dst_cache/dst_cache.c
+++ b/src/compat/dst_cache/dst_cache.c
@@ -15,7 +15,7 @@
#include <net/route.h>
#if IS_ENABLED(CONFIG_IPV6)
#include <net/ip6_fib.h>
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 50)
+#if 0
static inline u32 rt6_get_cookie(const struct rt6_info *rt)
{
if ((unlikely(rt->dst.flags & DST_NOCACHE) && rt->dst.from))
[Galaxy Tab S2 Original Android Development] LDP12:
Hi everyone, I was wondering... Will this work on the SM-T815? An urgent reply would be much appreciated.
[Galaxy Tab S2 Original Android Development] davidnw:
INGORE THIS IT IS COMPLETELY WRONGE

Yes, but understand the phone functions will not work. I have it on a T815 with a broken simm holder so I could not use phone / mobile data any way. WiFi still works.
[Galaxy Tab S2 Original Android Development] LuK1337:
It won't even boot. It's not the same SoC lol.
[Galaxy Tab S2 Original Android Development] qok7650r3u:
[MENTION=5075128]LuK1337[/MENTION]

I am still experiencing the problem described before with the OpenSSL library while attempting to use EAP-TLS with the latest nightly.

What is your--

LineageOS version: lineage-16.0-20190327-nightly-gts210vewifi-signed

LineageOS Download url: https://download.lineageos.org/gts210vewifi

Gapps version: 8.1

Did you--

wipe: y

restore with titanium backup: n

reboot after having the issue: y

Are you using--

a task killer: n

a non-stock kernel: n

other modifications: n

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
[Galaxy Tab S2 Original Android Development] tikkalamt:
I was under impression this is also for the LTE model gts210velte. Am I mistaken? Will everything work if I modify the updater script (apart from the LTE of course)?

Thanks!

EDIT: To answer my own question, I removed the model check from the script and everything seems to work. At least it booted :)
[Galaxy Tab S2 Original Android Development] RagingHarry:
I'm running it like that since the 813 official came out on my T819 and it runs great.

Mostly like 5 hours sot while playing foe, watching movies/series VLC or Netflix and other daily use.
[Galaxy Tab S2 Original Android Development] Essentrix:
Hi All

Any suggestion on why I cant get root to work with recent versions? No prob with getting root to work on version from last October.

Want to use superSU but tried Magisk and same result. Appreciate any thoughts...
[Galaxy Tab S2 Original Android Development] Atreya1:
I installed magisk from here https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Worked a dream
[Galaxy Tab S2 Original Android Development] Essentrix:
Thanks for your thoughts. Will have a look but still hoping to use SuperSU as it allows me to install full arise sound mod. Will see if there is any further feedback. Cheers
[Galaxy Tab S2 Original Android Development] vercety974:
Is there any way to automatically turn off the wifi connection when the screen is off ?

Envoyé de mon SM-T813 en utilisant Tapatalk
[Galaxy Tab S2 Original Android Development] davidnw:
The Naptime app has a setting to do this.
[Galaxy Tab S2 Original Android Development] Abdulrouf:
Please built one for gts210ltexx as well LOS 14 is available but no 15 or 16 please built one
[Galaxy Tab S2 Original Android Development] Abdulrouf:
But Why?
[Galaxy Tab S2 Original Android Development] LuK1337:
Because I don't have gts210ltexx and I don't want to have it.
[Galaxy Tab S2 Original Android Development] tikkalamt:
Please see few posts before and you can see at least two users using 16 on a LTE version.
[Galaxy Tab S2 Original Android Development] LuK1337:
Except these were about gts210velte, not gts210lte.
[Galaxy Tab S2 Original Android Development] tikkalamt:
Oops :rolleyes:
[Galaxy Tab S2 Original Android Development] Hightower68:
Error 7 when installing ROM

Hi guys.

First off, thanks for bringing Android 9 Pie to this tablet.

I have a fairly new TabS2 but its been on stock rom since purchase. Decided to upgrade to Pie today with LinOS16 so installed TWRP with odin.

After getting into TWRP, tried to do a backup but it kept failing. Researching the problem, I had to change all the file systems to F2FS. That worked but of course could not do a backup. Therefore decided to wipe cache, data and system and that all worked.

Now I have LinOS16 the latest nightly and I get this error 7. Tried to do a full wipe again but it didnt fix the problem. Redownloaded the rom again figuring it was an error but still no go. So tried an older nightly.... same thing. Next I researched error 7 and tried the suggested fixes, including editing this script file but all to no avail. Kinda stuck here now. What to do next?

https://drive.google.com/file/d/16Tin9sOgwSac7P4DKjYTg4gkJYXGA_x-/view?usp=sharing
[Galaxy Tab S2 Original Android Development] RagingHarry:
Was it on stock rom updated to one of the last officials?

Could you check with https://play.google.com/store/apps/details?id=flar2.devcheck&hl=en_US on which version of the bootloader you are, incase maybe to old or something, or a non ve version, 2016 instead of 2017.

F2fs shouldn't be needed at, or should even work (if I'm right).
[Galaxy Tab S2 Original Android Development] Hightower68:
Thanks for replying. Not sure what you want me to do with an app when the tablet is now wiped. Perhaps Im missing some sort of trick to do that. And yes it was on stock rom nougat and I used the latest nightly to install after TWRP installed. Didnt see the last official one listed so used a nightly.
[Galaxy Tab S2 Original Android Development] LuK1337:
Have you thought about reading full error message after failed installation since ~ ERROR SEVEN ~ tells us exactly nothing.
[Galaxy Tab S2 Original Android Development] Hightower68:
Sorry. Yes of course read it. I attached a photo in my post but its not appearing for some reason. Here is the messages...

failed to mount /dev/block/bootdevice/by-name/system at /system: invalid argument

Failed to unmount /system: no such volume

scripte aborted

updater process ended with Error:7
[Galaxy Tab S2 Original Android Development] LuK1337:
Umm what TWRP are you using? It's not official TWRP is it?
[Galaxy Tab S2 Original Android Development] Hightower68:
TWRP 3.2.3-0
[Galaxy Tab S2 Original Android Development] LuK1337:
I don't believe it. Are you sure it's twrp-3.2.3-0-gts210vewifi.img from dl.twrp.me?
[Galaxy Tab S2 Original Android Development] Hightower68:
Yes thats the one. Why dont you believe it?
[Galaxy Tab S2 Original Android Development] LuK1337:
Because your error message makes no sense whatsoever. Try formatting /system to ext4 and reflashing lineage.
[Galaxy Tab S2 Original Android Development] RagingHarry:
Nvm missed a post
[Galaxy Tab S2 Original Android Development] Hightower68:
Ok back on EXT4 for system and cache.

This time the flash went further along, but still listed Error 7. However it did say successful. So I did Gapps as well, which also said successful, but also had the Error 7 in the log as well. However its booting up so it seems its working. Hopefully it runs ok despite this weird error that you say makes no sense. Thanks for the help

Question is why I had the failed backup and wipes initially that led to all this.
[Galaxy Tab S2 Original Android Development] ivanox1972:
Eom is superb, probably best lineage I ever used. Everything is working.

However, I have noticed very strange issue- on nova launcher, status bar is auto hiding! It is not seen by default, when you pull down it appears and dissappears in few seconds... I all other scenarios, in any app or in recent apps mode it is on...

What can it be?
[Galaxy Tab S2 Original Android Development] davidnw:
Could it be system Expanded Desktop settings?
[Galaxy Tab S2 Original Android Development] ivanox1972:
Where is that? Only if I activated that unintentionally
[Galaxy Tab S2 Original Android Development] cucumbersmell:
xposed on the Tab S2

Moved to it's own thread, so as not to clutter the great work here.

https://xdaforums.com/tab-s2/general/xposed-tab-s2-t3918619
[Galaxy Tab S2 Original Android Development] davidnw:
System Settings --> Display --> Advanced --> Expanded Desktop

System Settings has a seach function, that is the magnifying glass icon at the top of screen. It helps find these things.
[Galaxy Tab S2 Original Android Development] ivanox1972:
It's not that.
[Galaxy Tab S2 Original Android Development] kanka124:
Same here. When I'm playing videos or music from any app, it will skip when I switch between apps or go to the homescreen. I tried flashing again without Gapps, and the problem went away. Tried both open_gapps-arm64-9.0-nano-20190405 and MindTheGapps-9.0.0-arm64-20190216_211116. I tried rebooting, wiping, and flashing again.

Any way to make the audio and Gapps work?

Versions I tried are lineage-16.0-20190402-nightly-gts210vewifi-signed and lineage-16.0-20190405-nightly-gts210vewifi-signed

Edit: No more audio skipping with the pico version of openGapps.
[Galaxy Tab S2 Original Android Development] CarlosCalderon:
I still have problems with the battery life. Seems like the kernel is keeping it awake. What can I do to help you fix my problem?

Gesendet von meinem SM-T813 mit Tapatalk
[Galaxy Tab S2 Original Android Development] Svoel:
Which Nightly build are you on? I have similar issues with battery life on 04/05/19 release. Had to revert back to a earlier release, and got my usual battery life.

Test the 04/06/19 build to see if that fixes your issue or revert to an earlier release.
[Galaxy Tab S2 Original Android Development] darzur:
Hi,

Is there any way you can tweak automatic screen brightness curve in Los? For me it's way too sensitive but haven't found anything to change that.

--

br,

Zurdar
[Galaxy Tab S2 Original Android Development] CarlosCalderon:
I have it since mid March release. Tried naptime now and it tells me, that it's nearly permanently in doze mode but still, the battery runs low from the kernel.

I rooted with magicx, to have full access to naptime - the reason was low battery time. Otherwise the tab s2 is nearly empty from apps.

Should I provide a logcat? I don't know how to do that...

Gesendet von meinem Pixel XL mit Tapatalk
[Galaxy Tab S2 Original Android Development] OhioYJ:
[GUIDE][NOOB-FRIENDLY] How to take logcat

Do you have NapTime set to kill Wifi / GPS / etc when the screen goes off? That will make a big difference on battery.
[Galaxy Tab S2 Original Android Development] vercety974:
Is there any way to launch Google assistant with a long press or double pressing the home button ?

Envoyé de mon SM-T813 en utilisant Tapatalk
[Galaxy Tab S2 Original Android Development] darzur:
Strange. Look below - I have 1% drop in 12 hours with Wi-Fi enabled without Naptime. It's important to enable airplane mode, restart tablet and then disable airplane mode. If I don't do it then it consumes about 1%/h...

--

br,

Zurdar
[Galaxy Tab S2 Original Android Development] optionalmgrr.la:
Do it once or?
[Galaxy Tab S2 Original Android Development] darzur:
Every reboot, sadly. I'm rebooting only on system update so for me it's not a big deal, although have to remember about it...
[Galaxy Tab S2 Original Android Development] CarlosCalderon:
Why do I have to do this? Is there a fix implemented in the future? I'm trying this first.

Gesendet von meinem Pixel XL mit Tapatalk
[Galaxy Tab S2 Original Android Development] Deltadroid:
Do you still have battery drain when booting into safe mode and not enabling airplane mode?
[Galaxy Tab S2 Original Android Development] optionalmgrr.la:
Maybe [MENTION=5075128]LuK1337[/MENTION] can make it automatically?
[Galaxy Tab S2 Original Android Development] darzur:
Never tried it. Didn't even know that there is a safe mode in Android.

--

br,

Zurdar
[Galaxy Tab S2 Original Android Development] TKruzze:
I'm currently running this ROM unencrypted and was wondering if there are issues if I wanted to encrypt the device?

Perhaps as important, does the latest official TWRP also support decryption?
[Galaxy Tab S2 Original Android Development] OhioYJ:
I can't say about the first part as I've always been encrypted. It should though, as it comes back from fresh installs, and formatted data fine (it encrypts it fine). On the second part, yes TWRP decrypts data just fine.
[Galaxy Tab S2 Original Android Development] TKruzze:
Thanks! Did the encryption and everything is still working great.