-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Samsung] Can't uninstall system apps for user 150 (Work Folder) #386
Comments
Yeah unfortunately Samsung is now restricting ADB for the user UAD should obviously not crash when adb crashes. I'll try to reproduce the crash by triggering an ADB crash |
I am trying to uninstall the app for user0 but the application also tries for user150 and here I get an error. the app for user0 is successfully uninstalled despite the program crash. it looks like your program trying to uninstall/disable app for both users at once. edit: i'm really blind :) after disable this option everything works! |
I was not able to reproduce the program crash :/ I triggered the same kind of ADB error and UAD didn't crash (as expected). |
Still a problem. EDIT: the commit above is dated from Nov 20, 2022 and the latest release (0.5.1) is from Jul 3, 2022, so it should be fixed in the future 0.5.2.
|
I was having the same exact issue. App would crash on my linux system everytime I tried to uninstall something. Disabling the "Affect all other users" has fixed it for me. |
Same happened for me. The 'Non-persistent settings' were so frustrating. |
Application crash when i choose some action but app on phone is uninstalled
ERROR [src/core/utils.rs:228] [Recommended] pm uninstall --user 150 com.samsung.faceservice -> Exception occurred while executing 'uninstall': java.lang.SecurityException: Shell does not have permission to access user 150 com.android.server.am.ActivityManagerService.handleIncomingUser:14170 android.app.ActivityManager.handleIncomingUser:4540 com.android.server.pm.PackageManagerShellCommand.translateUserId:3219 at com.android.server.am.UserController.handleIncomingUser(UserController.java:2511) at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:14170) at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:4540) at com.android.server.pm.PackageManagerShellCommand.translateUserId(PackageManagerShellCommand.java:3219) at com.android.server.pm.PackageManagerShellCommand.runUninstall(PackageManagerShellCommand.java:2080) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:246) 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:29791) at android.os.Binder.shellCommand(Binder.java:986) at android.os.Binder.onTransact(Binder.java:860) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5411) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:9921) at android.os.Binder.execTransactInternal(Binder.java:1220) at android.os.Binder.execTransact(Binder.java:1179) thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 314', src/gui/views/list.rs:348:69 note: run with
RUST_BACKTRACE=1environment variable to display a backtrace
The text was updated successfully, but these errors were encountered: