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

4
  • What device are you using? I'm not familiar with the /flash folder. Mar 15, 2011 at 17:50
  • my device is Archos 7. In OI File Manager I can see the flash folder. But folder is not important, I can copy it to another folder (but I don't have SD card)
    – xralf
    Mar 15, 2011 at 18:54
  • OK. As Bryan asked in his answer, what are you trying to accomplish? Just store files? Mar 15, 2011 at 19:26
  • I have problem with copying files (I asked another question about it), so I tried to solve it with adb push.
    – xralf
    Mar 15, 2011 at 19:32

3 Answers 3

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)?

1
  • I have problem with copying files (I asked another question about it), so I tried to solve it with adb push.
    – xralf
    Mar 15, 2011 at 18:55
1

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

3
  • I'd like to preserve warranty.
    – xralf
    Mar 15, 2011 at 18:54
  • 1
    Then you should use an SD card or something to put files on, you can't write indescriminately to the system or data partitions without root. Mar 15, 2011 at 18:58
  • We can use interntal flash.
    – xralf
    Mar 15, 2011 at 19:22
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .