ADB Shell “Error: no permission specified”, How to fix

This guide is going to teach you how to fix the “Error: No Permission Specified” message that appears in ADB Shell.  Some third-party apps need higher permission levels to function, though they can operate without needing root access. All you have to do is give them the necessary permissions using the adb shell commands, and you’re good to go.

However, it might be a bit challenging in certain situations. For example, a user is interested in granting Tasker access to read the logs on their Android device.

The key to solving this is realising that the issue is with the command’s format, not the app. In this tutorial, you will learn:

  • The right way to grant permissions using ADB
  • How to list the permissions and their status by group

The Right Way to Grant Permissions Using ADB

Fix "Error: No Permission Specified" Message in ADB Shell

The right way to give permissions using the ADB shell is:

adb shell pm grant <app_package_name> android.permission.<permission_name>

You can replace `<app_package_name>` and `<permission_name>` with the appropriate values for your app and permission.

For example, the adb package name for Instagram is `com.instagram.android`. You can use this name to grant or revoke permissions for Instagram using adb commands. For example, to grant Instagram permission to access your location, you can use the command:

adb shell pm grant com.instagram.android android.permission.ACCESS_FINE_LOCATION

This guide is meant to help you handle permission issues in ADB Shell. Put your questions or concerns in the comments section down below if you encounter any issues. You can count on our team to respond with helpful and speedy responses.

Dibyashree Sharma
Dibyashree Sharma
Editorial Leader
Dibyashree Sharma graduated in Computer Science from NIT Rourkela. For the past eight years, she has been blogging about Android, which she is really passionate about. She has built a good reputation as a reliable source. Away from the digital sphere, Dibyashree enjoys playing tennis, a sport she is as passionate about as she is about technology.

Leave a Comment