Wiped Cache & Dalvik/ART Cache: Some apps stopped working - HTC 10 Questions & Answers

Was I not supposed to wipe the cache and/or ART cache in TWRP? Because, to try and fix a stupid problem, I did wiped that and created a lot of other problems. STUPID!
Facebook/Messenger keep force closing when opened...
Amplify also keeps force closing when opened...
Xposed no longer works, it says it's installed and active but it does nothing. Tells me to check the log, but there is no error file (it can't create the file).
I get a 404 error when Xposed tries to download the modules list.
I made a System + Data + Boot backup but I've read that since "Data" is encrypted on the HTC 10 with proprietary algorithms, that it's not possible to restore it. I could just restore "System" and "Boot", but will that do anything? And shouldn't I clear Cache and ART Cache after doing that anyway?
What the hell did I do to my phone? Save​

I might have fixed this...
I just uninstalled a bunch of root apps (AdAway, Xposed, SuperSU, Greenify), apps that change the "system" (although they were systemless) and restored my boot image. Cleared Cache and ART Cache again, rebooted and reinstalled Facebook/Messenger. They are now working again
I'm going to reinstall everything else back, one by one and see if everything is fixed...

Everything seems to be fixed

Related

[Q] Wiping Cache from Recovery? *PLEASE HELP*

Upon booting up via Vol. Down + Power, there are four options (fastboot, recovery, wipe cache, and simunlock). What happens when you wipe cache?
I just installed a new ROM (well updated), couldnt get it to boot as I was stuck on the custom boot screen, but after wipe cache it loads up?
Does this effect the functionality at all? Please help. Thanks
I believe this is a factory wipe, but is a dumbed down version, that does not wipe /sd-ext partitions etc. Just removes /data programs and user info, but won't touch any /system applications.
It is used to reset the phone without actually booting up the OS
Any particular reason why my ROM wouldnt boot up normally but requires a cache wipe in order to boot?
trenwei said:
Any particular reason why my ROM wouldnt boot up normally but requires a cache wipe in order to boot?
Click to expand...
Click to collapse
Soms roms will require you to wipe dalvik cache in order for the new rom to boot (conflicts can be caused), and wiping this cache would do it, however you can just wipe dalvik cache from recovery not this hboot menu.
For future reference when changing roms, especially when changing to someone elses rom (and especially especially when its a different base) you should be doing a full wipe
A full wipe is:
-Data (factory reset)
-Dalvik Cache
-Ext partition (although sometimes you can get away with skipping this one)
You should be able to wipe those three from both Amon-RA and Clockwork Mod recoveries.
NOTE: I am sleep deprived, so this will proberly not make alot of sense
I'm not that technical with the Android system (have worked with linux abit though)
Deleting the cache would remove any saved data from the system. These saved items may contain anything from images to which default program is loaded, to which widgets are loaded on the homscreen.
This is why after a new install the phone takes a little longer booting up, creating all the new files. If you need me to go into cache, use Google.
Another theory would be:
After an upgrade, some files and apps think that the system has changed owners, so their permissions change from read/write to read/only etc.
With this, some system files will become inaccessible, will be unable to be edited and so forth.
A way around this would be to "fix" the permissions of the data, changing the owner of the files allowing read/write permissions
Rom Manager has a nice little feature that allows you to fix permissions, and has come very helpful for me, with my switching to and from OD/Pinky, and restoring LauncherPro, which likes to FC at every restore -.-.

[Q] Cache & Data

So, my GVoice app stopped working about a week ago. It would just crash on load. I went to clear the cache for it, and it was at 1.17GB. It wouldn't clear, I couldn't delete it with temproot. I renamed the folder, and that fixed it. The data is still there though.
The next day I went into my app management, and my browser, facebook, and a couple other apps have around 500-800MB. Again, I hit clear data/clear cache, it doesn't give me an error, but it also doesn't clear it.
Any idea whats going on? This happening to anyone else? I have run the cache cleaner from recovery as well. I just updated tot he new OTA, problem is still there. Everything seems to run fine though.
Sounds like something you did in one of your applications or in the settings is "Protecting" the cache. My best suggestion when all else fails is backup using titanium backup and then do a restore to factory settings and data in both bootloader and in recovery. Backup the sd card and wipe it as well, then just put personal data back to your sd card and restore with titanium, and all problems should be resolved

Insufficient Space/Invalid Package File

I've been having this issue for the past couple of weeks and I don't know how to resolve it. At first I thought it might have been my ROM so I wiped everything clean and flashed a new ROM but the problem still exists. I read on a forum that the cache partition could be full so I used Terminal Emulator to check the disk usage and I'm reading that my /cache is 98% full. I also have a dalvik cache in the cache folder as well as a dalvik cache in my /data folder both of which are close to 300mb in size. I tried to clear the cache and dalvik cache in recovery before resorting to the full wipe and each time both cache rebuilt themselves. I'm completely at a loss and I'd really appreciate some help with this issue. Thanks in advance.
So you're out of space? Perhaps you have several backups from CWM taking up all the room. They are pretty large files. I myself keep my stock backup and my most recent, the rest of them rest on my pc.
Sent from my Blazing ET4G
thats not the case here. i dug around a bit and saw that my cache and dalvik cache are 98% full. as stated earlier i tried deleting the dalvik cache but it regenerates itself. i looked around in titanium backup and saw an option to integrate some of the cache to the system. i enabled that and it moved around 150 items around and freed up some space. i'm still around 88% full and i know this problem is gonna rear it's ugly head very soon so I'm trying to install programs like link2sd and as2d+. none of these programs are working though...they all require partitioned sd cards (which i have) but none of these programs are seeing the partitioned card. i've tried repartitioning under recovery but that does absolutely nothing. anyway e4gt users can take advantage of these programs?
I had the same issue and it was driving me crazy. I just downloaded Cache Fixer and ran it and now I am good. Turns out my cache was 95% full, wiped it using that tool and I can now update and download.
I want to add that after it cleared, I could update but some of the other apps on the phone did no work (Google Music and Dolphin Browser to nae a few). I re-boot and the cache is back to pre clearing levels and no other issues. It does temporarily fix the isse bt I do not have a permanent fix.
If anyone has one, I would love to know what that may be.
i just want to say that I am having the same exact issue and performed the same steps the OP did. Only when I wipe the cache with cache fixer it everything forces closes so i can't update anything. So i am really stuck.
The only success that I have temporarily is uninstalling the app then resinstalling it. But thats not a permanent solution and sucks for apps like beautiful widgets.
PLEASE HELP
EDIT: on calkulins 3.0 rom and self updated google play

Lolipop and Dalvik Cache

Just curious is it normal for android 5.0 to use so much dalvik cache mine is about 450mb I used titanium backup clear dalvik cache after restart android optimizing again at boot up.
TiBu seems to have been abandoned by the developer, I just tried to email them about not being able to write to my external SD card and it was returned as a bad address. If it is still in active development, it's not ready for Lollipop yet. It told me my dalvik cache is loaded with over 300MB of unnecessary files, but I know that isn't true.
Thanks, unable to write SD card has to do with android is not with TiBu you need to find way to enable SD card writibility. Not only TiBu shows dalvik cache loaded over 450mb I'm able find the folder with root explorer in my system it lol like user apps are associated in dalvik cache.
Yeah. I used es file Explorer to try to write to SD and it opened a file manager from lollipop and said to unhide the SD card so I did and now I can write to it.
MadJoe said:
TiBu seems to have been abandoned by the developer, I just tried to email them about not being able to write to my external SD card and it was returned as a bad address. If it is still in active development, it's not ready for Lollipop yet. It told me my dalvik cache is loaded with over 300MB of unnecessary files, but I know that isn't true.
Click to expand...
Click to collapse
Lollipop did not totally abandon dalvik cache. All it did it is to write pre compiled files to dalvik folder when installing while back in KitKat the system did not compile apps during installation but compile them just before them run (JIT). If you somehow delete/cleared all/some cached dalvik files in lollipop, system will try to re-compile the corresponding app so that you don't have to compile before they run.
Whenever an app updates via google play system compiles it during installation. However, when apps are updated via system update (Odin, ZIP flashing, OTA,you name it) , system will recompile the new apps which is why the first boot of lollipop takes so much time ( It is compiling all upgraded app!!).
Because TiBackup does not compile apps when restoring them, when you try to run the restored app, lollipop will try to find the pre-compiled file under dalvik cache directory but the correct one is not there. Therefore the app will not run properly. This is why after TiBackup restore in lollipop, always clear dalvik cache and cache and reboot. The restored app will be compiled correctly after during rebooting~ The same applies to Zip/Odin flashing too.

Suddenly almost all my APPs keep crashing (A3 2017)

Help!
For some reason my A3 started to act weird (maybe because it noticed that I ordered an S9). Almost all my apps aren't accessible anymore. When I click on something it starts the app and then closes it shortly after telling me the app needs a restart.
Only few apps work (Whatsapp, Calendar, Instagram, Calculator for example)
I tried wiping the cache partition (where it says it can't find the /misc partition, don't know if this is normal), wiping app cache directly and reinstalling apps. Nothing helped.
Thanks in advance!
start everything from the beginning,
just wipe your /data from twrp.
and everything will fine.
dont forget to backup your data inside internal memory, because it will be wiped too

Categories

Resources