Sdcardfs is a virtual file system in Android or some Linux systems. It is implemented using FUSE.
It is called Android's 'adopted storage', is used in virtual sdcards, or protected partition areas. (For example: /storage/simulated/0)
If you try to dump an sdcard file system (ex: /sdcard) by dd command, It is not dumpable. (It does not have sectors or anything.
So, if I try to dump the parent file system (ex: 'FUSE like vFAT' on EXT4), it is not recoverable by all of commercial file recovery software. Because sdcardfs is a virtual file system using FUSE, it is not stored like a file or agglomerate something(s).
How can I dump and recover an sdcardfs file system?
sdcardfs
is a virtual filesystem. The fact that it's implemented using FUSE is an implementation detail. What you're really asking is how to dump and restore an sdcardfs filesystem, right? – Gilles 'SO- stop being evil' Dec 16 '17 at 18:23sdcardfs
, FUSE and Adoptable Storage are entirely different things.sdcardfs
replaced Android's FUSE-based virtual filesystem. Both are used to emulate an actual underlying filesystem (ext4
orf2fs
) which is/data/media
or (in case of Adoptable Storage) external SD card's 2nd partition. So if you want to do deleted file recovery, you need to do that on underlying actual filesystem. Just create a dump of block device. See How to recover a deleted file from /data partition?. – Irfan Latif Oct 27 '19 at 20:25