[Galaxy Tab S Android Development] coffee81:
NB: I have upgraded my ROM to 0623 built last Saturday but still cannot change the SELinux from enforcing to permissive. Anyway, these are the logs after running the automated app and the SELinux Switch app:-

C:\tools>adb logcat -d | findstr avc | findstr denied

06-28 11:13:10.605 16992 16992 W GoogleLocationS: type=1400 audit(0.0:2277): avc: denied { read } for name="mem" dev="debugfs" ino=2094 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=0

06-28 11:16:32.530 2561 2561 E SELinux : avc: denied { find } for service=netd pid=22780 uid=1000 scontext=u:r:system_app:s0 tcontext=u:object_r:netd_service:s0 tclass=service_manager permissive=0

06-28 11:46:01.395 18573 18573 W com.termux: type=1400 audit(0.0:2306): avc: denied { ioctl } for path="socket:[765739]" dev="sockfs" ino=765739 ioctlcmd=5414 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0

06-28 11:46:08.756 2561 2561 E SELinux : avc: denied { find } for service=netd pid=22780 uid=1000 scontext=u:r:system_app:s0 tcontext=u:object_r:netd_service:s0 tclass=service_manager permissive=0

06-28 11:54:34.380 5017 5017 W dex2oat : type=1400 audit(0.0:2319): avc: denied { write } for name="trace_marker" dev="debugfs" ino=334 scontext=u:r:dex2oat:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0

06-28 11:54:37.545 5146 5146 W sh : type=1400 audit(0.0:2324): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:37.555 5146 5146 W sh : type=1400 audit(0.0:2325): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:37.565 5146 5146 W sh : type=1400 audit(0.0:2326): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:37.570 5146 5146 W sh : type=1400 audit(0.0:2327): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:37.580 5146 5146 W sh : type=1400 audit(0.0:2328): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:37.595 5146 5146 W sh : type=1400 audit(0.0:2329): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:37.605 5146 5146 W sh : type=1400 audit(0.0:2330): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:50.805 5241 5241 W sh : type=1400 audit(0.0:2332): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:50.820 5241 5241 W sh : type=1400 audit(0.0:2333): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:50.830 5241 5241 W sh : type=1400 audit(0.0:2334): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:54:50.835 5241 5241 W sh : type=1400 audit(0.0:2335): avc: denied { read } for name="/" dev="rootfs" ino=1 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

06-28 11:55:16.845 5316 5316 W .excel.word2016: type=1400 audit(0.0:2340): avc: denied { search } for name="input" dev="tmpfs" ino=3262 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:input_device:s0 tclass=dir permissive=0

06-28 11:55:16.845 5316 5316 W .excel.word2016: type=1400 audit(0.0:2341): avc: denied { search } for name="input" dev="tmpfs" ino=3262 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:input_device:s0 tclass=dir permissive=0

06-28 11:55:16.845 5316 5316 W .excel.word2016: type=1400 audit(0.0:2342): avc: denied { search } for name="input" dev="tmpfs" ino=3262 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:input_device:s0 tclass=dir permissive=0

06-28 11:55:16.845 5316 5316 W .excel.word2016: type=1400 audit(0.0:2343): avc: denied { search } for name="input" dev="tmpfs" ino=3262 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:input_device:s0 tclass=dir permissive=0