TK app recognizes root on certain LOS build
Expected Behavior
The app of the German health insurance company TK should work with LineageOS, even with Magisk installed (and some prerequisites). https://play.google.com/store/apps/details?id=de.tk.tkapp
Current Behavior
With October 5th LineageOS update the TK app cannot be used anymore. There are a few proven countermeasures (see below) that have kept the TK app running up until previous version (build from Septemer 28th). There is also a thread (in German) on Android-Hilfe.de dealing with this topic: https://www.android-hilfe.de/forum/allgemeines-zu-root-kernel-und-custom-roms.949/tk-app-ohne-safety-net-status.941096.html
Steps to Reproduce
Prerequisites (at least on my side)
- Install TK app
- Install Magisk 26.3
- Add TK to Zygisk deny list (all options)
- Rename file to something else (e.g. 00-update.sh): /system/addon.d/99-magisk.sh
With LineageOS build from Septemer 28th you can run the TK app without problems. With LineageOS build from October 5th it is no more working, because root is detected. As it was only the LineageOS update in between but nothing else changed it seems that the October build does something "wrong" (different than before) which now causes the TK app to recognize root again.
Device information
/device sunfish /version lineage-20 /date 2023-10-05 /kernel 4.14.325-g3ce191ae1e7e #1 Thu Oct 5 15:10:15 UTC 2023 /baseband g7150-00112-230505-B-10075601 /mods Google Apps, Magisk 26.3
I have read the directions.