Dalvik cache - is this something to be cleared out regularly? - General Questions and Answers

I was just wondering if it would be wise to clear this out every so often?
I was just removing a couple of apps that i tried but didnt like, and it got me thinking about how many other things ive tried but didnt like since ive had the phone. Does uninstalling remove all of the apps data/cache/apk,etc? Or should i somehow manually do this thru CWM??

Pawprints1986 said:
I was just wondering if it would be wise to clear this out every so often?
I was just removing a couple of apps that i tried but didnt like, and it got me thinking about how many other things ive tried but didnt like since ive had the phone. Does uninstalling remove all of the apps data/cache/apk,etc? Or should i somehow manually do this thru CWM??
Click to expand...
Click to collapse
Clearing dalvik cache isn't going to give you any problems and it won't erase any data you need. The easiest way to do this is to get a file explorer (like es file explorer) and go to /data/dalvik-cache, select all files and delete. Reboot your device immediately though because your phone will be unstable. When your booting you'll get a 'android is upgrading' notification then after that you'll be good to go. This is probably the best way to remove leftover app data that you don't want without digging through hundreds of folders.
P.S. launching apps might be a little slower after this but only for a little bit?.
Sent from my HTC One_M8 using XDA Free mobile app

I only wiped it before flashing new ROM so ehh hehhee

Related

Market showing installation unsuccessful

Sent from my ADR6400L using XDA App
another classic thread with no information sent from a phone...
How do I get the apps installed?
Sent from my ADR6400L using XDA App
You mean the market was not installed? Or apps are failing? Give more details on what you need help with.
I get an unsuccessful installation message
Sent from my ADR6400L using XDA App
I pick things up and put them down... Lol.
___
Sent from my HTC ThunderBolt 4G LTE on XDA Premium.
I'm not sure if the OP is a troll, or just stupid... How hard is it to give ACCURATE information on what you are trying to do.
Trolled. Perhaps.
Troll or not , I have had this issue when trying to update apps. I haven't really figured out what's causing apps not to load. I get "app not installed, no usb or SD card found".
Ill be vague just like the op. Here's what you do clear cache and defaults on the market.
lilmoney30 said:
Troll or not , I have had this issue when trying to update apps. I haven't really figured out what's causing apps not to load. I get "app not installed, no usb or SD card found".
Click to expand...
Click to collapse
Yeah, I've had the same problem, but usually just trying to update the app again works (at least, for me).
lilmoney30 said:
Troll or not , I have had this issue when trying to update apps. I haven't really figured out what's causing apps not to load. I get "app not installed, no usb or SD card found".
Click to expand...
Click to collapse
I get it when the download interrupts and the file is corrupted. So it can't install. I usually just redownload and its fine.
Try unmounting ur SD card, then installing. I had a problem awhile back with specific apps and that fixed it.
Sent from my ADR6400L using Tapatalk
I am having the same problem and it is driving me insane. I have cleared cache in the market. I have rebooted, reflashed, reset to factory, Took out the SD card, put it back in, unmounted it, booted without it.
It doesn't matter what rom I flashed as I have tried several. I just restored my phone with CWM to a backup I made right after I first rooted and the market still doesn't work.
Are you rooted?? Its most likely a bad previous install that needs to be removed first which can be quite troubling because some show that they aren't installed when in actuality they are just not properly. IF YOU ARE ROOTED try using Titanium Backup Root to remove the bad install.
KDKobes said:
Are you rooted?? Its most likely a bad previous install that needs to be removed first which can be quite troubling because some show that they aren't installed when in actuality they are just not properly. IF YOU ARE ROOTED try using Titanium Backup Root to remove the bad install.
Click to expand...
Click to collapse
yeah, I am rooted. have been for a while. I have flashed and used several roms/ kernals etc. The thing is, even if I reset the phone to factory it still does it. I went into Titanium, what or how do I find a bad install?? Is there something to look for?
Heelfan71 said:
yeah, I am rooted. have been for a while. I have flashed and used several roms/ kernals etc. The thing is, even if I reset the phone to factory it still does it. I went into Titanium, what or how do I find a bad install?? Is there something to look for?
Click to expand...
Click to collapse
Possibly the ROM's included the app but have a bad install inside the ROM. I seen this issue with a couple apps specifically FLASH PLAYER. Which app are you having issues with?? When in Titanium Backup go to the Backup/Restore section and it should show all of your installed applications..scroll to see if the application you are trying to install is on the list...if so uninstall it. If this doesn't work its possible there is a previous apk file on your phone of this app which is corrupting the download which can be removed with an app like "ROOT EXPLORER" unfortunately it costs money. To do that you would venture into the system/app folder and delete the apk file if in fact there is one in there. To check to see if there is one most file explorers will allow you to go into these folders but you cannot access anything.
KDKobes said:
Possibly the ROM's included the app but have a bad install inside the ROM. I seen this issue with a couple apps specifically FLASH PLAYER. Which app are you having issues with?? When in Titanium Backup go to the Backup/Restore section and it should show all of your installed applications..scroll to see if the application you are trying to install is on the list...if so uninstall it. If this doesn't work its possible there is a previous apk file on your phone of this app which is corrupting the download which can be removed with an app like "ROOT EXPLORER" unfortunately it costs money. To do that you would venture into the system/app folder and delete the apk file if in fact there is one in there. To check to see if there is one most file explorers will allow you to go into these folders but you cannot access anything.
Click to expand...
Click to collapse
I have Root Explorer. Thanks. seems this is a common problem after searching google. No know solution as everyone has got theirs to work doing something different. I have not made any backups with Titanium as the roms I have used auto re-installed everything. I am wondering if it has something to do with that. Any time I flash a rom now, it says "starting download" for all my apps in the market. They never start though.
it's working now. not sure what I did though. I wiped everything and flashed BAMF remix (what I was using originally) and when I went through the setup I did everything like I did before. Only thing I changed when swapping roms was I would not set up my HTC account in the setup.
I'm not rooted (yet!) and I've been having the same problem with the market for the last two days. Probably half the apps I bought/downloaded hung on authorizing. When finally authorized it took quite a while to download and show under my apps. One took almost an hour to show up. Email notifications were also delayed. Tried clearing the cache but that didn't help...
Sent from my ADR6400L using Tapatalk

[Q] Can't download from the android market!

It's been about 5 days now that i can't download anything from the market, all of them hang on downloading and after a while says "download unsucessfull"
i've tried canceling and restarting the download, clearing the cache and data for the market, restarting the phone. Nothing helped.
i'm with cyanogen mod 6.1 and Nexus One
You could download apps without issues before? Well, make sure the memory of your tablet pc is enough for the downloaded apps. Actually I think you should always download and install apps on the memory card instead of the tablet itself.
Does it actually download a certain amount or does it not even get round to downloading? Have you got enough memory free for the apps you're trying to download?
Doesn't even start. I've got plenty of space
Try wiping dalvik cache and fixing app permissions.
what's that?
reboot into recovery mode
Sent from my Desire HD using XDA App
Also go into Settings-->Applications-->Market, and clear data and/or cache. Might clear things up for ya.
Sent from my HTC HD2 using XDA App
Are you sure you have the last market ?
Bubu760 said:
Are you sure you have the last market ?
Click to expand...
Click to collapse
can you update that as well?
how if yes
Honestly, if you are on a Nexus one, switch over to CM7. They have a stable that was released in May and it works very well.
I have a Nexus One and love the new CM7.
Yes it would be nice to do that, the only thing that stops me is that he recommends to NOT use titanium backup after, cause it my mess it up.
So i'll have to spend half day with the phone :>
That's why i was looking for at least temporal fix of the market
The CM7 rom that I use (GSB3.5 on a Droid Eris) also recommends not using Titanium Backup, so I use MyBackup Root. I've switched back and forth from numerous other Sense, CM7, and AOSP roms and have never had a problem restoring apps and data. So if that's your only issue switching over to CM7, you might try that. Of course, you wanna do a NAND backup first so you can always have a backup.
As for your Market problem, I've had the same thing happen, and most of the time I just keep trying to download an app until it works. Though that's tedious and doesn't fix the issue. If clearing Market data doesn't work, then rebooting into your recovery and fixing permissions and clearing the Davlik cache has typically worked for me.
Good luck, and let us know what works.
flash it again or try to insert a gmail first and market will be in menu then
Sent from my LG-P500 using XDA Premium App
Fking1 said:
It's been about 5 days now that i can't download anything from the market, all of them hang on downloading and after a while says "download unsucessfull"
i've tried canceling and restarting the download, clearing the cache and data for the market, restarting the phone. Nothing helped.
i'm with cyanogen mod 6.1 and Nexus One
Click to expand...
Click to collapse
Try going into Settings/Applications/Manage Apps, then Clear all the apps Data and Cache that have anything to do with Google!
Especially look for Market, Download, Checkin Services, and whatever else, then Reboot... If that Still Doesnt work Reflash the Rom or Restore a Nandroid Backup!
Good Luck!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://www.mediafire.com/?bb1axugm0bw7oro
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS
it now works for some of the apps, weird
I have similar problem, then try to uninstall updates from market (seeting-application-manage app), then wipe cache, reboot and it solved
Sent from my GT-S5570 using XDA App
prsguitaruser said:
If clearing Market data doesn't work, then rebooting into your recovery and fixing permissions and clearing the Davlik cache has typically worked for me.
Good luck, and let us know what works.
Click to expand...
Click to collapse
where do you do that? I only found "fix apk uid mismatches"
nothing about davlik cache

[Q] Insufficient Storage, but 14.7GB free

I just installed ExynosAbuse APK v1.40 and i now have root so i could regain my copy/paste function back. (I delete everything in data>clipboard)
However now when i go to install any app i get the error, insufficient storage. As the title says I have ~15gb free (says the settings>storage). Even when uninstalling an app I cannot re install it as it says i have insufficient space. For example, i uninstalled angry birds SW (which was 60mb) and i cannot reinstall it, or any other apps.
Oh, and i uninstalled the Exynosabuse (but left root enabled) and now i cannot reinstall it to disable root. I also tried uninstalling the google play updates, and nothing changed. Installing apps with either google play or ES file manager gives the same result (insufficient storage space)
Thanks for the help.
UPDATE:
I found the problem, and solution in post 20
I had the same problem with an app i tried installing once, but it only happened with that particular app. Maybe try wiping cache and dalvik cache.
Sent from my GT-N8013 using XDA Premium HD app
RussellEstridge25 said:
I had the same problem with an app i tried installing once, but it only happened with that particular app. Maybe try wiping cache and dalvik cache.
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks for the reply. I went to data>dalvik cache and deleted everything in there and restarted. I gained about 200 mb but still i cannot install anything.
Njord0 said:
Thanks for the reply. I went to data>dalvik cache and deleted everything in there and restarted. I gained about 200 mb but still i cannot install anything.
Click to expand...
Click to collapse
Did you wipe cache and dalvik cache in recovery mode?
Sent from my GT-N8013 using XDA Premium HD app
Im trying a factory reset now since i've only owned this thing for a few days. Though if anyone knows a solution to this, please post. I've came across a few threads with a similar problem and they have gone unsolved.
RussellEstridge25 said:
Did you wipe cache and dalvik cache in recovery mode?
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
No just deleted it with es file manager
Njord0 said:
No just deleted it with es file manager
Click to expand...
Click to collapse
You should do it in recovery mode.
Sent from my GT-N8013 using XDA Premium HD app
If you are getting it for a particular app then try searching for the it using its name it must have left some file over during your previous installion delete all files with the app name and try installing it should install
Try uninstalling the update of play store by going into settings applications
The first one should do the trick
samir_a said:
If you are getting it for a particular app then try searching for the it using its name it must have left some file over during your previous installion delete all files with the app name and try installing it should install
Try uninstalling the update of play store by going into settings applications
The first one should do the trick
Click to expand...
Click to collapse
All of the apps in the play store that i tired (ones that haven't been installed before) gave the same error, not just ones previously installed. I also deleted some bloatware updates and tried to reinstall their updates afterwards. The problem persists.
I did uninstall the playstore updates and clearing the cache. Nothing changed.
I've restored to factory and its working again. Crappy solution though..
thanks for the help
I solved this problem with lucky patcher. Run it when you have this problem and it will remove the unused odex file. Then install normally and you shouldn't have the error. I found this happens to me when uninstalling modified apks and trying to install the official app after.
Sent from my GT-N8013 using Tapatalk 2
i only have this Problem when there is less than 500mb free space.
common -.- i want to install a 2mb apk File And it complains because there is only 490mb free space -.- any way to change that?
PurpleSh4rk said:
I solved this problem with lucky patcher. Run it when you have this problem and it will remove the unused odex file. Then install normally and you shouldn't have the error. I found this happens to me when uninstalling modified apks and trying to install the official app after.
Sent from my GT-N8013 using Tapatalk 2
Click to expand...
Click to collapse
I did have lucky patcher installed when i had this problem. When opening the program it did remove some odex files but the problem was still there. Is there an option to force it to check for odex files?
You could check your data/apps folder and check if there's an apk for the file there. If it is delete and try to reinstall
Sent from my Galaxy Nexus using Tapatalk 2
Well it's happening again.
How do I get into recovery mode to delete dalvik cache? Is that where you hold down power and the volume button, cause I don't see anywhere to delete the cache when im in there. It's just a screen thqts says downloading.
I cleard the dalvik cache In link2sd but it says it's empty. Also cleared app cache with link2sd.
I did notice that the system file space is at 17% (243mb left) which is still large enough to install the apps I'm trying. I have 25gb free out of 32gb.
This problem is not limited to one app. It also happens with apps that never been installed on this tablet.
Thanks for the help.
Did you try what I mentioned
Sent from my Galaxy Nexus using Tapatalk 2
Power+Volume Up until you see the GTN8000 or whatever model you have screen then leave power button while keep pressing the volume up button until you get into recovery
Dude i suggested going into recovery and wiping cache and dalvik cache a while ago but got no response. You didnt ask how if you didnt know and you obviously didn't search for it. Not trying to be rude here but it just is a little irritating when you try to help and you get ignored. Volume up and power till you see the boot screen then let go. And youll see wipe cache, do it. Then scroll to advanced and then to wipe dalvik cache, do it. Then go back to the firdt sceen and select reboot.
Also gmfeny had a suggestion did you try that?
Sent from my GT-N8013 using XDA Premium HD app
RussellEstridge25 said:
Dude i suggested going into recovery and wiping cache and dalvik cache a while ago but got no response. You didnt ask how if you didnt know and you obviously didn't search for it. Not trying to be rude here but it just is a little irritating when you try to help and you get ignored. Volume up and power till you see the boot screen then let go. And youll see wipe cache, do it. Then scroll to advanced and then to wipe dalvik cache, do it. Then go back to the firdt sceen and select reboot.
Also gmfeny had a suggestion did you try that?
Sent from my GT-N8013 using XDA Premium HD app
Click to expand...
Click to collapse
The first time you mentioned it i had already did a factory reset and my GN was working for the moment. When the problem came back i said i tried it in link 2 sd and i did boot to what it thought was recovery mode (i did google it but i must have miss read. I was holding power and volume down to get into recovery screen) and didnt see anywhere to delete dalvik cache. I should have stated clearly that i needed help on getting to the right place.
I will try that next.
gmfeny, I have looked in data>apps and nothing about the apps im trying to install is there. Also this problem isnt limited to apps that i've previously installed. So I wouldnt expect anything to be in there on those apps. However there is a folder im not sure about. its not very big (256KB) and its names mcRegistry.
I'm not sure if its a big deal, and further since no one seemed to have commented on it. Is there a problem with my system file space as mentioned above? (17% left, 250MB)
thanks
I have the GTN80013 (32gb no GSM/cdma)
Im in recovery mode now and i selected wipe cache partition. I dont see anywhere that says advanced. The only options i have are; reboot, apply update from external storage, wipe data/factory reset, wipe cache, apply update from cache.
still cannot install some apks. I tried to install appinstaller (which i've never installed/tried to install from the play store) and it failed. Also my game emulators failed to install with ES file explorer.
I was able to clear the dalvik cache by gong to data/dalvik-cache And deleting everything. after restarting it waa rebuilt. still can't install apps.
Maybe it's not the same as doing it in recovery, but that's not an option in my recovery mode from what I can see.
Thank for the help
I finally solved my problem.
I had installed Link2SD and a setting in that app was causing the problem.
The Fix:
Open up the menu (context menu) > settings
Click on install location and change it from External to Automatic.
I can install app now.
The only strange part is when i first had this problem, i didnt have this app installed. As suggested above, it was probably the Dalvik cache.
For anyone who has problems finding the 'clear dalvik cache' in recovery mode; You can use lucky patcher to delete it. Its in the menu>trouble shooting> delete dalvik cache and reboot.
Or you can do it manually by going to data>dalvik-cache and deleting everything in there.
Thanks for the help!

Restoring a system app?

So here's the case- I used the zero camera mod, and don't have a recovery backup before that point, although I have made a backup copy of the two files, which the mod replaces. Now I want to restore the original camera app, but I can't.
Here is what I have tried:
Manual replacement with root explorer, after setting the right permissions, and the app just disappeared from drawer. After that, tried wiping cache and dalvik-didn't help.
So next thing-replaced my original files with those from the zerocam zip and flashed them, again with wiping caches and fixing permissions, and again no luck....
Any ideas why the s##t isn't working, like it's supposed to, and how to get back the original camera app? I've done such things thousands of times on other phones, without any problems, and can't figure out what's the problem here....
Sent from my HTC One S using Tapatalk 2
Boot into recovery and replace the files through adb. You cant replace system apps while the system is running, in most cases.
Tried with the file manager of trwp - again, the app just disappeared... Fixing permissions and wiping caches didn't help either...
Sent from my HTC One S using Tapatalk 2

[Q] Whtsapp stopped working and now throwing unknown errors

Hi everyone,
I have been using my nexus 5 since 4-5 days now and everything was working fine till last night when whatsapp started giving me errors (unfortunately app has been closed). I uninstalled whatsapp and when I am trying to re install it, its now giving me error "unknown error code on application install -24"
I have tried installing via apk, playstore's website, cleared the cache and data of playstore app, rebooted phone but nothing works.
I am hesitant to root my nexus 5 as there is no official recovery available and people are having issues when rooting the device and I cannot afford to have an unstable phone. Hard reset is an option but I would like to avoid it if possible. I have read that if I delete the related whatsapp folder from data/data folder somehow then it will fix the issue. Is there any way I could access and delete that folder without being rooted or if someone has any other solution to my problem.
Any help is much appreciated
Kamran9558 said:
Hi everyone,
I have been using my nexus 5 since 4-5 days now and everything was working fine till last night when whatsapp started giving me errors (unfortunately app has been closed). I uninstalled whatsapp and when I am trying to re install it, its now giving me error "unknown error code on application install -24"
I have tried installing via apk, playstore's website, cleared the cache and data of playstore app, rebooted phone but nothing works.
I am hesitant to root my nexus 5 as there is no official recovery available and people are having issues when rooting the device and I cannot afford to have an unstable phone. Hard reset is an option but I would like to avoid it if possible. I have read that if I delete the related whatsapp folder from data/data folder somehow then it will fix the issue. Is there any way I could access and delete that folder without being rooted or if someone has any other solution to my problem.
Any help is much appreciated
Click to expand...
Click to collapse
Same thing happened to me, Did you enable ART? Because that's what caused my errors (force closing). After switching back to Dalvik and trying to re-install, i was getting -24 error on the play store. I rebooted a few times and left it for a few hours. Tried again and it worked.
Whatsapp is i believe in-compatible with ART.
ronilzizou said:
Same thing happened to me, Did you enable ART? Because that's what caused my errors (force closing). After switching back to Dalvik and trying to re-install, i was getting -24 error on the play store. I rebooted a few times and left it for a few hours. Tried again and it worked.
Whatsapp is i believe in-compatible with ART.
Click to expand...
Click to collapse
Yes, I switched to ART . I went back to Dalvik and tried installing it but it still didnt work
Kamran9558 said:
Yes, I switched to ART . I went back to Dalvik and tried installing it but it still didnt work
Click to expand...
Click to collapse
Okay, As for as i know, it did fix itself when i rebooted a few times and after a while it just worked.
Things i also tried that might have helped. Clear cache for the playstore which you tried. i would do this again after you switched back to Dalvik. and make sure whatsapp is uninstalled before switching to Dalvik. Once you switch back and have cleared cache from the playstore, try to re-install Whatsapp.
As for the backup, on your phone is a whatsapp folder that has a backup of your messages and photos etc. When you re-install whatsapp it'll pick that up and restore your stuff. There is no need to delete that folder.
I Hope that fixes it for you.
ronilzizou said:
Okay, As for as i know, it did fix itself when i rebooted a few times and after a while it just worked.
Things i also tried that might have helped. Clear cache for the playstore which you tried. i would do this again after you switched back to Dalvik. and make sure whatsapp is uninstalled before switching to Dalvik. Once you switch back and have cleared cache from the playstore, try to re-install Whatsapp.
As for the backup, on your phone is a whatsapp folder that has a backup of your messages and photos etc. When you re-install whatsapp it'll pick that up and restore your stuff. There is no need to delete that folder.
I Hope that fixes it for you.
Click to expand...
Click to collapse
Ok, Here is what I did.
After switching back to Dalvik I rebooted the phone couple of times, Cleared the data and cache of playstore app then tried downloading again but still the same error
Kamran9558 said:
Ok, Here is what I did.
After switching back to Dalvik I rebooted the phone couple of times, Cleared the data and cache of playstore app then tried downloading again but still the same error
Click to expand...
Click to collapse
Right so far thats what i did, and thats exactly what happened to me. I just left it for a few hours and tried again it worked. Just give it a few hours and re-try / reboot and re-try.
It didnt work. I had to factory reset my phone eventually and wasted my evening doing all the restores, I wish Android had a seamless backup system something like that of Apple's. Helium/Titanium/mybackup, all of them have some kind of flaws
Kamran9558 said:
It didnt work. I had to factory reset my phone eventually and wasted my evening doing all the restores, I wish Android had a seamless backup system something like that of Apple's. Helium/Titanium/mybackup, all of them have some kind of flaws
Click to expand...
Click to collapse
Than you are not using TB or Helium as you should bro, app and data restoring always worked perfectly for me
gee2012 said:
Than you are not using TB or Helium as you should bro, app and data restoring always worked perfectly for me
Click to expand...
Click to collapse
I am not rooted at the moment so TB wasnt really an option. Helium works fine only for apps and their data but I am looking for something that can restore my phone exactly how it was before the reset including home screens, settings etc without being rooted.
Kamran9558 said:
I am not rooted at the moment so TB wasnt really an option. Helium works fine only for apps and their data but I am looking for something that can restore my phone exactly how it was before the reset including home screens, settings etc without being rooted.
Click to expand...
Click to collapse
That what you are looking for would be a nandroid backup made in a custom recovery, that restores everything. But not possible without root.
Hi,
I have the same problem. Error -24 if I want to install Whatsapp from Google Play Store. Local installation after downloading the APK from Whatsapp gives also an error (app not installed).
Tried several times to delete the cache and setting of the Play Store app and the Google Framework. Followed by restarts of the phone. Until now I was NOT succesful.
As far as I read on other forums, the problem is, that in data/data/ already exists a Whatsapp-directory and therefore Whatsapp doesn't want to install. You could delete this directory, but only if you are rooted. I avoided this step until now, because it's a new phone with warranty and after rooting, all data ist wiped.
I also tried adb to delete this directory, but same effect. Because the phone is not rooted, I can't remove this directory by remote shell.
Is there no way to clean up such remains WITHOUT root?
Greets,
scuba4436

Categories

Resources