android 如何读取系统文件
PHPz
PHPz 2017-04-17 13:18:35
0
2
773

系统已经 root, 我想读取 /data/wifi/misc/wpa_supplicant.conf 文件, 已经添加申请 root 权限代码

当我读取这个文件的时候,系统输出 没有权限访问文件

PHPz
PHPz

学习是最好的投资!

reply all(2)
小葫芦

"Application for root permission code", did you adjust su in the rooted system? This should not result in loss of permissions.

小葫芦

First execute the su command with code, and then read the file.
p.s. Some machines may not provide the su executable program, so before doing this, use the command line to confirm whether su is already available
p.s. In addition, if you use a root application to perform rooting, an authorization window will usually pop up. At this time, you must click Confirm to authorize.

Please refer to:
How To Change folder permission via SU [root] eclipse android
Copy files to another package folder (root, su)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!