I have a TCL Android phone. I keep getting error messages when attempting to use ADB to debloat my phone. I would love to know why my commands aren't working and what the correct ones to enter are. I was inputting the following commands
First;
adb shell pm list users
Then these exact commands in any given order as I have attempted this several times over now;
pm uninstall -k --user 0 com.facebook
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
These are the error messages which come up in return.
Exception occurred while executing 'uninstall':
java.lang.IllegalArgumentException: Bad user number: com.facebook
at android.os.UserHandle.parseUserArg(UserHandle.java:489)
at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:2012)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:234)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:25476)
at android.os.Binder.shellCommand(Binder.java:950)
at android.os.Binder.onTransact(Binder.java:834)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5092)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:8829)
at android.os.Binder.execTransactInternal(Binder.java:1184)
at android.os.Binder.execTransact(Binder.java:1143)
I hope my efforts in tracing down those error messages will prove helpful for you.
I've found on another post on this website that a quick fix would be to uninstall secure folder. I haven't been able to find any trace of a secure folder on my TCL Android. Nor did I see "disable monitoring permissions" in my dev settings which I had seen written as a quick fix on another post on this website.
Any help would be much appreciated I have 32GB to myself on my work and personal phone and the OEMs are taking up 15GBs of those.
Asked by TiredTechy
(1 rep)
Jul 19, 2024, 06:46 PM
Last activity: Jul 21, 2024, 06:50 AM
Last activity: Jul 21, 2024, 06:50 AM