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
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?
The reason for "permission denied" is because your Android machine has not been correctly rooted. Did you see $ after you started adb shell ? If you correctly rooted your machine, you would have seen # instead. If you see the $ , try entering Super User mode by typing su .
The general steps to enable it is Settings>About Phone and tab the Build Number seven times to unlock Developer Options. Now go to Developer Options in System Settings and activate the root option (ADB only or Apps and ADB). After this, adb will restart and you will be able to use root from the cmd line.
Mounting is not enough, you have to run as root (this is the reason for permission denied). This is how I push busybox:
adb root
adb remount
adb push busybox /system/bin
I run into some devices that you need to remount with mount -o remount,rw /system
and not with adb remount
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With