Invalid My girlfriend's phone bug after installing a storage upgrade using a sd card


jkreyes

Members
Apr 21, 2023
1
3
Hi everyone,
Yesterday i installed a sd card to expand the storage from my girlfriend phone a xiaomi Mi note 10T. After installing it, the phone asked to format it to share the storage with the internal unit. But today she couldn't take screenshots, photos and not even download a photo from WhatsApp.

A message xiaomi's security app saying that there was a problem with it and to send a report.

This is the report:
java.lang.RuntimeException: Unable to get provider com.miui.zman.ui.ZmanFileProvider: java.lang.IllegalArgumentException: Failed to resolve canonical path for /storage/emulated/0/Android/data/com.miui.securitycenter/files/versions
at android.app.ActivityThread.installProvider(ActivityThread.java:7858)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7370)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7077)
at android.app.ActivityThread.access$1600(ActivityThread.java:274)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2129)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8292)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.IllegalArgumentException: Failed to resolve canonical path for /storage/emulated/0/Android/data/com.miui.securitycenter/files/versions
at androidx.core.content.FileProvider$c.a(Unknown Source:36)
at androidx.core.content.FileProvider.b(Unknown Source:166)
at androidx.core.content.FileProvider.a(Unknown Source:13)
at androidx.core.content.FileProvider.attachInfo(Unknown Source:33)
at android.app.ActivityThread.installProvider(ActivityThread.java:7853)
... 11 more
Caused by: java.io.IOException: I/O error
at java.io.UnixFileSystem.canonicalize0(Native Method)
at java.io.UnixFileSystem.canonicalize(UnixFileSystem.java:153)
at java.io.File.getCanonicalPath(File.java:611)
at java.io.File.getCanonicalFile(File.java:636)
at androidx.core.content.FileProvider$c.a(Unknown Source:6)
... 15 more

I tried everything i can not acces to the storage page to comeback to the internal option of storage.