如何在android系统目录R / W文件(内部存储) [英] How to R/W file in android system directory (Internal Storage)

查看:185
本文介绍了如何在android系统目录R / W文件(内部存储)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 我要创建Android系统文件夹中的文件。

  • 我也尝试过这种安装邻RW,重新安装-t YAFFS2
    为/ dev /块/ mtdblock3 /系统使用调用Runtime.getRuntime()。EXEC(),但
    它不工作。

  • I want to create the file in android system folder.
  • I have also tried this "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" using Runtime.getRuntime().exec() but it's not working.

如果你有例子,请让我知道。
谢谢

if you have example please let me know. Thanks

推荐答案

Android应用程序为未修改的设备上没有运行,因此它们不能写入 /系统文件夹或重新挂载文件系统。

Android applications don't run as root on an unmodified device so they can't write to the /system folder or remount file systems.

你为什么要写信给 /系统?你应用的哪些是错的存储目录?

Why do you want to write to /system? What's wrong the the storage directory for you app?

这可能是扎根的Andr​​oid设备但是这排除了广大用户的

This may be possible on a "rooted" Android device but this rules out the majority of users.

这篇关于如何在android系统目录R / W文件(内部存储)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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