I Found long ago the hide app command but it didnt work but i didnt need it so much back then, but now i can use it for something if anyone can find out why its not working or another command to hide apps (LG Vn220/LG Classic) plz share
Here are the commands:
Hide: pm hide --user 0 (Package Name)
Unhide: pm unhide --user 0 (Insert Package Name)
I did not make up this command i found it while doing something with adb
- WebADB
Hide App Command
THE_SOMEONE What are you trying to hide it from? Please explain what hide means in this context.
it should just show like its uninstalled but its still redownloadble if you enter the unhide command
THE_SOMEONE maybe this will help:
Jumptoheaven To temporarily disable an app.
Run,
adb shell pm disable-user --user 0 com.package.nameTo enable run,
pm enable com.package.name
THE_SOMEONE I have tried using it in the past, but, whenever I've tried it on a flip phone, it gives an error message saying something like "Neither User 2000 nor current process has Android permission [permission name]".
I once had a situation where it would have been the perfect solution (I think), but, alas, it didn't work.
Biden2020prez For my situation, that command didn't work the way that the hide command would have.
Biden2020prez already tried that
THE_SOMEONE I think the issue is I don't really understand your goal. If you can give more details, like your exact situation, phone model. If youd rather not say, maybe try making up an identical situation.
Biden2020prez Sorry to come back late. i tried this command already and it doesnt work it says:
Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=17119, uid=2000, package uid=10015
I tried this command on LG Classic It worked But on Vn220 it doesnt...
(im trying to do it for the Email) And no i didn't make a mistake in the process im a ADB expert since Feb 2021
THE_SOMEONE Try
adb shell pm suspend com.package.nameBiden2020prez is there any way to disable or suspend or hide a system app, for example office suite on the kyocera e4810. I get an error when trying these cmds on adb
uninstall gives me Failure [DELETE_FAILED_INTERNAL_ERROR]
hide gives me Security exception: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
disable gives me Security exception: Shell cannot change component state for com.mobisystems.office.kyocera/null to 2
suspend gives me Security exception: setPackagesSuspendedAsUser: Neither user 2000 nor current process has android.permission.SUSPEND_APPS.
Read the 4th post github.
Android doesn't support the hide app function on ADB with newer devices.
To uninstall a package, try:
On cmd adb shell pm uninstall --user 0 <package_name> where <package_name> is the what you want to uninstall; insert -k after uninstall to save that app's data.
Or on Powershell ./adb shell pm uninstall --user 0 <package_name> .
To disable type adb shell pm disable-user --user 0 <package_name>.
To enable type adb shell pm enable <package_name>.
To suspend type in adb shell pm suspend <package_name>.
To unsuspend type in adb shell pm unsuspend <package_name>.
4448641 Did you try disable-user?
FliphoneBochur tried it on LG Classic it worked but on Exalt Didn't work
THE_SOMEONE disable-user doesn't work on the exalt.
