DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 7 of 7

Thread: Internal storage low... Can I do some cleanup in /data/app ?

  1. Droid Newbie
    PHDB's Avatar
    Member #
    216276
    Join Date
    Aug 2011
    Posts
    3
    Phone
    Samsung Galaxy Spica
    #1

    Internal storage low... Can I do some cleanup in /data/app ?

    Hello,

    I have a Samsung Galaxy Spica (rooted) with CyanogenMod 6.1.1 Spica alpha8.4
    I have activated App2SD (but not move Davilk-cache to SD) and here is the current status of my storage

    SD
    Total: 6.91 GB
    Available: 6.30 GB

    Memoire interne
    Total: 147 MB
    Available: 11.38 MB

    I have wondered for a long time how the internal storage could be so low knowing that my apps were on the SD card.
    But once I recently saw it lower from 50 MB to 11 MB since I installed my new ROM and then re-installed several apps, I think this comes from /data/app which seems to contain all *apk files of the apps I downloaded.

    Question: can I do some cleanup in /data/app without any risk? apk files are installers right? Once the app installed, are they still used?

    Additional question : I also have in there several *.zip files (e.g. I have Appl.apk et Appl.zip for some of them): what is it used for?

    Thanks for your answers
  2. Droid Ninja
    Droid Firefighter's Avatar
    Member #
    130981
    Join Date
    Oct 2010
    Location
    Indiana (and that is close enough for the internet) ;-)
    Posts
    1,622
    Liked
    37 times
    Phone
    Motorola Droid Razr Maxx HD
    #2
    The apk is the application. Do not delete those. I can't be 100% on the .zip files so I won't try :-).

    Boot into recovery and clear cache and dalvik cache a few times. This won't screw up your apps. DO NOT clear data. That wipes the ROM and you don't want that. If you don't mind resetting your phone back up you can do a factory data reset. It won't erase the ROM but will clear out everything including apps.

    Sent from my ADR6350 using DroidForums
    Last edited by Droid Firefighter; 08-10-2011 at 08:27 AM.
  3. Developer
    tcrews's Avatar
    Member #
    31907
    Join Date
    Jan 2010
    Location
    Lexington, SC
    Posts
    1,353
    Liked
    64 times
    Twitter
    SnkBitten
    Phone
    Motorola Droid 4
    DroidForums.net Developer
    Premium Member
    #3
    /data/app is where the app is, the .apk file is the app, not the installer. Installing apps from the Market installs them to /data/app. Cleaning up /data/app is called "uninstalling apps"

    I would clear cache of apps first (if rooted, cache cleaner for root users is nice) or just manually do it selecting each app and selecting clear cache (from the main menu, Settings, Applications, Manage Applications).

    Also moving apps to SD (since you enabled it, now go do it) will help. Again, same place (main menu, Settings, Applications, Manage Applications) select an app and choose Move to SD. Do NOT move anything that you use a Widget of, Live Wallpapers and anything that you have that loads at boot.
    Tom Crews
    SnkBitten - http://android.snkbitten.com/ (OG Droid)
    Motorola Droid, Droid 2, Droid 3 and Droid 4 (all + Root)
    Motorola X DevEd KK 4.4 + Root
    Google Nexus 10 KK 4.4.2 + Root

  4. Droid Newbie
    PHDB's Avatar
    Member #
    216276
    Join Date
    Aug 2011
    Posts
    3
    Phone
    Samsung Galaxy Spica
    #4
    Quote Originally Posted by tcrews View Post
    Also moving apps to SD (since you enabled it, now go do it) will help. Again, same place (main menu, Settings, Applications, Manage Applications) select an app and choose Move to SD. Do NOT move anything that you use a Widget of, Live Wallpapers and anything that you have that loads at boot.
    Sorry but I thought Enabling App 2 SD would actually move the apps to the specific SD card partition already.
    And in fact, once I enabled again App 2 SD after installing my new ROM + wiping data/cache, all my preivous applications "reappeared" so it means they were all on SD parition already doesn't it?

    Anyway, thanks for the answers on /data/app :-)
    I would have screwed everything up.
  5. Developer
    tcrews's Avatar
    Member #
    31907
    Join Date
    Jan 2010
    Location
    Lexington, SC
    Posts
    1,353
    Liked
    64 times
    Twitter
    SnkBitten
    Phone
    Motorola Droid 4
    DroidForums.net Developer
    Premium Member
    #5
    Nope, enabling it just enables the ability. Easy check, go to menu, Settings, Applications, Manage Applications and click on one. It'll either say "move to Sd" or "move to Phone" If it says "move to phone" it is on the sd card. If it says "move to sd" it is in /data/app (on the phone).

    And it's even easy enough to see from the info you posted...
    SD
    Total: 6.91 GB
    Available: 6.30 GB (you've used .61 GB of space on your SDCARD)

    Memoire interne
    Total: 147 MB
    Available: 11.38 MB (you've used almost all your space of /data/app)
    Last edited by tcrews; 08-10-2011 at 08:49 AM.
    Tom Crews
    SnkBitten - http://android.snkbitten.com/ (OG Droid)
    Motorola Droid, Droid 2, Droid 3 and Droid 4 (all + Root)
    Motorola X DevEd KK 4.4 + Root
    Google Nexus 10 KK 4.4.2 + Root

  6. Master Droid
    jayman350's Avatar
    Member #
    25127
    Join Date
    Jan 2010
    Location
    Lowell, Ma
    Posts
    849
    Liked
    59 times
    Phone
    Bionic
    #6
    one thing you can do to clean up some internal space is to delete any ringtones/notifications/alarms that you do not use. These are located under /system/media/audio. These take up a LOT of space, and I don't have a whole lot of internal storage on my D1 so I do this every time I flash a rom.

    If you have TiBu you can uninstall any applications you don't use. I typically will remove all live wallpapers (keep the live wallpaper picker/chooser), Launcher (I use LauncherPro), all ringtones except for two, all notifications except for 3, car dock, and a handful of other programs I don't use.

    If you are worried about deleting something important, make a backup of your rom before you delete anything. If you delete something you shouldn't have you can always flash the backup.
    Jay

    BIONIC - Ice Cream Sandwich .246 SafeStrap 3 (ICS/CM10/CodenameAndroid)
    Kindle Fire - Jelly Bean 4.1.1 by HashCode
    OG DROID DROID CONCEPTS ROMS (looking for ideas to re-purpose this fine device)
  7. Droid Newbie
    PHDB's Avatar
    Member #
    216276
    Join Date
    Aug 2011
    Posts
    3
    Phone
    Samsung Galaxy Spica
    #7
    Quote Originally Posted by tcrews View Post
    Nope, enabling it just enables the ability. Easy check, go to menu, Settings, Applications, Manage Applications and click on one. It'll either say "move to Sd" or "move to Phone" If it says "move to phone" it is on the sd card. If it says "move to sd" it is in /data/app (on the phone).
    Indeed ! I move several apps with the button "Move to SD". I had to wipe dalviq cache to have space saved on internal storage but it definitely saved some space.
    Now I sumed up how much I was supposed to gain by moving some apps to SD (size before and after move): around 23-24 MB.
    After wipe dalviq cache, I "only" improved internal storage by 12 MB.
    But still that's better and I have other apps to move.

    Thanks for the tip !

    Additional question: I can see that there is in Cyanogen setting to force the move of all apps to SD (currently some of them are moveable (cause they seem to be system apps, even it is apps like Facebook that were bundled in a single ROM package along with core)). Is there a risk of activating that setting and forcing the move?

    PS: Now I still don't understand how my apps reappeared after ROM installation and wipe data/cache if the were not on my SD card beforehand ?!

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Application Storage vs Internal Storage Question
    By jfourman in forum Motorola Droid 3
    Replies: 22
    Last Post: 08-17-2011, 08:25 AM
  2. Internal storage.
    By Cstryon in forum Motorola Droid 2 Development
    Replies: 4
    Last Post: 05-30-2011, 08:43 AM
  3. Why do we have 8 gig's of internal storage?
    By Slow88lx in forum Droid X General Discussions
    Replies: 25
    Last Post: 02-16-2011, 07:20 PM
  4. 8gb Internal Storage???
    By hobby31 in forum Droid X General Discussions
    Replies: 4
    Last Post: 07-16-2010, 08:59 PM
  5. internal storage
    By Grey Hawk in forum Android General Discussions
    Replies: 2
    Last Post: 03-26-2010, 05:20 PM

Search tags for this page

android internal storage cleanup

,
erase kindle internal storage
,

how to clean up android internal storage

,

how to clean up internal storage android

,
how to clean up internal storage kindle fire
,
how to clean up storage on android
,
how to clear internal storage on kindle fire
,
how to delete data partition samsung prevail 2
,
how to delete internal storage on kindle fire
,
samsung droid charge remove internal data storage
Click on a term to search our site for related topics.
Find us on Google+