[Q] How to clear ART-compiled apps? - Android Q&A, Help & Troubleshooting

I have an LG L90, I'm not sure if I should post there or here, please move if I have posted in the wrong place.
I decided to try and switch to the ART runtime on this phone. It rebooted, upgrading/optimizing its apps, and then unfortunately kept crashing, managed to revert back to Dalvik and it is running okay, but I think all of the ART-compiled apps are still there taking up space. Is there a simple way to remove all of this and reclaim space? Thanks.

Related

storage ?

whenever I try to install something it says I do not have sufficient storage. facebook is 3.92Mb, I have 2.3Gb on phone free for programs, 8+Gb free on phone, and 29+Gb free in card! app cache found nothing to clean and reboot did not work. I am lost!
Sent from Photon 4G code name "Neo" using XDA Premium!
Try the following:
Clear cache history and other bs is browser app.
Delete any long old or unnecessary text threads. If you'd prefer there are apps to back them up.
Go into recovery and wipe cache.
See if that helps
EDIT- might even squeeze a bit more out by using an app like sd maid to clean old logs and tombstones and other BS.
@Kenny, still no workie!! I just found it strange because if you look at my OP, I have more than enough space. I will try another app! FB is jacked anyway!
Google+ FTW
Try this and remember, no matter how much you dislike what im going to say, there's no crying in baseball (little tom hanks reference )
Menu>settings>apps>downloaded>market aka vending
Force stop, clear cache, clear data, uninstall update
Now reboot. Pretty sure that should do it and if the update doesn't immediately push let me know and ill give you my apk.
KSmithInNY said:
Try this and remember, no matter how much you dislike what im going to say, there's no crying in baseball (little tom hanks reference )
Menu>settings>apps>downloaded>market aka vending
Force stop, clear cache, clear data, uninstall update
Now reboot. Pretty sure that should do it and if the update doesn't immediately push let me know and ill give you my apk.
Click to expand...
Click to collapse
Your gonna have to send it to me because that did not work either. Only difference, before I got Orange Triangle in Notification bar, this time, I got message directly from market. I will do it from home on WiFi in a hour, why waste my data................I have WiFi here duh!
EDIT: Why am I sooooo stupid? linkedin and my news app just updated with no problem. I should have known FB was at the root of this. months ago, I was not getting my IM. They fixed that, but app keep freezing. Last month I could not get to pictures on the phone, they fixed that, but back to the freeing. Now this crap...........
http://db.tt/6H2dNfyP
Have you tried wiping dalvik cache? You can try it in CWM but check its size before and after to see if its wiping. I've seen many issues, which I'll bet a google search will validate, that if dalvik cache grows too large it's first victim is preventing apps from installing from the market.
If recovery isn't wiping you could delete with root explorer and it will recreate
What's this facebook thing you mention? I'll have to get on google plus sometime and see if any of my peeps have heard of it
Glad to hear you're back in business.
OK, I went into System Recovery and deleted Delvik Cache, no success. I went into ROM Toolbox Pro, I cannot find a Delvik Cache folder (Likely burried somewhere.)
Everything is data/delvik-cache should be deleted
The Dex's will regenerate
Just a tip, apps including old versions of google apps that are in system, but no longer used because a newer version has been installed to data, create dalvik-cache. This is why I would release a flashable zip to my rom users every time a google app was updated. Id have the script remove the old apk from /system/app and put the new one in and wipe /cache/dalvik-cache (I'll explain in a min). This kept precious /data space free before we had super phones and kept things neat and tidy. It was more my OCD than anything because id always implement a script that's moves dalvik-cache to cache (now does that path make sense?) Which resulted in more than 20mb of extra /data space that's usable.
Food for thought. I've implemented busy box run parts support on my rom but I haven't even bothered touching my scripts yet so ....
KSmithInNY said:
Everything is data/delvik-cache should be deleted
The Dex's will regenerate
Click to expand...
Click to collapse
Deleted, rebooted, viewed (personally, it looked like delvik had the same s**t as before I deleted!), attempted, same message. Although everyone's help is greatly appreciated, I think its FB.................It is FB!!! Punks! I just downloaded Pirates of the Caribbean, all 18Mb with no problem!!
dsims7_2000 said:
Deleted, rebooted, viewed (personally, it looked like delvik had the same s**t as before I deleted!), attempted, same message. Although everyone's help is greatly appreciated, I think its FB.................It is FB!!! Punks! I just downloaded Pirates of the Caribbean, all 18Mb with no problem!!
Click to expand...
Click to collapse
Well ... if other apps work then its a FB problem, not our mopho problem. Yes the dalvik cache will recreate although smaller and any cache that was left from a previously installed app that has since been removed would not have recreated.
OK, @Kenny, that explains alot. 2 quick questions, When I look at the folder in ROM Toolbox Pro, it tells me the size is "Null", how do you view its size?
Lastly, I deleted that folder and rebooted @ 6:45PM after I got off work. The date on that folder is today, but the time is 15:18, around the time I used System Recovery to clear it? I exited ROM Toolbox, went back in to assure it was gone, rebooted. So maybe the old crap is still there?
dsims7_2000 said:
OK, @Kenny, that explains alot. 2 quick questions, When I look at the folder in ROM Toolbox Pro, it tells me the size is "Null", how do you view its size?
Lastly, I deleted that folder and rebooted @ 6:45PM after I got off work. The date on that folder is today, but the time is 15:18, around the time I used System Recovery to clear it? I exited ROM Toolbox, went back in to assure it was gone, rebooted. So maybe the old crap is still there?
Click to expand...
Click to collapse
To be honest I don't use rom toolbox despite owning so I just installed it to see what your saying and mine shows null size as well. If you hit menu there's a setting you need to check to tell the app the show sizes. Checked it and still null. So my answer is I don't know. That's the longest I've spent using the app and they were all null.
Also make sure your not deleting the folder but rather the contents of it.
My preferred file explorer is root explorer. In fact, one of my most used apps and I'd buy it 100x's over. In root explorer I long pressed, selected properties and my dalvik-cache was 58mb. I did some cleanup of old apps in /system/app and moved the newer versions from /data/app to /system/app. Then I deleted the dalvik-cache contents and rebooted and gained 6mb from the dalvik-cache alone. Not sure how much room was freed in /data by moving the apps to /system but its 15mb as a guess. So by that I freed 20+ mb of space and did a quick general house cleaning.
If I redirecting dalvik-cache to cache and there's another 52mb.
hi all just got this photon used and it should have 16gigs inter space but phone says 8 gigs. is that right?
nuxbag said:
hi all just got this photon used and it should have 16gigs inter space but phone says 8 gigs. is that right?
Click to expand...
Click to collapse
Here is the breakup as given by a xda member bane949
http://forum.xda-developers.com/showpost.php?p=16321320&postcount=3

Stuck at boot after botched app2sd

I own a rooted Samsung Vibrant running cm7, overclocked to 1.3ghz, with cwm recovery. My external SD was full to a byte and my internal had about 100mb free, so I decided to move all my apps on SD to internal. I used an app called App2SD that, among other things, lets you batch move apps. I selected everything on the SD and started a batch move. Like normal, it had to bring up the settings page for each individual app -- annoying, but necessary for the app to work on nonrooted phones. After repeatedly hitting "move to phone" -- back -- "move to phone" -- back -- "move to phone" etc. After almost freezing, and a few metric tons of lag, I finally finished. However, the phone immediately started acting weird. Apps would crash, even after reinstall. This included built in apps like "messaging." It also had the "low memory" alert on, even though the only memory that had gone down was the internal, and it still had >1gb free. (The notification might have actually appeared before, not sure.) Today, after getting into a bit of a jam because I couldn't text, I rebooted the phone. It stopped at the boot animation. I happen to have Live Dmesg, by Chainfire, which replaces the animation with the BIOS output at startup, so I could see that it was getting stuck in a loop after the normal PHONE_ACTIVE=1 message that is the last one I can read (it stops for a few seconds after that, the rest moves way too fast, and the phone boots less than a second later). I have tried rebooting several times, booting to recovery, rebooting, removing battery, etc. Nothing worked. I could probably get it working, as I can access CWM without much trouble, but that would require losing all my data. Yes, I use Titanium, and USB debugging is on, but it would still be a lot of trouble, and I would lose a significant amount of app data.
Any help would be welcome, thanks!
I suppose, in CWM you could mount your internal SD, and backup all of your data and such. Maybe try to move things around manually, and get it to a working state again.
Toast6977 said:
I suppose, in CWM you could mount your internal SD, and backup all of your data and such. Maybe try to move things around manually, and get it to a working state again.
Click to expand...
Click to collapse
When you say to back up the internal memory, do you mean for safety, or to then reset to stock cm7, or what? I don't see how simply backing it up could help.
I don't think I could just move things around, unless I can get a hint from the output from live dmesg. I don't even know where the problem is -- are there any app2sd-able apps that are necessary for system stability?
Well, I guess I assumed you may have an idea of some of the offending apps that may have caused the problem by moving them. If you mounted, could have manually tried to move or remove them and maybe your phone wouldnt be borked anymore.
Probably would be easier to Odin to stock and start over.. move things over a bit slower and possibly one at a time so you can catch any errors or problems with the transfer.
Toast6977 said:
Well, I guess I assumed you may have an idea of some of the offending apps that may have caused the problem by moving them. If you mounted, could have manually tried to move or remove them and maybe your phone wouldnt be borked anymore.
Probably would be easier to Odin to stock and start over.. move things over a bit slower and possibly one at a time so you can catch any errors or problems with the transfer.
Click to expand...
Click to collapse
I don't think I would even have to Odin, I can easily access CWM and reflash cm7 from there, right?
Also, I don't think the problem would happen again, I have done the same several times and I think it was due to the extreme lag and freezes that something got mis-moved.
I will examine the bios output, and if that doesn't give me any new info, revert to stock cm7 with cwm. Or with Odin through AIO if that doesn't work.
EDIT:
CWM'd back to a May backup. Old, but better than stock CM. Boots fine. Will try transferring apps a bit more calmly.
Just preferential to me, I rarely do it, so when I need to start fresh I just go that route.
Glad you got sorted out.
What do you mean stock CM?
sent from the depths of helly bean
CyanogenMod as downloaded. Not "stock" exactly, but you know what I mean.
I recently flashed to Helly Bean. even better. However, the superuser is acting odd, denying access and asking repeatedly. ANy help would be welcome, though you guys have already helped me out, and thanks for that.

[Q] back-up

Hey guys,
I want to format my phone, it's kinda full and going very slow. Here comes the question: Is it a good way to back up my android phone by connecting it to my laptop and copy all the files and maps in to my D:\ drive. I don't mind if it doesn't my text messages and contacts.
I am using a rooted Samsung Galaxy S plus (i9001).
thanks in advance
Why dont you just delete some of the stuff on your sd? I'd do a nandroid just in case, first try wiping cache to check speed. Also, do you have lots of apps running? That'll slow it down. Finally, i'd recommend a FACTORY RESET, if youre looking to start over, and a format if and only if you're prepared for a phone that does not boot.
bodh said:
Why dont you just delete some of the stuff on your sd? I'd do a nandroid just in case, first try wiping cache to check speed. Also, do you have lots of apps running? That'll slow it down. Finally, i'd recommend a FACTORY RESET, if youre looking to start over, and a format if and only if you're prepared for a phone that does not boot.
Click to expand...
Click to collapse
I just have too many apps and other stuff, so it takes waayy to long to delete all those stuff. That's why i also wanted to know if it is good way to back up my files by copying it to my laptop.
Need asnwer please
Well yes you could back up like your sd card to laptop. In fact you could backup everything, and that might be fine. But if you are rooted, you could choose titanium backup, or also something like adb backup. I would choose adb backup, since learning to use it would help you if something goes wrong, such as being able to push new software back to your device. But the adb backup will not let you browse through it, accesssing individual files and folders.

Factory reset - What EXACTLY happens?

Hello,
In my question, What EXACTLY happens during a factory reset, the emphasis is, obviously, on "exactly". I will explain why I need to know this - the research I've done has failed to answer my question.
Carrier-phones come with a bunch of pre-installed apps. Of all possible scenarios, Japanese smartphones, and particularly Sharp smartphones, are the worst case. They are very difficult to root, very finicky phones that seem to go into a boot loop whenever you do something to them that you're not supposed to - all the more challenging
If we manage to root a Sharp phone, the first thing we do is freeze some of the Docomo or Softbank pre-installed apps that take up precious memory. We know that if we want to do a factory reset, we must first un-freeze all those apps, or we risk going into a boot loop, and having to ship the phone back to Japan to get repaired (for those of use who don't live in Japan).
Now, the million dollar question is, what happens if we delete/uninstall those system apps? And here I am asking about the general case, hoping that Sharp haven't invented some twisted scheme here too.
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Does the phone look up a file which contains a list of all those pre-installed app, and verify the contents of the /system/app folder against it --- and if something is missing, it gets stuck during reboot? Or does it simply delete the contents of the /data folder, without paying attention to /system/app? And why does it go into a boot loop, if a system app was frozen?
In the end, I don't simply want to freeze some apps, I want to get rid of them completely --- you can't imagine the load of BS that Japanese carriers cram into their phones (a built-in Rakuten auctions app, a McDonald's app, a BeeTV app??? and so on and so forth) --- but I want to make sure the phone isn't checking what's supposed to be in /system/app.
---------------------
In the case of my 005SH, the rootkit came with a recovery that helps me "resurrect" the phone from a boot loop - and that has happened twice after a factory reset so far - I deleted some seemingly insignificant app, and Titanium Backup failed to restore it for some reason, so it's now gone forever. But not every rootkit comes with a proper recovery...
cheeseus said:
Now, the million dollar question is, what happens if we delete/uninstall those system apps?
Click to expand...
Click to collapse
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
cheeseus said:
When we do a factory reset, how does the phone know what was - and what is supposed to be - in the /system/apps folder? Hence: What EXACTLY happens during a factory reset?
Click to expand...
Click to collapse
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
majdinj said:
Some system apps are important for the device to run properly and some are just bloatware that can be deleted without harm (e.g, Youtube, ChatOn.. etc). There are several app lists in the forum of safe app to remove (this is one).
But I advice you not to play with system apps if you don't know which app is safe to remove.
All app in system partition will be restored as if it was first time to be run, although all of your installed app, contacts, sms, WiFi access and data will be deleted
Click to expand...
Click to collapse
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
cheeseus said:
Thanks but this does not answer my question. I know perfectly well which apps are bloatware and which are essential. I will restate my question:
Is there some register or list, which the phone checks during factory reset, and which says what apps were originally installed in /system/app? That is, will the phone "know" that I have removed some of the original apps?
Click to expand...
Click to collapse
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
majdinj said:
As I mentioned, factory reset will delete all data apps that can be found in data partition not those found in system partition.. If it happens some of original apps are installed in data partition, then they will be deleted (unless if they are found in preload partition!!).. I can't be clear more than this..
Click to expand...
Click to collapse
Really, read my question carefully, please, not just the title of the thread. You are talking about something very different.
It is known that on Japanese Sharp phones, if you uninstall and remove completely some of the apps that are installed by the manufacturer or the carrier in /system/app, when you do a factory reset, the phone may - or even will - go into a boot loop (will be bricked). This has nothing to do with apps that are installed in /data.
Is it possible that Sharp have added an extra "security" mechanism to their phones to prevent users from removing pre-installed apps (similar to their MIYABI LSM lock)? I want to know how to find this security mechanism, if it exists, and - hopefully, how to cheat it.
How does the phone know what apps are supposed to be in /system/app, and if it doesn't find them when rebooting after a factory reset, why does it go into a boot loop?

Best path to upgrade

Hey guys,
So I got the g3 back in Aug. And rooted with one of the early methods.
I stopped keeping up to date with updates but now my phones running a little slow so I figured I'd see what updates I should apply or what the best route would be to go.
Currently I am on 4.4.2 build kvt49l.
I do not remember what I used to root but I believe I'm stock Rom without custom recovery and only root.
I'm okay without going custom recovery, unless it's super easy to obtain, I just enjoy having root for a number of reasons.
Thanks for the info guys.
derik123derik123 said:
Hey guys,
So I got the g3 back in Aug. And rooted with one of the early methods.
I stopped keeping up to date with updates but now my phones running a little slow so I figured I'd see what updates I should apply or what the best route would be to go.
Currently I am on 4.4.2 build kvt49l.
I do not remember what I used to root but I believe I'm stock Rom without custom recovery and only root.
I'm okay without going custom recovery, unless it's super easy to obtain, I just enjoy having root for a number of reasons.
Thanks for the info guys.
Click to expand...
Click to collapse
If you are on the VS985 (Verizon model), only Stump root works.
But, first off, before doing anything, how many apps have you installed? What is the amount of free memory/storage on your phone? If you have way too many apps installed, that can cause the phone to become sluggish. I would suggest removing any apps you know longer use.
Also, you could boot into recovery and wipe the cache and dalvik. Not a factory data reset which wipes your phone, but just wipe the cache and dalvik cache.
I would do that first before taking the OTAs. If all you have done was root via Stump and have not "bumped" the phone with TWRP, you can go into SuperSU and tell it to maintain root across OTAs. Then, you can take the OTAs as they come in and you'll maintain root.
But, i doubt that will fix your sluggishness with the phone. As I stated, I would check to see how much free storage you have left (both on the internal memory as well as the main memory). Then, wipe dalvik and cache and try that as well.
iBolski said:
If you are on the VS985 (Verizon model), only Stump root works.
But, first off, before doing anything, how many apps have you installed? What is the amount of free memory/storage on your phone? If you have way too many apps installed, that can cause the phone to become sluggish. I would suggest removing any apps you know longer use.
Also, you could boot into recovery and wipe the cache and dalvik. Not a factory data reset which wipes your phone, but just wipe the cache and dalvik cache.
I would do that first before taking the OTAs. If all you have done was root via Stump and have not "bumped" the phone with TWRP, you can go into SuperSU and tell it to maintain root across OTAs. Then, you can take the OTAs as they come in and you'll maintain root.
But, i doubt that will fix your sluggishness with the phone. As I stated, I would check to see how much free storage you have left (both on the internal memory as well as the main memory). Then, wipe dalvik and cache and try that as well.
Click to expand...
Click to collapse
I don't believe I have that much installed.
I am having an issue with installing apps all of a sudden. I keep getting an error saying I don't have enough space, but I have plenty...?
My issue is with lag. Especially with the keyboard. I'm using the stock LG keyboard but if I attempt to type quickly it'll lag and cause me to mistype.
I'll try wiping the cache and what not and report back. Thanks for your input.
Edit: so I wiped the cache and the device is still laggy. Would tasker be causing it at all? Thanks again.
derik123derik123 said:
I don't believe I have that much installed.
I am having an issue with installing apps all of a sudden. I keep getting an error saying I don't have enough space, but I have plenty...?
My issue is with lag. Especially with the keyboard. I'm using the stock LG keyboard but if I attempt to type quickly it'll lag and cause me to mistype.
I'll try wiping the cache and what not and report back. Thanks for your input.
Edit: so I wiped the cache and the device is still laggy. Would tasker be causing it at all? Thanks again.
Click to expand...
Click to collapse
I have had tasker before and removed it due to it causing lag. I don't know if it still does. I haven't installed it as I have no use for it.
You could try freezing it and see if that fixes it as opposed to uninstalling if you have a lot of settings created. That way, if the lag still persists, you know it wasn't tasker and you could just unfreeze it and not have to worry about setting it all up again from a clean install. Unless, of course, you use something like TiBu to back it up, then you could uninstall it and see.
iBolski said:
I have had tasker before and removed it due to it causing lag. I don't know if it still does. I haven't installed it as I have no use for it.
You could try freezing it and see if that fixes it as opposed to uninstalling if you have a lot of settings created. That way, if the lag still persists, you know it wasn't tasker and you could just unfreeze it and not have to worry about setting it all up again from a clean install. Unless, of course, you use something like TiBu to back it up, then you could uninstall it and see.
Click to expand...
Click to collapse
Hey thanks for the reply. I'll try that.
Any input on nit being able to install apps due to insufficient storage? Check out the picture in my other post. I feel like I have enough free space..?
derik123derik123 said:
Hey thanks for the reply. I'll try that.
Any input on nit being able to install apps due to insufficient storage? Check out the picture in my other post. I feel like I have enough free space..?
Click to expand...
Click to collapse
The other possible issue could be your cache or dalvik cache partitions, but I see you've already cleared those out, so I'm not sure why else you would be getting this.
Here is a link that has a lot of possible causes and solutions. Try these out and report back because I'm at a loss:
http://www.phonetipsandtricks.com/t...e-error-when-running-low-on-phone-storage-49/
iBolski said:
The other possible issue could be your cache or dalvik cache partitions, but I see you've already cleared those out, so I'm not sure why else you would be getting this.
Here is a link that has a lot of possible causes and solutions. Try these out and report back because I'm at a loss:
http://www.phonetipsandtricks.com/t...e-error-when-running-low-on-phone-storage-49/
Click to expand...
Click to collapse
Ended up just getting custom recovery and rom thanks for your help

Categories

Resources