Many thanks to CM Adnan for help in finding this solution - a colleague recruited him for his help.
The reason for the denial of access was due to the fact that the SELinux parameter is set to enforcing , and not permissive . To change it, I just ran
$ adb shell su -c setenforce 0
and my command to disable the UI system was accepted!
Note: this states that permissive mode is not supported on production devices, so I really did not expect this to work. Itβs possible that access to the root allowed me to undermine it or it could be some other factor
source share