- Nov 16, 2017
By default, none of the modern/recent LineageOS are rooted and I don't change that on any of my builds. Some apps, as you discovered, incorrectly think it's rooted when it's not.Just one thing though that's been causing me a small problem that I thought I'd try and resolve today - I've not rooted and although I'm passing Safety Net and most root checking apps confirm not rooted, some apps are detecting root, such as SkyGo and some banking apps
Yes, ro.debuggable is set in the code atChecking with RootBeer reported the Tab as 'Rooted' due to test-keys and dangerous props, so, after a bit of digging on the net, I booted into TWRP and used ADB to grab a copy of default.prop, which is located at "/" and build.prop, which is located at "/system"
In default.prop I changed ro.secure=0 to 1 and ro.debuggable=1 to 0
In build.prop I changed ro.build.type=userdebug to user and ro.build.tags=test-keys to release-keys
When trying to get 18.1 up and running, I want adb starting immediately so it can send logcat messages to my terminal.
I'm glad you found a workaround. Just remember that when the next monthly security patch comes out, the prop file changes will be overwritten and you will have to apply your changes again.With the Tab still in TWRP, ADB was then used to push the files back. After a reboot, RootBeer now showed everything OK and reported 'Not Rooted'. SkyGo now worked and so did the banking apps.