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

  • What device are you using? I'm not familiar with the /flash folder. – Matthew Read Mar 15 '11 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 '11 at 18:54
  • OK. As Bryan asked in his answer, what are you trying to accomplish? Just store files? – Matthew Read Mar 15 '11 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 '11 at 19:32
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)?

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

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

  • I'd like to preserve warranty. – xralf Mar 15 '11 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. – Matthew Read Mar 15 '11 at 18:58
  • We can use interntal flash. – xralf Mar 15 '11 at 19:22
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.