i was wondering everytime i uninstall a program the internal memory does not restore from its original size... ex. i install an app with size of 7mb with my internal of 152MB then after i uninstall it, the memory will be 151MB... it doesn't go back to 152MB...
is this a bug? how do i solve this? thanks!!
It's the same for.me
Sent from my E15i using xda premium
Eh ? I never encountered this...
Which ROM are you using ?
Restart your phone after un-installing an app and check the space again.
Mayank77 said:
Eh ? I never encountered this...
Which ROM are you using ?
Restart your phone after un-installing an app and check the space again.
Click to expand...
Click to collapse
im using gingercruzt ROM 7.4... very stable except for this problem...
When you install an app in user application space and android run it a file is wrote in dalvik cache. If you uninstall the app unfortunately this not remove the spam in dalvik cache.
If you have a rooted phone you can simply clean the dalvik cache and you gain the lost space. I use CWM for that, but there are also good tools like System Tune Pro which have a menu for "clear data cache" and "clear dalvik cache".
silverio.di said:
When you install an app in user application space and android run it a file is wrote in dalvik cache. If you uninstall the app unfortunately this not remove the spam in dalvik cache.
If you have a rooted phone you can simply clean the dalvik cache and you gain the lost space. I use CWM for that, but there are also good tools like System Tune Pro which have a menu for "clear data cache" and "clear dalvik cache".
Click to expand...
Click to collapse
Or use an explorer (e.g. file explorer or root explorer) to go to Dalvik cache & delete folders specific to apps you've uninstalled. I've done that a few times before (hardly ever anymore). Dalvik cache exists for a reason. Don't just go around messing with it!
Saipro said:
Or use an explorer (e.g. file explorer or root explorer) to go to Dalvik cache & delete folders specific to apps you've uninstalled. I've done that a few times before (hardly ever anymore). Dalvik cache exists for a reason. Don't just go around messing with it!
Click to expand...
Click to collapse
yes that's why i ask first about this i want to be very careful before doing anything and make sure this will not affect the performance of my phone... any safety tips for clearing davlik cache??
Saipro said:
Or use an explorer (e.g. file explorer or root explorer) to go to Dalvik cache & delete folders specific to apps you've uninstalled. I've done that a few times before (hardly ever anymore). Dalvik cache exists for a reason. Don't just go around messing with it!
Click to expand...
Click to collapse
It worked just fine
Thanks
Sent from my E15i using xda premium
mikel_0004 said:
yes that's why i ask first about this i want to be very careful before doing anything and make sure this will not affect the performance of my phone... any safety tips for clearing davlik cache??
Click to expand...
Click to collapse
Well, unless you're upgrading ROMs, having boot-up/ROM-crash issues, random unusual FCs and a few other special situations, there's really no need for wiping the Dalvik cache. As far as I know.
I wrote an app for this specific purpose, its called "SD Maid".
The link is in my signature.
Sadly though, the only way to deal with randomly named directory on /mnt/sdcard/ is to delete them manually.
Related
Hey guyz, is it impossible to delete a file in /data or /system folders without root ?...Thanks
don't think so, that's kind of what root access does, gives you permission to do stuff that would be restricted otherwise, like deleting stuff from protected folders like /data or /system
actually... i've never had my phone unrooted except for the 5min that i had it before i rooted it... so I don't really know for sure.
It's impossible. For one, it'd be impossible to access without root, and even with root, you need to set it to read/write as Super User.
Deleting anything while it's running (which is most files within /system and /data) causes anarchy and chaos.
It probably wouldn't be a good idea to delete anything from that...if you need to make modifications, create a custom version of the ROM you're doing and flash it yourself.
Out of curiousity, why do you even need to delete anything from there?
lukekirstein said:
It's impossible. For one, it'd be impossible to access without root, and even with root, you need to set it to read/write as Super User.
Deleting anything while it's running (which is most files within /system and /data) causes anarchy and chaos.
It probably wouldn't be a good idea to delete anything from that...if you need to make modifications, create a custom version of the ROM you're doing and flash it yourself.
Out of curiousity, why do you even need to delete anything from there?
Click to expand...
Click to collapse
Well lets say to clear the cache of apps...through an app cuz i know u can go app/man app/app/clear cache....i meant through an app.....
Can't you do that from Settings>Applications>Manage Applications, just click the app you want the cache cleared and I *think* there's a button for that.
h.nocturna said:
Can't you do that from Settings>Applications>Manage Applications, just click the app you want the cache cleared and I *think* there's a button for that.
Click to expand...
Click to collapse
Although i mentioned the confusion in the previous post, is it applicable through an app ?
h.nocturna said:
Can't you do that from Settings>Applications>Manage Applications, just click the app you want the cache cleared and I *think* there's a button for that.
Click to expand...
Click to collapse
He's right. Most Android 1.5-ready apps have a "clear cache" button in their menu in Applications. Others have the option within the App itself and, if need be, reinstalling the app clears out the cache as well.
Aight, n wht about deleting the cache of other apps ?
like what app? I thought all apps were listed under manage applications...
Daneshm90 said:
Aight, n wht about deleting the cache of other apps ?
Click to expand...
Click to collapse
Settings-->manage applications-->look for app-->click-->should have clear cache option...
Nah guyz this thread is goin in wrong direction lol, i mean can one app delete the cache of another app w/o root ? i've had a g1 for about a yr....pretty sure i know how to clear cache lol
Daneshm90 said:
Nah guyz this thread is goin in wrong direction lol, i mean can one app delete the cache of another app w/o root ? i've had a g1 for about a yr....pretty sure i know how to clear cache lol
Click to expand...
Click to collapse
don't know...never heard of an app that does that. Why not just obtain root?
I noticed in the folder cache/ that I have multiple files like download.apk download1.apk and so on...can anyone tell me what they are and if they're safe to delete? Appreciate any help
anybody know??
metal666fukhead said:
anybody know??
Click to expand...
Click to collapse
If you're talking about the downloadfile.apk, downloadfile1.apk files on your /sdcard/ yes.
If you're talking about the actual /cache folder off of the root, I'd still say yes. I was under the impression only the davlik and lost & found folders where there. Plus the cache folder can be wiped through the recovery menu without causing problems to the phone, it'll just take a while to boot up as it rebuilds the cache with the necessary files.
You could always copy them else where (using ADB, root explorer, estrongs, etc.). Erase them. If there's problems push them back
kyouko said:
If you're talking about the downloadfile.apk, downloadfile1.apk files on your /sdcard/ yes.
If you're talking about the actual /cache folder off of the root, I'd still say yes. I was under the impression only the davlik and lost & found folders where there. Plus the cache folder can be wiped through the recovery menu without causing problems to the phone, it'll just take a while to boot up as it rebuilds the cache with the necessary files.
You could always copy them else where (using ADB, root explorer, estrongs, etc.). Erase them. If there's problems push them back
Click to expand...
Click to collapse
Yes I was referring to the cache folder off of root any idea as to what those files are?
My guess would be that they are leftover temp files from market downloads/installs. If you really want to know, you can use estrongs or root explorer to access the files and open them up (as if you wanted to install the apks)
I tried to install and see what it would say but it just said problem parsing the package
You can erase anything in cache and be fine. If you erase dalvik though just expect a long reboot.
Sent from my HERO200 using XDA App
danaff37 said:
You can erase anything in cache and be fine. If you erase dalvik though just expect a long reboot.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Cool thank you very much...someone from another post told me that download.apk, download-1.apk, etc are just cache files from market downloads and downloaded email attachments is that correct?
Sent from my J BONE using XDA App
Market downloads specifically I think. I never worried about where from. Just erased.
Sent from my HERO200 using XDA App
danaff37 said:
Market downloads specifically I think. I never worried about where from. Just erased.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Right on thank you
Sorry to resurrect this thread, but...
I just discovered this issue. Memory was running down to around 45mb even after using the Firerat MTD mod. I was just about to start from scratch (like I would on an old Windows machine), but then saw these in the /cache directory. Deleted the apk's and I'm back up to 107mb of free memory.
It's really strange. Shouldn't the Market app clear this cache or overwrite the files when they're no longer needed? Is there a setting somewhere to do this automatically or do I need to do so manually every time? Lastly, I'm running AOSP 0.9.9.2. Does this happen on anyone else's phone?
mercado79 said:
Sorry to resurrect this thread, but...
I just discovered this issue. Memory was running down to around 45mb even after using the Firerat MTD mod. I was just about to start from scratch (like I would on an old Windows machine), but then saw these in the /cache directory. Deleted the apk's and I'm back up to 107mb of free memory.
It's really strange. Shouldn't the Market app clear this cache or overwrite the files when they're no longer needed? Is there a setting somewhere to do this automatically or do I need to do so manually every time? Lastly, I'm running AOSP 0.9.9.2. Does this happen on anyone else's phone?
Click to expand...
Click to collapse
Just wipe cache from the recovery screen.
-----
Sent from my CDMA Hero. I got some hot Froyo-on-Hero action here!
user7618 said:
Just wipe cache from the recovery screen.
Click to expand...
Click to collapse
No, I totally get that. It's just odd that these junk files would just pile up in the /cache directory. What would happen if I wasn't rooted and couldn't wipe cache? Weird, right?
Maybe it's just an AOSP thing...
yea I was trying to update my facebook app in the market, but it wouldn't update. so I thought it was my custom rom. I backed up the apk in titanium backup and uninstalled it (i know i'm an idiot). I then went back to market, but facebook still won't install. and titanium didn't backup facebook.apk properly. Now I don't have a facebook app.. any help would be appreciated, such as givingme the file.
You have custom ROM, right?
Download it again, if you don't have it, and extract the Facebook app from there (/system/app).
In the meantime, reboot to recovery, wipe Dalvik-cache, and boot the phone. Try installing Facebook after that.
Alright, i'm downloading the rom again right now. Will wiping Dalvic Cache remove any of my data or mess anything else up?
Wiping Dalvik cache won't mess you up.
Did you reboot after removing Facebook with Titanium Backup? If you don't, installation will fail from the market.
proper steps are:
Remove Facebook from system/app
reboot
Install from market
This will work with any system app that your ROM might have updated in the market
It says application not installed. I just tried the apk from the rom. I havent cleared dalvik cache yet... what do i do?
Edit: No, I didn't reboot, trying it now.
Before rebooting, the system still "remembers" that the app was there. You need to reboot to clean the "remains".
Clearing Dalvik-cache might also help. It doesn't mess up the data, since the cache is rebuilt on boot. It just slows down the 1st boot after it.
I just went through the same procedure with Terminal Emulator on friend's Nexus today (only that I removed the app manually, thus I needed to clear Dalvik cache entry and remove data directory by myself - I believe that if you used Titanium, it did that for you).
Thank you so much! Rebooting fixed the problem, installed from market perfectly.
Happy to help, glad you're back in business.
Okay. So the weirdest, yet most annoyingness (them fake words, though) thing keeps happening. It's a pet peeve of mines to not have all my apps up to date. LoL!! So these 2 apps keep giving me the Insufficient Storage Available error.
It started off with PPSSPP ( https://play.google.com/store/apps/details?id=org.ppsspp.ppsspp ).
I can't update to the newest update. I have the previous one. I once ran Google Edition and it updated fine. I meant to make a backup and just restore it to be up to date. Grr!!
Then all of a sudden it started happening to The Hardest Game Ever 2 ( https://play.google.com/store/apps/details?id=org.orangenose.games ).
It's weird. I want them to update. LoL!! Yes, I have enough space. I mean all my other apps update.
I've wiped Dalvik Cache and Cache. I read over something once about deleting system logs? When these apps finishing updating I try wiping Market Data. Or maybe just wiping the Market cache. I don't feel. Maybe data. It wouldn't hurt anything.
And it's so weird. On my GS2, restarting usually fixed it, or the problem usually fixed itself. Hmm...
Anyone else ever run into this? What did you do to solve it or did it fix itself? This has been an ongoing problem. I know sometime before the GE phones came out. LoL!!
And as I type this a 3rd app has been added. Into The Dead. ( https://play.google.com/store/apps/details?id=com.sidheinteractive.sif.DR ).
I can't have that. That's my game. LoL!!
To not make OP too long, here's some things I've done so far...
Deleted PlayStore Cache and Data...
Checked to see if ROM Toolbox Pro had Apps2SD set to Auto (and it as already on Auto)...
Wiped Cache and Dalvik Cache in recovery...
Deleted the app and tried to reinstall (Had to recover the app. LoL!!)...
Made SURE I had enough space. (I took a 6GB backup off my phone. I KNOW I have at least 6GB off the bat)
It's a slow growing list of apps. Hmm...
The only thing left is to backup apps and reinstall the ROM, since it works on other ROMs. *sigh* That'll take forever. =.S
SOVLED
I have it fixed. Here's what I did. You NEED root to fix since you have to go to a system folder. I think you can do this without root if you use ADB commands. I don't know remember if the computer version of ADB can navigate to these folders. Anyways...
"Follow this and let me know if it works for you.
First step is go into a file explorer with root access. Second in the root directory click on data, once in the data folder click on app-lib folder. Last step is scroll down to the data folder for the app you are trying to update or install and delete it. Thrn go into the market and try to install"
http://www.techfreestyle.com/io
1st comment on the page.
Steps:
1) You will need root. Go into a file explorer and go to the root folder. (I used Root Explorer)
2) Open the directory named "data".
3) Open the directory named "app-lib"
4) Find ALL the folders of the app you're trying to update or install and delete them.
5) Reinstall or update the app and it should work
I don't know if this will delete the data of the app. I've already deleted the data manually from those apps, so I don't know. Do with caution.
also its just solve the app that u can't install , so its not solving the problem permanently.
Jwtiyar said:
also its just solve the app that u can't install , so its not solving the problem permanently.
Click to expand...
Click to collapse
You're right. It happened again. But this time these apps had data. The method I mentioned didn't delete the app data. So that's good.
But this means it can happen again. Its a bit tedious deleting them files. I wonder what's causing it. Hmm... Maybe these lib files are suppose to delete on their own, but they don't. =./
IDK...
Sent from my HTC One using xda app-developers app
Hi there.
I would be very grateful if someone will help me solve my problem.
Well, after moving .apk to system/app (This time it was Google Wallet, but earlier I had the same with other apps) and data/app (tried both), it doesn't appear in the app drawer. What is more, It's not seen by Titanum Backup, nor the adb sees it as the installed package (adb shell, pm list packages) - no app on the list).
As I said, it works with every app - nothing appears after moving .apk to system directory manually.
Okay, wiping Dalvik-Cache and fixing the permissions may solve the problem, but I am afraid it may enable THIS screen appear on EVERY reboot (correct me if I am wrong).
Do you know any other solution? Or wiping dalvik-cache and fixing the permissions from recovery is the only proper one?
P.S. Can wiping dalvik-cache and fixing the permissions cause some problems, like it will delete the records in games or will have to configure the settings again?
use es File Explorer as you need to set the permissions, es automatically sets them correctly
Sent from my 4.3 Xperia S via Tapatalk
Well, what I forgot to add, I of course set the permissions (644 as all system apps)... Is in that case only solution wiping dalvik-cache?
Will wiping dalvik cache delete my games records
'
DidierDrigbi said:
Well, what I forgot to add, I of course set the permissions (644 as all system apps)... Is in that case only solution wiping dalvik-cache?
Will wiping dalvik cache delete my games records
'
Click to expand...
Click to collapse
I would suggest to wipe dalvik and the regular cache.
Any game data won't be touched (those aren't cache files correct me if I'm wrong)
If the problem persists tell us what rom etc. you're on and maybe do a full reinstall with backing up data before.
Sent from my LG-P880
DidierDrigbi said:
Well, after moving .apk to system/app (This time it was Google Wallet, but earlier I had the same with other apps) and data/app (tried both), it doesn't appear in the app drawer. What is more, It's not seen by Titanum Backup, nor the adb sees it as the installed package (adb shell, pm list packages) - no app on the list).
Click to expand...
Click to collapse
Are you using an apk from the stock rom on another rom? I'm asking this because I wanted LG Weather on CM 10.1 and I put it in system/app, rebooted and it didn't appear anywhere. The thing is that the stock rom is not deodexed and CM is. I had to use a tool to deodex the app and then put it in place, fix permissions and reboot.
DidierDrigbi said:
Okay, wiping Dalvik-Cache and fixing the permissions may solve the problem, but I am afraid it may enable THIS screen appear on EVERY reboot (correct me if I am wrong).
Do you know any other solution? Or wiping dalvik-cache and fixing the permissions from recovery is the only proper one?
P.S. Can wiping dalvik-cache and fixing the permissions cause some problems, like it will delete the records in games or will have to configure the settings again?
Click to expand...
Click to collapse
You shouldn't need to wipe the dalvik cache, simply rebooting will appear that screen only for the apps that you manually put in system/app.
tyraek said:
Are you using an apk from the stock rom on another rom? I'm asking this because I wanted LG Weather on CM 10.1 and I put it in system/app, rebooted and it didn't appear anywhere. The thing is that the stock rom is not deodexed and CM is. I had to use a tool to deodex the app and then put it in place, fix permissions and reboot.
I'm on the Stock ROM. So I should odex this file to use it? Could you tell me which tool should I use?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
1. you dont move the apk. you copy it in system/app.
2. the game data is in data not in cache.
3. you dont need to wipe dalvic. a new app installed just creates a new file in dalvic
kessaras said:
1. you dont move the apk. you copy it in system/app.
2. the game data is in data not in cache.
3. you dont need to wipe dalvic. a new app installed just creates a new file in dalvic
Click to expand...
Click to collapse
Yeah, I copy it in system/app. And nothing appears in the app drawer!
DidierDrigbi said:
Yeah, I copy it in system/app. And nothing appears in the app drawer!
Click to expand...
Click to collapse
then its some kind of permission problem. i cant help from here , since i cant see it sorry
kessaras said:
then its some kind of permission problem. i cant help from here , since i cant see it sorry
Click to expand...
Click to collapse
Well I fix thew permissions in file manager. I don't know how to make the apps install this way,
Even if you copy it to /system/app/ and set permissions, it won't be installed for sure. You'd better check logs to know what's happening.