[ROM][OFFICIAL][T813][8.1] LineageOS 15.1

Deltadroid

Recognized Contributor
Apr 19, 2013
3,767
9,884
263
In regards to unstable Wifi, you could try disabling fast roaming. This might be an issue with certain AP's that are not patched for Krack vulnerability.
Disabling fast roaming/fast transition seems to cause a little battery drain. Maybe there is a better way.

When I have wifi disconnects, 99% of the time, the reason is wma_peer_sta_kickout_event_handler with reason 2. Reason 2 means that there was an inactivity timeout and the AP is not responding fast enough. So, there are options in the wifi config to disable the sta kickout feature (with packet drop threshold) and also increase the inactivity timeout.

The wifi driver will need to be patched in order to adjust the packet drop threshold from the wifi configuration with this:
https://gitlab.com/Codeaurora/platf...mmit/71be24110e4b5718f42e662569fea814201fe81e

Then, WCNSS_qcom_cfg.ini will need the following changes:

Code:
--- a/wifi/WCNSS_qcom_cfg.ini
+++ b/wifi/WCNSS_qcom_cfg.ini
@@ -15,6 +15,11 @@ gEnableIdleScan=0
 # unnecessary if Idle Scan is disabled.
 gImpsModSleepTime=0
 
+# This parameter is the continuous packets dropping threshold
+# that will trigger kickout peer event from fw.
+# MIN value (0) will disable the kickout feature.
+# MAX value (1024)
+gDroppedPktDisconnectTh=0
 
 # Enable BMPS or not
 gEnableBmps=1
Edit: The default gDataInactivityTimeout value should remain as 200ms.

Edit2:
The problem with WiFi is with the IpReachabilityMonitor in Android frameworks. This is why both lineage and stock are affected. Disabling this monitor fixes WiFi 100%. This issue also depends on your router.
 
Last edited:

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
I'm a little late to the game here, but I want to flash LOS 15.1 on an 813VE. I've downloaded the ROM, and I have tried to flash with TWRP 3.2.1-0, with this error...

Updater process ended with ERROR: 7
This device has bootloader T813XX22APJ1

Hope someone can get me pointed in the right direction.

Thanks!
Could still use some help with this. Can someone point me in the right direction?
 

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
Is that a wifi model? And what's your stock Android version?
Yes, it's the 'value edition' T813, Wifi only.

You need to flash one of the bootloaders in LuK1337's board-info.txt assert. Or find a gts210vewifi build from which this assert has been removed...
Heh... ok, this is possibly bordering on being "above my pay grade".

So, my current bootloader is T813XXU2APJ1. What you're saying is that I need to download a flashable 'assert' and then I"m good to go? If so, where can I find that file? I"m ashamed to admit it, but GIthub confuses the hell out of me and I'm always worried about downloading the wrong thing and bricking my device.
 

ripee

Recognized Developer / Recognized Contributor
Aug 25, 2014
3,322
6,211
263
tiny.cc
Yes, it's the 'value edition' T813, Wifi only.


Heh... ok, this is possibly bordering on being "above my pay grade".

So, my current bootloader is T813XXU2APJ1. What you're saying is that I need to download a flashable 'assert' and then I"m good to go? If so, where can I find that file? I"m ashamed to admit it, but GIthub confuses the hell out of me and I'm always worried about downloading the wrong thing and bricking my device.
T813XXU2BRD1.tar

Flash this in Odin with its "AP" button. The purpose of that text file is to ensure that the rom is only installed on the T813 so as not to brick another model. The list is extensive because the T813 is still a recent enough model that Samsung continues to release security updates for it.
 

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
T813XXU2BRD1.tar

Flash this in Odin with its "AP" button. The purpose of that text file is to ensure that the rom is only installed on the T813 so as not to brick another model. The list is extensive because the T813 is still a recent enough model that Samsung continues to release security updates for it.
Well, we're getting closer. I see the 'KERNEL IS NOT SEANDROID ENFORCING' message, but the tablet just boot loops. Is it possible I downloaded the wrong LOS version? I'm trying to flash lineage-15.1-20180702-nightly-gts210vewifi-signed but still getting that error, and I'm also not able to go back to Resurrection Remix which had been working before I screwed the pooch. Am I using the wrong TWRP version - I'm on 3.2.2.0 at the moment.

Maybe I should just flash an OEM Samsung firmware and start over?
 

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
Bump...

So, out of frustration, I flashed an OEM Samsung firmware and I'm now able to install Lineage, but for some reason, using Gapps with Aroma just doesn't play nice. My screen is rotated in landscape, but the aroma installer is still relying on portrait input. If anyone can help on that, I'd be grateful.

Thanks for all the assistance!
 

Lucarje

Member
Jan 17, 2018
5
1
0
Well, after following the directions, I'm happy to report that I am quite satisfied with Lineage on my SM-T813. It's snappy and efficient, just like an Android OS should be (although TouchWiz wasn't horrible). In addition, I have more control over my tablet that I couldn't have access to otherwise.

All in all, 10/10 will Lineage again.
 
  • Like
Reactions: tweeny80

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
Is anyone else having trouble with TiBu hanging on the license check? I've tried downloading the Pro key via Play Store and web browser, uninstall/reinstall both the app and key multiple times, but there's just a huge hang and I can't get it to recognize as Pro. Is this an LOS issue, or a TiBu issue?
 

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
Is anyone else having trouble with TiBu hanging on the license check? I've tried downloading the Pro key via Play Store and web browser, uninstall/reinstall both the app and key multiple times, but there's just a huge hang and I can't get it to recognize as Pro. Is this an LOS issue, or a TiBu issue?
Bump. Nobody is having trouble with Titanium Backup hanging on the license check?
 

OhioYJ

Senior Member
Feb 25, 2011
1,369
658
133
Bump. Nobody is having trouble with Titanium Backup hanging on the license check?
My guess is that you are experiencing what a bunch of paid apps are having problems with. Google Play broke a bunch of them, you need at least version 10.7.19 for the lincense fix. The last Open Gapps package I downloaded did not have it, so I had to download the APK from APK mirror. For me Titanium Backup still worked but EX Kernel Manager got stuck at the license screen.
 
  • Like
Reactions: BillTheCat

BillTheCat

Senior Member
Jun 17, 2008
1,851
669
0
Milford, PA
My guess is that you are experiencing what a bunch of paid apps are having problems with. Google Play broke a bunch of them, you need at least version 10.7.19 for the lincense fix. The last Open Gapps package I downloaded did not have it, so I had to download the APK from APK mirror. For me Titanium Backup still worked but EX Kernel Manager got stuck at the license screen.
That did the trick! Odd. You'd think that the Play Store would update itself automatically. Thanks for the help!