Not clearing cache on ROM installs - Epic 4G Android Development

hey guys, getting an error when I try to clear my cache's on my epic in clock work, I don't remember the exact error but its when i try to clear the davlik cache, it gives me an error that the file already exists? Is this normal? I'm still pretty new at this so any information is definitely helpful.

krazydbiker said:
hey guys, getting an error when I try to clear my cache's on my epic in clock work, I don't remember the exact error but its when i try to clear the davlik cache, it gives me an error that the file already exists? Is this normal? I'm still pretty new at this so any information is definitely helpful.
Click to expand...
Click to collapse
I dunno, When I clean my Davlik, it cleans properly, as do all other cache's on my phone. Perhaps it's a defect?
Sent from my SPH-D700 using XDA App

krazydbiker said:
hey guys, getting an error when I try to clear my cache's on my epic in clock work, I don't remember the exact error but its when i try to clear the davlik cache, it gives me an error that the file already exists? Is this normal? I'm still pretty new at this so any information is definitely helpful.
Click to expand...
Click to collapse
Yes from what I gathered around the forums, this is normal. The fact that it claims that something cannot be mounted / already exists is because it is looking for a component pertaining to froyo. Since we do not yet have this update, it will continue to display that msg. Clockwork dev claims it still wipes the davik cache successfully. If this information is incorrect, please let me know.

Alright, as long as it's normal, just don't want to screw things up. Makes sense if it's designed for froyo.

krazydbiker said:
hey guys, getting an error when I try to clear my cache's on my epic in clock work, I don't remember the exact error but its when i try to clear the davlik cache, it gives me an error that the file already exists? Is this normal? I'm still pretty new at this so any information is definitely helpful.
Click to expand...
Click to collapse
Sounds like not a big deal, if it actually lets you clear the cache your fine. If not, you may just want to not clear it Other than that try flashing back to stock with Odin.

krazydbiker said:
Alright, as long as it's normal, just don't want to screw things up. Makes sense if it's designed for froyo.
Click to expand...
Click to collapse
I always get the same error but it always works.

Clockwork is not clearing my dalvik.
I get "can't mount /dev/blocl/mm3yxxxxxx; file exsists" or something to that effect. I have to clear it manually sans adb or root explorer. Just out of curosity, for a completely clean wipe...what directories should I be clearing? My factory reset works, but what dir should I clear for dalvic and cache? On the norm, I clear /data/dalvik & /data/data/ but still feel I'm missing something.

You only need to clear /data/dalvik-cache. Only rarely do you need to wipe /data

Related

[Q] android.process.acore force close?

hello all,
did a search through this forum didn't see any posts regarding the subject. I was running GummyCharged FE 1.9 and was getting process.acore force close messages more often than I cared for. did not have that issue with GummyCharged FE 1.8.x releases. I think it may have something to do with my contacts though not sure. can anybody shed some light on this?
U may have to reflash. Its happened to me on numerous roms, and a reflash usually fixes the issue. I know its something u might not wanna do, but I would just to get rid of the issue.
Sent from deez nutts. Oh, and my Gummy'd up Charge!!!!
youngpettyboi said:
U may have to reflash. Its happened to me on numerous roms, and a reflash usually fixes the issue. I know its something u might not wanna do, but I would just to get rid of the issue.
Sent from deez nutts. Oh, and my Gummy'd up Charge!!!!
Click to expand...
Click to collapse
Agreed, at least that was the fix for the fassy. Havent had it yet on the Charge
Yea, its the only way really. I tried fixing permissions, that didnt work. A full wipe worked. Also, if u install a theme over another theme without wiping cache and dalvik cache, u will get TONS of fc's. Happened to me. But it was an experiment lol.
Sent from deez nutts. Oh, and my Gummy'd up Charge!!!!
youngpettyboi said:
Yea, its the only way really. I tried fixing permissions, that didnt work. A full wipe worked. Also, if u install a theme over another theme without wiping cache and dalvik cache, u will get TONS of fc's. Happened to me. But it was an experiment lol.
Sent from deez nutts. Oh, and my Gummy'd up Charge!!!!
Click to expand...
Click to collapse
What if I've done multiple reflashes and wiped data, cache, and dalvik before flashing? Any other ideas?
Thanks.
Flashed using CWM or using Odin?
1st an FYI - If you run the fix_permission from CWMR, you need to check the log afterward. It has been broke (wrong path...cannot find packages.xml ) until the 08/07 version (which was only released as part of a few kernel packages). Even then, it seems people were getting mixed results (I haven't tried the newly released version yet).
I don't know if the script will help you though. If I remember correctly (I came from the Defy world), it had something to do with bad application cache (different from system cache and dalvik-cache). First question is, when you did a wipe/reinstall, did you restore any application's settings (e.g. My Backup, the Verizon's Backup Sync, Titanium Backup, Android Restore, etc.)? It would also help explain why a wipe/reinstall wouldn't help.
Also, purely a side note...if you wipe /data, then /data/dalvik-cache (along with everything else in /data) is gone too. Wiping both doesn't do anything (or if it does...then you have an even bigger problem in the /data didn't get wiped properly and should really look into that).
Raccroc said:
First question is, when you did a wipe/reinstall, did you restore any application's settings (e.g. My Backup, the Verizon's Backup Sync, Titanium Backup, Android Restore, etc.)? It would also help explain why a wipe/reinstall wouldn't help.
Click to expand...
Click to collapse
Got to agree with this. Most likely a data restore problem through titanium backup or a program similar. If not, then many people would have the same problem, not just you.
Let us know your restore process... like what do you go through when you redo your phone.
What can I do?
I've performed numerous wipe/reflash of system/device/cache/dalvik cache, and I still receive this error....
It's driving me mad... anything I can do to rid myself of this blasted error once and for all?
It's followed me through Gummy Charged 1.0, 1.5 and now 2.0.
So I've turned off contact syncing with all my accounts and this seems to have fixed the issue. Anyone know if I can permamently fix this? I'd really like to have contact syncing.
Sent from my Gummy Charged GBE 2.0 using Tapatalk
That error is usually from bad system data. Wipe data/ factory reset. Don't restore system data.
Backup your texts if they are important to you with SMS backup
Sent from my SCH-I510 using Tapatalk
I have completely wiped several times and I still get the error. Cache, Data System Wipe, Dalvik Cache, and voltage settings. I only get the error when syncing contacts.
I do full wipe each time a new version of Gummy is released. I also no longer restore Data from apparel using a tool like Titanium nor Mybackup. This has happened on a number of ROMs
Sent from my Gummy Charged GBE 2.0 using Tapatalk
jraskal said:
I have completely wiped several times and I still get the error. Cache, Data System Wipe, Dalvik Cache, and voltage settings. I only get the error when syncing contacts.
I do full wipe each time a new version of Gummy is released. I also no longer restore Data from apparel using a tool like Titanium nor Mybackup. This has happened on a number of ROMs
Sent from my Gummy Charged GBE 2.0 using Tapatalk
Click to expand...
Click to collapse
The force closes may be a precursor of worse things to come. That has been the case with me. I usually go all the way back to bone stock when I have persistent force closen rebooting, or freezing issues. My last crash in Gummy 2 FE was enough. I ended up soft bricking to the point that it would not even power up. I was fortunate that I was able to get into download mode and go to stock (after a couple of attempts)
Have you tried going back to stock yet?
No not yet, Im hoping to avoid that. My phone runs perfectly with contact syncing off.
For the time being I just download my google contacts into a csv and import that file manually.
Sent from my Gummy Charged GBE 2.0 using Tapatalk
I know I'm a year and a half late to the game here, but I was having this problem on my G Tablet with TNT Lite, and after doing a bunch of hunting, I found a fix that worked that (theoretically) should work with other devices. The first part is really easy, but might not to the trick. The second part isn't much tougher, and put everything back as good as new with no recurrences.
This issue is linked to your contacts. If you go into Settings>Applications>System Applications>Contacts Sync Adapter and press Clear Data, this error usually goes away. If this doesn't work, try clearing the data on Settings>Applications>System Applications>Contacts or Settings>Applications>System Applications>Contacts Storage.
Still no luck?
Open Root Explorer. Go to the following folder: /data/data/com.android.providers.contacts/databases/
*Note* this is not the data folder in sdcard, but the data folder in root (/).
See if there is a “.db-journal” file in the folder. If there is, just delete the databases folder in /data/data/com.android.providers.contacts and reboot.
The contacts database will be rebuilt and re-synced, and the error message will stop popping up.
This solution worked for me TWICE with two different ROMS so I suggest you try it out:
Go to Settings –> Applications –> Manage Applications –> All (button on the top that lets you see all applications) –> scroll down to “Contacts Storage” –> Click on “Clear Data”.
Voila, problem solved I hope this still helps people since I dont think the owner of the thread has this problem still.
pablogzzc said:
This solution worked for me TWICE with two different ROMS so I suggest you try it out:
Go to Settings –> Applications –> Manage Applications –> All (button on the top that lets you see all applications) –> scroll down to “Contacts Storage” –> Click on “Clear Data”.
Voila, problem solved I hope this still helps people since I dont think the owner of the thread has this problem still.
Click to expand...
Click to collapse
Thank you.
This worked for me, while a Factory Reset didn't. So much for "factory."
pablogzzc said:
This solution worked for me TWICE with two different ROMS so I suggest you try it out:
Go to Settings –> Applications –> Manage Applications –> All (button on the top that lets you see all applications) –> scroll down to “Contacts Storage” –> Click on “Clear Data”.
Voila, problem solved I hope this still helps people since I dont think the owner of the thread has this problem still.
Click to expand...
Click to collapse
Yay thanks it worked for me
But why does this fc happen though? :/

How do you perform a clean rom installation

Ive seen a lot of mention of a "clean install" when installing a rom. Just curious of some of the ways people install roms whether they wipe everything or only certain things or maybe some stuff I don't know about. So how do you prepare before installing a rom?
sent from Egypt on a camels back.
wipe
/chache
/data
and dalvik cache
i always use CWR even tho rom manager is installed.
advanced and wipe cahce, dalvik.
Back in the cappy forums we had tools that would master clear everything and flash to stock. Do we not have that here?
Also we used neldars kernel flasher. With it we could back up a kernel and flash them automatically. Do we have something like that? Or can I use that app with my nexus?
sent from Egypt on a camels back.
blowtorch said:
wipe
/chache
/data
and dalvik cache
Click to expand...
Click to collapse
What he/she said
You might need to select the fix permissions option, just in case. I've had problems with Cyanogen before so fixing permissions helped me a couple of times.

[Q] ICBINB Froyo keeps force closing and random rebooting

ICBINB Froyo ROM, drhionk's Bali kernel with CWM. I'm getting a ton of force closes, and especially random reboots. Seems to happen mostly with GoSMS Pro and Boat Browser Mini. Possibly unrelated, but today I was unable to pull down my notifications bar for some reason.
What other info do you need about my setup to help me out? Would going into recovery and fixing permissions help?
That's always my first attempt at fixing issues. I boot to cwm and clear caches and fix permissions. It often helps.
Sent from my SGH-T959V using XDA App
jigglynuts said:
That's always my first attempt at fixing issues. I boot to cwm and clear caches and fix permissions. It often helps.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
Cool, I'll give it a shot and report back.
Gonna give it some time to cook up and see if anything sets it off like it has been.. now, does clearing the cache delete any of my SMS or anything? Or does it just shake off the proverbial dust on the system accumulated by apps having been open?
wizard7926 said:
Cool, I'll give it a shot and report back.
Gonna give it some time to cook up and see if anything sets it off like it has been.. now, does clearing the cache delete any of my SMS or anything?
Click to expand...
Click to collapse
No... But a factory reset will
Sent from my SGH-T959V using xda premium
You can also clear cache data from each application giving you problems in your settings. If you do clear your dalvik cache let your device sit for at least 10 min after you reboot.
Bassmanjames said:
You can also clear cache data from each application giving you problems in your settings. If you do clear your dalvik cache let your device sit for at least 10 min after you reboot.
Click to expand...
Click to collapse
So the cache data is just temporary files and stuff? I'm always wary that I'll accidentally delete my settings or custom profiles or anything.
So if I clear my cache on GoSMS, nothing will happen to all my profiles, etc?
wizard7926 said:
So the cache data is just temporary files and stuff? I'm always wary that I'll accidentally delete my settings or custom profiles or anything.
So if I clear my cache on GoSMS, nothing will happen to all my profiles, etc?
Click to expand...
Click to collapse
Nope, cache and data are completely different. Cache files are mostly temporary, data are your permanent files.
FBis251 said:
Nope, cache and data are completely different. Cache files are mostly temporary, data are your permanent files.
Click to expand...
Click to collapse
Sweet. I just get paranoid sometimes

[Q] Adfree java.io.IOException Error on Samsung Admire

Hi, I have a Samsung Admire and have been using Adfree perfectly fine before. However, after upgrading Android from 2.3.4 to 2.3.6 to fix the WIFI error, I can't seem to get Adfree to work again.
I get the following error message when trying to install the Hosts:
java.io.IOException: Error running exec(). Command: [su] Working Directory: null Environment: null
How do I get this app to work again?
Uninstall & reinstall. Try to clear cache & dalvik cache in recovery. Worst case scenario, I think, is to wipe everything and install from scratch.
post-mortem said:
Uninstall & reinstall. Try to clear cache & dalvik cache in recovery. Worst case scenario, I think, is to wipe everything and install from scratch.
Click to expand...
Click to collapse
I tried uninstalling, reinstalling, and wiping cache in recovery before, but to no avail. I didn't try wiping dalvik cache before. After uninstalling, wiping out cache and dalvik cache in recovery, and reinstalling, the error is still there.
I am not sure what you mean by "wipe everything and install from scratch". I would understand how to do that if it was on my PC, but not on my smartphone.
By that I meant, as a last-resort option, to completely wipe everything as if you're gonna flash a new ROM. Format everything through recovery, flash ROM, kernel (if applicable), gapps, whatever else. Then set up your google acct. & restore apps from titanium backup, or reinstall all apps from scratch.
BTW, you shouldn't restore Adfree, it should definitely be installed fresh from Google Play.
post-mortem said:
By that I meant, as a last-resort option, to completely wipe everything as if you're gonna flash a new ROM. Format everything through recovery, flash ROM, kernel (if applicable), gapps, whatever else. Then set up your google acct. & restore apps from titanium backup, or reinstall all apps from scratch.
BTW, you shouldn't restore Adfree, it should definitely be installed fresh from Google Play.
Click to expand...
Click to collapse
As much as I would like to give your method a try, it seems too complicated to do. First of all, I never format my phone before. Even though I know how to format a PC, doing the same thing on the phone seems to be new and unfamiliar to me.
Second of all, it seems to be quite a lot of troubles just to fix that error. I wonder if there is a manual method of removing the ads.
Ok, just to be sure you don't have a problem with su, go into the Superuser app, check for updates, and force an update even if there's no new version (it also makes sure the file has the proper permissions).
post-mortem said:
Ok, just to be sure you don't have a problem with su, go into the Superuser app, check for updates, and force an update even if there's no new version (it also makes sure the file has the proper permissions).
Click to expand...
Click to collapse
Yay! That was the problem. Thank you so much! Wow, AdFree app didn't get rid of most of the ads as it used to, but oh, well...it is better than nothing.

Fix for EIS not working?

Has anyone been able to fix the EIS not working after the 5.1.6 update? I seen where someone said to clear system cache in recovery, does that work and will it wipe anything off the phone?
UPDATE: Clearing cache in recovery fixes the EIS not working on 30fps modes. Just don't wipe "SYSTEM" like I did... Thank goodness for Nandroid backups
deleted
dgunn said:
Has anyone been able to fix the EIS not working after the 5.1.6 update? I seen where someone said to clear system cache in recovery, does that work and will it wipe anything off the phone?
UPDATE: Clearing cache in recovery fixes the EIS not working on 30fps modes. Just don't wipe "SYSTEM" like I did... Thank goodness for Nandroid backups
Click to expand...
Click to collapse
I am sorry, what cache? I thought there was no cache in Android 7+.
There will always be cache and it's located in recovery
dgunn said:
There will always be cache and it's located in recovery
Click to expand...
Click to collapse
Excuse me? I thought the Cache partition was no longer available in Android, at least in a Pixel phone, which I happen to own.
Here's the explanation.
https://www.androidpolice.com/2016/...-partition-changes-and-new-fastboot-commands/
Do Oreo Oneplus devices still have cache?
nabbed said:
Excuse me? I thought the Cache partition was no longer available in Android, at least in a Pixel phone, which I happen to own.
Here's the explanation.
https://www.androidpolice.com/2016/...-partition-changes-and-new-fastboot-commands/
Do Oreo Oneplus devices still have cache?
Click to expand...
Click to collapse
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/wipe-cache-partition-on-android-oreo/useatownrisk
dgunn said:
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/link removed
Click to expand...
Click to collapse
That's not the system Cache partition, that sounds like a user app cache. However, Dalvik no longer exists, and ART doesn't have a cache folder, so what that option really does, I don't know. Perhaps it removes cache files for each individual app? When you select that, does it clear cache instantaneously, or does it take 5-10 seconds overall (to go through each app individually?)
Also, please remove that link. It's not only completely inaccurate and written in broken English, but also it's dangerously inaccurate - it gives instructions to "clear cache," but instead, it's for factory reset.
dgunn said:
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/wipe-cache-partition-on-android-oreo/
Click to expand...
Click to collapse
Lol that Photo is from TWRP , coz recovery has that option, and to be clear OP6 do not.
Hi Guys, EIS is not working on my op 6 running OxygenOS 5.1.6 with locked bootloader. is there anything i can do to get it back working
nabbed said:
That's not the system Cache partition, that sounds like a user app cache. However, Dalvik no longer exists, and ART doesn't have a cache folder, so what that option really does, I don't know. Perhaps it removes cache files for each individual app? When you select that, does it clear cache instantaneously, or does it take 5-10 seconds overall (to go through each app individually?)
Also, please remove that link. It's not only completely inaccurate and written in broken English, but also it's dangerously inaccurate - it gives instructions to "clear cache," but instead, it's for factory reset.
Click to expand...
Click to collapse
So what you're telling me is that when I wiped this Dalvik off of my phone and did a reboot that it cleared all of my app cache? Because once I rebooted my phone after clearing the cache my phone began optimizing my apps the same as it always does when I clear system cache from any phone.
I still have Dalvik cache folders on my OnePlus 6 filled with dex, vdex and art files. So unless TWRP deletes all of these files as if it were a cache partition then I have no idea what it does or how it was able to make the phone reconfigure the .dex files
I also did not remove the link I posted instead I appended use at your own risk at the end of the URL so if someone would like to open and read it they can remove the use at your own risk and still see what the link was pointing to for a reference.
Yes indeed it is TWRP so fixing EIS may not be available unless you have custom recovery. Don't be a derp, use TWRP

Categories

Resources