so I cleared my dalvik-cache this morning. first i tried doing it in RA-1.5.2 or whatever, it said it failed. So, then i booted the phone up, adb shell'd into it and did a
Code:
rm -r /data/dalvik-cache
now when I boot up I get a ton of FC's (literally, i get 2000, i counted) They seem mostly to be Sprint, but there are also some google stuff, and some other random ones. The reason I cleared it was to try to reclaim some free space, for some reason I'm around 30mb free on Settings->SD and Phone Storage, after clearing I'm still only around 55. Trying to find the culprit.
BTW: I do have a nandroid from last friday, but I consider that to be a last resort :-/
this problem has come up before seems the best thing to do is reflash whatever rom your running over itself and that seems to fix it.
The recovery doesn't clear the boot cache. You can use the fresh kitchen it has the option to clear cache in the tools and tweak menu..
That worked for me yesterday when this exact thing happened.
@wtphoto i'm running stock sprint, will reflashing it format it and get rid of my stuff?
@thedudejdog do i have to have fresh on my phone to do this?
You did it wrong.
Why were you trying to do this, and what instructions were you following?
That command didn't delete the entire cache folder as well did it?
Like as in you didn't delete the actual folder, just the insides right?
@jonnythan
http://forum.xda-developers.com/showthread.php?t=537830
The reason I cleared it was to try to reclaim some free space, for some reason I'm around 30mb free on Settings->SD and Phone Storage, after clearing I'm still only around 55. Trying to find the culprit.
Click to expand...
Click to collapse
@willowmp
no, the folder is still there and there are dex files in it
EDIT: after reboot, the files are there
Code:
rm -r /data/dalvik-cache
You erased the folder itself, not just the contents of it. Someone who's actually tested will have to speak up and tell us whether Android is smart enough to recreate the folder if something/someone deletes it.
EDIT: Ah, I see someone HAS tested that and Android will recreate it.
The reason I cleared it was to try to reclaim some free space, for some reason I'm around 30mb free on Settings->SD and Phone Storage, after clearing I'm still only around 55. Trying to find the culprit.
Click to expand...
Click to collapse
Why is 30 mb a bad number?
idk, i always see people saying they have 100+ free, and for a few months I had ~70, then all the sudden it dropped to ~30
If you remove the dalvik-cache, you have to also remove the boot-cache at the same time to avoid the FCs.
But if you remove the dalvik-cache and boot-cache, they get recreated the next time you boot up. It will "save" space, but the cache directories will just get filled right back up.
As far as I can tell, the only reason to ever delete these caches is if you're having some sort of error/FC condition.
thanks for the fix jonnythan and thedudejdog, clearing boot-cache seemed to have fixed the FC's. All except google voice it seems, but I've always had a boot FC on GV. thanks for the help
Related
I was just wondering how many ppl have the caches, apps, and /data/data, running all on a EXT2 partition. What are your experiences? Pros and Cons?
Any information would be appreciated. Thanks!
i have moved everything to ext2 and everything runs perfect... i basically have unlimited download space as long as the space exsists on my SD card i got a 16gig, dosent run slow or anything. Only thing i had a problem was moving data/data to ext2.. it made process android.process.acore force close alot which made it so i couldnt look at my call log, & make calls properly, the market would also force close sometimes but since i moved data/data back everyting works fine.
I just wanted to ask if anyone knew where Google Maps 5.0 Cached its map data. (Phone or SD Card) basically asking because i've been taking trips up to the mountains (4 hour drive) and last time i tried to use my phone (Captivate) as GPS for the trip, at about the 3hr mark i began receiving low memory warnings and my phone began turning away text messages and doing all of the other funky things they do when running low on program memory. the only way i knew to remedy the problem was to restore from a previous back up (clearing the google maps cache and installing google maps didnt work). i just wanted to know if maybe Google Maps 5.0 downloads the map data to a different location or has an option to avoid this. sorry if this has been posted else where, i did a search and came up with nothing.
I was wondering the same, as I'm wondering if anyone can provide the complete cache's?
Wouldn't it be great if we could download areas in advance!
I'm pretty sure its stored on the SD card, where I'm not sure.
I put my phone into disk mode, and the cache when down to 4B, I had to force stop the app to get it to go back to my previous cache, which was 27MB after ending disk mode.
m16 said:
I'm pretty sure its stored on the SD card, where I'm not sure.
I put my phone into disk mode, and the cache when down to 4B, I had to force stop the app to get it to go back to my previous cache, which was 27MB after ending disk mode.
Click to expand...
Click to collapse
sdkaart/android/data/com.google.anddroid.apps.maps/cache ..i believe...
Is it possible to back up those caches?
nraudigy2 said:
Is it possible to back up those caches?
Click to expand...
Click to collapse
This would be useful. In theory, could we not create a file for Europe or the US that someone could download in advance?
Seems kinda obvious, has no-one done this, or created an app to do it?
It seems like backing up those files won't help. I did a wipe and reset of my Desire HD, copied the backed up files to the cache directory. When Maps launches it removes all previous files and starts afresh. Bummer
I remember I used to play this game when iPhone first came out, caching the map tiles with OfflineMap.
Hi,
Few days back, my phone started randomly rebooting and it got stuck on boot. When I checked logcat, I got some fatal error in java. I tried fix_permissions and all but nothing seemed to work, so I just restored a recent Nandroid backup. However, in attempts to fix the issue, I must rebooted around 50-60 times. So, anyway, the problem was fixed. This was 3 days back.
Today I check the photos, and I see only 30-40 photos are remaining of around 500-600 photos which I had. I've done a thorough search on my phone but they haven't been moved anywhere else. AFAIK, if there is a data loss, it should take down everything not just selective items, no?
Is there any solution to this problem? I don't want to have all those 1 year's worth of photos gone.
Can I use 'dd' to make an image and mount it as ext and run ext data recovery tools? Or is there anything else I can do? Would really appreciate some help here.
Thanks
Also, what is the partition mounted as in Nexus S, ext or fat?
FAT32, so it retains compatibility with all OS.
And no, you're not right. If there is data loss, it doesn't necessarily mean you will lose everything at once. The memory can be partially corrupted either by a physical problem with the chip(s) itself or the connections or by a software problem.
Hi guys,
I've been having this problem for quite some time now. I first noticed this when I shifted from one custom ROM (SAGA LBC) to another (CyanogenMod 7.1). At first, my phone kept resetting after a reboot. At first, I thought it was an incompatible ROM. For a time, wiping cache and dalvik cache via the recovery interface did the trick. But then, it just got worse and worse. I eventually reverted back to LBC, thinking that it might be Cyanogen. But, as it turns out, my phone still kept resetting. Even as mundane a task as going to the settings menu freezes up my phone, requiring me to reset, sometimes even by pulling out the battery. I tried doing the wiping of the caches again, bit it never became effective.
Then I read somewhere that Andoid seems to be uber sensitive to file corruptions and defragmentation of the microSD card, so I defragged the SD, fixed the permissions, and deleted the LOST.DIR and tmp folders. Everything went smoothly at first, but then after a couple of days, my phone kept rebooting again. To verify that it was the microSD at fault, I removed it for the mean time. Since then, my phone hasn't frozen nor rebooted.
One other thing: whenever I check the microSD via Windows (right click --> Properties --> Tools), everything seems to be in order as Windows can't detect anything wrong. Right now, I've ran chkdsk :f /f /r on the drive, but Windows says that everything is fine. I haven't reinstalled the microSD yet, as I want to run a more thorough test before I do.
Have any of you encountered this? Could you guys give me suggestions on what to do, a better tool than chkdsk, etc? I can buy another card, but I don't want to do that just yet. My microSD is 32GB, and I don't want to just throw it away or something
I'm running [GT-P31XX][JB][4.2.2] CyanogenMod 10.1, just fyi
So all of a sudden I can't install any more apps... it keeps saying internal storage full.
I've even uninstalled all the "extra's" I've been running.. I went from like 150 or more apps installed down to (what I consider) hardly any and it just keeps saying it.
It's not talking about the internal SD card is it? I have almost a gig or room on that.
I'm at a loss here.
Any apps to clear my memory or something? I've used Allininetool, doesn't help, SDMaid, doesn't help... a couple other that I can't remember the names of, they didn't help either.
bleh!
Thanks i advance for any help.
donniegalaxy2 said:
I'm running [GT-P31XX][JB][4.2.2] CyanogenMod 10.1, just fyi
So all of a sudden I can't install any more apps... it keeps saying internal storage full.
I've even uninstalled all the "extra's" I've been running.. I went from like 150 or more apps installed down to (what I consider) hardly any and it just keeps saying it.
It's not talking about the internal SD card is it? I have almost a gig or room on that.
I'm at a loss here.
Any apps to clear my memory or something? I've used Allininetool, doesn't help, SDMaid, doesn't help... a couple other that I can't remember the names of, they didn't help either.
bleh!
Thanks i advance for any help.
Click to expand...
Click to collapse
same issue is there in my aunts tab 2..on doing a factory reset..all is fine, but after a month only having a bunch apps (consuming max 1gb space), it shows that there is no space! (but doing a factory reset again solves the problem)
planning to take it to the service center!
peRFect! said:
same issue is there in my aunts tab 2..on doing a factory reset..all is fine, but after a month only having a bunch apps (consuming max 1gb space), it shows that there is no space! (but doing a factory reset again solves the problem)
planning to take it to the service center!
Click to expand...
Click to collapse
I reflashed the rom and cleared cache and dalvik. seems to be ok now but thats curious as to why it happens.
Can't tell you why this happens and After trying to install some large games and apps i ran in to this. I didn't know that you could only install to the internal SD otherwise i would have got the 16GB version.
After a lot of searching i came across this in the general section, it (so far) has worked like a dream for me.
http://forum.xda-developers.com/showthread.php?t=1961097
[EDIT] This only works on 4.1.x versions.
Actually there is no need to reflash ROMs or even factory reset. I have read about such problems and they are usually related to cache. I do not know the exact name or type of cache which cause the problem, but I recall 2 solutions:
1) Install either Quick System Info Pro or ES Task Manager. Use the 'Clear cache' function inside these apps then restart device.
2) If you do not like to install these apps, then you can boot into Recovery mode & select "Clear cache' from the recovery menu.
I have read these solutions on several forums, including here at XDA Developers. I am not certain if they will work as I myself have not encountered such problems. Maybe if anyone does & needs help, do feel free to try these solutions?