3

The thing is that I'm fed up of some stock adware apps on my Micromax phone and want to disable them for good. So, as per this answer, I used adb shell to disable the app, but I'm getting the following error:

shell@Q4260:/ $ pm hide com.micromax.trendingapps Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS. 1|shell@Q4260:/ $ 

The error message indicates that I need android.permission.MANAGE_USERS to achieve that. So I even tried granting that permission to the shell app, but no use!

shell@Q4260:/ $ pm grant com.android.shell android.permission.MANAGE_USERS Operation not allowed: java.lang.SecurityException: Package com.android.shell has not requested permission android.permission.MANAGE_USERS 1|shell@Q4260:/ $ 

Is there any other way to get myself that permission?

Finally, the smart-phone is Micromax Q4260 running Marshmallow if that matters. This could probably be solved by rooting, but I don't have any intention of rooting as it could be risky on this little known model.

1 Answer 1

1

I solved my problem with a little help from Google and XDA Forums. Though this doesn't answer the exact title question, I found an alternative way to disable OEM bloatware on Android M+ without requiring MANAGE_USERS permission or root:

pm uninstall -k --user 0 com.micromax.trendingapps 


(you may use or not the -k option, which is to keep the data and cache directories)

1
  • 1
    Your hint allowed me to remove the apps "AudioFX" and "FM Radio" to clean up a bit further my phone (Redmi 5A - LineageOS 15.1). Thanks! Commented Jun 17, 2019 at 0:46

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.