adb Permission denied [How to Solve]

Insufficient permissions during ADB debugging

[email protected] MINGW64 ~
$ adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:/ $ cd sys/dvfs
cd sys/dvfs
[email protected]:/sys/dvfs $ ls
ls
cpu_temp_enable
cpu_temp_target
dvfs_tree
[email protected]:/sys/dvfs $ cat dvfs_tree
cat dvfs_tree
/system/bin/sh: cat: dvfs_tree: Permission denied

The reason for insufficient permissions is that you do not get root permissions. You need to use ADB root to get root permissions first, and then enter ADB shell

[email protected] MINGW64 ~
$ adb root
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting adbd as root

[email protected] MINGW64 ~
$ adb shell
[email protected]:/ # cd sys/dvfs
cd sys/dvfs
[email protected]:/sys/dvfs # ls
ls
cpu_temp_enable
cpu_temp_target
dvfs_tree
[email protected]:/sys/dvfs # cat dvfs_tree
cat dvfs_tree

Similar Posts: