Grimoire-
Command
.es

GNU+Linux command memo

Test and restore lost partitions with TestDisk

Vérifier et restaurer des partitions perdues avec TestDisk

# testdisk /dev/<device> (1)
1 Follow testdisk’s simple instructions…
TestDisk can also undelete files from FAT, NTFS, exFAT and ext2 filesystem.
TestDisk and PhotoRec can be installed on a rooted Android system, using this binary file compiled for ARMv7. To install it, one must # mount -o rw,remount /system and the copy the file to /system/xbin/. Source and more binaries, local copy.