How can I backup my JB GN via USB - Samsung Galaxy Nexus

Hi mates, i've been trying to backup (to Windows 7) my JB GN via USB (MTP) unsucesfully, suddenly the backup process just shut itself and when I tried to backup via AirDroid just takes forever.
Is there an app or a way to backup my GN to my PC, the entire /sdcard content, my GN is not rooted.
Thanks in advance.
Enrique.

Piece by piece.
Or:
Code:
adb pull /data/media/ /SDCARD/
This will backup your SDcard to a SDCARD folder on your C:\ drive.

Well, I have installed JDK 7, Android SDK, downloaded tools for USB and set the $PATH env on Control Panel, yet I dont manage to get the 'adb' prompt from windows cmd, is there anything I'm missing or should I do an adiccional steps?
Thanks.
Jubakuba said:
Piece by piece.
Or:
Code:
adb pull /data/media/ /SDCARD/
This will backup your SDcard to a SDCARD folder on your C:\ drive.
Click to expand...
Click to collapse

[SOLVED] How can I backup my JB GN via USB
After installing the afore mentioned software, I closed the previously oppened windows prompt (duh! my fault!), created the folder 'SDCARD' in C: drive, and afterwards I executed the following command from the promt:
Code:
adb pull /storage/sdcard0/ /SDCARD/
Which from Astro File Manager I see its the location of my data; currently as I write I see the backup working.
SpecRek9 said:
Well, I have installed JDK 7, Android SDK, downloaded tools for USB and set the $PATH env on Control Panel, yet I dont manage to get the 'adb' prompt from windows cmd, is there anything I'm missing or should I do an adiccional steps?
Thanks.
Click to expand...
Click to collapse

Well, after proceeding as mentioned above I now check the sizes of my backup and of the sdcard0 partition at my GN and they are almost 1.4GB different, what does this mean? It's because of the 'formatting' space reduced (not sure if my english can explain what I meant) or what can it be?
Thanks all for your replies.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Related

[Q] adb.exe stopped working after upgrade sdk

hello every1
first i will give u info about me:
phone: DHD
rom: Revolution HD 1.9.3
windows 7 x64
eclipse Helios 32bit
JDK 32bit
everything was working perfectly, until the latest update to 2.3 SDK, which kept crashing the adb over and over. i dont know what is the problem
Edit: it's like there error in this post http://forum.xda-developers.com/showpost.php?p=9830639&postcount=1684 but no one gave him an answer
I'm no expert, but from looking at the attached post it looks like the DHD is rejecting ADB connection attempts & commands.
Can you confirm that USB Debugging is enabled? Also the others users were using Eclipse which they said "kills the adb.exe". Could you try to run ADB without Eclipse running.
Failing any of this, you could update to Android Revolution HD 2.0.1
andyharney said:
I'm no expert, but from looking at the attached post it looks like the DHD is rejecting ADB connection attempts & commands.
Can you confirm that USB Debugging is enabled? Also the others users were using Eclipse which they said "kills the adb.exe". Could you try to run ADB without Eclipse running.
Failing any of this, you could update to Android Revolution HD 2.0.1
Click to expand...
Click to collapse
the USB Debugging is enabled, the problem started after i installed Revultion Rom and upgraded the SDK to 2.3, so i dont know what really caused it
even if i used the command line with the phone(without eclipse) adb.exe crashes.
i just tried the comand adb install .......
and the server crashed many times before actually installing it
just upgraded to 2.0.1 and still the same problems exist
Just a quick check, you do know that adb.exe has been moved in the new SDK update. It's now located in SDK\platform-tools not SDK\tools.
andyharney said:
Just a quick check, you do know that adb.exe has been moved in the new SDK update. It's now located in SDK\platform-tools not SDK\tools.
Click to expand...
Click to collapse
Yes sir, i know that
if this could help
when i enter the adb shell mode and type the ls command, i get weird names
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[MOD] Star Wars notification bar.

I have created a collection of Star Wars notification bars for anyone to use.
Instructions
rename the selected light saber file to "statusbar_background.9.png"
You must have the Android SDK Components installed.
1. Go to Settings > Applications > Development and check the USB Debugging box
2. Connect your SGS via USB to your computer. Do not mount in Mass Storage Mode!
3. Copy a Command Prompt Window (for Windows 7 go to Start > Search > Type CMD and right click - copy it) in the android-sdk-windows\tools folder so you don't have to type all those "cd" commands and open it. Else type cd android-sdk-windows (or whatever the folder is named) and cd tools to get there
4. Type adb pull /system/framework/framework-res.apk
5. In the \tools folder you'll find the framework-res.apk file extracted from SGS's system. Create a backup first!!! Right click on it, select Open (or Open With) and point to WinRar or an similar archiving program
6. When opened, browse in the archive for the \res\drawable-hdpi folder
7. Drag and drop the files from the .zip attached here in the \drawable-hdpi folder and close the archive
8. Go back to the CMD window and type adb push framework-res.apk /system/framework/
9. Reboot
Yodo
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Obi-Wan Kenobi TPM
Obi-Wan Kenobi ANH
Mace Windu
Luke Skywalker ROJ
Luke Skywalker ANH ESB
Ki Adi Mundi
Gui-Gon Jinn
Darth Vader
Darth Maul
Screen shot with darth vader notification
Instructions thanks to loinenavant
Zip file with all of them in.
first set of bars
notifications part two
third post for my use
Looks nice
tasgr86 said:
Looks nice
Click to expand...
Click to collapse
Thank you if you use one post a screen shot
Sent from my GTI-9000 Using that XDA app thingy

[Windows][ADB] Easy way to backup & restore your apps

You need adb to run these files !
Download Android SDK , adb is one of its components.
Also you will need to have USB Debugging enabled on your phone and adb drivers instaled on PC.
( Many of you may already know that you can backup your applications in a nexus device through cmd commands. )
Feature is included in all roms and with one command you backup or restore all your apps.
Although it is easy i got tired of checking/writing the command everytime i need it.
So i made 2 ".bat" files to make my life easier.
It's a Windows executable file which runs the command with one click.
Just put the bat files in your user folder ( cmd default folder ) and double-click to backup/restore ur apps.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
denpeirazei said:
Most of you already know that you can backup your applications in a nexus device through cmd.
Feature is included in all roms and with one command you backup or restore all your apps.
Although it is easy i got tired of checking/writing the command everytime i need it.
So i made 2 ".bat" files to make my life easier.
It's a Windows executable file which runs the command with one click.
Just put the bat files in your user folder ( cmd default folder ) and double-click to backup/restore ur apps.
Click to expand...
Click to collapse
Cool man.. and thanked you.
You made my ass more laaaazzzzyyyy..
Also can u please make it work on Win7 versions. :good:
you can also use airdroid with usb tether or wifi, and snappea
Rohit02 said:
Cool man.. and thanked you.
You made my ass more laaaazzzzyyyy..
Also can u please make it work on Win7 versions. :good:
Click to expand...
Click to collapse
It works in any windows version.
I usually add the -shared flag as well to b/u sd card contents.
ADB b/u is a great tool indeed.
thanks for this man...
BTW I made this simple batch file to install apk from windows pc using the command :
Code:
adb install <name of apk>
just drag and drop the apk on this install.bat file... make sure that install.apk is in the same folder as that of adb..
this might make your life even more easier..

[SOLVED] ADB Devices Unauthorized

I am trying to get rid of this extremely buggy and heavy, Asus Zen software, on my ZE551ML, and replace it with something else, but I'm running into walls, everywhere I go. First, in ADB, I get
Code:
List of devices attached
F6AZFG14H361 unauthorized
I have tried clicking Revoke USB debugging authorizations, but that didn't help anything. I tried restarting ADB, didn't work. I know those are supposed to be the steps, but they aren't working, for me.
I am on ROM ww_2.20.40.174. Has anyone else had this problem?
Your device should prompt you to authorize the PC you're connecting with. You need to watch for it to pop up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kid_Ding said:
Your device should prompt you to authorize the PC you're connecting with. You need to watch for it to pop up.
Click to expand...
Click to collapse
It never gives me this popup. It "sees" the device, but never asks to add the fingerprint.
All of this assumes your Zenfone 2 is being recognized by the computer, running the command:
Code:
lsusb
Bus 003 Device 015: ID 0b05:5601 ASUSTek Computer, Inc.
If it is not, you have another problem. If it is being recognized, continue.
[SOLUTION BELOW]
Ubuntu 14:
Kill the ADB server.
Code:
adb kill-server
In the user's profile, look for a folder called .android. The folder may be hidden or owned by root. If the folder is owned by root, run these commands with the sudo prefix or sudo -s to promote to the root user.
Code:
ls -la
drwxr-x--- 2 root root 4096 Mar 21 10:24 [COLOR="Blue"].android[/COLOR]
Rename the folder to .android.old.
Code:
mv .android .android.old
Remove the USB debugging authorizations, on your phone, in developer options.
Restart the ADB server
Code:
adb start-server
If your usb is still plugged in, it should pop up the dialog to add the RSA fingerprint. Do so.
Check to see if the phone is recognized.
Code:
adb devices
List of devices attached
F6AZFG14H361 device
Thanks for the help.
help
excuse me, i am in the same situation, but my phone is stuck on recovery screen , i need a code to authorize it through adb only (( , any help???

[GUIDE] Use TWRP through ADB Shell

Dear user, we hereby say that any damage or brick created by following this guide shall not give any fault on us. The requirements for this procedure are clarified and we take no responsibility for bad usage of this.
Click to expand...
Click to collapse
Dear XDA community,
Straight from the efforts of user @LastStandingDroid, here's a way to flash a zip file or some other operation in TWRP if you cant access some part of the touch screen due to it being broken and not detecting touch, for example.
Requirements:
A toaster wich can run Windows, MacOS or Linux. (joking on toaster part)
ADB Drivers (if needed, you can find something here) - this link is only for windows users.
TWRP installed (follow this guide for installation)
Minimal command knowledge
We will use as example, a flash of a zip file to get root on a Umidigi Z Pro:
Open command prompt;
From here, change directory to ADB Directory (cd path/to/adb)
Now type "adb shell twrp install path/to/zip", being the part path/to/zip the actuall path to the zip file you want to flash;
At this point, you should get a screen where every step of the flashing process will be shown, just like when flashing through TWRP. And that's it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
All of them goes to @LastStandingDroid and @gersp for his tutorial thread.
Now lets heat up things...​
atarii said:
Atarii:
that handy to know
Click to expand...
Click to collapse
And I certainly agree with his statement (telegram) while there was almost no info about how to flash zip trough adb and the echo update command did seem to fail. Or maybe I did wrong I don't know. I find this great if the echo command fails
This made my root come back when something broke it
Sent from my GT-I9505 using Tapatalk
I have access to a super primitive recovery mode, in which twrp doesn't seems to boot.
When I use
# twrp anycommand
I get:
TWRP does not appear to be running. Waiting for TWRP to start . . .
Press CTRL + C to quit.
Is there a way to "start" twrp from adb shell ?
It's worked on my PH-1,thank u so much

Categories

Resources