java.io.FileNotFoundException

/system/media/DPA.json: open failed: EROFS (Read-only file system)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12249

  • via Stack Overflow by Jack Liu
    , 11 months ago
    /system/media/DPA.json: open failed: EROFS (Read-only file system)
  • /system/app/SystemUIzip.apk: open failed: EROFS (Read-only file system)
  • /system/etc/.920bak.media_profiles.xml: open failed: EROFS (Read-only file system)
  • Stack trace

    • java.io.FileNotFoundException: /system/media/DPA.json: open failed: EROFS (Read-only file system) at libcore.io.IoBridge.open(IoBridge.java:456) at java.io.FileOutputStream.<init>(FileOutputStream.java:87) at java.io.FileOutputStream.<init>(FileOutputStream.java:127) at java.io.FileOutputStream.<init>(FileOutputStream.java:116) at com.android.server.PbdService$MyLocationListener.onLocationChanged(PbdService.java:1291) at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:281) at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:210) at android.location.LocationManager$ListenerTransport$2.handleMessage(LocationManager.java:233) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at com.android.server.SystemServer.run(SystemServer.java:269) at com.android.server.SystemServer.main(SystemServer.java:170) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) Caused by: android.system.ErrnoException: open failed: EROFS (Read-only file system) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) at libcore.io.IoBridge.open(IoBridge.java:442) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    91 times, 2 weeks ago
    3 times, 3 weeks ago
    43 times, 2 months ago
    108 times, 5 months ago
    Once, 8 months ago
    115 more bugmates