Backup via ADB? - Nexus 4 Q&A, Help & Troubleshooting

Hey everyone
My Nexus 4 screen cracked, I'm sending it to LG for repair, they explained it will be factory wiped.
Before i send it, can someone explain to a n00b how I can back up my phone's data? I can't use the phone at all, the digitizer is cooked.
Thank you!
Sent from my Nexus 7 using xda premium

For the SD card, use adb pull. Your apps should be backed up with your Google account
Please disregard typos.... Sent from my NeXuS 4

Read here. 2nd post. http://forum.xda-developers.com/showthread.php?p=34744848
Sent from my Nexus 4 using xda premium

El Daddy said:
Read here. 2nd post. http://forum.xda-developers.com/showthread.php?p=34744848
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
When I get home, I will look into this. Thank you,!
Sent from my LG-P999 using xda premium

New Jer-Z said:
When I get home, I will look into this. Thank you,!
Click to expand...
Click to collapse
Note that adb backup can be unreliable. I suggest making several types of backups--with APK, without APK, with system, without system, etc. Because you don't know which one will restore properly. Also do the more traditional backups, like SMS backup.

fenstre said:
Note that adb backup can be unreliable. I suggest making several types of backups--with APK, without APK, with system, without system, etc. Because you don't know which one will restore properly. Also do the more traditional backups, like SMS backup.
Click to expand...
Click to collapse
Truthfully, i'm interested in saving my pictures - everything else is salvageable.

New Jer-Z said:
Truthfully, i'm interested in saving my pictures - everything else is salvageable.
Click to expand...
Click to collapse
That's easy if they're in /sdcard/DCIM. ADB could theoretically back up your photos ("adb backup -shared"), but I wouldn't trust something so important to a tool that didn't appear quite reliable when I tested it.

fenstre said:
That's easy if they're in /sdcard/DCIM. ADB could theoretically back up your photos ("adb backup -shared"), but I wouldn't trust something so important to a tool that didn't appear quite reliable when I tested it.
Click to expand...
Click to collapse
I appreciate the input!
I totally just realized, I can just plug my phone into the computer and copy and paste. The phone works - the screen just won't register touches. Very silly of me!

Related

Question about the internal storage and ROM flashing

Hey guys, long time rooted/android user here, I am about to get my Nexus 7 on Monday, and I just had a couple of questions. First, since there is no external storage, when you wipe the device to flash different ROMS, does it wipe EVERYTHING? Like, say I have 250mb's of downloaded data for a game...idk say, Dungeon Defenders, I know that when you typically wipe a device, it wipes everything, but will it still wipe that data? Basically, what I am trying to say is, after each wipe/install, will I have to redownload all of that extra data from the game again? That seems like a super big pain in the ass. Hopefully that isn't the case because I don't want to spend 3 hours redownloading data for games after each new flash lol
No. When you unlock for the first time, it cleans out everything... so do that asap before getting cozy.
CWM is designed to leave your storage folder alone. So wiping and flashing won't touch anything saved.
Sent from my Nexus 7 using xda premium
player911 said:
No. When you unlock for the first time, it cleans out everything... so do that asap before getting cozy.
CWM is designed to leave your storage folder alone. So wiping and flashing won't touch anything saved.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Sweet! Thanks for the info. The first thing I do when I get a new android device is root it haha. I have heard that you shouldn't use the toolkit with the device though, is that true?
No, at leat in cwm, it wipes everything not in the sdcard partition, so if you keep any nandroids, or app data in that partition, you'll be fine
Sent from my Nexus 7 using xda app-developers app
oshizzle1991 said:
Sweet! Thanks for the info. The first thing I do when I get a new android device is root it haha. I have heard that you shouldn't use the toolkit with the device though, is that true?
Click to expand...
Click to collapse
The toolkits work fine most of the time. Its just always good to learn how to do things through commands in case the toolkits, or anything regarding your nexus has an issue
Sent from my Google Nexus 7 using XDA Premium HD app
clintkev251 said:
The toolkits work fine most of the time. Its just always good to learn how to do things through commands in case the toolkits, or anything regarding your nexus has an issue
Sent from my Google Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Yeah I understand. I know my way around ADB so honestly for me, it is whatever way is fastest and gives me the least heartburn. I have heard that users start to have issues after the first day with the device, so I will hold off for a day before I root it, just to be sure

Help I Deleted My Pictures By Mistake

I accidentally formatted my galaxy tab 10.1 and lost all of my pictures and videos
Is there any way of getting them back?
Cheer's Brian
It's probably safe to say that all of your files are indeed gone, unfortunately.
This is why backing up is so crucial. Now, unless you've made a recent nandroid or had some sort of app installed that automatically backs up your photos/videos/media what have you (dropbox, Google photos etc), then you can retrieve those files.
But if not, then just take this as a lesson and learn from it.
Sent from my SGH-T999 using xda app-developers app
Have not tried this myself on my tab but I did on my HTC Desire HD after deleting my daughters grad pics and it worked got them all back, recuva from Piriform http://www.piriform.com/recuva connect your tablet and scan it.
Good luck!
Sent from my GT-P7510 using xda premium
Oh not looking good then!
I have read that if i root my tab i may be able to recovery the pictures?
What is rooting? is it hard to do?
Brian
Rooting is not do difficult, you want to search for your specific device model. Then you could use an app like
https://play.google.com/store/apps/details?id=fahrbot.apps.undelete&feature=search_result#?t=W251bGwsMSwxLDEsImZhaHJib3QuYXBwcy51bmRlbGV0ZSJd
eejimen said:
Rooting is not do difficult, you want to search for your specific device model. Then you could use an app like
https://play.google.com/store/apps/details?id=fahrbot.apps.undelete&feature=search_result#?t=W251bGwsMSwxLDEsImZhaHJib3QuYXBwcy51bmRlbGV0ZSJd
Click to expand...
Click to collapse
Thanks mate, will have a look
You from Rayleigh Essex?
Brian

[Q] Accidently formatted sd card ... on CWM

My heart litterally stopped at that point .. What can i do to get it back? ... never again CWM even if i enjoy it.. right now im enjoying team win recovery more... Anyone can help get me bak my data? MY MUSIC PROJECT WAS INSIDE!!!
NExt time ill back up if i really cant get it bak
lokenok said:
My heart litterally stopped at that point .. What can i do to get it back? ... never again CWM even if i enjoy it.. right now im enjoying team win recovery more... Anyone can help get me bak my data? MY MUSIC PROJECT WAS INSIDE!!!
NExt time ill back up if i really cant get it bak
Click to expand...
Click to collapse
It's not CWM's fault! It's your own stupidity! There is no such a thing as accidentally formatting! Your music project is gone for good...
Sent from my Nexus 4 using xda premium
i mean but on cwm the format sd data is ever so close to fomat system and other stuff no way of getting it back?
lokenok said:
i mean but on cwm the format sd data is ever so close to fomat system and other stuff no way of getting it back?
Click to expand...
Click to collapse
No its all gone now.
Sent from my Nexus 4 using xda premium
If this project was so important to you why didn't you back it up off of the phone somewhere? Dropbox or the free 50GB Box account most got with the Nexus 4 come to mind. I'm not sure if a full nandroid backup includes the contents of the sdcard on the nexus 4 but that might be a place to start looking, that is if you ever bothered to do a full backup of your phone.
You can get your files back, the same thing happened to me, my pocket somehow formatted my sdcard. Look for software that recovers deleted files
Sent from my SGH-T999 using xda premium
kzoodroid said:
I'm not sure if a full nandroid backup includes the contents of the sdcard on the nexus 4
Click to expand...
Click to collapse
It doesn't.
inf3rno1 said:
You can get your files back, the same thing happened to me, my pocket somehow formatted my sdcard. Look for software that recovers deleted files
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Why not share that precious secret then..? What is the point of your post unless you share the name of that software..???
Difficult to understand xda sometimes..
OP try this method. http://forum.xda-developers.com/showthread.php?t=1994705
Sent from my Nexus 4 using Tapatalk 4 Beta
tried that method but it hangs when making the image file..
Vangelis13 said:
It doesn't.
Why not share that precious secret then..? What is the point of your post unless you share the name of that software..???
Difficult to understand xda sometimes..
Click to expand...
Click to collapse
What secret? I said there is software that recovers deleted files. Have you heard of Google? Search for software that recovers deleted files and voila, you'll have your dats back. There are hundreds of programs that can handle your problem.
Sent from my SGH-T999 using xda premium
lokenok said:
My heart litterally stopped at that point .. What can i do to get it back? ... never again CWM even if i enjoy it.. right now im enjoying team win recovery more... Anyone can help get me bak my data? MY MUSIC PROJECT WAS INSIDE!!!
NExt time ill back up if i really cant get it bak
Click to expand...
Click to collapse
I don't know if it works for our phones, but I accidentally formatted an external hard drive before and used the Easeus data recovery wizard software. It recovered everything. Worth a shot
Sent from my Nexus 4 using xda premium
That happened to me on TWRP. I am glad I had a backup on my Google Drive so I could just redownload
Sent from my Nexus 4 using Tapatalk 2
inf3rno1 said:
What secret? I said there is software that recovers deleted files. Have you heard of Google? Search for software that recovers deleted files and voila, you'll have your dats back. There are hundreds of programs that can handle your problem.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
No offence but he could've searched on Google without anyone telling him to. that's why people come here on xda to get help from fellow members.. what's the point of replying if someone asks for help here and in reply what he all gets is 'go search Google'..
Sent from my Nexus 4 using xda premium
Sak3ater said:
No offence but he could've searched on Google without anyone telling him to. that's why people come here on xda to get help from fellow members.. what's the point of replying if someone asks for help here and in reply what he all gets is 'go search Google'..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
XDA also encourages users to search for answers before asking for help. This place is for learning new things and expanding current knowledge. People won't really learn if they're spoon fed what they want to know.
Sent from my Nexus 4 using xda premium
Sak3ater said:
No offence but he could've searched on Google without anyone telling him to. that's why people come here on xda to get help from fellow members.. what's the point of replying if someone asks for help here and in reply what he all gets is 'go search Google'..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Boy do you have it wrong. XDA is not a place to come and get help. IT is not a support site. This is a developers site. You are EXPECTED to put in the time and effort to fix your own issues first. Then spend some time searching. (and do search outside your own devices forum) Then you try some things you have seen. If that doesnt work then you can post a thread but dont expect a solution.
inf3rno1 said:
What secret? I said there is software that recovers deleted files. Have you heard of Google? Search for software that recovers deleted files and voila, you'll have your dats back. There are hundreds of programs that can handle your problem.
Click to expand...
Click to collapse
I'd love to here about the hundreds of software that recovers deleted files from MTP devices (MTP is not direct hardware access like plugging a flash drive into your computer)
espionage724 said:
I'd love to here about the hundreds of software that recovers deleted files from MTP devices (MTP is not direct hardware access like plugging a flash drive into your computer)
Click to expand...
Click to collapse
So you mean the software like PC Inspector or Recuva or any other file recovering software will not work on our Nexus 4..??
once i deleted my photos from my old desire HD and i recovered it using PC inspector...now Nexus does not have SD card so i am not sure weather that will work or not..
ramkumar2000 said:
So you mean the software like PC Inspector or Recuva or any other file recovering software will not work on our Nexus 4..??
once i deleted my photos from my old desire HD and i recovered it using PC inspector...now Nexus does not have SD card so i am not sure weather that will work or not..
Click to expand...
Click to collapse
I haven't tested such software, and I could be wrong, but when you connect (most) newer Android devices to a computer, you get access to the files via MTP. You don't have direct access to the filesystem (which I think is ext4), and because of this, you can't do the "advanced" stuff needed for file recovery (I guess checking sectors, free space, and etc.)
Older (and some newer) Android devices when hooked to a computer let you do USB Mass Storage (essentially the same kind of access you have when you plug a flash drive in), which is giving you direct access to the file system (FAT32), and in-theory, should work fine with file recovery software.
so can we mount the nexus 4 as fat32 or ext4? because on mine it just shows up in device section with no name

[Q] Girlfriend's S4 sent up for repair ... will all data be deleted?

Hello everyone
My girlfriend has sent her S4 up for repair because apparently it wouldn't power up anymore, (I Couldn't help and try to fix it due distance and no one really in her family knows how to fix things such as...) so after going to a store they sent it up for repair. She got the SD out of it.
I was wondering how they do it at Samsung, she had the SD card in all the time while using it daily, and had Google+ logged in.
But there are no photo's on her Google+ and she doesn't know about her SD yet.
So the big question is : Will she lose her data, and 5000(+) photo's?!
Kindest regards.
Siem
They will still be in her dropbox account!.
theunderling said:
They will still be in her dropbox account!.
Click to expand...
Click to collapse
Dropbox? I don't think she mentioned having that setup..
Is your phone traceable
I mean that did you turn on the backup setting on the settings menu
Sent from my Opal 800 using xda app-developers app
KIBS2173 said:
Is your phone traceable
I mean that did you turn on the backup setting on the settings menu
Sent from my Opal 800 using xda app-developers app
Click to expand...
Click to collapse
I do not mean to talk bad about her but she isn't the best with Technology, so if it isn't standard turned on then sadly I don't think so, no.
If her photos are saved on the internal storage then yes, it would probably be gone. The service center guys will always highlight to you if data will be gone
Sent from my GT-N7105 using XDA Premium 4 mobile app
siemz said:
Dropbox? I don't think she mentioned having that setup..
Click to expand...
Click to collapse
My moneys on they wipe the phone.If stuff on the phone is important she should back up her stuff to dropbox or mega.
Its the same scenario shes in as if she lost the phone.
When it doesn't boot anymore they replace the whole sdcard most of the time.
If it's an external sd card they won't touch it, if you're talking about the internal then it's most likely wiped
siemz said:
Hello everyone
My girlfriend has sent her S4 up for repair because apparently it wouldn't power up anymore, (I Couldn't help and try to fix it due distance and no one really in her family knows how to fix things such as...) so after going to a store they sent it up for repair. She got the SD out of it.
I was wondering how they do it at Samsung, she had the SD card in all the time while using it daily, and had Google+ logged in.
But there are no photo's on her Google+ and she doesn't know about her SD yet.
So the big question is : Will she lose her data, and 5000(+) photo's?!
Kindest regards.
Siem
Click to expand...
Click to collapse
The most probally answer is: yes, she will lost everything.
Same answer she will lose everything
Sent from my Opal 800 using xda app-developers app

[Q] Broken screen, how can I make a backup?

I dropped my G2 and unfortunately, the screen broke. The touchscreen only works in certain areas, so even when I can get into TWRP, I can't use it to make a backup. Here's the thing; I want to back up everything. Does anyone have any recommendations on how I can do this?
Can't you reboot it into TWRP and then use adb to pull the data partition from your phone?
Sent from my LG-D802 using XDA Premium 4 mobile app
vPro97 said:
Can't you reboot it into TWRP and then use adb to pull the data partition from your phone?
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Just tried that. For some reason, adb isn't working on this PC quite right. This problem with my phone is one of many I've been having with all my computers as of late. I'm getting kind of sick of it
When I broke my screen I used USB OTG with a keyboard/mouse. My newest Logitech with a Unifying receiver didn't work but an older one did just fine.
Perhaps there's an app I can use? I really don't want to go out and buy something I'll only use once; I just want a simple straightforward solution.
alligator_fight said:
Perhaps there's an app I can use? I really don't want to go out and buy something I'll only use once; I just want a simple straightforward solution.
Click to expand...
Click to collapse
LG PC software has an option called on-screen phone. I used it once with my optimus G with similar issues. It takes control of you phone through wifi.

Categories

Resources