The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Hot answers tagged

27

/cache partition is mostly for saving the downloads from Google Play Store, found in /cache/downloads. It also can hold the recovery log found in /cache/recovery called last_log as well (this holds any errors and/or diagnostics from the recovery binary a lá CWM or stock, which will get logged in the file to aid debugging and development of the recovery ...


14

To give a closer overview on filesystems used on Android devices, here's a short table with a selection of the more important ones: +---------------+------------------+------------------------------------------+ | Mount Point | File System Type | What to find here | +---------------+------------------+--------------------------------...


14

ADB is close, but things like adb shell pm clear <package_name> to clear caches (and data, oops) from selected apps requires root (as would clearing Dalvik cache). But there's a similar approach to just wipe out all app caches (not Dalvik/ART, though): fastboot erase cache would do that with the device booted into the bootloader. Details can be found e....


8

When you leave an app that was running in the screen, it stops running, but Android keeps its process in memory. This means that next time you want that app in the foreground, or next time it runs a service in the background (e.g. to check for email), the app can run again without Android having to load it from storage again. This means it starts faster and ...


8

Unfortunately, there is no cross-app sharing of map information. Firstly, there is a privacy concern - If Google allowed other apps to know your Google Maps offline areas (or infer them, for that matter), it would be possible for nasty apps to work out where you live and to sell that information. Sadly, Google don't provide an 'offline maps' API to ...


7

In Android, the DNS Cache is not on the OS level (Linux), but on the Java level (managed by java.net.InetAddress). Therefore, it is not possible to list the cache contents from the shell, however you can access it from the Java code. Please see Java DNS cache viewer question on StackOverflow, one of the answers has a sample Java code that prints the ...


7

Since you asked this question, Google has added a "pre-cache map area" feature to Google Maps's experimental Labs features. You first have to go into Settings > Labs and enable "Pre-cache Map Area", then visit a place page (either by clicking on a POI or long-pressing somewhere on the map), look at the list of "More Options", and click "Pre-cache Map Area". ...


7

Two pieces of ground I want to cover here: /cache is typically a separate partition on your device, which wouldn't be mountable by a PC via USB, which is why that isn't working. The USB connection generally accesses a directory named "sdcard" (or similar) which is used as an external storage device, although this storage area doesn't have to be physically ...


6

I finally figured it out, here's how I did it: Even though adb can't get root, and the phone it's self can't get root, as it turns out, there is in fact one more way to clear the cache without fully booting the phone. Turn the phone off Make sure you have fastboot working on your computer Press the power button on the phone and then hold down the volume ...


6

You can do factory reset under such case. Go to Settings -> SD & Phone storage -> Factory data reset. I don't think an app without root can do it as apps are limited in their own sandbox.


6

In general: Cache is temporary files. One example might be thumbnails for contacts in a social media app. These can be cleared without any major effect — the app can just download them again when it needs to — and if space is low the Android OS may remove cache files itself. Data is the "important" information. This might include credentials ...


5

See if you have something like this: System settings > Application Manager > All > Downloads


5

If you run adb with no arguments, the help text will tell you the answer to this question. adb uninstall -k com.mycompany.myapp removes the app but leaves the data and cache directories. Similarly, adb install -r myapp.apk reinstalls an existing app with a new APK file, keeping its data intact. As a side-note, I don't know if this affects you, but don't ...


5

As you mentioned you're using Magisk for root, I'm assuming you're running on Android 5 or up. The answer would be no. You can safely ignore the "Wipe Dalvik Cache" after OTA updating and re-rooting. Dalvik cache is compiled binary code (optimized DEX) for your installed applications, so it usually makes sense to wipe them if you removed/replaced your apps ...


4

I see Calendar and Calendar Storage in my "All apps" list in Settings. If I open either of them, I also see the old, familiar Clear Data and Clear Cache buttons.


4

Things that would be cleared are anything that isn't saved, open applications, etc. For example, if you were playing a game, and just pressed the home key the game would go to the background and be paused. When you restart your phone, you will lose that game (up until the last point it saved). Other things that you leave half finished, such as an ...


4

Found very insightful information on dalvik-cache at stackoverflow from reputed sources(Google's employees who worked on Dalvik virtual machine platform). Below is the summary of it, more from Android User's perspective in (hopefully) simple words. Where is dalvik-cache located in my Android device ? In a typical Android device, there is a directory named ...


4

If you mean clearing all app and user data on the phone, you can do a factory reset via Settings -> Privacy -> Factory data reset. Note that this erases all data on the phone, not just app data.


4

App developers decide what information to be kept in "data" and what to be kept in "cache". Usually, "data" is used for account info, settings, saved activity data, game scores, and whatever is need to be kept permanently. Clearing data will make your app "forget" everything like you have reinstalled it. "Cache" holds all information and files that can be ...


3

Don't confuse the App-Cache with the Dalvik Cache: App Cleaner refers to the App-Cache (e.g. cached files from the internet, aka "webcache", or from other components of the app), while the Dalvik Cache's .dex files are placed on app installation (they are an optimized version of the app code). So basically you compare apples with oranges. As for your ...


3

That's unlikely to be possible. Dalvik cache is stored in /data/dalvik-cache, and doing an ls -l /data (as root) shows: drwxrwx--x system system 2013-03-29 14:54 dalvik-cache As you can see, it is owned by user system of the group system, and all other users only have "execute" permission (i.e. they are only permitted to change into that ...


3

If you go to the bottom of the search results page, you will see something like (View Google in: Mobile | Classic), you can click on "Classic" to view the current search result in desktop version of Google, which of course have the 'cached' link.


3

There are apps like TubeMate or EasyTube that let you download Youtube videos to your phone internal storage or to the SD card in order to allow you to see these videos whenever you want wherever you want. Maybe this is what you are looking for.


3

A quick bit of experimentation shows that they will be able to view your cached Gmail, but will not be able to download new mail.


3

it is possible, but you will need to get a root. FolderMount allows to transfer not the apps but their cache. This program requires root access. If you don’t know what root is then go here and here to read about how to gain root access. Cache transfer is performed in a few simple steps: Open FolderMount and press “+” in the top right corner. Name an app ...


3

This is normal behavior, my brother has a moto e (same amount of ram), and it ends up unloading lots of recent apps, if this was a priority you maybe should have gone with a different phone (the moto g has a good processor, so can run plants vs zombies, but it can't multitask as well.


3

The "cache" of an app is just a directory inside that app's data directory in /data/data, so there are no special security implications compared with the app's general data. The cache directory has the same permissions as the data directory enclosing it: no other apps can access it, and the user can't access it directly (via adb or a PC), unless the phone is ...


3

Your device doesn't have /cache partition Reasons /Cache partition is not required to be as big on devices which have A/B partition catering to seamless updates since it doesn't need to store OTA updates which are done seamlessly The cache partition is no longer used to store OTA update packages, so there is no need to ensure that the cache partition ...


2

Yes you can safely delete the folder. For details and a permanent solution (to stop regeneration of this folder) check this


2

Google's YouTube app has an option to preload videos that are either in a channel you are subscribed to or that are in your "watch later" list. I haven't tested this but I think it will keep a video that you have preloaded cached for a while after you watched it for the first time.


Only top voted, non community-wiki answers of a minimum length are eligible