Android:adb:将文件复制到/system(权限被拒绝) [英] Android: adb: copy file to /system (Permission denied)

查看:843
本文介绍了Android:adb:将文件复制到/system(权限被拒绝)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我尝试在HTC Desire上安装busybox.因此,我尝试将busybox-binary复制到/system/bin.所以我用rw重新挂载了/system:

actually I try to install busybox on my HTC Desire. Therefore I try to copy a busybox-binary to /system/bin. So I remounted /system with rw:

mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system

此后,我没有收到只读文件系统"错误.但是现在尝试将文件推送到/system/bin时遇到权限被拒绝". 我还尝试将文件推送到/sdcard,然后将其移动到/system/bin,但这也不起作用:

After this I didn't get a "Read-only file system"-error. But now I'm experiencing "Permission denied" when trying to push the file to /system/bin. I also tried pushing my file to /sdcard and then move this to /system/bin, but this doesn't work either:

$ mv /sdcard/busybox /system/bin
failed on '/sdcard/busybox' - Cross-device link

一些想法,如何解决这个问题?

Some ideas, how to solve this problem?

推荐答案

执行mount检查设备是否真的已重新安装为RW.

Do a mount to check if the device really was remounted as RW.

我遇到了同样的错误,然后我简单地创建了一个cp orig dest,然后在orig上创建了一个rm,这很奇怪,但是接缝mv的行为是这样的.

The same error happened to me, then I simply made a cp orig dest and then a rm on orig, weird but seams mv behaves this way.

这篇关于Android:adb:将文件复制到/system(权限被拒绝)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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