Trying to hide security app since its deletion causes a softbrick.
'pm hide package.name' returns:
Exception occurred while executing 'hide':
java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
And some following lines of java errors. Tried also: 'pm hide --user 0' Tested the 'hide' command on several packages. The phone is not rooted yet but perhaps su would do? I mean 'su pm hide'. This is MIUI global 12.5.5 on Redmi 9.
I want to hide security app to prevent kids from accessing Second Space.
Thanks!