Insufficient permissions during ADB debugging
Administrator@aaron MINGW64 ~
$ adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
shell@firefly:/ $ cd sys/dvfs
cd sys/dvfs
shell@firefly:/sys/dvfs $ ls
ls
cpu_temp_enable
cpu_temp_target
dvfs_tree
shell@firefly:/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
Administrator@aaron MINGW64 ~
$ adb root
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
restarting adbd as root
Administrator@aaron MINGW64 ~
$ adb shell
root@firefly:/ # cd sys/dvfs
cd sys/dvfs
root@firefly:/sys/dvfs # ls
ls
cpu_temp_enable
cpu_temp_target
dvfs_tree
root@firefly:/sys/dvfs # cat dvfs_tree
cat dvfs_tree
Similar Posts:
- [Solved] Adb Start Error: adb server version (32) doesn’t match this client (39)
- [Solved] Git Bash error: could not lock config file Java/jdk1.7.0_71/.gitconfig: Permission denied
- How to Solve “adb server is out of date. killing… ”
- [HBase] – the default port is occupied, and an error is reported when starting
- The ADB command installs APK, and the installation problem is solved by daemon not running. Starting it now on port 5037
- How to Solve Failed to start connector [Connector[HTTP/1.1-8080]]
- centos ERROR: Couldn’t connect to Docker daemon at http+docker://localhost – is it running?
- ADB Server Didn’t ACK, failed to Start Daemon settlement record
- VMware manually starts USB alignment service
- driver failed programming external connectivity on endpoint inspiring_mayer