SD card error Read-only file system

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SD card error Read-only file system

2,053件の閲覧回数
msingh1920
Contributor V

Hi,

I am using imx8M mini with AOSP 9 on it. I am booting it from eMMC and using 32GB SD card for external storage only.

I am able to build and boot the board with Android and able to access the external SD card through my custom android app.  from my android app i create few files on SD Card and write some sensor data into it.

But sometime while testing when my app trying to create file or write data in file on SD Card it gives error SD card is in read only mode.

System.err: java.io.FileNotFoundException: /storage/emulated/0/User_Data.txt (Read-only file system)

This error is not frequent. But some time I face this issue.

After Restart everything works fine. I checked my SD Card and it is also working fine.

In my android app also I gave all the read and write permission. And 90 or 95 times it works perfectly fine only few times it gives this error. 

Since I am not facing this issue every time hence I am not sure what might be issue ?

Any suggestion what might be issue in Android framework side? or Kernel / BSP side ? Or Any ways by which I can root cause this issue ?


Thanks

0 件の賞賛
返信
2 返答(返信)

2,033件の閲覧回数
msingh1920
Contributor V

Any suggestions please ?

0 件の賞賛
返信

2,043件の閲覧回数
msingh1920
Contributor V

Hi,
Any suggestion ?

Thanks

0 件の賞賛
返信