Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Phones > HTC Hero > Hero - All Things Root

Hero - All Things Root Rooting, ROMS, Overclocking, etc.



Reply
 
LinkBack Thread Tools
Old February 20th, 2011, 12:54 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 34
 
Device(s):
Thanks: 2
Thanked 1 Time in 1 Post
Default Backing up apk's.

When I download an app from the Android market, where is the apk stored? I noticed a folder called sdcard/backups/apps where some of my apk's are stored. Some, but not all. Not sure why only some are stored there. Is there a place on the phones internal memory where my other apks are stored? I would like to back them all up. (No, I don't want to download an app to back them up for me, I would like to see if I can do it myself).

jmm92108 is offline  
Reply With Quote
Sponsors
Old February 20th, 2011, 02:50 PM   #2 (permalink)
 
Join Date: Apr 2010
Posts: 5,873
 
Device(s):
Thanks: 0
Thanked 626 Times in 534 Posts
Default

You can only backup apps if you are rooted.
sitlet is offline  
Reply With Quote
Old February 20th, 2011, 03:07 PM   #3 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 34
 
Device(s):
Thanks: 2
Thanked 1 Time in 1 Post
Default

I'm rooted, running CM6.1 (as of 1 week ago)
jmm92108 is offline  
Reply With Quote
Old February 20th, 2011, 09:04 PM   #4 (permalink)
 
Join Date: Apr 2010
Posts: 5,873
 
Device(s):
Thanks: 0
Thanked 626 Times in 534 Posts
Default

Ok, then download Titanium Backup from the market.
sitlet is offline  
Reply With Quote
Old February 20th, 2011, 09:47 PM   #5 (permalink)
Leeeroy Jennnkinnns!
 
novox77's Avatar
 
Join Date: Jul 2010
Posts: 3,664
 
Device(s): Evo 4G, Evo 3D
Thanks: 994
Thanked 2,831 Times in 1,245 Posts
Default

Quote:
Originally Posted by jmm92108 View Post
When I download an app from the Android market, where is the apk stored? I noticed a folder called sdcard/backups/apps where some of my apk's are stored. Some, but not all. Not sure why only some are stored there. Is there a place on the phones internal memory where my other apks are stored? I would like to back them all up. (No, I don't want to download an app to back them up for me, I would like to see if I can do it myself).
Downloaded apps' apks are placed in /data/app
System apps' apks are in /system/app
__________________

The good thing about science is that it's true whether or not you believe in it. -Neil deGrasse Tyson

Help me out: Sign up with Dropbox and we both get 250-500MB extra space. Thanks!
novox77 is offline  
Reply With Quote
Old February 21st, 2011, 01:28 AM   #6 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 34
 
Device(s):
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by novox77 View Post
Downloaded apps' apks are placed in /data/app
System apps' apks are in /system/app
Thanks, there they are!

Ok, this might be a dumb question, but an apk is just an installer file, right? If I delete an apk the program is still installed somewhere else and will still run? So I could delete all of the apk's in /system/app if I wanted to? (Not going to do, it, just asking...)
jmm92108 is offline  
Reply With Quote
Old February 21st, 2011, 07:34 AM   #7 (permalink)
Leeeroy Jennnkinnns!
 
novox77's Avatar
 
Join Date: Jul 2010
Posts: 3,664
 
Device(s): Evo 4G, Evo 3D
Thanks: 994
Thanked 2,831 Times in 1,245 Posts
Default

Quote:
Originally Posted by jmm92108 View Post
Thanks, there they are!

Ok, this might be a dumb question, but an apk is just an installer file, right? If I delete an apk the program is still installed somewhere else and will still run? So I could delete all of the apk's in /system/app if I wanted to? (Not going to do, it, just asking...)
No, if you delete the apk, the program is uninstalled. Android will also delete any associated library data with that application. So a perfectly viable way to remove apps is to manually remove the apks.

/system/app is mounted read-only by default. To delete system apps, you'll need to mount the /system partition read/write. For rooted users, it's quite common for people to delete the bundled crapware that was placed in /system/app. Unrooted phones can't mount that area read/write, so there's no way to uninstall those apps.
novox77 is offline  
Reply With Quote
Old February 23rd, 2011, 01:12 AM   #8 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 34
 
Device(s):
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by novox77 View Post
No, if you delete the apk, the program is uninstalled. Android will also delete any associated library data with that application. So a perfectly viable way to remove apps is to manually remove the apks.

/system/app is mounted read-only by default. To delete system apps, you'll need to mount the /system partition read/write. For rooted users, it's quite common for people to delete the bundled crapware that was placed in /system/app. Unrooted phones can't mount that area read/write, so there's no way to uninstall those apps.
Ok, another dumb question: If I move my apk's from /data/app to my SD card, does that mean those apps are *running* from the SD card? (Because I think I've read that some apps should not be run from the SD card)

And another question: What if I copied my apk's, instead of moving them (i.e. the apk's are in 2 places). Would that cause problems?
Not gonna do it... just curious.
jmm92108 is offline  
Reply With Quote
Old February 23rd, 2011, 03:19 AM   #9 (permalink)
^Unavailable this month.^
 
Xyro's Avatar
 
Join Date: Dec 2009
Location: UK
Posts: 8,678
 
Device(s): HTC Desire HD - HTC Hero (GSM)
Thanks: 1,654
Thanked 3,489 Times in 2,164 Posts
xyro.af@gmail.com
Default

Quote:
Originally Posted by jmm92108 View Post
Ok, another dumb question: If I move my apk's from /data/app to my SD card, does that mean those apps are *running* from the SD card? (Because I think I've read that some apps should not be run from the SD card)

And another question: What if I copied my apk's, instead of moving them (i.e. the apk's are in 2 places). Would that cause problems?
Not gonna do it... just curious.
Well, the apps are actually running out of your RAM, but yes, your apps are saved and executed from the sdcard.

When you heard that some apps can't be run off the sdcard, you were probably hearing about android's native apps2sd in froyo/gignerbread. It's a bad idea to move widgets to the sdcard in this way, as they don't load in time when the phone boots, meaning you're left with broken widgets.

However, proper apps2sd+, that we'd been using for ages before android introduced it's version, is much better. You can run anything you want off there, no problem.

You can backup apps to your sdcard without any problems, if that's what you mean. The backed up apps won't be active.
__________________
Site Rules/Guidelines - Zero Tolerance Policy

If you see a post that needs a mod's attention, hit the button.
Xyro is online now  
Reply With Quote
Old February 23rd, 2011, 10:52 PM   #10 (permalink)
Junior Member
 
Join Date: Feb 2010
Posts: 34
 
Device(s):
Thanks: 2
Thanked 1 Time in 1 Post
Default

Ok, one more last question! As long as I have enough memory on the phone, wouldn't it be better to store all of my apk's on the phone instead of the SD card? That way wouldn't they would load faster?

(I have a hundred other questions, I could go on and on... but I will stop now)
jmm92108 is offline  
Reply With Quote
Sponsors
Old February 24th, 2011, 04:00 AM   #11 (permalink)
^Unavailable this month.^
 
Xyro's Avatar
 
Join Date: Dec 2009
Location: UK
Posts: 8,678
 
Device(s): HTC Desire HD - HTC Hero (GSM)
Thanks: 1,654
Thanked 3,489 Times in 2,164 Posts
xyro.af@gmail.com
Default

Well, yes it's certainly ideal to have it on the phone, but personally I don't think you lose anything by having them on the sdcard. I use a class 6 card (class being a measure of minimum read/write speeds) and I don't notice any difference in speed. The sdcard the phone came with is class 2, but I've never heard many complaints about that either.

What I do find is that when my phone's internal memory is almost full, it tends to slow the phone down somewhat. Using apps2sd avoids that
Xyro is online now  
Reply With Quote
Reply

HTC Hero
Current Rating:
Rate this Phone:

For tech lovers dreaming of a magical phone, HTC's 3rd Android Phone - the HTC Hero - seems poised to rescue the masses from mobile phone boredom. The design is a more sleek, sexy version of the HTC Dream and HTC Magic and both hardware and sof... Read More


Bookmarks


Go Back   Android Forums > Android Phones > HTC Hero > Hero - All Things Root User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 08:08 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo