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?
Related
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...
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
I reset my phone to factory setting and now I am missing a couple apps. The 2 that I notice are the Market app and my GMail app. I've done a lot of research and can't figure out how to return these two apps. Anyone have any suggestions?
MDMontemayor said:
I reset my phone to factory setting and now I am missing a couple apps. The 2 that I notice are the Market app and my GMail app. I've done a lot of research and can't figure out how to return these two apps. Anyone have any suggestions?
Click to expand...
Click to collapse
You can get both on the market's website.
how can he get the market without the market?
TRusselo said:
how can he get the market without the market?
Click to expand...
Click to collapse
Market's website lol.. From your pc (or even using the browser on your phone)
Cmon Tru
yeah i tried that... no go. and the android market pushes to the market app..
no downloads that i see!...???
quote from android market downloading issues FAQ:
Android Market disappearing after Android 2.2 Update We're receiving reports from some users that the Android Market app is disappearing after receiving the Android 2.2 update. We're working with carriers and device manufacturers to resolve the issue and restore your access to Android Market.
In the meantime, if you'd like to resolve the issue immediately, we recommend performing a factory data reset on your device. Please note that this will reset your device to its original state, and while your media content (photos, music, etc.) will not be deleted from the SD card, applications and their related data will be uninstalled. To perform a factory reset:
Go to Home > Menu > Settings > Privacy
Press "Factory data reset"
Press "Reset phone"
Your phone will restart, and after everything resets you'll be able to access Android Market again. Note that in some devices the "Factory data reset" option may be located under a different menu item, such as Phone Storage.
Click to expand...
Click to collapse
TRusselo said:
yeah i tried that... no go. and the android market pushes to the market app..
no downloads that i see!...???
quote from android market downloading issues FAQ:
Click to expand...
Click to collapse
Wow that's weird
Ok well sorry, it worked for me on my friend's phone couple weeks ago
are you sure that wasnt "another market" something from another "planet" maybe?
TRusselo said:
are you sure that wasnt "another market" something from another "planet" maybe?
Click to expand...
Click to collapse
Haha no, it wasn't.. Although, wondering if App brain has a website where it could be downloaded? And from App brain, download the Market app.
Just a though
wait duh...
ill just grab an apk out of a rom file...
extract and mount system RW
drop the 2 files in system/app/
unmount (RO)
reboot
im smarter after 4:20
TRusselo said:
wait duh...
ill just grab an apk out of a rom file...
extract and mount system RW
drop the 2 files in system/app/
unmount (RO)
reboot
im smarter after 4:20
Click to expand...
Click to collapse
Can you explain this to someone that doesn't know what their doing? Also, did it work for you?
oh crap.. umm...
are you rooted?
and ive never lost it... so.. this might work... wont hurt...
MDMontemayor said:
Can you explain this to someone that doesn't know what their doing? Also, did it work for you?
Click to expand...
Click to collapse
TRusselo said:
oh crap.. umm...
are you rooted?
and ive never lost it... so.. this might work... wont hurt...
Click to expand...
Click to collapse
You'll need Root Explorer to do that.
And you'll need root, like TRus mentioned.
41LY45 said:
You'll need Root Explorer to do that.
And you'll need root, like TRus mentioned.
Click to expand...
Click to collapse
Or if you have ADB, you could extract the market and gmail .apk's and adb install them to your phone.
Good luck!
~Gemuse
yes it is rooted. I dont know what adb is, can you explain? I'll do some research also.
[Guide] Easy Adb setup with shortcut for noobs (pictures!) - xda-developers
15 Useful Android Terminal (adb Shell) Commands to Follow Gadgets DNA
that first guide is by me so hit the thanks...
or get a root file explorer program off the market for free,
get the app "SGS Tools" use it to "run script" > mount system RW
drop the apps in /system/apps/ with your explorer app
use "SGS Tools" again to "run script" > mount system RO
or buy the app root explorer. it has the RW RO button built in. so no run script....
or flash a custom rom..
or try a factory reset again...
^ A simple reflash of the ROM cleared up the problem of the missing apps for me.
Went from GR-12 to Subpression 3 and had the missin app problem...reflashed Subpression 3 and was good to go and then updated to 3.2 and no problems there either.
edit: I realize the OP said they reset their phone to factory settings, but I thought I'd leave my post anyway just incase someone flashed a custom ROM and experienced this problem.
I just had this issue after installing a theme and simply extracted the GR12 files on my SD card and installed the Market and vending apks.
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.
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.