Failed to push selection: Read-only file system : while moving to SdCard

11,572

Go to sdk/platform-tools directory (to get access to the adb shell) then I typed the following commands:

./adb shell 
su 
mount -o rw,remount rootfs / 
chmod 777 /mnt/sdcard

Then it works fine for me.

Share:
11,572
AnuRaj
Author by

AnuRaj

Updated on June 04, 2022

Comments

  • AnuRaj
    AnuRaj almost 2 years

    I have created a SDCard from my music player app. But when i add songs to the app it is showing error that

         [2013-01-23 16:09:18 - ddms] transfer error: Read-only file system
         [2013-01-23 16:09:18] Failed to push selection: Read-only file system
    

    I have set uses-permission in my Manifest

      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
    

    What might be wrong. Please help me out this issue.

  • Nikola Davidovic
    Nikola Davidovic about 9 years
    This was really helpful. Thanks