[Xiaomi Mi 10T / 10T Pro Questions & Answers] nathandrake:
Hello everyone

I have written this post because I have not found an answer or solution to my problem.

I have a Mi 10t Pro with Android 12 (Xiaomi EU - MIUI 13) and a very serious problem, I have tried to download apps and games from the Google Play Store but I always get an error "A problem occurred while downloading, try again".

The error code that marks the system report is "-7", however, there is nothing on the internet that explains how to fix it.

So, I checked the store permissions and it turns out that the option to access internal system storage is not enabled, however I can't enable it because it appears blocked.

To confirm this I tried to use a logcat and apparently the error is that, the application can not write to the system because it has no permissions.

I attach the logcat here:

03-30 23:37:43.994 E/Finsky:background(1456): [239] jpm.u(72): Failed to create downloadStatus files.

03-30 23:37:43.994 E/Finsky:background(1456): java.io.IOException: Can't create file:///storage/emulated/0/Android/obb/com.android.vending/com.microsoft.office.officehubrow/temp.main.42890251.com.microsoft.office.officehubrow.obb

03-30 23:37:43.994 E/Finsky:background(1456): at jpm.u(PG:71)

03-30 23:37:43.994 E/Finsky:background(1456): at iha.c(PG:19)

03-30 23:37:43.994 E/Finsky:background(1456): at llu.a(PG:23)

03-30 23:37:43.994 E/Finsky:background(1456): at alpa.c(PG:2)

03-30 23:37:43.994 E/Finsky:background(1456): at alaz.c(PG:2)

03-30 23:37:43.994 E/Finsky:background(1456): at alkt.b(PG:2)

03-30 23:37:43.994 E/Finsky:background(1456): at alkw.a(PG:3)

03-30 23:37:43.994 E/Finsky:background(1456): at alfv.run(PG:2)

03-30 23:37:43.994 E/Finsky:background(1456): at alks.run(PG:2)

03-30 23:37:43.994 E/Finsky:background(1456): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)

03-30 23:37:43.994 E/Finsky:background(1456): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)

03-30 23:37:43.994 E/Finsky:background(1456): at java.lang.Thread.run(Thread.java:920)

03-30 23:37:43.994 E/Finsky:background(1456): Caused by: java.io.IOException: No such file or directory

03-30 23:37:43.994 E/Finsky:background(1456): at java.io.UnixFileSystem.createFileExclusively0(Native Method)

03-30 23:37:43.994 E/Finsky:background(1456): at java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:317)

03-30 23:37:43.994 E/Finsky:background(1456): at java.io.File.createNewFile(File.java:1006)

03-30 23:37:43.994 E/Finsky:background(1456): at jpm.u(PG:36)

03-30 23:37:43.994 E/Finsky:background(1456): ... 11 more

03-30 23:37:44.134 E/Finsky (2282): [2] sia.b(9): STU: Failed to get status for package 'com.microsoft.office.officehubrow' (1601: Error getting stats)

03-30 23:37:44.134 E/Finsky (2282): android.content.pm.PackageManager$NameNotFoundException: com.microsoft.office.officehubrow

03-30 23:37:44.134 E/Finsky (2282): at java.lang.reflect.Constructor.newInstance0(Native Method)

03-30 23:37:44.134 E/Finsky (2282): at java.lang.reflect.Constructor.newInstance(Constructor.java:343)

03-30 23:37:44.134 E/Finsky (2282): at android.os.ParcelableException.readFromParcel(Unknown Source:42)

03-30 23:37:44.134 E/Finsky (2282): at android.os.ParcelableException$1.createFromParcel(Unknown Source:2)

03-30 23:37:44.134 E/Finsky (2282): at android.os.ParcelableException$1.createFromParcel(Unknown Source:0)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Parcel.readParcelable(Unknown Source:22)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Parcel.createExceptionOrNull(Unknown Source:69)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Parcel.createException(Unknown Source:0)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Parcel.readException(Unknown Source:11)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Parcel.readException(Unknown Source:10)

03-30 23:37:44.134 E/Finsky (2282): at android.app.usage.IStorageStatsManager$Stub$Proxy.queryStatsForPackage(Unknown Source:56)

03-30 23:37:44.134 E/Finsky (2282): at android.app.usage.StorageStatsManager.queryStatsForPackage(Unknown Source:16)

03-30 23:37:44.134 E/Finsky (2282): at otj.run(PG:19)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Handler.handleCallback(Unknown Source:2)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Handler.dispatchMessage(Unknown Source:4)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Looper.loopOnce(Unknown Source:176)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Looper.loop(Unknown Source:77)

03-30 23:37:44.134 E/Finsky (2282): at android.os.HandlerThread.run(Unknown Source:28)

03-30 23:37:44.134 E/Finsky (2282): Caused by: android.os.RemoteException: Remote stack trace:

03-30 23:37:44.134 E/Finsky (2282): at com.android.server.usage.StorageStatsService.queryStatsForPackage(Unknown Source:220)

03-30 23:37:44.134 E/Finsky (2282): at android.app.usage.IStorageStatsManager$Stub.onTransact(Unknown Source:252)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Binder.execTransactInternal(Unknown Source:103)

03-30 23:37:44.134 E/Finsky (2282): at android.os.Binder.execTransact(Unknown Source:16)

Is there anything that can be done, any idea how to solve it? I really need help.