3

When I run the command

adb push file.txt /flash/Data

it writes this error message

failed to copy 'file.txt' to '/flash/Data': Read-only file system

I tried to solve it according to this page http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-write.html but with no success.

Could you navigate me and solve the problem? thank you

Izzy
  • 91,536
  • 76
  • 351
  • 968
xralf
  • 47
  • 1
  • 8
  • 19

3 Answers3

2

You have to have root access to mount the drive as that article is describing (calling su == becoming root).

What are you trying to accomplish? Can you push the file to the sdcard instead (if your device has one)?

Bryan Denny
  • 21,904
  • 20
  • 79
  • 98
1

You can attempt writing to /data/local/tmp/ as it is writable even by normal users.

earthmeLon
  • 670
  • 1
  • 8
  • 14
1

You normally have to be rooted to change how the filesystem is mounted.

Matthew Read
  • 50,777
  • 30
  • 148
  • 275