Unix terminal is a powerful tool.
I think that a lot of tasks (including my own forensics analysis workflows) can be accomplished more quickly on a “terminal only” environment.
Continue reading “Unix terminal, a simple cheatsheet”
Your Android SD card gets “corrupted” and you don’t have a PC to connect the smartphone and make the check of SD card?
It’s possibile to make this operation directly from the smartphone? (rooted and with busybox installed, of course!)
“It Could Work!”
The binary to do the job is called fsck* (or fsck_msdos), and usually located in /system/bin.
First we need to find the device your SD card is bound to. If it’s mounted, the mount command will assist us:
mount | grep -i sdcard
Check the output and see where your SD card sits.
Output may include something like
Now we can go for the repair job:
fsck_msdos -y /dev/block/vold/179:65
And after simply reboot the phone!