Hello, i'm trying to backup SDCARD0 using ADB, because MTP and MSC file transfer doesn't work correctly under Windows 10.
I tried this command adb pull /storage/sdcard0/ C:\backupz1
But it keeps telling me /storage/sdcard0/ doesn't exist ?
I also tried emulated, but that didn't work too.
Any suggestions ?
Somehow i got it working after multiple tries, but i still like to know why MSC can't copy files from the device to my computer.
Related
Hi, new here and I have a question:
I broke the screen on my Cappy and just got a replacement. The thing is, I hadn't moved all my pictures and movies (and various other things) to the external SD card. I've been searching for a way to retrieve them and it doesn't seem to look good.
I've tried on 2 other phones to get into CWM and mount the USB storage from there (Since hard keys are my only option) and it didn't work there (same model and mod) or when I tried on the bricked phone (6 menu options down, 2 up to mount sd card).
The question is this:
How can I through some way get all this data downloaded to my PC? Boot loader, download mode, recovery... I know just enough to do what I need to do to mod my phone, but not enough to know how to do this.
Any help would be appreciated! You guys have helped me so much by your informative posts I would be humbled for you to help me specifically.
Install adb
If you had usb debugging enabled you cab just boot up, if not recovery will communicate with adb regardless.
Adb pull /mnt/sdcard (where ever you want it to go on your PC)
studacris said:
Install adb
If you had usb debugging enabled you cab just boot up, if not recovery will communicate with adb regardless.
Adb pull /mnt/sdcard (where ever you want it to go on your PC)
Click to expand...
Click to collapse
The following happens when I try:
C:\> adb pull /mnt/sdcard c:/sd/
pull: building file list...
pull: /mnt/sdcard/lost.dir/28 -> c:/sd/lost.dir/28
cannot create 'c:\sd\lost.dir/28': No such file or directory
Nevermind. It should have been:
C:\> adb pull /mnt/sdcard c:\sd\
In windows, file locations use back slashes. you're telling it to go to c:/sd/
Should be c:\sd and no final backslash.
So I got fastboot and adb working on my computer but my phone's internal storage doesn't show up in the Explorer page (windows 8.1).
It never worked but I got adb and fastboot to work by using a guide I found.
Any idea how i can fix this?
(Also in Device Manager it says "HTC MTP Device".)
SOLVED
(No success for me personally, but I'd still like to explain how I realised there's no hope left - description is at the bottom of this post)
Hi, not a regular poster in the S3 mini section, but a friend of mine has had his entire screen smashed. Somehow though, the phone is still breathing and can be turned on/off.
The problem is: My friend has asked me to extract his photos and similar media from the device's memory.
The device isn't rooted and I'm not sure if there's a default recovery mode or something like that built in the device.
I've tried connecting the device to my PC and it gets recognized and the drivers install themselves, but the device is empty. Moreover, I've downloaded KIES which also recognized the device, but says that there's a lockscreen and he can't go any further.
Any advices? Most of the other xda answers are for rooted phones so they haven't been very helpful, unfortunately.
There's a picture of the device in the attachments below, and KIES interface aswell.
<<EDIT>>
I'm using this http://forum.xda-developers.com/showthread.php?t=2339530 Recovery operation but it keeps saying "adb.exe" not found. I've installed ADB via the 15sec install ( http://forum.xda-developers.com/showthread.php?t=2588979 ) and entered the path correctly, but it still can't detect it. Any tips? perhaps i'm using the wrong ADB - I don't have c:\android\platform-tools folder - it's simply c:\adb\adb.exe.
SOLVED PROBLEM:
After messing with this for 2-3 days, I've decided to go with the simplest method - find a way to list all directories on the device and then see if there's anything in "sdcard" or a similar folder. To do this, after ADB recognizes your device, type : adb shell ls -R
adb shell ls -R will list a zillion directories so you may want to save the data into a .txt file. to do this, type adb shell ls -R > output.txt (or any other name).
After that, open the output.txt file and then use ctrl-f to find the sdcard folders and check if there's any data left in them.
IMPORTANT:
I've read that, without root permission, one cannot access the data or sdcard directories. The device I was working on had USB debugging OFF so there was no way I could root the phone in order to access the data directories.
Silly question, but did you use option 2 in RecoverData to change the path of ADB to c:\adb\?
aumedina said:
Silly question, but did you use option 2 in RecoverData to change the path of ADB to c:\adb\?
Click to expand...
Click to collapse
Yup, but it still can't find it. That's why I think the ADB-15sec install might be flawed.
There's a screencap of the Recovery + TotalCMD in the background in the attachments.
<EDIT>
Alright so I've followed an ADB tutorial (http://forum.xda-developers.com/showthread.php?t=2266638), installed all the SDK packages just to be sure.
ADB now recognizes the device after I've booted it into recovery mode. I've tried doing adb pull /data and it says 0 files pulled, 0 files skipped. Does this mean the device's internal memory is blank? No it doesn't, only the folder "data" is blank, other system data is present.
<EDIT 2> Can anyone please tell me the path to the internal camera storage folder? I may have fixed the problem if only I knew the correct path. SOLVED: The correct path is one of 4 combinations, usually these: /mnt/sdcard0/ /mnt/sdcard/ /storage/sdcard0/ /storage/sdcard/
I just bought this device (D5803 to be precise) and I'm trying to root it. I'm following This instructions and I'm stuck at the "Rooting with exploit" step as I can't authorize the connection.
I've already tried:
Restarting the ADB server
Rebooting the device
Rebooting my PC
Changing from MTP to MSC and back
Disabling and then enabling USB debugging
Disabling and then enabling 'Developer options'
Using various ADB drivers
Using different ADB binaries
Deleting my ".Android" folder
Deleting ADB copies in other tools' folders
Plugging the device in another port
Any combination of the above
I can't find any other solution to my problem on the Internet (nor here in XDA for that matter). I'm hoping you guys will be able to enlighten me and finnaly be able to solve this.
PS: I'm pretty sure that my PC is the problem as I was never able to do this with my old SGS3 either, but I ran out of ideas about what could be causing it anyway.
EDIT: I managed to do this step on a borrowed PC, it was a breeze; further proving that my PC is the problem here. I still would like to solve this issue as I know I'll be needing ADB in the future.
Also, a little more info: I looked into the newly generated .Android folder and the "adbkey" files are missing, I tried creating blank files manually to no avail. I also tried setting write permissions to that folder as well as the SDK one manually, didin't work either. Could it be that my system cannot generate those keys for some reason?
Hey Guys,
I was running lineageos (7.1.1) on my MI5 and while trying to root the phone something went wrong and the phone got stuck in a boot loop. At first I was having ADB connection issues but finally got it working with the correct drivers and booting into twrp. I connected the phone to my computer but the storage is acting really strange.
It takes forever to load the phones storage in windows and when I try to copy files to the storage i got the copy prompt but it never progresses and eventually times out without an error. I've tried using ADB sideload and ADB push commands to get an image onto storage so I can try to flash it but both fail (sideload just hangs at serving: 0%). kind of seems like a write permission issue or something but I'm pretty stumped. Any Ideas?
f:\android\platform-tools>adb sideload lineage-14.1-20170228-nightly-gemini-signed.zip
serving: 'lineage-14.1-20170228-nightly-gemini-signed.zip' (~0%) * failed to read command: Connection reset by peer
and
F:\android\platform-tools>adb push lineage-14.1-20170228-nightly-gemini-signed.zip /sdcard/.
adb: error: failed to copy 'lineage-14.1-20170228-nightly-gemini-signed.zip' to '/sdcard/./lineage-14.1-20170228-nightly-gemini-signed.zip': no response: Connection reset by peer
also when I do mount the storage to my pc, I can create folders and delete files, just cant seem to copy files over usb...
maybe try copying files using linux machin ..