I connected my android device to ubuntu, and ran the command du -a . | sort -n -r | head -n 10
by going to the home directory of the android file system to know the top 10 largest folders occupying my disk space.
Now, after disconnecting the device, I went back to watch one of the videos I recorded from the camera and eventually found out that all the videos are now not playable because it says "File format isn't supported or files are corrupted".
I know I should have used some other tools for that purpose. But now how can I recover all these video files?
Internal storage
was the current directory. Also, rebooting didn't help. – Abhinav Singhal Dec 28 '21 at 02:17adb
and then analyze them if they are still valid video files. You should also mention the used device and Android version. – Robert Dec 28 '21 at 12:19