yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Original Android Development] Deltadroid:
I have increased the external speaker volume and it will be included in the next build. It turns out that Nougat is the only ROM that has speaker protection working, so the external volume needed a little adjustment.

I went with "35" since it seemed to be pretty loud now.

diff --git a/audio/mixer_paths_wcd9330.xml b/audio/mixer_paths_wcd9330.xml
index f7af7bc..a14a2dd 100644
--- a/audio/mixer_paths_wcd9330.xml
+++ b/audio/mixer_paths_wcd9330.xml
@@ -1090,7 +1090,7 @@
<path name="speaker">
<path name="spk" />
<ctl name="DAC1 Playback Volume" value="175"/>
- <ctl name="Speaker Playback Volume" value="31"/>
+ <ctl name="Speaker Playback Volume" value="35"/>
</path>

<path name="headset">
@@ -1102,7 +1102,7 @@
<path name="speaker-and-headphones">
<path name="spk-ear" />
<ctl name="DAC1 Playback Volume" value="170"/>
- <ctl name="Speaker Playback Volume" value="31"/>
+ <ctl name="Speaker Playback Volume" value="35"/>
<ctl name="Headphone Playback Volume" value="0"/>
</path>
[Galaxy Tab S2 Original Android Development] tony950:
Thank you Deltadroid for the new build
[Galaxy Tab S2 Original Android Development] airputih:
thank you delta, speaker volume better now
[Galaxy Tab S2 Original Android Development] tony950:
Thanks for the new build Deltadroid
[Galaxy Tab S2 Original Android Development] airputih:
thanks for the update!
[Galaxy Tab S2 Original Android Development] Deltadroid:
Sneak peek of what will be in the next release.
[Galaxy Tab S2 Original Android Development] ivanox1972:
This is best rom for t713 existing. Light but updated, optimal solution for nowadays weak tab s2 hardware. Thanks
[Galaxy Tab S2 Original Android Development] airputih:
is it the same thing with private dns on android 9?
[Galaxy Tab S2 Original Android Development] Deltadroid:
No, this will be more secure than what android 9 provides. This will offer encrypted dns, a local DoH server, and a built in ad blocker. Also, I have just added an option for DNScrypt to send all DNS request though tor for total privacy. This is the new repo I have created.

https://github.com/syphyr/dnscrypt_proxy_prebuilt

DNSCrypt has a script to generate an ad blocking list which I have added here, which seems to work better than ublock origin's list and will cover the entire system:

https://github.com/syphyr/dnscrypt_proxy_prebuilt/blob/master/etc/dnscrypt-proxy/blacklist
[Galaxy Tab S2 Original Android Development] airputih:
great!, it will be better than adguard then. i used it for the dns and adblocking. now one application less needed.
[Galaxy Tab S2 Original Android Development] tony950:
pretty cool deltadroid
[Galaxy Tab S2 Original Android Development] shadowking001:
Thanks it works flawlessly. Best rom ever.
[Galaxy Tab S2 Original Android Development] tony950:
any new builds comming for july deltadroid?
[Galaxy Tab S2 Original Android Development] Deltadroid:
T813: lineage-14.1-20200708-NIGHTLY-gts210vewifi.zip

T713: lineage-14.1-20200708-NIGHTLY-gts28vewifi.zip

Security Patch Level: July 2020

android

c7f88a6 (24 hours ago) manifest: Track our own dng_sdk (syphyr)

build

659da5621 (23 hours ago) Bump Security String to 2020-07-05 (syphyr)

external/chromium-libpac

0f300f3 (23 hours ago) Cherry-pick "Refactor Regexp.prototype" (Rubin Xu)

external/dng_sdk

6859c11 (23 hours ago) Targeted minimal fix for security issue in CVE-2020-9589. (Z Stern)

external/dnscrypt-proxy

9932c7e (48 minutes ago) Update wording in blocked-names list (syphyr)
ca9eeb3 (50 minutes ago) Update resolver (syphyr)
1aa24ff (70 minutes ago) Update binary for changes to block/allow (syphyr)
8e800f0 (80 minutes ago) Update wording in configs (syphyr)
f6c027d (26 hours ago) Update blocked names list (syphyr)
29d1ee0 (26 hours ago) Update binary deps (syphyr)
6dc0f09 (27 hours ago) Enable allowed names list (syphyr)
7c42ad9 (3 days ago) Update binary and configs for v3 broken_implementations (syphyr)
7174f5e (5 days ago) Always copy minisig when installing resolver/relay (syphyr)
2acee3f (6 days ago) Update binary and skip anon incompatible (syphyr)
5647c46 (7 days ago) Update resolvers (syphyr)
36e548a (9 days ago) blocked_names: Update to latest (syphyr)
43ef92f (10 days ago) Fixes for local DoH (syphyr)
8d46640 (10 days ago) resolver: Update to latest v3 configs (syphyr)
e1119cb (11 days ago) blocked_names: Update to latest list (syphyr)
6e04aab (12 days ago) Update dnscrypt-proxy binary to support new config (syphyr)
ba6fa95 (12 days ago) Update configs (syphyr)

external/v8

2060ac7e (23 hours ago) [RESTRICT AUTOMERGE] Cherry-pick "Refactor Regexp.prototype" (Rubin Xu)

kernel/samsung/msm8976

2ad040dfda6e6 (7 days ago) wireguard: Update submodule to 1.0.20200623 (syphyr)

kernel/samsung/msm8976/net/wireguard

66cdac1 (7 days ago) net: Fix error with ip_select_ident (syphyr)
aefc389 (7 days ago) net: Fix Wireguard compile error (syphyr)
d9e60ca (8 days ago) compat: backport ip_tunnel_parse_protocol and ip_tunnel_header_ops (Jason A. Donenfeld)
f4367eb (8 days ago) queueing: make use of ip_tunnel_parse_protocol (Jason A. Donenfeld)
6af8107 (8 days ago) device: implement header_ops->parse_protocol for AF_PACKET (Jason A. Donenfeld)
ae2212d (9 days ago) compat: SUSE 15.1 is the final SUSE we need to support (Jason A. Donenfeld)
7adc5ff (9 days ago) compat: rhel 8.3 backported skb_reset_redirect (Jason A. Donenfeld)
3917d71 (9 days ago) receive: account for napi_gro_receive never returning GRO_DROP (Jason A. Donenfeld)
2fbaef8 (2 weeks ago) version: bump (Jason A. Donenfeld)
[Galaxy Tab S2 Original Android Development] tony950:
thanks for the new build deltadroid
[Galaxy Tab S2 Original Android Development] pastorbob62:
Thank you very much for a great ROM! I installed 6/23 version four days ago and I have never seen a more stable version of Lineage on ANY of my devices. After being stuck on the last available stock ROM for over 3 months (looooong story) I was finally able to get TWRP installed and decided to give you a try, Excellent work. :good::good::good::good::good:
[Galaxy Tab S2 Original Android Development] galoneta:
Dear Delta.

I tried to update the june 2019 build of your excelent 7.1 rom today with july 2020 build: twrp stop with error "not compatible com bootloader "t813xxu2bsa1".

Is there any bootloader upgrade \ changer tool for this tab ? Can you change the rom to make it compatible again?

Thanks.
[Galaxy Tab S2 Original Android Development] Deltadroid:
The latest Euro version of the bootloader for T813 is T813XXS2BSJ3_T813XAC2BSA2_XAC, which can be found on sammobile.com. I have already downloaded the latest bootloader files for T813 and placed them here (~30MB).

These instructions require a Linux PC and heimdall v1.4.2, which may need to be compiled from the latest source code found on https://gitlab.com/BenjaminDobell/Heimdall.git

Connect the T813 to a Linux PC with USB cable and reboot the T813 device into bootloader mode to apply the update. Extract the bootloader zip file provided above, change into the directory where the files are extracted, and use heimdall command line to apply the bootloader upgrade. After upgrading the bootloader to the latest version, the ROM update should apply without any issues.

The command line for heimdall to upgrade the bootloader is the following (all one line):

heimdall flash --SBL1 sbl1.mbn --ABOOT aboot.mbn --RPM rpm.mbn --TZ tz.mbn --HYP hyp.mbn --SEC sec.dat --KEYMASTER keymaster.mbn --CMNLIB cmnlib.mbn --DSP adspso.bin --MODEM modem.bin --APNHLOS NON-HLOS.bin --HIDDEN hidden.img.ext4

IMPORTANT NOTE: The bootloader files from T813XXS2BSJ3_T813XAC2BSA2_XAC are only for T813!

NOTE2: It is also possible to upgrade the bootloader using Windows with Odin, but the bootloader files must be repackaged into an Odin compatible tar file.
[Galaxy Tab S2 Original Android Development] galoneta:
Dear Delta, reporting about your tutorial from post https://xdaforums.com/showpost.php?p=83063165&postcount=108

Running Xubuntu 20.04, installed heimdall 1.4.2 from Ubuntu repositories, executed the command in terminal and flashed the files from the kit you provided in the link from that post: tablet auto reboots and start actual LOS. Restarted from TWRP and then installed new july 2020 build with no more bootloader error messages.

Thanks again for the amazing updated ROM and for this excelent tutorial you provided so fast!
[Galaxy Tab S2 Original Android Development] galoneta:
Dear Delta, reporting about build "T813: lineage-14.1-20200708-NIGHTLY-gts210vewifi.zip": using the same base apps I used with build "lineage-14.1-20190620-NIGHTLY-gts210vewifi.zip":

1-keeps running fast

2-a lot of (random ?) reboots with simple apps like Naked Browser or Duolingo, for example. Using GSAM battery monitor it displays a peak of HIGH CPU and temperature exactly at the time of reboots. I had previously restored this and other many apps with titanium backup app, including xposed and its modules I use. With previous rom all this software package was running fine / stable and fast.

I would like to help exploring more this superficial diagnosis: would you like me to collect some specific / more detailed report about this ? This is my daily work driver tab and for now I have created a TWRP backup with this new rom and reverted back to 2019 rom with (almost) no reboots so far.

Thanks again.
[Galaxy Tab S2 Original Android Development] Deltadroid:
I have not been able to reproduce any reboots or high temperatures with any of these releases. Naked Browser and Duolingo are working fine here. Maybe the problem has something to do with restoring apps with Ti Backup or something with an xposed module. If you reboot into safe mode (by long pressing on Restart) and there are no reboots, then the problem is with an installed application. See if you can get a logcat of the problem, zip up the log, and post it here or send it to me in a PM. Also, if you have backups of your data, then you could try narrowing things down by factory resetting and putting things back incrementally. Try a fresh installation without restoring any apps and without xposed.
[Galaxy Tab S2 Original Android Development] galoneta:
Dear delta, thanks for your reply and suggestions.

1- I am trying to get some logs about the restarts I reported previously with build July 2020.

2- Another issue I noticed: besides running updated AdAway 4.3.5 there are many ads in apps. Build June 2019 with the same AdAway 4.3.5 has no ads in the same apps.

Thanks.
[Galaxy Tab S2 Original Android Development] Deltadroid:
Dnscrypt-proxy in developer options already has built in ad blocker when enabled. AdAway probably won't work if dnscrypt proxy is enabled. It sounds like something extra is conflicting with dnscrypt proxy, which might be causing your issues.

Commenting out this line in /system/etc/dnscrypt-proxy/dnscrypt-proxy.toml would disable ad blocking in dnscrypt proxy:

https://github.com/syphyr/dnscrypt_...r/etc/dnscrypt-proxy/dnscrypt-proxy.toml#L467

But, i would try removing AdAway and using dnscrypt-proxy instead. I have no ads in any of my apps with just using dnscrypt.
[Galaxy Tab S2 Original Android Development] galoneta:
Logs and report about July build

Dear Delta.

1-Uninstalled adaway and started dnscrypt: no ads in apps! Thanks. How often and how is the hosts file updated using this method ?

2-I was able to produce 2 logs, starting the log file seconds before the app wich caused restarting the tablet (duolingo) was started. This is the same ROM I reported initial problems (24th July 2020 12:26 AM). Only adaway app was removed from the twrp original backup.

Thanks again.
[Galaxy Tab S2 Original Android Development] Deltadroid:
Dnscrypt uses a "blocklist" located here in the ROM: /system/etc/dnscrypt-proxy/blocked-names

This "blocklist" will be updated before every release by running the following script:

https://github.com/DNSCrypt/dnscryp...ains-blocklists/generate-domains-blocklist.py

I did not see any "crashes" in the provided logs that would cause a reboot, but, from the symptoms you describe with unexpected reboots and cpu overheating, I would guess that the problem is with installing Kernel Adiutor because it is changing maximum cpu frequencies and graphics card frequencies on boot. Try uninstalling Kernel Adiutor and see if that fixes your issue. If Kernel Adiutor is not the problem, then I would start by checking with any other additional applications with root privileges that change power management and things like that. Xposed also shows lots of selinux denials, but I don't know if that is actually causing reboots. The problem is most likely caused by one of the other installed applications and its just a matter of figuring out which one, but I don't think its duolingo. If the logs do not show any actual crashes then start out with only a few applications and slowly install more.
[Galaxy Tab S2 Original Android Development] galoneta:
Dear Delta,

Thanks for reply.

I use Kernel Adiutor profiles to get better battery use along with my personal apps. Will try to get some more detail uninstalling \ replacing this kernel manager. That was my personal bet too, but it worked flawlessly in previous rom! I have recreated all KA power profiles with this new rom but still crashes!

About DNSCrypt: it does auto-update ! How often : every boot ? every day ? every new release of hosts file ? how often does it check for new file ? That is my doubt!

Thanks
[Galaxy Tab S2 Original Android Development] Deltadroid:
DNSCrypt's "blocklist" does not auto update. Before I release a ROM update, I manually run this script from DNSCrypt and it generates an updated "blocklist" file which is then added to this repo to be included in the ROM.

Although, it would be easy to download DNSCrypt's github repo to manually run the "generate-domains-blocklist" python script and push the update to "/system/etc/dnscrypt-proxy/blocked-names" at any time without having to build the ROM. I'm just saying that I will keep it updated every time I release a new ROM.
[Galaxy Tab S2 Original Android Development] galoneta:
Reporting:

1-Uninstalled "Kernel Adiutor 0.9.73.3-fdroid0.apk". Can you point some replacement app for this task? Tried "FK Kernel Manager 6.1.apk" with no luck, it freezes after cpu tweaks.

2-About ads blocking: considering daily updates on this lists, have you considered to tweak this option? Maybe enable to add multiple lists and/or edit the link to download the lists and set the frequency of this updates ? This is exactly of apps like adaway does but it would be part of the android system with no need for external app.

Indeed, even when dnscrypt was disabled in setup, adaway app was not working besides the updated lists: there were ads in many apps!

Thanks again.
[Galaxy Tab S2 Original Android Development] Deltadroid:
The stock cpu frequencies are going to give the most stable system and not cause overheating. Changing these values requires a lot of testing and could possibly cause damage to your device from overheating. Kernel Adiutor is a well written program and probably one of the best ones available for this purpose, but I still would not recommend changing any cpu frequency values from the stock values that are being used now.

I agree that it would be nice to be able to update DNSCrypt's blocklist from within the Android ROM. The current script provided by DNSCrypt to update the blocklist is written in python, which is not supported by default in Android. It might take a little work, but it's still possible and I will take it under consideration.
[Galaxy Tab S2 Original Android Development] galoneta:
Dear delta, thanks again for your attention and feedback provided. I will keep testing and reporting asap the new builds when you release it.
[Galaxy Tab S2 Original Android Development] Deltadroid:
T813: lineage-14.1-20200822-NIGHTLY-gts210vewifi.zip

T713: lineage-14.1-20200822-NIGHTLY-gts28vewifi.zip

Notes: Fixes for CVE-2020-0108 and CVE-2020-0238

external/chromium-webview

a0e62a6 (22 hours ago) Update Chromium Webview to 84.0.4147.125 (Kevin F. Haggerty)

external/dnscrypt-proxy

113ee61 (17 minutes ago) Update blocked names list (syphyr)
047ac5d (13 days ago) Update binary, resolver, and blocked names (syphyr)

frameworks/base

d8389d36e51 (3 weeks ago) More fixes towards the race conditions in AMS (Jing Ji)
eee0afbaeb7 (3 weeks ago) DO NOT MERGE - Kill apps outright for API contract violations (Christopher Tate)

kernel/samsung/msm8976

628c1ee3728c0 (23 hours ago) ANDROID: fix a bug in quota2 (Maciej Å»enczykowski)
b10f0763e402e (23 hours ago) netfilter: Remove Samsung debug from xt_quota2 (syphyr)
56dc5aee93e60 (3 days ago) regmap: dev_get_regmap_match(): fix string comparison (Marc Kleine-Budde)
073120377e62e (3 days ago) ALSA: info: Drop WARN_ON() from buffer NULL sanity check (Takashi Iwai)
2abcc7856a95c (3 days ago) crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes (Ard Biesheuvel)
4726edf051cb3 (11 days ago) nl80211: fix sched scan netlink socket owner destruction (Johannes Berg)

packages/apps/Settings

6048a5c67e (15 hours ago) Allows to launch only authenticator owned activities (Sunny Shao)
[Galaxy Tab S2 Original Android Development] tony950:
thank you for the lastest builds Deltadroid
[Galaxy Tab S2 Original Android Development] galoneta:
Dear Delta.

Installed lineage-14.1-20200822-NIGHTLY-gts210vewifi.zip + open_gapps-arm64-7.1-pico-20200905.zip + xposed-v89-sdk25-arm64.zip: running fine with all my previous backups. No more restarting with some specific apps like reported on july build.

Thanks againg.
[Galaxy Tab S2 Original Android Development] tripLr:
Thanks for keeping this going !!!
[Galaxy Tab S2 Original Android Development] airputih:
thanks always delta for updates.

may i request a setting for DOH? at least options to from several DOH capable dns server (e.g. cloudflare, google, etc). i dont use the built in ad blocker.
[Galaxy Tab S2 Original Android Development] tony950:
Thanks for the latest build Deltadroid
[Galaxy Tab S2 Original Android Development] tony950:
deltadroid quick question. i was interested in encrypting my tablet. the twrp listed in this thread, i downloaded it and tried to flash it on to my sm-t813 using odin, but it appears it isnt possible. how do i flash it with odin?
[Galaxy Tab S2 Original Android Development] Deltadroid:
If you already have any version of TWRP installed, you can install this version of TWRP from within TWRP itself using Install->Image->Recovery Image. This installs the "img" format of TWRP.

Odin requires the TWRP image file to be packaged in "tar" format. The official TWRP site offers TWRP packaged in tar format for Odin: https://eu.dl.twrp.me/gts210vewifi/twrp-3.2.3-0-gts210vewifi.img.tar.html
[Galaxy Tab S2 Original Android Development] tony950:
Thank you deltadroid
[Galaxy Tab S2 Original Android Development] ivanox1972:
[MENTION=5227588]Deltadroid[/MENTION], can gou extend support on t819?

This is fastest and most convenient rom for tab s2, I saw, and tried all and have almost all of 8 tab s2 variant
[Galaxy Tab S2 Original Android Development] Deltadroid:
Unfortunately, I just don't have the free time and resources to maintain an addition device. Although, I encourage everyone to use my repos as a base.
[Galaxy Tab S2 Original Android Development] tony950:
sm-t713 and 813 done getting updates?
[Galaxy Tab S2 Original Android Development] Deltadroid:
I'll have new updates soon. The next release will be using Bromite webview instead of Chromium because Bromite is more privacy orientated.
[Galaxy Tab S2 Original Android Development] tony950:
thanks for the reply deltadroid. look forward to the new update
[Galaxy Tab S2 Original Android Development] shadowking001:
You do a perfect job, I still have a rocking tablet because of you, thanks so much.
[Galaxy Tab S2 Original Android Development] tony950:
Thanks for the update Deltadroid
[Galaxy Tab S2 Original Android Development] shadowking001:
Hi Deltadroid,

I'm still having issues time to time with WiFi connection.

If I let my tablet idle for some hours, it happens that I can't reconnect to my WiFi. It says "Authentication failed".

Obviously my password is correct.

And I cannot connect to any WiFi access point anymore, same error.

A reboot makes the trick, but maybe I could grab some logs about this ? Do you have any advice to troubleshoot this ?

Thanks.
[Galaxy Tab S2 Original Android Development] Deltadroid:
In addition to getting a logcat and dmesg when the wifi disconnect occurs, make sure you are using the latest stock ROM firmware (ie; bootloader/modem/etc) because there are also firmware updates to the wifi card included in that. I am currently using T813XXS2BSJ3_T813XAC2BSA2_XAC firmware with my T813 which I posted in the middle of this thread somewhere, but the correct bootloader version for your tablet depends on your region. Just make sure the bootloader/firmware is in the list of supported versions on the first post.

I have also noticed that wifi stability with this tablet can depend on what modem/router you are using. Unfortunately, I am unable to reproduce any wifi disconnects with my current network. Although, when I first got this tablet, I also had random wifi disconnects a few times a day, the exact same way you describe above. But, after many driver/kernel updates, the random wifi disconnects stopped happening a few years ago.
[Galaxy Tab S2 Original Android Development] Deltadroid:
T813: lineage-14.1-20210305-NIGHTLY-gts210vewifi.zip

T713: lineage-14.1-20210305-NIGHTLY-gts28vewifi.zip

Notes: Additional security fixes for March 2021

external/bromite-webview

e6a8d36 (3 days ago) Bromite System Webview 88.0.4324.207 (syphyr)

frameworks/native

241fb34a9 (67 minutes ago) libbinder: readString*Inplace SafetyNet (II) (Steven Moreland)
3b6c4ae8c (67 minutes ago) libbinder: check null bytes in readString*Inplace (Steven Moreland)

kernel/samsung/msm8976

b0f0f33ebd52e (20 minutes ago) fork: unconditionally clear stack on fork (Kees Cook)
be6b04d803250 (24 hours ago) netlink: Fix spectre v1 gadget in netlink_create() (Jeremy Cline)
c7a7b0aeebdba (24 hours ago) ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull (Willem de Bruijn)
[Galaxy Tab S2 Original Android Development] pastorbob62:
Thank you for keeping this tablet up to date with the latest security patches.
[Galaxy Tab S2 Original Android Development] tony950:
deltadriod why did you move to paid hosting for updates?
[Galaxy Tab S2 Original Android Development] Deltadroid:
I tried for almost a week to upload to AFH, but their servers were broken. The next update, I will try again to use AFH if its fixed.
[Galaxy Tab S2 Original Android Development] tony950:
google drive works too
[Galaxy Tab S2 Original Android Development] invd!:
I recently got my hands on a SM-T810 - as far as I understand, this rom is only for the x13 variants, right?
[Galaxy Tab S2 Original Android Development] Deltadroid:
This is only for T813 and T713.