Camera Issue


stathis95194

Members
Sep 7, 2018
409
87
Hey everyone. My sdcard gave up on me yesterday. As soon as the sdcard crashed my camera stopped working as well (sdcard was the default location for saving photos)..I cleared camera data and even reflashed the ROM. 9.8.29. Still camera is crashing upon opening. Thought it was a camera module issue, but installed another camera app and it's working perfectly.
Any idea what could be wrong?

MiPad4 clover with xiaomi.eu 9.8.29

Code:
java.lang.ExceptionInInitializerError
at com.android.camera.storage.Storage.readSystemPriorityStorage(Unknown Source:0)
at com.android.camera.Camera.onResume(Unknown Source:20)
at android.app.Instrumentation.callActivityOnResume(Unknown Source:3)
at android.app.Activity.performResume(Unknown Source:16)
at android.app.ActivityThread.performResumeActivity(Unknown Source:68)
at android.app.ActivityThread.handleResumeActivity(Unknown Source:40)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:75)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:80)
at android.os.Handler.dispatchMessage(Unknown Source:21)
at android.os.Looper.loop(Unknown Source:152)
at android.app.ActivityThread.main(Unknown Source:65)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:338)
Caused by: java.lang.IllegalArgumentException: Invalid path: /storage/emulated/0
at android.os.StatFs.doStat(Unknown Source:28)
at android.os.StatFs.(Unknown Source:3)
at com.android.camera.storage.Storage.initQuota(Unknown Source:56)
at com.android.camera.storage.Storage.(Unknown Source:141)
... 15 more
Caused by: android.system.ErrnoException: statvfs failed: ENOENT (No such file or directory)
at libcore.io.Linux.statvfs(Native Method)
at libcore.io.BlockGuardOs.statvfs(BlockGuardOs.java:330)
at android.system.Os.statvfs(Os.java:556)
at android.os.StatFs.doStat(Unknown Source:0)
... 18 more

Sent from my MI PAD 4 using Tapatalk