Results 1 to 7 of 7
02-13-2012, 04:13 AM #1
- Join Date
- Jul 2008
[TUTORIAL] How to Copy your Android Apps Folder
i was cleaning my comp and found this tut i wrote but forgot to post. enjot!
Copying your apps folder
if you need or want to copy your apps off your phone to back them up or send to a friend here's what you need to do. *NOTE: this will not work for copying system-required apps. this is only for apps you have downloaded from the android market.
ADB METHOD (phone->computer)
**NOTE: your phone must be hooked up via usb to your computer and you need to enable debugging from the settings menu.
1. this SHOULD work on a non-rooted phone . Im not 100% sure cuz i have no way to test on a non-rooted phone, but i do know that u can sideload apps via adb on a non-rooted phone using the adb PUSH and PULL commands, so this may work.
2. create this directory (thats a fancy word for folder for u stupid asses): c:\appdump (or whatever u want to call it, just substitute that directory name
3. click START->RUN then type CMD in the 'open' field. This is for XP users. If youre using another system, find a way to open the dos terminal.
4. you need to now know where u installed adb.exe to (hopefully on the c:\ root directory. So lets assume you installed the adb program into the directory c:\android...if not then enter [drive letter]:\FOLDER\_WHERE\_I_\INSTALLED\_ADB instead of whats given.
NOTE: if youre unsure about anything from this step on, you need to go learn about adb, the android debugging bridge.
5. enter the command "c:\android\adb pull /data/app c:\appdump"
6. check the folder for your apps.
TERMINAL METHOD (no computer needed)
1. You MUST have your phone rooted.
2. Open up, or download and open a TERMINAL EMULATOR on your phone
3. you will see a ? prompt meaning you do not have superuser permissions. so tyle the command 'su' and hit enter, then prompt should change to a '#'. IF THIS DOES NOT WORK YOUR PHONE IS NOT ROOTED.
4. enter the command 'mkdir /sdcard/appdump'
5. enter the command 'cp -r /data/app/* /sdcard/appdump'
6. done. after a min or so check the folder on your sdcard called appdump and all your downloaded .apk files will be in there.
02-13-2012, 09:55 AM #2
Great tutorial, man! Seems simple enough for everyone to understand.
Added to the List of Threads in the Smartphone Forum.
02-15-2012, 04:57 PM #3
Yo dawg, I heard you like Gnu/Linux commands, so i put GNU/Linux commands in your sh script so you can execute GNU/Linux commands while you execute an sh script.
A little script I just made :
#!/bin/sh if [ "$1" == f ]; then rsync -rtv /data/app/ /sdcard/AppBackup/ --progress --human-readable exit elif [ "$1" == u ]; then rsync -urtv /data/app/ /sdcard/AppBackup/ --progress --human-readable exit else echo "usage: sh $0 [OPTION]" echo " -f Full update." echo " -u Only update new apks or an updated apk." exit fi
How to use :
- Put the script in /sdcard/
- Open Terminal emulator, cd /sdcard/ and run ( Assuming you name the script "bla" ) :
Using the first option :
$ id uid=10063(app_63) gid=10663(app_63) groups=1015(sdcard_rw),3003(inet) $ sh bla f sending incremental file list created directory /sdcard/AppBackup ./ com.eolwral.osmonitor-1.apk 190.40K 100% 7.91MB/s 0:00:00 (xfer#1, to-check=17/19) com.estrongs.android.pop.cupcake-1.apk 1.36M 100% 10.43MB/s 0:00:00 (xfer#2, to-check=16/19) com.googlecode.droidwall.free-1.apk 275.20K 100% 1.55MB/s 0:00:00 (xfer#3, to-check=15/19) com.nemesis2.luksmanager-1.apk 829.54K 100% 2.88MB/s 0:00:00 (xfer#4, to-check=14/19) com.nolanlawson.logcat-1.apk 238.83K 100% 733.42kB/s 0:00:00 (xfer#5, to-check=13/19) com.overlook.android.fing-1.apk 554.23K 100% 1.41MB/s 0:00:00 (xfer#6, to-check=12/19) com.privacy.pdroid-1.apk 88.45K 100% 209.15kB/s 0:00:00 (xfer#7, to-check=11/19) com.socialnmobile.dictapps.notepad.color.note-1.apk 400.95K 100% 776.88kB/s 0:00:00 (xfer#8, to-check=10/19) de.schaeuffelhut.android.openvpn-1.apk 130.92K 100% 236.76kB/s 0:00:00 (xfer#9, to-check=9/19) de.trier.infsec.koch.droidsheep-1.apk 291.11K 100% 485.12kB/s 0:00:00 (xfer#10, to-check=8/19) jackpal.androidterm-1.apk 239.75K 100% 372.82kB/s 0:00:00 (xfer#11, to-check=7/19) lv.n3o.shark-1.apk 443.76K 100% 623.54kB/s 0:00:00 (xfer#12, to-check=6/19) lv.n3o.sharkreader-1.apk 98.59K 100% 131.53kB/s 0:00:00 (xfer#13, to-check=5/19) net.andchat-1.apk 361.87K 100% 452.48kB/s 0:00:00 (xfer#14, to-check=4/19) net.ponury.wifikill-1.apk 339.85K 100% 400.83kB/s 0:00:00 (xfer#15, to-check=3/19) org.me.vibrato-1.apk 437.09K 100% 485.05kB/s 0:00:00 (xfer#16, to-check=2/19) org.thoughtcrime.securesms-1.apk 453.21K 100% 468.35kB/s 0:00:00 (xfer#17, to-check=1/19) org.zeam-2.apk 397.25K 100% 388.32kB/s 0:00:00 (xfer#18, to-check=0/19) sent 7.13M bytes received 357 bytes 4.75M bytes/sec total size is 7.13M speedup is 1.00
Using the second option ( I remove com.privacy.pdroid-1.apk from /sdcard/AppBackup/ ) :
$ sh bla u sending incremental file list ./ com.privacy.pdroid-1.apk 88.45K 100% 2.79MB/s 0:00:00 (xfer#1, to-check=11/19) sent 89.19K bytes received 34 bytes 59.48K bytes/sec total size is 7.13M speedup is 79.87
Note : if you update an apk from the market, this apk is now a new content and it will be replaced in /sdcard/AppBackup/.
Update ( u ) option use timestamp, not checksum. With this option, if a new app.apk is on /sdcard/AppBackup/, and an old app.apk is on /data/app/, the newest will not be replaced.
If AppBackup/ folder doesn't exist, it will be create.
It's just a small script. There is nothing exceptional. When I have free time I'll add features.
You can also edit the script for adding features.
Ideas for features are welcome.
Nice explanations aids. It's easy to understand for Mr.Everybody.
Last edited by UncleDolan; 02-15-2012 at 10:07 PM.
09-01-2012, 06:58 PM #4
Android - How to extract APK from Apps [Tutorial]
Today ladies and gentlemen, I'll teach you how to extract the APK files from your installed apps. In case you don't know what an APK file is, let's say it's kind of like an ISO for a Wii game. After you get this file, you can install it with an app called "AppInstaller" (free from the Market) and get paid apps for free (or in this case give them to your friends).
This needs the use of a computer.
For this method, your android device must be rooted.
Now, the step by step tutorial:
1) Download an app called "AirDroid" from the Market (free of charge).
2) Open up your favorite browser (Chrome) on your PC, and go here.3) Now, on your android device, open AirDroid and instert the given passcode into the AirDroid website (for this to work both, your android device and PC, must be using the same Internet connection).
3) On your PC, you'll see a screen like the next one:Click on the "Apps" icon.
4) A little window like this will pop up:It will have the list of all the installed apps on your device, now just click the little box besides the apps you wanna get, and click download.
Hope it's useful for you guys.
AirDroid has many other awesome features, like:
- Managing apps
- Upload/download music/pics/etc to your device without the need of plugging it to your computer
- Many others
Tutorial written by me.
Last edited by Chrome; 09-02-2012 at 06:05 AM.
09-01-2012, 07:00 PM #5
Looks nice. Great tut.
09-02-2012, 12:32 AM #6
- Join Date
- Apr 2011
AIDS made this tut a few moths ago using a different method (but same outcome). So i'll just merge them
09-24-2012, 11:47 AM #7
Why not just go into your sdcard and navigate here: /data/app (all apk files in that folder).
Just copy and paste that folder here: /sdcard
Done. All of your apk files moved to: /sdcard/app (folder)
Much less steps.
NOTE: Yeah, the thread is ALMOST one month old, but this process is A LOT fewer steps,
and takes WAY less time. Good day.