Go Back   Android Forums > Android Phones > LG Ally > Ally - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old March 17th, 2011, 06:57 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Angry Deleted system app and internal storage does not reflect?

Hi,

I just rooted my phone. I have an LG ally 2.2. It went pretty well, but I am quickly realizing some things.

First of all, just cause my phone is rooted, does not mean I can go and uninstall any application using the same method as before. I had to download a "root uninstaller" app. Anyways, once I did that, I removed a system app that was around 10MB, but my internal storage did not reflect it.

I did restart my phone, and still nothing. I have no "custom ROMS" or anything like that.

If anyone could help me get an idea of why this is that would be great...and any other advice and general points would be great.

Thank you!

maleko86 is offline  
Reply With Quote
sponsored links
Old March 17th, 2011, 07:27 PM   #2 (permalink)
Member
 
McLovlein13's Avatar
 
Join Date: Nov 2010
Location: Minnesota
Posts: 271
 
Device(s): HTC DInc2, Lg Ally
Carrier: Not Provided

Thanks: 56
Thanked 64 Times in 42 Posts
Default

the same thing happened to me, i deleted "thinkfree" and my internal storage stayed the same but it feels like my phone is faster
McLovlein13 is offline  
Reply With Quote
Old March 17th, 2011, 07:35 PM   #3 (permalink)
Member
 
Join Date: May 2010
Posts: 463
 
Device(s):
Carrier: Not Provided

Thanks: 114
Thanked 71 Times in 50 Posts
Default

Removing system apps will not increase your internal storage space by as much as the size of the app because the app itself is stored on system storage space not internal storage, but you can regain some of the space by going into recovery and clearing your cache and dalvik cache (don't clear data).
__________________
HTC Incredible - w/MIUI ROM.
HTC Incredible 2 - w/MIUI ROM.
flyinjoe13 is offline  
Reply With Quote
The Following 4 Users Say Thank You to flyinjoe13 For This Useful Post:
20phileagles (March 18th, 2011), Afteraffekt (March 17th, 2011), McLovlein13 (March 17th, 2011), Vol4One (March 18th, 2011)
Old March 18th, 2011, 10:15 AM   #4 (permalink)
Junior Member
 
Join Date: Oct 2010
Posts: 79
 
Device(s):
Carrier: Not Provided

Thanks: 40
Thanked 6 Times in 4 Posts
Default

flyinjoe, thank you, thank you, thank you!!! I've been wondering why my internal storage space was so low and I was constantly having to delete apps so I wouldn't get that LOW STORAGE icon in the notification bar. I didn't realize I could wipe dalvik cache and gain space. I did that and went from 15mb to 54mb!!! Thanks a million!
Vol4One is offline  
Reply With Quote
Old March 18th, 2011, 12:00 PM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Vol4One View Post
flyinjoe, thank you, thank you, thank you!!! I've been wondering why my internal storage space was so low and I was constantly having to delete apps so I wouldn't get that LOW STORAGE icon in the notification bar. I didn't realize I could wipe dalvik cache and gain space. I did that and went from 15mb to 54mb!!! Thanks a million!
What is "dalvik" cache and how do I delete it? And yes, I know what cache is, but not "dalvik cache"....nor how to delete that cache...

Any direction would be greatly appreciated!
maleko86 is offline  
Reply With Quote
Old March 18th, 2011, 12:20 PM   #6 (permalink)
Member
 
AndroidKris's Avatar
 
Join Date: Dec 2010
Posts: 385
 
Device(s): Rooted Galaxy Nexus | Liquid ICS 1.35 Nook Color | ICS cm9 nightly kang
Carrier: Not Provided

Thanks: 64
Thanked 75 Times in 50 Posts
amberoze@gmail.com
Default

Quote:
Originally Posted by maleko86 View Post
What is "dalvik" cache and how do I delete it? And yes, I know what cache is, but not "dalvik cache"....nor how to delete that cache...

Any direction would be greatly appreciated!

Dunno what dalvik is used for specifically, but to wipe it(if your rooted), reboot to recovery, scroll down to and select the "wipe" option, then scroll down and select the "wipe only Dalvik cache" option, confirm the selection when prompted, then back out and reboot.
__________________
GNexus | Rooted/Locked | Liquid ICS 1.35
Nook Color | Rooted eMMC | Latest CM9 Nightly
AndroidKris is offline  
Reply With Quote
Old March 18th, 2011, 12:45 PM   #7 (permalink)
ROM Developer
 
savoxis's Avatar
 
Join Date: Aug 2010
Location: Pacific NW
Posts: 811
 
Device(s): Galaxy Nexus (CM10 Nightlies) and too many old devices to list
Carrier: Not Provided

Thanks: 259
Thanked 707 Times in 265 Posts
Send a message via MSN to savoxis Send a message via Skype™ to savoxis savoxis@gmail.com
Default

Quote:
Originally Posted by AndroidKris View Post
Dunno what dalvik is used for specifically, but to wipe it(if your rooted), reboot to recovery, scroll down to and select the "wipe" option, then scroll down and select the "wipe only Dalvik cache" option, confirm the selection when prompted, then back out and reboot.
Simple explanation someone else wrote because I am lazy:

Quote:
Originally Posted by Backnblack
When Android starts up, the DalvikVM looks thru all of your applications (.apk files) and frameworks, and builds a tree of dependencies. It uses this dependency tree to optimize the bytecode for every application and stores it in the Dalvik cache. The applications are then run using the optimized bytecode. This is why when you install a new ROM, sometimes it takes a very long time to boot for the first time. Any time an application (or framework library) changes, it's reoptimized and the cache is updated.

You can wipe it in recovery, or in a rooted terminal
Code:
rm -r /data/dalvik-cache/*
Or if you only want to remove the dex for a specific app like Maps:
Code:
rm -r /data/dalvik-cache/*Maps*

Since your Dalvik-Cache will rebuild when your phone boots up the only time you will save space by wiping dalvik is if you have uninstalled or deleted apps and there is still dex files left over. After I install a new rom I always fire up a terminal and remove all the applications I dont want/use and then wipe the dalvik.

Wiping dalvik without having just uninstalled application will do nothing. It will just make your phone take a long time to boot afterwards, as it will have to rebuild the dalvik, it wont hurt, but it wont help either.
__________________
Come join us on IRC!
The mAndroid Connection
VZW Galaxy Nexus CM9 Nightly
There Aint No Such Thing As A Free Lunch
Donate
savoxis is offline  
Last edited by savoxis; March 18th, 2011 at 12:48 PM.
Reply With Quote
The Following 2 Users Say Thank You to savoxis For This Useful Post:
spiritofjon (March 29th, 2011), Vol4One (March 18th, 2011)
Old March 18th, 2011, 12:53 PM   #8 (permalink)
Junior Member
 
Join Date: Oct 2010
Posts: 79
 
Device(s):
Carrier: Not Provided

Thanks: 40
Thanked 6 Times in 4 Posts
Default

Thanks for the explanation Savoxis!
Vol4One is offline  
Reply With Quote
Old March 18th, 2011, 06:51 PM   #9 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Awesome! Thank you guys so much. When I uninstall a program and clear the dalvik cache for it, it gives me almost all the space back!
maleko86 is offline  
Reply With Quote
Old March 18th, 2011, 06:56 PM   #10 (permalink)
Member
 
Join Date: May 2010
Posts: 463
 
Device(s):
Carrier: Not Provided

Thanks: 114
Thanked 71 Times in 50 Posts
Default

Your welcome guys. BTW, if you are a person who installs\uninstalls a lot of apps, I suggest you make a regular routine out of wiping these two caches on a weekly\bi-weekly\monthly basis depending on how many apps you actually try. Android is horrible at cleaning itself up when an app is removed and you lose space that is not even being used by anything.
flyinjoe13 is offline  
Reply With Quote
sponsored links
Old March 18th, 2011, 09:38 PM   #11 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2011
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Delete them all

So, it definitely will not hurt my phone to delete ALL the cache in that folder and will just recreate them if needed? I have to say, even though I am only deleting the cache from the uninstalled program, it free's up the same amount of space that application took on the phone. But, I guess the cache isn't included in the size the phone reports the application as.

How come when I uninstall the program with a root uninstaller, it doesn't actually remove it and free up the space?
maleko86 is offline  
Reply With Quote
Old March 19th, 2011, 01:32 PM   #12 (permalink)
Senior Member
 
Join Date: Nov 2010
Gender: Male
Posts: 600
 
Device(s): HTC EVO LTE, EVO OG (retired)
Carrier: Sprint

Thanks: 54
Thanked 178 Times in 109 Posts
Send a message via Yahoo to Lord Vader
Default

Quote:
Originally Posted by AndroidKris View Post
Dunno what dalvik is used for specifically, but to wipe it(if your rooted), reboot to recovery, scroll down to and select the "wipe" option, then scroll down and select the "wipe only Dalvik cache" option, confirm the selection when prompted, then back out and reboot.
I hate it when I forget how to do certain things. Can you refresh my memory on how to properly reboot my EVO into recovery so I can wipe my dalvik cache? Thanks.

Never mind. Dummy me finally remembered.
Lord Vader is offline  
Last edited by Lord Vader; March 19th, 2011 at 01:35 PM.
Reply With Quote
Old March 19th, 2011, 01:53 PM   #13 (permalink)
Senior Member
 
Join Date: Nov 2010
Gender: Male
Posts: 600
 
Device(s): HTC EVO LTE, EVO OG (retired)
Carrier: Sprint

Thanks: 54
Thanked 178 Times in 109 Posts
Send a message via Yahoo to Lord Vader
Default

Quote:
Originally Posted by savoxis View Post
Since your Dalvik-Cache will rebuild when your phone boots up the only time you will save space by wiping dalvik is if you have uninstalled or deleted apps and there is still dex files left over. After I install a new rom I always fire up a terminal and remove all the applications I dont want/use and then wipe the dalvik.

Wiping dalvik without having just uninstalled application will do nothing. It will just make your phone take a long time to boot afterwards, as it will have to rebuild the dalvik, it wont hurt, but it wont help either.
Savo,

As someone who's a relatively new EVO and Android user--got my EVO in October 2010--I have since then installed and uninstalled many apps. I rooted my phone in December. During this time, I have never wiped my Dalvik cache but did so today. So, based on your explanation above, I would have thought that I would have recovered some internal memory, but it doesn't seem like I have. In fact, it appears I've pretty much recovered NO additional memory.

Am I doing anything wrong, or might I perhaps have not properly wiped the Dalvik cache? I hope it's the latter, but considering I think I followed the directions correctly on how to do that, I'm doubting the fault lies with me.
Lord Vader is offline  
Reply With Quote
Old March 19th, 2011, 02:27 PM   #14 (permalink)
Premium Member
 
dautley's Avatar
 
Join Date: Jul 2010
Location: Dickson, TN.
Posts: 1,696
 
Device(s): BIONIC XT875 JB .22/Rooted, Nexus 7 (16GB with CM10), Nexus 7 (32GB stock) Nexus 10 (32GB), LG Ally
Carrier: Not Provided

Thanks: 296
Thanked 445 Times in 291 Posts
Default

Quote:
Originally Posted by Lord Vader View Post
As someone who's a relatively new EVO and Android user--got my EVO in October 2010
You may be able to get answers to your EVO questions faster by posting in the EVO forum instead of here in the Ally forum HTC EVO 4G - Android Forums
dautley is offline  
Reply With Quote
Old May 16th, 2013, 07:59 AM   #15 (permalink)
New Member
 
Join Date: May 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Soryy

Quote:
Originally Posted by flyinjoe13 View Post
Removing system apps will not increase your internal storage space by as much as the size of the app because the app itself is stored on system storage space not internal storage, but you can regain some of the space by going into recovery and clearing your cache and dalvik cache (don't clear data).
I'm so sorry but can you explain how to go to recovery and delete dalvik cache, because I unistalled the system apps I didn't need and I still have only 13 mb internal memory out of 138 mb. I only have like 6 apps, and they are small ones.. Please anyone help! :/ I tried a couple of things but nothing helps... PS. My phone is Alcatel One Touch 985...
Tammy1997 is offline  
Reply With Quote
Old May 20th, 2013, 10:58 PM   #16 (permalink)
Member
 
Join Date: Nov 2011
Location: PA
Gender: Male
Posts: 101
 
Device(s): LG Ally-StormDroid2 Nexus 4
Carrier: Straight Talk

Thanks: 20
Thanked 5 Times in 5 Posts
Send a message via ICQ to jaison80 Send a message via AIM to jaison80 Send a message via Yahoo to jaison80
Default

Quote:
Originally Posted by Tammy1997 View Post
I'm so sorry but can you explain how to go to recovery and delete dalvik cache, because I unistalled the system apps I didn't need and I still have only 13 mb internal memory out of 138 mb. I only have like 6 apps, and they are small ones.. Please anyone help! :/ I tried a couple of things but nothing helps... PS. My phone is Alcatel One Touch 985...

Set up the Android SDK

Android SDK | Android Developers

Using Hardware Devices | Android Developers

Once you get it set up just connect the phone to the computer via USB. Open command prompt or terminal and issue the command: [HIGH]adb reboot recovery[/HIGH]This should get you into recovery. there's also a way by pressing this button and that button at once but I don't remember the combination.
jaison80 is offline  
Reply With Quote
Reply
Tags
internal storage, root


Go Back   Android Forums > Android Phones > LG Ally > Ally - All Things Root
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 02:57 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.