如何写权限的Andr​​oid系统/应用 [英] How to Write Permission to System/app in Android

查看:95
本文介绍了如何写权限的Andr​​oid系统/应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何给写许可系统/应用程序文件夹
我有我的根深蒂固的Andr​​oid设备
我想下载应用程序并安装在系统/应用程序文件夹

how to give write permission to system/app folder i have rooted my android device i want to download the app and install in system/app folder

Process p = Runtime.getRuntime().exec( "su" );

我试过这个指令,要求用户许可,然后抛出异常
系统/应用程序是只读文件系统

i had tried this command it ask for user permission and then it throws exception system/app is read only file system

推荐答案

第一次去使用壳

adb shell

然后重新装入系统文件夹中使用下面的命令写

Then remount the system folder as writable using following commands

$ su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

然后改变系统文件夹的权限,读,写和执行使用

Then change the permission of system folder to Read, Write and Execute using

# chmod 777 /system/app

这篇关于如何写权限的Andr​​oid系统/应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆