[Samsung Galaxy On5 Questions & Answers] urquiagal:
I was recently given a Galaxy On5 after my S4 stopped receiving calls (and it was free, so ...). I have some experience with rooting, but for various reasons I don't want to do that this time. (It's partly because Pokemon Go is one of the activities that my kids will occasionally do with me, and that has gotten flakey on my tablet even with Magisk allowing SafetyNet check to pass).

Sadly, there is just not enough room on this phone for apps that I can't get along without and that won't run from external storage.

I have disabled the Play Music(etc.) apps, Amazon, and every other unnecessary preinstalled app that I can. I have moved everything that will still run to the external storage. I've been experimenting with APK Editor, but things like my employer and bank apps won't run when moved out of internal storage. I did some research and figured out how get root access via ADB and TWRP without actually rooting the phone. With that access, I have successfully deleted the audio files for notifications and ringtones that I don't like, and also Galaxy Apps (which I've never used on 2 previous phones or my tablet). So now I'm trying to get rid of Knox, and it doesn't seem to be working :crying:

Fortunately, I have been saving TWRP backups after each successful tweak, so I can restore without too much trouble.

Here's what I've done:

~ # find . -name "*knox*"
./system/container/resources/knox_bg_02.jpg
./system/etc/secure_storage/com.sec.knox.store
./system/etc/secure_storage/com.sec.knox.store!dex
./system/framework/knoxvpnuidtag.jar
./system/lib/libknox_encryption.so
./system/lib/libknox_km.so
./system/lib/libknox_legacy_ode_km.so
./system/lib/libknox_migration.so
./system/lib/libknoxvpnfdsender.so
./data/data/com.samsung.knox.appsupdateagent
./data/data/com.sec.enterprise.knox.attestation
./data/data/com.sec.knox.foldercontainer
./data/data/com.sec.knox.knoxsetupwizardclient
./data/data/com.sec.knox.switcher
./data/data/com.sec.knox.switcher/shared_prefs/knoxusage.xml
./data/data/com.samsung.knox.rcp.components
./data/data/com.samsung.knox.rcp.components/shared_prefs/knoxIconPreference.xml
./data/data/com.sec.enterprise.knox.cloudmdm.smdms
./data/data/com.sec.knox.containeragent2
./data/data/com.sec.knox.bluetooth
./data/data/com.samsung.knox.kss
./data/data/com.sec.knox.shortcutsms
./data/data/com.samsung.knox.knoxtrustagent
./data/data/com.sec.enterprise.knox.shareddevice.keyguard
./data/dalvik-cache/profiles/com.samsung.knox.appsupdateagent
./data/dalvik-cache/profiles/com.samsung.knox.kss
./data/dalvik-cache/profiles/com.samsung.knox.rcp.components
./data/dalvik-cache/profiles/com.sec.knox.shortcutsms
./data/knox
./data/knox/tmp_sdcard/default/knox-emulated
./data/knox/tmp_sdcard/read/knox-emulated
./data/knox/tmp_sdcard/write/knox-emulated

[everything above deleted]

~ # find . -name "*knox*"
~ # find . -name "*klms*"
./data/data/com.samsung.klmsagent
./data/data/com.samsung.klmsagent/databases/klms.db
./data/data/com.samsung.klmsagent/databases/klms.db-journal
./data/data/com.samsung.klmsagent/shared_prefs/klmsagent.preferences.xml
~ # rm -rf ./data/data/com.samsung.klmsagent
~ # find . -name "*klms*"
~ #

Unfortunately, when I try to reboot from TWRP back into the system after deleting those resources, it gets to the white T-Mobile screen and stops. I've tried twice, and the second time I let it sit for 30 minutes before I pulled the battery.

What am I deleting that the system needs? (And while I have your attention, will there be any problem if I delete the Samsung browser? It's way bigger than apps like Opera or Firefox Focus. I also prefer Inbox; can I get rid of GMail?)

Thanks in advance ~ LU