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 Nautilus
.
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
:
:~$ 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).
dd
a mapped network drive?dd
IMHO requires "physical" access to the partition, which MTP explicitly does not offer (that was one reason why Android switched from UMS to MTP, to be able to access the storage from "both ends" simultaneously). Just checking: You've already got that answer here. We can't tell you differently – so asking until you get the answer you'd like to hear doesn't work ;)