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...
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 hav an htc hero and I'm wondering how to clear my gallerys cache using the partitions menu in clockworkmod recovery. Its a lot to type from my phone so here's the info from my android forums post.
androidforums.com/sprint-hero-all-things-root/266717-how-do-i-clear-my-gallery-its-showing-wrong-pictures.html
I'm guessing it can be done there like when I wanted to clear my google apps I was told to use format /system and it wordked. But I don't know what these things actually do so I don't want to use the wrong one and lost other things from my phone
I'm not quite sure what cache your referring to, but in your menu settings " within your rom" it should be a option for managing your apps. Once you find that selection you can find the gallery application and clear the cache. Hope this helps. Good luck.
Something.About.Me.U.Dont.Like.
Its.Cool.I.Understand.AWAH
natorade93 said:
I hav an htc hero and I'm wondering how to clear my gallerys cache using the partitions menu in clockworkmod recovery. Its a lot to type from my phone so here's the info from my android forums post.
androidforums.com/sprint-hero-all-things-root/266717-how-do-i-clear-my-gallery-its-showing-wrong-pictures.html
I'm guessing it can be done there like when I wanted to clear my google apps I was told to use format /system and it wordked. But I don't know what these things actually do so I don't want to use the wrong one and lost other things from my phone
Click to expand...
Click to collapse
Iv tried this already. And it didn't work. I even switched roms. These are from when I had cyanogenmod. I reflashed everything and am now using aosp. And it still does it. But only in gallery. quickpic doesn't but that app isn't very good. That's y I'm trying to find what the things in the partitions menu do. Because gapps don't get deleted between roms, u have to go to partitions menu then format /system. So there must b a place outside the rom where old caches are stored
I think you just clear the Dev cache..
I Don't use clockwork but partitioning usually erases everything.
Something.About.Me.U.Dont.Like.
Its.Cool.I.Understand.AWAH
laie1472 said:
I think you just clear the Dev cache..
I Don't use clockwork but partitioning usually erases everything.
Something.About.Me.U.Dont.Like.
Its.Cool.I.Understand.AWAH
Click to expand...
Click to collapse
I just tried clearing the gallery data and clearing the cache threw the recovery menu. But yet still when I click a photo I see the correct one for a split seccond and then it turns into an old deleted photo
Try looking on your sd card in your camera folder there might be img.'s left on there. If so delete the old images and reboot. You would look in the folder titled DCIM then look under camera.
Something.About.Me.U.Dont.Like.
Its.Cool.I.Understand.AWAH
laie1472 said:
Try looking on your sd card in your camera folder there might be img.'s left on there. If so delete the old images and reboot. You would look in the folder titled DCIM then look under camera.
Something.About.Me.U.Dont.Like.
Its.Cool.I.Understand.AWAH
Click to expand...
Click to collapse
I tryed taking all the photos off into my computer and deleting the folders and everything... unfortuately it didn't work. Thank you guys for these sugestions. I appreciate it because id like to figure this out
Well I found a fix just in case anyone else has this problem. I did the format system cache boot and data in the partitions menu. It didn't even help. Im not sure where the pics are being stored but my problem was the stock gallery. I went to it in titanium backup. And used that to find the app in the market. I installed the 3d gallery over stock. Which took out stock And made the 3d gallery app mess up and loop the startup of my phone. It gave a blank icon and said com.gallery and then I used titanium backup to uninstall that because the market wouldnt let me. And then reinstall the 3d gallery from market. And the stock is gone along with the problem! App works fine now!
natorade93 said:
I just tried clearing the gallery data and clearing the cache threw the recovery menu. But yet still when I click a photo I see the correct one for a split seccond and then it turns into an old deleted photo
Click to expand...
Click to collapse
This in my Opinion this is the Easiest Way, All I do is just Open my File Manager and go to
Sdcard/DCIM/.thumbnails/
Then I Select All, and Delete Everything in that File!
From what I Noticed, Whenever I Reboot the Phone, The Cache and a Few Other Files Recreate Themselves Independently!
Good Luck!!
Sent from my HERO200 using XDA App
Hey guys, I have a problem with installing apps on my LG (market and non-market ones).
It basically says when I install them that I have INSUFFICIENT STORAGE AVAILABLE (error); with non-market apps the same and that I need to remove some apps.
I have 6.43GB of Internal Memory left, and 19.6GB of External Memory. It's very strange because I CAN download some apps (even bigger than the one that I can't), but other ones got that error.
Have any ideas? Maybe someone with the same problem?
p.s. I have no ROM installed; I rooted it 2 months ago..
j0s7 said:
Hey guys, I have a problem with installing apps on my LG (market and non-market ones).
It basically says when I install them that I have INSUFFICIENT STORAGE AVAILABLE (error); with non-market apps the same and that I need to remove some apps.
I have 6.43GB of Internal Memory left, and 19.6GB of External Memory. It's very strange because I CAN download some apps (even bigger than the one that I can't), but other ones got that error.
Have any ideas? Maybe someone with the same problem?
p.s. I have no ROM installed; I rooted it 2 months ago..
Click to expand...
Click to collapse
are you using lucky patcher perhaps?
Yes, why?
Sent from my LG-P880 using xda app-developers app
j0s7 said:
Yes, why?
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
cuz lucky patcher is the issue actually, patches that it had done.
when it patches the app, it creates patched .odex, which you need to manually delete when you update/reinstall the app. i had the same issue, but unfortunately i lost track of the thread with the fix. if i find it again, i'll post it.
edit:
try this: "Troubleshooting->Remove fixes and backups (to update app)" in lucky patcher.
i manually removed these .odexes, but this should work too. good luck.
edit2:
found the manual solution: http://kacnje.blogspot.com/2012/10/android-error-insufficient-free-space.html
sretno!
Just launch Lucky Patcher, the program will delete those files automatically. It works for me.
Sent from my LG-P880
Flying_Bear said:
I did something wrong because when I searched for ".odex" files in Root Explorer and deleted them, now all my system apps stopped working.. i guess there were some of these files that I shouldn't had deleted? I'm confused
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
j0s7 said:
Flying_Bear said:
I did something wrong because when I searched for ".odex" files in Root Explorer and deleted them, now all my system apps stopped working.. i guess there were some of these files that I shouldn't had deleted? I'm confused
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
****, you weren't supposed to delete all of them, just the one from the app that wasn't installing. you need those other .odex files for system to function properly ><. do you have any backup at all? if not, you'll probably need to flash kdz file again (good news is, i don't think you'll lose any of the data or settings).
Click to expand...
Click to collapse
Flying_Bear said:
j0s7 said:
****, you weren't supposed to delete all of them, just the one from the app that wasn't installing. you need those other .odex files for system to function properly ><. do you have any backup at all? if not, you'll probably need to flash kdz file again (good news is, i don't think you'll lose any of the data or settings).
Click to expand...
Click to collapse
no backup, and phone stuck on constant loop while rebooting. Any ideas how to flash kdz files??
Click to expand...
Click to collapse
j0s7 said:
no backup, and phone stuck on constant loop while rebooting. Any ideas how to flash kdz files??
Click to expand...
Click to collapse
Just search for it in the General section, I bet you will find what you need.
Shouldn't missing .odex files be rebuilt automatically on reboot? At least that's what's happening after a factory reset (which, amongst others, also deletes al .odex files), and after a wipe of the Dalvik cache (which does exactly that: delete all .odex files).
Being stuck at boot, as you write, try this:
Boot into recovery
Select to "Wipe Dalvik Cache"
Reboot
After the next boot, the entire Dalvik cache should be rebuilt. Of course this requires a custom recovery to be installed (stock recovery doesn't offer to "wipe dalvik cache"; here you had to do a factory-reset, which would also delete all your apps and data).
I used this method:http://forum.xda-developers.com/showthread.php?t=2069723&highlight=flash+kdz+files
so I updated my firmware and now have 4.1.2 JB and everything works fine :victory:
thanks for helping! :good::good:
I wish there were some such flashing tools available for the P880 on Linux. But as much as I've google'd around, I could not find anything. Anybody tried the toolkit available here on XDA for the P990? Can it be used for the P880 as well?
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.