Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Problem backing up internal storage to PC through adb

OP fredcorp6

19th June 2014, 05:18 PM   |  #11  
OP Senior Member
Thanks Meter: 63
 
382 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by jd1639

Ok, here's the problem. The now unlock your device.... is telling you the backup is done, not that you have to use a screen password. I got the same thing trying to do it in recovery and a 0 byte backup file. I could backup when normally booted. But that's not going to help you with the non-functional screen. Let me play around with it a little more and see if I can figure it out.

Edit, let's backup a little bit. Do you have a custom recovery or are you on stock? If it's custom which one?

Edit, sorry man, the best I can do is use adb pull. But that requires you to know specifically where and what the file name is. And you have to do that for every file you want. Seems adb backup only works if you're booted normally and not in recovery.

Sent from my Nexus 5 using XDA Free mobile app

Thanks for trying to help man!

I'm on cwm recovery.

I tried adb pull to copy all the stuff on my phone using the command "adb pull /" but the files copied did not include my pics or any personal media etc.

What would be the exact location of my pics inside the phone?? Also maybe it's not working because the sdcard is not mounted?


Sent from my iPhone using Tapatalk
19th June 2014, 05:22 PM   |  #12  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,992
 
11,383 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by fredcorp6

Thanks for trying to help man!

I'm on cwm recovery.

I tried adb pull to copy all the stuff on my phone using the command "adb pull /" but the files copied did not include my pics or any personal media etc.

What would be the exact location of my pics inside the phone?? Also maybe it's not working because the sdcard is not mounted?


Sent from my iPhone using Tapatalk

Try /sdcard/DCIM/Camera

Sent from my Nexus 5 using XDA Free mobile app
19th June 2014, 10:13 PM   |  #13  
OP Senior Member
Thanks Meter: 63
 
382 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by jd1639

Try /sdcard/DCIM/Camera

Sent from my Nexus 5 using XDA Free mobile app

No luck... do you know how to mount the sdcard in adb? tried googling it but none of the commands listed are working.
19th June 2014, 10:28 PM   |  #14  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,992
 
11,383 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by fredcorp6

No luck... do you know how to mount the sdcard in adb? tried googling it but none of the commands listed are working.

Have you tried adb pull /sdcard

That should get you everything on it. It'll take a long time

Sent from my Nexus 5 using XDA Free mobile app
19th June 2014, 10:30 PM   |  #15  
OP Senior Member
Thanks Meter: 63
 
382 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by jd1639

Have you tried adb pull /sdcard

That should get you everything on it. It'll take a long time

Sent from my Nexus 5 using XDA Free mobile app

Yea I have, and I get "0 files pulled. 0 files skipped".
19th June 2014, 10:38 PM   |  #16  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,992
 
11,383 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by fredcorp6

Yea I have, and I get "0 files pulled. 0 files skipped".

You're using cwm aren't you? Try adb pull /data/media. Or adb pull /data/media/0. Cwm is messed up on how it handles the file structure

Sent from my Nexus 5 using XDA Free mobile app
19th June 2014, 10:51 PM   |  #17  
OP Senior Member
Thanks Meter: 63
 
382 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by jd1639

You're using cwm aren't you? Try adb pull /data/media. Or adb pull /data/media/0. Cwm is messed up on how it handles the file structure

Sent from my Nexus 5 using XDA Free mobile app

Neither work! It would be massively helpful if you could go to a camera picture on your phone and lookup where it is actually stored? Then hopefully it will be the same on mine.
19th June 2014, 10:54 PM   |  #18  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,992
 
11,383 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by fredcorp6

Neither work! It would be massively helpful if you could go to a camera picture on your phone and lookup where it is actually stored? Then hopefully it will be the same on mine.

We tried that already. It's in /sdcard/DCIM/Camera

Sent from my Nexus 5 using XDA Free mobile app
19th June 2014, 11:20 PM   |  #19  
OP Senior Member
Thanks Meter: 63
 
382 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by jd1639

We tried that already. It's in /sdcard/DCIM/Camera

Sent from my Nexus 5 using XDA Free mobile app

I'm making progress! managed to get all my app data off the phone.

Originally when I did adb pull /data, it returned "0 files pulled, 0 files skipped".

Then I went into adb shell and mounted /data, exited adb shell, did the pull again and it worked!

So I'm close... all I need to know is the specific location of my pictures in the file system and I can do it.

Post Reply Subscribe to Thread

Tags
android toolkit, backup, usb debugging
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes