I am trying to push a file to the SD Card but its showing error in console \'failed to push selection: Read-only file system\'.I am using DDMS perspective in Eclipse.I gener
On the Terminal
or Command-Prompt
, write these( for me its command prompt ):
adb shell
(Opens the device shell. you'll see a #
)su
(get the root permission, if necessary)mount -o rw,remount rootfs /
(remount the root file system.)chmod 777 /mnt/sdcard
(change the permission of the sdcard to rwe.)exit
If it doesn't work, try to push the file from the same shell using adb push
.
Hope this help.