How to mount Smartphone to recover files
How can I mount a smartphone internal storage in Ubuntu in a way that I could run photorec on it to recover several documents. Photorec does not detect the Smartphone (External or Internal storage) and it will only show the ones that are in /dev/
.
When I connect the smartphone it shows the following:
[Thu Apr 10 15:38:32 2014] usb 3-13: new high-speed USB device number 9 using xhci_hcd
[Thu Apr 10 15:38:33 2014] usb 3-13: New USB device found, idVendor=04e8, idProduct=6860
[Thu Apr 10 15:38:33 2014] usb 3-13: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[Thu Apr 10 15:38:33 2014] usb 3-13: Product: SAMSUNG_Android
[Thu Apr 10 15:38:33 2014] usb 3-13: Manufacturer: SAMSUNG
[Thu Apr 10 15:38:33 2014] usb 3-13: SerialNumber: 4d10e317e3f070a9
[Thu Apr 10 15:38:33 2014] cdc_acm 3-13:1.1: This device cannot do calls on its own. It is not a modem.
[Thu Apr 10 15:38:33 2014] cdc_acm 3-13:1.1: ttyACM0: USB ACM device
When I run mount
it does not appeared anywhere mounted but I can see both External and Internal storage medias
Solution 1:
MTP mode wont work. It's an abstracted filesystem meaning Photorec (et al) don't have direct access. According to the Photorec website, you'll need to throw the phone into Mass Storage mode. Once you've done that, it should see the drive correctly.
I'm not sure what sort of recovery you're doing here. If the screen is broken and you're stuck in MTP mode, you might still be able to do a recovery, using adb and dd to create a raw image of the affected partition. Move that over to Ubuntu, mount it and recover.
If you have neither access to the screen or root, you're fighting a much, much tougher battle. For what it's worth, I've been in that exact spot before and it's not good. All I can say is thank Google and Facebook for the various privacy-invading cloud syncs :) They have saved my behind a couple of times now.