Hey, folks.
I have been experimenting on how to make an easy backup of my apps when installing different (alternate) ROMs, and I tried to use the method that Fabolous uses, but my DROID doesn't seem to like that method at all.
Not.
One.
Bit.
So, I remembered some instructions that I saw earlier, in another thread, on how to edit the color of fonts and such in your system, and I thought "Yanno, that push / pull can be very very useful if I can figure it out." So, I played around with some trial and error, and got it working.
Now, with my system, I have edited the System PATH environment variable to include the full path to my Android SDK tools directory, so I can simply run adb commands from the run dialog (like
and
so if you need help with doing that, then I'll make another post about it (although the rooting FAQs should contain all of that info).
So, without further ado, here goes.
Step 1: Preparation:
First of all, you want to open a cmd prompt. It doesn't necessarily matter where you open it b/c you'll probably need to create a directory to host all your apps on you machine. For instance, I have a folder in my Downloads directory called Android, where I store all of my alternate ROMs, apps list, and even kernels, default ROMs, and the SBF emergency recovery file. So, upon opening the cmd prompt, I change drives and then cd to the appropriate directory, like so:
Note: if you have no need to change to a different hard drive, then you skip the first command, and the second command you use whatever directory structure you have on your machine.
Now, if you want to backup your apps from the DROID to your computer, keep reading. If you already have your apps backed up, skip down a section to restore them to your DROID.
Step 2a: Copying from DROID to computer:
Now, here comes the magic. To backup your apps up from phone to local machine directory, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Et voila! - your apps are backed up.
Step 2b: Copying from DROID to SDCard:
To backup your apps up from DROID to the SDCard, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Et voila! - your apps are backed up.
Step 2c: Copying from computer to DROID:
This is just as easy. I am assuming you have already done the preparation step - if not, do it, b/c you'll need it.
To restore your apps up from local machine directory to your DROID, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Et voila! - your apps are restored to your DROID.
Step 2d: Copying from SDCard to DROID:
I am assuming you have already done the preparation step - if not, do it, b/c you'll need it.
To restore your apps up from SDCard to your DROID, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Et voila! - your apps are restored to your DROID.
At this point, I highly recommend that you reboot your DROID. Fortunately, you can easily accomplish this as well. In the cmd prompt window, type
and watch your phone reboot (if you receive an error message like
but the DROID reboots anyway, ignore it).
HTH those of you who are CL / KB junkies like me.
I have been experimenting on how to make an easy backup of my apps when installing different (alternate) ROMs, and I tried to use the method that Fabolous uses, but my DROID doesn't seem to like that method at all.
Not.
One.
Bit.
So, I remembered some instructions that I saw earlier, in another thread, on how to edit the color of fonts and such in your system, and I thought "Yanno, that push / pull can be very very useful if I can figure it out." So, I played around with some trial and error, and got it working.
Now, with my system, I have edited the System PATH environment variable to include the full path to my Android SDK tools directory, so I can simply run adb commands from the run dialog (like
Code:
adb reboot
Code:
adb reboot recovery
So, without further ado, here goes.
Step 1: Preparation:
First of all, you want to open a cmd prompt. It doesn't necessarily matter where you open it b/c you'll probably need to create a directory to host all your apps on you machine. For instance, I have a folder in my Downloads directory called Android, where I store all of my alternate ROMs, apps list, and even kernels, default ROMs, and the SBF emergency recovery file. So, upon opening the cmd prompt, I change drives and then cd to the appropriate directory, like so:
Code:
d:
cd \Downloads\Android\Apps
Note: if you have no need to change to a different hard drive, then you skip the first command, and the second command you use whatever directory structure you have on your machine.
Now, if you want to backup your apps from the DROID to your computer, keep reading. If you already have your apps backed up, skip down a section to restore them to your DROID.
Step 2a: Copying from DROID to computer:
Now, here comes the magic. To backup your apps up from phone to local machine directory, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
Code:
adb pull /data/app .
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Code:
101 files pushed. 0 files skipped.
982 KB/s (69053529 bytes in 68.611s)
Step 2b: Copying from DROID to SDCard:
To backup your apps up from DROID to the SDCard, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
Code:
adb pull /data/app /sdcard/{insert your directory name here}
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Code:
101 files pushed. 0 files skipped.
982 KB/s (69053529 bytes in 68.611s)
Step 2c: Copying from computer to DROID:
This is just as easy. I am assuming you have already done the preparation step - if not, do it, b/c you'll need it.
To restore your apps up from local machine directory to your DROID, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
Code:
adb push . /data/app
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Code:
101 files pushed. 0 files skipped.
982 KB/s (69053529 bytes in 68.611s)
Step 2d: Copying from SDCard to DROID:
I am assuming you have already done the preparation step - if not, do it, b/c you'll need it.
To restore your apps up from SDCard to your DROID, connect your phone via the USB cable (no need to mount the SDCard) and type the following command (su is not needed):
Code:
adb push /sdcard/{insert your directory name here}/ /data/app
You should see a lot of frenzied activity as it copies all of your apps to your local HD.
As soon as the copying is finished, you should see something like this:
Code:
101 files pushed. 0 files skipped.
982 KB/s (69053529 bytes in 68.611s)
At this point, I highly recommend that you reboot your DROID. Fortunately, you can easily accomplish this as well. In the cmd prompt window, type
Code:
adb reboot
Code:
error: protocol fault (no status)
HTH those of you who are CL / KB junkies like me.