yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab S2 Android Development] kartik_09:
Oh, i understood it now, but are there any alternative firewall to ebpf that supports android 12 or later and support a kernel this old? I think not,

Also btw theres a tiny bug with battery caliberation on LOS 18.1 build by mrBrause, that is the kernel reports different max battery capacity to the actual capacity ( displays 4000mah instead of the 5300mah(if im right) battery it has, so the battery percentage shows 10-20 percent more or less to the actual ( in twrp)
[Galaxy Tab S2 Android Development] MSe1969:
I am in parallel in touch with @retiredtab who has confirmed, that packet filtering is simply "carved out" of LineageOS 20 builds with a specific patch and a property to activate that bypass. Packet filtering however is an important feature of my privacy focused builds, so this means, that I will stick to 18.1 - I'll anyhow push Android 11 back ports to the LineageOS Gerrit, like last month already, so updates will continue.
[Galaxy Tab S2 Android Development] MSe1969:
New build with April 2024 ASB patch backports

Hi all,

a new build is available for download and is already offered as OTA via updater app:

https://sourceforge.net/projects/lin14-mgoms/files/gts210ltexx/lineage-14.1-20240411-UNOFFICIAL-gts210ltexx.zip/download

Custom build release 2024-04-01

Happy flashing - regards, M.
[Galaxy Tab S2 Android Development] MSe1969:
Some interim update in regards to LineageOS 18.1

Whilst I am really impressed about the device/kernel sources of the people like MrBrause, retiredab and metterschlg (e.g. terrific battery behavior), there is one thing stopping me right now from continueing:

After device encryption, all seems to work perfectly fine, but after the first boot with encrypted device, a further boot won't work - boot animation "stays forever" after entering the passphrase ...
[Galaxy Tab S2 Android Development] kartik_09:
Yes, could confirm, faced the same issue after encrypting the device, at first i though it was because i tried to root after 1st shutdown which resulted in the 2nd boot being completely looping, but after hearing from you it might be an issue with the rom instead of the user fault like i initially thought
[Galaxy Tab S2 Android Development] MSe1969:
Thanks for the info. I also had the idea of SELinux, but if that's not the reason, I don't need to go that path (btw, I think you wanted to say "... but that did not solve the FDE problem"?)

Don't know yet on how to use that info, but this is a huge step into a potential solution.
[Galaxy Tab S2 Android Development] retiredtab:
FDE is fixed in my 18.1 build now. See

https://xdaforums.com/t/unofficial-...t810-apr-18-2024.4430349/page-7#post-89466164

You will need all 3 patches from #4 in the April 18, 2024 release notes. You need to apply all 3 patches to the device/samsung/gts2-common directory.

I have tested it and FDE works even after "on purpose" multiple restarts of the OS.

@MSe1969 , I also applied your April 5th security patches as well.
[Galaxy Tab S2 Android Development] MSe1969:
Cool - many thanks, I confirm, that it works.

Here my test build with the 3.10.108 kernel - now testing and further kernel sec. patching will follow soon:

https://sourceforge.net/projects/lin18-microg/files/gts210ltexx/lineage-18.1-20240419-UNOFFICIAL-microG-signed-gts210ltexx.zip/download
[Galaxy Tab S2 Android Development] MSe1969:
Hello all, I have started with an own LineageOS 18.1 thread:

[ROM][Unofficial][11.0][microG][signed]hardened LineageOS 18.1 Samsung Tab S2 LTE 9.7

This thread is dedicated to provide hardened Lineage-OS 18.1 builds with microG included for the Samsung Galaxy Tab S2 9.7 LTE (SM-T815) with current security patches. Download here Features of this ROM Pre-installed microG like LineageOS for...

xdaforums.com
[Galaxy Tab S2 Android Development] MSe1969:
Future of this build​

Hello all,

as you have seen, I have started a new thread for a LineageOS 18.1 build, as also discussed on past posts here in the thread. It has meanwhile become very difficult to backport patches for Android 7, and as my main reasons so far not to build for higher releases (see OP) are not present any longer and the LineageOS 18.1 build seems good enough for "daily driver" use, this thread should come to an end.

The LineageOS 18.1 build in fact really feels like a better alternative (for sure, battery behavior is better).

What becomes different is, that it is a signed build with microG pre-installed. I have switched now myself and I do not plan to return to LineageOS 14.1 with my own tablet.

Updating to LineageOS 18.1 unfortunately means to loose the data, so a backup and re-installation will be necessary, please refer to the installation instructions on the linked thread.

I think I will still provide a very last untested 14.1 build with May ASB backports, but without kernel patches, next month and post it here in this thread, to give some more time to move over.

Please continue to feel free to ask any questions regarding the LineageOS 14.1 build of this thread here.

Looking forward to seeing you in my new thread soon, thanks for your interest in this build.

Cheers, M.
[Galaxy Tab S2 Android Development] phaleg:
Hello and thanks for your work :)

When I got an used T815, I tried ROMs based on newer androids and they were slow and unreliable, so I understood that android 10 or newer was not suitable to much for our tablet and I was looking for something based on 8.1.

I could not find and I tried yours, based on 7.1 that was really good. For many months, I used your builds 14.1 that were truly rocking.

Now I understand that Lineage OS 18.1 is based on Android 11 and I wonder, does it really work well a so new android version on our machine?

Thanks
[Galaxy Tab S2 Android Development] MSe1969:
Thanks for your positive feedback in regards to my Android 7 builds.

I understand your concerns and yes, it was a long way to get there, but the various Devs having spent a huge amount of time, finally have truly reached a state, which makes the Android 11 build for the T815 daily driver capable. I am really impressed!

Same as my Android 7 build, it's not perfect (e.g. no properly working fingerprint), but excellent battery behavior, working encryption, upstreamed kernel, enforcing SELinux and acceptable speed - I haven't so far seen any drawbacks while using it myself.

I am taking it now with me into vacation w/o my laptop - so it has to prove now... :)

In short: Yes, so far it does work very well.
[Galaxy Tab S2 Android Development] phaleg:
Since you mentioned encryption, will it be compulsory encripted or is possible to use something similar to DFE (I used it on PocoF1), to avoid encryption? I would love that I can copy paste files from laptop to tablet
[Galaxy Tab S2 Android Development] MSe1969:
Encryption is optional and not enabled by default.

Copy/paste stuff from laptop to tablet however also works with the device being encrypted.
[Galaxy Tab S2 Android Development] MSe1969:
FINAL (UNTESTED!) BUILD

As announced before, here comes the

FINAL

cm-14.1 build for the T815 device with backported May ASB patches, but without kernel patching:

https://sourceforge.net/projects/lin14-mgoms/files/gts210ltexx/lineage-14.1-20240515-UNOFFICIAL-gts210ltexx.zip/download

I haven't yet enabled OTA update for it, so you would have to manually flash in in recovery. Once I receive a confirmation that all works well, I will enable OTA update accordingly.

I have created a LineageOS 18.1 thread for this device, I my self use now LineageOS 18.1 on my own tablet and I enjoy it, my recommendation is to switch over to that build. (You would need to format the /data partition,

you can't "dirty-flash"!

)

As you can imagine, this thread hence will slowly come to an end - of course, please feel free to post about the cm-14.1 builds and/or ask questions on how to migrate to the 18.1 build.

Happy flashing, regards M.
[Galaxy Tab S2 Android Development] MSe1969:
OTA enabled for final build

I've observed a couple of downloads and no complaints here, so I have enabled the OTA updates now.
[Galaxy Tab S2 Android Development] MSe1969:
EOL

I have published another update for my LineageOS 18.1 build for this device .

As announced and explained before, this thread comes now to an end.

Thank you very much for your interest in this build and looking forward to seeing you in my LineageOS 18.1 thread for this device.

Cheers, M.
[Galaxy Tab S2 Android Development] Badger50:
@MSe1969

Thread closed as you requested.
[Galaxy Tab S2 Android Development] Homuncoloss:
Installed it, runs very smooth... Nice Rom (best for my t815 at the moment)

And no issues till now.

Thanks ;)

Gesendet von meinem SM-T815 mit Tapatalk
[Galaxy Tab S2 Android Development] MSe1969:
New build with June ASB available

New build ready for download:

https://www.androidfilehost.com/?fid=6006931924117895490

- ASB June 2019 patches (sec. string 2019-06-05)

- Android System Webview updated to 74.0.3729.157
[Galaxy Tab S2 Android Development] Homuncoloss:
Dirty flashed the update. Works like a charm. Thanks :)
[Galaxy Tab S2 Android Development] tripLr:
Are you building this ? What's the roomservice for the sources, or are they all at lineage?
[Galaxy Tab S2 Android Development] tripLr:
Downloaded and installed. No fingerprint, but it works !
[Galaxy Tab S2 Android Development] MSe1969:
Hi, I build it - please follow the instructions in the local_manifests repo here (see also OP)]:

https://github.com/lin14-mGoms/local_manifests

Basically a LineageOS tree with the cloned local_manifests repo. Remove the setup_<device>.xml files, you aren't interested in.

Regards, M.
[Galaxy Tab S2 Android Development] MSe1969:
Correct - Fingerprint has never worked in the official LineageOS 14.1 builds for this device, consequently, it does not work here either. In Lineage Gerrit, you can find an attempt to make Fingerprint working, but not successful.

For this build, nothing else than replaced Jelly, microG patch and updated Kernel apply compared to official LineageOS builds.
[Galaxy Tab S2 Android Development] tripLr:
So do you have sources up on github for your kernel and patches ? Our group is working on 16 , and we got a pretty good build by [MENTION=9382231]Inkypen[/MENTION] for aokp Oreo, . So I'm doing comparisons. If u could post your room service, I would like to run some test builds.

---------- Post added at 03:33 PM ---------- Previous post was at 03:29 PM ----------

Looks like a permission issue

06-26 07:18:25.447 W/FingerprintService(3039): Rejecting com.google.android.gms ; not a current user or profile

Kernel is not enforcing so its not selinux, I think
[Galaxy Tab S2 Android Development] MSe1969:
Yes, my sources are in Github, please see my local_manifests repo linked above.

The manifest files contain the links to the repos.

And the kernel is enforcing, but the message above is not a selinux error, I have however no idea what the issue with FP really is.
[Galaxy Tab S2 Android Development] tripLr:
Very smooth good battery life, slow charging, good app response.

Thanks,

Just curious, in didn't look at your stats. How many active users do you get ?
[Galaxy Tab S2 Android Development] MSe1969:
Not too many, AFH shows around 30 downloads. (However, doing this for fun and because I am interested, not for having most possible downloads). As indicated, the device config and blobs are still original LineageOS 14.1, the kernel is maintained with patches.
[Galaxy Tab S2 Android Development] tripLr:
Im just curious, ther is a lot less 815's out there including 715's compared to 710's

but there is a whole lot of s2 interest
[Galaxy Tab S2 Android Development] MSe1969:
New build with July 2019 ASB

New build ready for download:

https://www.androidfilehost.com/?fid=6006931924117913875

- ASB July 2019 patches (sec. string 2019-07-05)

- Android System Webview updated to 75.0.3770.101
[Galaxy Tab S2 Android Development] stayfidz:
does the mic work here? can i dirt flash..

Also, os 16 in preparation? means my tab will get it?
[Galaxy Tab S2 Android Development] tripLr:
There is a s2 forum in telegram where we are testing development of pie.

So far, this is the best stable for the 815. In my opinion
[Galaxy Tab S2 Android Development] MSe1969:
No idea, to be honest. I only know, that some weeks back, Google has significantly changed their binaries to execute the check...
[Galaxy Tab S2 Android Development] shutdown-h_now:
I' m one of these ~30 downloaders for three devices and just want to say thank you for providing us with the monthly LOS security patches for this abandoned device and of course the integration of microG.
[Galaxy Tab S2 Android Development] jacakk:
Where is this forum? Can you provide link or something?
[Galaxy Tab S2 Android Development] tripLr:
https://t.me/TS2Universe

---------- Post added at 06:18 AM ---------- Previous post was at 06:17 AM ----------

Ditto
[Galaxy Tab S2 Android Development] MSe1969:
New build available with August 2019 patches

Hi, new build ready for download with August 2019 security patches:

https://www.androidfilehost.com/?fid=6006931924117935695

OTA support

This build update the LineageOS Updater app back to functionality:

Any further updates of this build will appear in the updater app and you can download them within your phone, i.e. no need to manually flash.

Please note:

- Of course, you are free to continue to flash the build manually as before, it is an additional option.

- You still have to flash this update manually, as before, otherwise you won't find the Updater (Settings - System - about phone - LineageOS Updates)

- The updater will propose newer builds, it will obviously not propose this update, so "no new updates found" is the expected result, if you call the updater after flashing.
[Galaxy Tab S2 Android Development] tripLr:
Awesome
[Galaxy Tab S2 Android Development] tripLr:
Looks like a an fixed sdfs for pie
[Galaxy Tab S2 Android Development] MSe1969:
New build with September 2019 ASB patches

Hi all,

a new build with September 2019 ASB patches and updated System Webview M76 is available for download:

https://www.androidfilehost.com/?fid=1899786940962584177

Later today, the Updater app will also offer an OTA update (only if you have already the August build installed).

Regards, M.
[Galaxy Tab S2 Android Development] Manxminx:
Hi M, My existing (unofficial) Lineage 14.1 ROM (with a different kernal) is a few years old now and it's never worked properly (no phone calls or bluetooth) and I've become increasingly fed up with it. I'm very interested in downloading your ROM, can I just confirm that all i need to do is download your build then in TWERP do a NANDroid backup them flash your ROM? I take it the kernal will update as well? After that the updater app will keep me notified of any further developments of your ROM?

Thanks,

Ali.
[Galaxy Tab S2 Android Development] MSe1969:
Hi - short answer: yes!

Normally, since you have already a LineageOS 14.1 ROM installed, a "dirty flash" should work (this means: no wipe, simply flash the ZIP via TWRP and keep your data and installed apps).

However, I can't 100% guarantee this, therefore it makes absolutely sense to make a Nandroid backup first! You *may* end up having to wipe (TWRP: factory reset) and then do a clean flash (I don't think so, but it is a good practice to be prepared for the worst case)

In that case, if you would like to get your data back, a nandroid backup alone would only restore exactly the state of now (with your current ROM), so to restore specific apps, you should either look at e.g. titanium backup or the 'adb backup' feature.

In short:

- Nandroid backup, no wipe, flash ROM

- All fine? Be happy! Screwed? Restore Nandroid backup to be again in the state before flashing

- In that case, you must do a clean flash with wipe and before that, you can consider TB or adb to save and restore individual apps

Regards, M.
[Galaxy Tab S2 Android Development] Manxminx:
Wonderful, thank you so much for your quick reply. Yes, that confirms what I thought (dirty flash), however, thanks for reminding me of the clean install option. I'll do it tonight and report back! :)

Ali.
[Galaxy Tab S2 Android Development] Manxminx:
Wow, initial battery stats are amazing, you've done a brilliant job with this ROM M. Usually I find that ROMs need a lot of optimisation to reduce background Battery leakage, wakelocks etc.

I did a clean install, the dirty flash didn't work. Your ROM works perfectly, I've not found any issues with it as yet, everything is working well.

Many thanks for the time you have spent giving us this ROM :)

Ali.
[Galaxy Tab S2 Android Development] MSe1969:
New build with October 2019 ASB available

Hi,

a new build with October 2019 ASB, sec. string 2019-10-06 is available for download:

https://sourceforge.net/projects/li...-20191018-UNOFFICIAL-gts210ltexx.zip/download

- Sec. String 2019-10-06 (i.e. including CVE-2019-2215)

- System Webview updated to 77.0.3865.116

- Switched to my slightly upstreamed kernel branch 'mse_v4' (which I have tested and used myself for a while now)

The updater app will offer you an OTA update as well (if you are at least on the August build of this ROM)

Regards, M.
[Galaxy Tab S2 Android Development] MSe1969:
New build with November 2019 ASB patches

Hi all,

new build with November ASB patches (sec. string 2019-11-05) is now available:

https://androidfilehost.com/?fid=4349826312261626417

It is also shown in the Updater app for direct OTA update (if you are on August or any newer build)

Regards, M.
[Galaxy Tab S2 Android Development] MSe1969:
New release with December ASB patches

New build with December ASB available for download:

https://androidfilehost.com/?fid=4349826312261654899

Sec. string 2019-12-05

System Webview M78

Updated iptables and netd

It is also shown in the Updater app for direct OTA update (if you are on August 2019 or any newer build)

Regards, M.
[Galaxy Tab S2 Android Development] MSe1969:
New release with January 2020 ASB patches

New build with January 2020 ASB updates ready to download:

https://www.androidfilehost.com/?fid=4349826312261707606

Security string 2020-01-05

Android System Webview M79

As usual, the updater app will soon offer OTA updates.

Regards, M.
[Galaxy Tab S2 Android Development] MSe1969:
February ASB update

New build with February ASB, security string 2020-02-01 available for download:

https://androidfilehost.com/?fid=4349826312261718276

The option to use OTA updates was effectively not used at all, all people downloading this build were using AFH and flashed manually.

Therefore, I have stopped providing OTA updates for this build.
[Galaxy Tab S2 Android Development] Homuncoloss:
Ota does never get any connection. So i had to download the New build always manualy.

Thx for the New Update. ;)
[Galaxy Tab S2 Android Development] MSe1969:
Thanks for this info - there was indeed an issue - sorry about that. Only pitty, that the feedback only comes now, I could have fixed this already some weeks back, if I had got this feedback earlier...

Question also to the others:

Is there interest in automatic OTA updates?
[Galaxy Tab S2 Android Development] tripLr:
I would be interested in both the updates and the how too.

Have u tried any of the kernel stuff posted for the Pie builds . ?
[Galaxy Tab S2 Android Development] shutdown-h_now:
Yes, I am really interested in automatic OTA updates.

I tried OTA two times in November and December 2019 an thought the service was temporarily down.

Therefore I downloaded the January-image and flashed it manually via TWRP ...

Excuse me for not mentioning this here in the board.
[Galaxy Tab S2 Android Development] MSe1969:
Hi [MENTION=5624167]tripLr[/MENTION],

have had a quick look at the 16.0 Kernel in the GH exynos5433 org and also did a quick test build last week for LineageOS 16.0 using those repositories - looked very good on the first glimpse, did however not have too much time to thoroughly test, had to flash back the 14.1 backup, as the device was needed.

The mentioned exynos5433 16.0 kernel contains many squash commits and - not sure my understanding is correct (I need to explicitly test that when I flash back the backup of the said Lineage 16.0 test build), but I saw a commit which seems to indicate, that the selinux status is being faked . . . ?

OK, that is off-topic here and better discussed in the TG chat.

Regarding the "Howto" for OTA updates:

The README of the LineageOS Updater app basically explains it already, but the below comments may be better to understand - please note that I will explain it backwards:

The Download URL (where you put the OTA ZIP file, which simply is the ZIP you create, when building as "bacon" target, like the 'brunch' command) must be a "static resource", this means, the download must immediately start if you access the URL, no user interaction must be required. This means, AFH is no suitable, but e.g. SF (although it may not look alike, when you access the URL via Browser, SF recognizes a D/L request and acts accordingly - I am using SF, but there are plenty other options as well)

You need a .json file, see explanations in LineageOS Updater README. Following to better understand: "id" is the MD5 hash of the OTA ZIP, you'll find it in the generated OTA.zip.md5sum file of your build; "size" you can simply copy/paste when you execute the command 'ls -l OTA.zip'; and the value for "datetime", you find in the ZIP's system/build.prop - the value of property ro.build.date.utc - the json file can be e.g. put on GH.

Now, you need to replace the updater URI property in your build to have the Updater app find the json file (note that for 15.1 and 16.0 it is called 'lineage.updater.uri'):

PRODUCT_PROPERTY_OVERRIDES += \
cm.updater.uri=https://raw.githubusercontent.com/lin14-mGoms/OTA/cm-14.1/$(CM_BUILD).json

Not necessary, but handy: Place an overlay to have an own change log for the Updater

Cheers, M.
[Galaxy Tab S2 Android Development] tripLr:
So are you hosting your buids on GitHub ?
[Galaxy Tab S2 Android Development] MSe1969:
No, I host them on sourceforge, but the .json files are on GH. I'll provide later today an OTA update with Kernel fixes to declare PL 2020-02-05, and show the commits.
[Galaxy Tab S2 Android Development] MSe1969:
New build - sec.string 2020-02-05

Hi all,

I have created a new build with 2020-02-05 sec. string (i.e. with kernel patches and fixes):

https://sourceforge.net/projects/li...-20200219-UNOFFICIAL-gts210ltexx.zip/download

This time, it should really be offered via OTA update. If not, please let me know!

[MENTION=5624167]tripLr[/MENTION] :

- Above is the location of SF, people can manually download and this URL is also used in the .json file

- This patch replaces the Updater URI for the Updater app to above location

- And this commit overlays the changelog URL of the Updater app and provides the changelog

The mistake I made, why the OTA updates were not working, was that by accident (due to building the patch file from a different branch without fixing the URL), the Updater was directed here, that's why I had to copy the json file also here, as the current builds still search here.

Regards, M.
[Galaxy Tab S2 Android Development] Homuncoloss:
OTA is now running without problems.

Thanks for the Update ;)
[Galaxy Tab S2 Android Development] shutdown-h_now:
Thank you very much, OTA really worked fine!
[Galaxy Tab S2 Android Development] MSe1969:
New build with March Security patch

Hi all,

a new build is available for download and also being offered through OTA update:

https://sourceforge.net/projects/li...-20200315-UNOFFICIAL-gts210ltexx.zip/download

Security string 2020-03-01 (This month, kernel fixes seem to be difficult, still trying)

Webview updated to 80.0.3987.132

Regards, M.
[Galaxy Tab S2 Android Development] shutdown-h_now:
Only just to say: Thank you very much, OTA worked fine again!