I am using Samsung Galaxy A50, Android 11, One UI 3.1. I use Samsung Secure folder. There are many bloatware in it and I could not find a way to uninstall (and disable) them via ADB.

Owner profile user is 0, Secure Folder user is 150.

pm uninstall -k --user 150 com.android.chrome 

Exception occurred while executing 'uninstall': java.lang.SecurityException: Shell does not have permission to access user 150
    at com.android.server.am.UserController.handleIncomingUser(UserController.java:2375)
    at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:17947)
    at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:4863)
    at com.android.server.pm.PackageManagerShellCommand.translateUserId(PackageManagerShellCommand.java:3125)
    at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:2024)
    at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:237)
    at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
    at android.os.ShellCommand.exec(ShellCommand.java:44)
    at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:26662)
    at android.os.Binder.shellCommand(Binder.java:965)
    at android.os.Binder.onTransact(Binder.java:839)
    at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5206)
    at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5281)
    at android.os.Binder.execTransactInternal(Binder.java:1195)
    at android.os.Binder.execTransact(Binder.java:1159)
  • 2
    Samsung has restricted privileges of adb (shell) user from making changes to packages installed under user 150. There is nothing we can do. This is a design choice (probably to ensure bloat continues to float in the device). Rooting is the only solution to remove bloatware in such situations.
    – Firelord
    Dec 5, 2021 at 1:09
  • If no way without root then i should stop searching for answere. Thank you
    – Halilb1978
    Dec 5, 2021 at 12:20

2 Answers 2


Uninstall the Samsung Secure Folder from the Settings.

Settings -> Lock screen and security -> Secure Folder -> Enter your lock details -> Uninstall.

Refer to this blog.

  • Perhaps you might want to edit and clarify if this is the only solution since the question stated "I use Samsung Secure folder", thus uninstalling Samsung Secure Folder might defeat the purpose.
    – Andrew T.
    Feb 22 at 16:40
  • @AndrewT. I am not sure if this is the only solution, but this worked for me.
    – Ashwin
    Feb 23 at 7:54
  • 1
    I want to uninstall some bloatwares from secure folder, not uninstall secure folder.
    – Halilb1978
    Feb 23 at 11:13
  • It works. Confirmed for S22 with Android 13. Jun 10 2023 Jun 10 at 1:33

I've encountered the same messages after trying to get to the list of packages. Nonetheless, knowing the name of the package, I was able to get rid of bloatware using the standard pm uninstall -k --user 0 command with no root.

  • 1
    Are you sure this is what the asker wants? Note that the question is specifically about apps on Samsung Secure folder (user 150), not the owner profile (user 0).
    – Andrew T.
    Dec 26, 2022 at 18:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .