Some of my photos or videos get replaced by 0 byte files every now and then, which is quite infuriating. Even more confusingly, sometimes later they do reappear. I don't want this question to be too specific to my case, so I'm instead asking:

How I can determine the culprit?

Some more details: My Huawei P20lite is rooted (thus more methods available for diagnostics) and I'm running Syncthing in order to synchronize my media. On the plus side this means thanks to Syncthing's simple file versioning there's a chance the original file is still available in .stversions, on the negative side it could be the very culprit.

  • 2
  • @IrfanLatif Great thanks! That sounds like the answer to my question, though it turns out to be more complex than I hoped for 😅 Commented Jan 8, 2022 at 9:00
  • 2
    I've sometimes seen this when an SD card reached it's EOL (usually in Samsung devices which seem to eat them for breakfast). In that case, even files you deleted showed up after the next reboot…
    – Izzy
    Commented Jan 8, 2022 at 16:15
  • @Izzy Thanks, the confusing thing is those files sometimes later re-appear unbroken. The SD card is almost brand new, but I guess there's always a chance of bad luck, so I'll check it more thoroughly Commented Jan 23, 2022 at 9:43
  • 1
    That matches what I've seen on those Samsung devices (more than once, different Sammies). For the external card, you could use a card reader and check them on a Linux machine. Plenty of guides on the net for that, e.g. this one.
    – Izzy
    Commented Jan 23, 2022 at 13:20


You must log in to answer this question.

Browse other questions tagged .