What do you need?
- enough space for recoverd flash drive data
How to do it?
# dd if=/dev/sdX of=/home/username/XY-file-name.image # foremost XY-file-name.image -o output
/dev/sdX <— path to usb flash drive
/home/username/XY-file-name.image <— path to save image of recovered data from flash drive
Where on internet I found a solution?