I have connected my rooted Mi3 android phone to Ubuntu 14.0.4 using
jmtpfs. I am using
~/Desktop/phone as my mount point. I am able to browse the Android device using
Now I want to recover the files from my phone because I have done a factory reset. I am using the dd command to make a clone of the storage of the phone. When I try to do this I get the following error:
:~/Desktop$ sudo sh -c "dd if=~/Desktop/phone of=/media/sf_phone_recovery/image" dd: failed to open ‘~/Desktop/phone’: Permission denied
Is it because the phone has root priviliges?
:~/Desktop/phone$ ls -l total 0 drwxr-xr-x 29 root root 0 May 19 4441318 Internal storage
I have also tried Foremost to recover files but it takes forever to run. Have important files on my phone. Help needed asap.
This is the output of
:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 14.2G 0 disk ├─sda1 8:1 0 8.3G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 5.9G 0 part [SWAP] sr0 11:0 1 1024M 0 rom
I am running Ubuntu using VirtualBox on Mac OSX Yosemite.
This is the discussion of this question at askUbuntu.com link
EDIT: There is another method for recovering your data from an Android phone that does not require access to a PC elaborated here. It involves installing an Android terminal and using the
dd command to clone the required storage block of internal memory to a SD card or a pen drive (connected to your phone via a USB OTG cable).