2

I have encountered a problem with several file managers which I have failed to resolve.

Files in my device are not properly indexed and hence are not recognised by the file managers at least to my understanding.

Instead of choosing a desired category in the file manager e.g documents or video etc, it shows as empty yet have several files of that type. I have to manually dig through the internal Storage to find the specific file see image:

enter image description here

I understand in some devices running MIUI, the culprit apps usually are Downloads and MediaStorage so I have wiped their data and even uninstalled updates yet the problem still persists. Funny the problem does not in second space (multi user space), anything that I am missing.

Android 9, MIUI 11 Xiaomi Redmi Note 4 (mido)

xavier_fakerat
  • 10,065
  • 6
  • 41
  • 101
  • 1
    Have you tried a force scan of shared storage: https://android.stackexchange.com/a/209119/218526? – Irfan Latif May 06 '21 at 20:42
  • files in second space probably have different location (or namespace) if your phone is rooted check /data/media/0 /data/media/10 ... possible other reason files placed /data/media/0 manually may not have right permissions. files with non-trivial names (forbidden chars on fat) or size bigger than 4gb are invisible from /storage/emulated/0 – alecxs May 07 '21 at 09:30
  • @IrfanLatif yes I did a force scan twice but with no positive results – xavier_fakerat May 07 '21 at 10:09
  • it's hard to say without knowing file location and how the file was created or if we even talk about the same thing. for example on isolated mount namespaces you can create a file from one app but it is not visible to other apps, unless you change settings in magisk – alecxs May 07 '21 at 12:11
  • 1
    @alecxs thanks so much for the explanation, the problem is fixed after a nandroid restoration, I don't whether I should delete this question or leave as it seems too individualised. – xavier_fakerat May 07 '21 at 12:30
  • @xavier_fakerat don't delete the question. Post the answer as something like: "I restored nandroid backup I had and it solved the problem for me. It is unfortunate that I still don't know how restoring the backup solved the problem. If anyone has pointers to that, please put them in the comments for others to understand this solution". A lot of times, an answer has good value even if it doesn't explain how the answer works. :) – Firelord May 10 '21 at 07:07

0 Answers0