[Q] ADB Backup - Samsung Galaxy Nexus

I am an adb beginner and I would like to backup my GNex sdcard using adb and then pull sdcard backup from phone to PC. Could anyone steer me in the right direction w/ process and adb commands?

diver47591 said:
I am an adb beginner and I would like to backup my GNex sdcard using adb and then pull sdcard backup from phone to PC. Could anyone steer me in the right direction w/ process and adb commands?
Click to expand...
Click to collapse
[GUIDE] Full Phone Backup without Unlock or Root

Related

[Q] Temporary Nand Unlock

How do you gain temporary nand unlock? All i wanted to do is copy 2 files into the /system/xbin/bb which doesnt seem to work with root explorer despite super user permission, copy paste just wont work.
Any ideas how to copy paste these 2 files without going to full s-off? Would the adb method work? or any other apk that can do the job?
Thanks in advance for those who can help and any tips is very much appreciated.
In recovery with adb.
TheGhost1233 said:
In recovery with adb.
Click to expand...
Click to collapse
any links to it? a guide perhaps? thanks for the tip.
Make a nandroid before messing with the system partition.
Then:
Code:
adb remount
adb push <file_name> /system/xbin/bb
This is what i think it is just looking at the basic adb commands, here is some more info about moving stuff to the system partition.
TheGhost1233 said:
Make a nandroid before messing with the system partition.
Then:
Code:
adb remount
adb push <file_name> /system/xbin/bb
This is what i think it is just looking at the basic adb commands, here is some more info about moving stuff to the system partition.
Click to expand...
Click to collapse
btw, how do i get to adb with recovery?
You do know that adb is part of the android sdk and not some function/app on the phone?
To get adb working (i hope you already installed it) just boot in to recovery, connect the usb cable, and launch adb via command prompt or terminal.
TheGhost1233 said:
You do know that adb is part of the android sdk and not some function/app on the phone?
To get adb working (i hope you already installed it) just boot in to recovery, connect the usb cable, and launch adb via command prompt or terminal.
Click to expand...
Click to collapse
many thanks! i will try this tommorow.
Use the update.zip I attached in this thread, you don't need to worry about adb then.
http://forum.xda-developers.com/showthread.php?t=885506&page=2
Sent from my HTC Desire using XDA App
Ghettonine said:
many thanks! i will try this tommorow.
Click to expand...
Click to collapse
Ok I did my best, read alot about adb and followed some tips but I just cant seem to get these things working. I need a DETAILED step by step procedure.
I feel such a noob today, can anyone please help?
Basically, I just wanted to copy "ifconfig" and "route" from "/system/xbin" to "system/xbin/bb" and thats it! Im s-on by the way and dont want a full s-off just to copy paste 2 files.
I tried rebooting in recovery with adb and run some commands on "adb shell", many things came out and I have no idea what it ment.
Well many things came out is not such a great description. So i have no idea if something is wrong or something happened which you did not expect.
Boot again in to recovery and connect adb.
The type "adb devices" this should output something like:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT##########
If this does not happen you don't have a connection and most likely have driver issues (only if you are on windows). If you do get a connection next thing to do is mount the system partition as read/write. To do this type "adb remount".
The output should be "remount succeeded"
Next type "adb shell"
This should give "#" as output .
Since you know where the files are and where you want them to go type "mv /system/xbin/ifconfig /system/xbin/bb" and hit enter, you don't get any conformation about this. Next type "mv /system/xbin/route /system/xbin/bb"
To check if they go moved correctly type " ls /system/xbin/bb", now you should see the files listed.
Next type "exit" to end the adb shell.
Then type "adb reboot".
If this doesn't work you need to give more info about the errors you get or maybe someone else has a better description.
A completly other method is, if you are able to copy the files to your computer, useing the .zip mercianary linked to, just make sure the system/app folder is empty and that you make the system/xbin/bb folder and place the files in there. Then just follow the instructions.

[Q] Flash system over cmd

I just erased everything on my sdcard (emulated) and the system. The only things left are recovery and bootloader. I read about sideload but it doesn't work for me, because my adb doesn't act out the command (My adb version is 1.0.29). So how could I transfer the rom onto my not existing sdcard? (If I do adb push all it says is: "E: /sdcard/ : is a directory")
Please help me as quick as possible. Thanks!
Try pushing it to
adb push c:/rom_name.zip /data/media
Click to expand...
Click to collapse
acreatorius said:
I just erased everything on my sdcard (emulated) and the system. The only things left are recovery and bootloader. I read about sideload but it doesn't work for me, because my adb doesn't act out the command (My adb version is 1.0.29). So how could I transfer the rom onto my not existing sdcard? (If I do adb push all it says is: "E: /sdcard/ : is a directory")
Please help me as quick as possible. Thanks!
Click to expand...
Click to collapse
I managed it by downloading the factoryimage from google and flashing userdata.img, but thanks for the quick reply

[Q] Phone stuck in bootloop, how to copy data to computer

I recently flashed a new rom and got stuck in a bootloop. I use teamwin recovery. I'm planning on following the guide by efrant http://forum.xda-developers.com/showthread.php?t=1626895 but I want to copy all of my data to my computer. I can use adb commands and my phone shows up under adb devices. I tried searching for adb commands to copy files to computer but everything I found seems to be how to copy files to the phone.
I looked at another thread about using adb to backup but it appears that I need to have my phone on and running normally. http://forum.xda-developers.com/showthread.php?t=1420351
I used the command "adb pull /sdcard/clockworkmod" to try to recover my nandroid backups but I want to be able to pull everything off of my phone
I tried using the command "adb pull system" but it doesn't pull anything. Is their a way to pull everything from my phone and put it on my computer so I can eventually copy it back?
Thanks a bunch.
What exactly do you mean by all of your data / everything? Most of your data is stored on your sdcard anyway. There's not much you'd lose.
adb pull /sdcard/ ~/Desktop/ [as an example].
If you wanted ALL of your data, i.e. factory image backup, you should've done that before flashing a new rom.
You cannot pull /system as its protected and would need insecure adbd for that to work. You could try to dd entire partition blocks, but i don't see the point. Just flash a factory image.
P.S. If you're in a bootloop, you can use adb in your recovery.
How do I find where the backup goes? I did "adb pull /sdcard/"
I did have a nandroid backup but I want to make sure I get all of my files and music off just in case
you have to tell adb where you want the files to go. you only gave it one parameter.
http://developer.android.com/tools/help/adb.html
go read syntax.
Zepius said:
you have to tell adb where you want the files to go. you only gave it one parameter.[/url]
go read syntax.
Click to expand...
Click to collapse
So I want to make sure I read this right, if I type in "adb pull /sdcard/ G:\backup" then it should copy everything from my sdcard folder into my backup folder on G: right?
yes.
Zepius said:
yes.
Click to expand...
Click to collapse
Awesome, thanks for your help.

[Q] TWRP problem

I was just messing around with TWRP trying to flash a new ROM. I forgot to make a backup and wiped the internal storage + system (in other word I wiped everything) I have the files in my computer but I don't know how to access them since the computer can't recognize my device. Any suggestions? :crying:
You need to enter recovery and adb push the files to your sdcard. Open a command window where adb is located
Code:
adb push rom.zip/sdcard/
Thepooch said:
You need to enter recovery and adb push the files to your sdcard. Open a command window where adb is located
Code:
adb push rom.zip/sdcard/
Click to expand...
Click to collapse
Since the device can't be recognized I would try to search for the ADB drivers. This happened to me on my kindle fire hd 7" and the only way I could fix it was by doing "adb sideload filenamehere.zip" after going into Advanced > ADB Sideload.
Hope I could help!
I'm very grateful
thanks
you rock bro
Thepooch said:
You need to enter recovery and adb push the files to your sdcard. Open a command window where adb is located
Code:
adb push rom.zip/sdcard/
Click to expand...
Click to collapse
Im new to this world of tablets and all the commands and prompt, etc... but I thought that I would never solve my problem lol. I'm still a noob but
Thank you for all what you did for my kindle fire hd. I just wanna let people know you helped me unbrick my kindle ( you worked more than 4 hours to be exactly on my kindle) not many people in this forum would do that :good: and thanks to all the developers and mods you nailed it quite well on unbricking my kindle using the programs they have developed.
Editing the drivers so they could work on my machine (I live in El Salvador so my region is a problem when i try to install the drivers) was no easy quest and using teamviewer for letting you work was cool, but the best part is that you installed the cm10.1 by Hash which I had before bricking my device. You saved my kindle bro, thanks A LOT!!!!! I appreciate it. :victory:

[Q] Stuck on Google Boot screen, Can still access CWM. How to proceed?

Okay so my father was about to flash to my rom. We Wiped data, cache, delvik, and installed rom. Said it worked and rebooted the phone. Phone tossed us into the CWM again and we tried flashing again and it gives us error #7. Soooo, We did NOT make a backup and every time we try to reflash the rom it gives us error 7. We can't get the Phone to be detected by the computer so we can at least grab his data. The thing here is we can't afford to lose the data on the phone (I know, should have made a backup). Any advice on how to proceed would help significantly. I've never seen this kind of issue in my years of rooting android phones. It just sits at the Google screen and doesn't go anywhere.
Phone is Verizon Galaxy nexus running (was) MIUI
Update: Tried flashing back his previous rom (MIUI) and I'm getting the error 7 again. Even though that past rom worked perfectly. This is all very frustrating.
What data do you want to keep? Internal storage won't be wiped when flashing ROMs, and as for app data, contacts, SMS, etc, as long as you can enter CWM, you can pull them out of the phone with "adb pull".
Sent from Samsung Galaxy Nexus @ CM11
AndyYan said:
What data do you want to keep? Internal storage won't be wiped when flashing ROMs, and as for app data, contacts, SMS, etc, as long as you can enter CWM, you can pull them out of the phone with "adb pull".
Sent from Samsung Galaxy Nexus @ CM11
Click to expand...
Click to collapse
Well the problem is I don't have the Nexus adb installed onto the PC, so I can't connect to the nexus through USB. Can I install adb and everything without being in the rom? also I'm trying to get the Titanium backup folder and the photos.
If you can get into recovery, that means you can use adb. Just install the driver (if you are on Windows) and adb should work.
tonychau77 said:
If you can get into recovery, that means you can use adb. Just install the driver (if you are on Windows) and adb should work.
Click to expand...
Click to collapse
What's the command for pulling pictures and Titanium backup?
Hitmanthe3rd said:
What's the command for pulling pictures and Titanium backup?
Click to expand...
Click to collapse
adb pull [remote file] [local file]
You can pull the whole folder from your phone. The folder of Titanium Backup should be /sdcard/TitaniumBackup or something similar. For photos it is in /sdcard/DCIM
tonychau77 said:
adb pull [remote file] [local file]
You can pull the whole folder from your phone. The folder of Titanium Backup should be /sdcard/TitaniumBackup or something similar. For photos it is in /sdcard/DCIM
Click to expand...
Click to collapse
I tried to install ADB for Nexus and it failed and I ran into many roadblocks. Can you link me a W8 64bit guide I can follow?
Hitmanthe3rd said:
I tried to install ADB for Nexus and it failed and I ran into many roadblocks. Can you link me a W8 64bit guide I can follow?
Click to expand...
Click to collapse
I don't know much about those drivers because I use Ubuntu (just for my phone). But you can refer to this thread.
http://forum.xda-developers.com/showthread.php?t=1583801
tonychau77 said:
I don't know much about those drivers because I use Ubuntu (just for my phone). But you can refer to this thread.
http://forum.xda-developers.com/showthread.php?t=1583801
Click to expand...
Click to collapse
I got ADB installed but cannot get the pull command to work. It's adb /pull and it's in a 0 folder and then Titanium backup and in the Tina user folder . What would be the command?
Hitmanthe3rd said:
I got ADB installed but cannot get the pull command to work. It's adb /pull and it's in a 0 folder and then Titanium backup and in the Tina user folder . What would be the command?
Click to expand...
Click to collapse
"adb pull /storage/emulated/0/YOUR-DIRECTORY/YOUR-FILE C:\" or something like that.
Sent from Google Nexus 4 @ CM11

Categories

Resources