New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
jai134
Old
(Last edited by jai134; 11th May 2011 at 05:34 AM.) Reason: solved
#1  
Senior Member - OP
Thanks Meter 2
Posts: 138
Join Date: Sep 2009
Location: Stockholm
Default [Q] Cant cp or mv modules to dir "access denied"

I am trying to copy modules to /system/lib/modules/. I have rooted with Gingerbreak. I have superuser permissions both with adb and from terminal emulator. I have changed system to rw both from TE and with ADB. I used this command: mount -o remount,rw -t ext4 /dev/block/mmcblk0p3 system/ What am I doing wrong. System shows up as mounted rw when checking with cat /proc/mounts
 
cybermage1
Old
#2  
cybermage1's Avatar
Senior Member
Thanks Meter 18
Posts: 187
Join Date: Nov 2010
Well, that basically works for me, but unless you did a typo on the "system/" only in the forums you got it slightly wrong.

Quote:
su
mount -o remount,rw /dev/block/mmcblk0p3 /system
You don't need the "-t ext4" option.
 
jai134
Old
#3  
Senior Member - OP
Thanks Meter 2
Posts: 138
Join Date: Sep 2009
Location: Stockholm
Do I need busybox? It wasn't a typo. I get "permission denied" when I try to push the file. Not "access denied" as in the name. If it makes any difference. I have tried to cp from adb shell also. Same problem.
 
jai134
Old
#4  
Senior Member - OP
Thanks Meter 2
Posts: 138
Join Date: Sep 2009
Location: Stockholm
After installing busybox all went fine.