I know how to clear the cache for each app on my cellphone.  I believe that if I do a reset of my phone, all of the caches area cleared.
Is there some why to clear the caches of all the apps on my cellphone
with out resetting the phone?
ie Automate the routine to clean each app's cache, so that would go down
the list clearing each app's cache.
The caches on the phone while individually are small collectively take
up a good chunk of the phones memory.
On 2024-03-18 02:42, knuttle wrote:
I know how to clear the cache for each app on my cellphone. I believe
that if I do a reset of my phone, all of the caches area cleared.
Is there some why to clear the caches of all the apps on my cellphone
with out resetting the phone?
ie Automate the routine to clean each app's cache, so that would go down
the list clearing each app's cache.
The caches on the phone while individually are small collectively take
up a good chunk of the phones memory.
There are tools for freeing up space that do that. I don't remember name just this instant; the one I remember is extinct, they did something bad
are were banned. ES something.
"Carlos E.R." <robin_listas@es.invalid> wrote:....
On 2024-03-18 02:42, knuttle wrote:
I know how to clear the cache for each app on my cellphone. I believe >>> that if I do a reset of my phone, all of the caches area cleared.
Is there some why to clear the caches of all the apps on my cellphone
with out resetting the phone?
ie Automate the routine to clean each app's cache, so that would go down >>> the list clearing each app's cache.
The caches on the phone while individually are small collectively take
up a good chunk of the phones memory.
Apparently you can use ADB to issue a command to clear all app caches:
adb shell pm trim-caches <release>
where <release> is how much you want to free up. I use ABD rarely, so
I'm not sure if trim-caches takes an argument to free all app caches. I >suppose you could specify a huge value that would encompass all of it.
Older versions of Android let you go to Android settings -> Storage ->
Cached Data to let you clear all app caches at once. Google giveth and >taketh.
Unless you don't care about saving on battery and retrieval time,
caching will require an app to re-retrieve everything it retrieved
before. The app will rebuild its cache, and that consumes time (you
wait for the retrieve), bandwidth, and consumes more power. Unless an
app misbehaves (corrupted cache files, incompatible server-side changes, >buggy apps, or after an OS update), there is no reason to flush app
caches unless you really are running short on storage space.
App caching is not in memory. It is space in storage. Alas, most phone >specs reference storage as memory confusing their users. You might see >something like:
Memory 32GB 4GB RAM, 64GB 4GB RAM
The first number is for storage space. The 2nd number is RAM (memory). >Caches do not consume RAM. They consume storage space.
You can add more storage space by adding an SD card (secondary storage). >Check the specs on your brand and model to see what maximum size of SD
card it will support.
You also merge system (primary) storage with secondary storage (SD card)
by using Adoptable Storage. It merges the SD card's space into the
mounted volume for the primary storage. However, secondary storage is
slower than primary storage, so sometimes an app seems responsive, and
other times slow depending on which media the app got loading into. The >adopted storage gets encrypted, so the SD card is only usable with the
phone where the SD card got adopted. If you ever un-adopte the SD card, >everything on it gets wiped.
https://source.android.com/docs/core/storage/adoptable
When you chose to adopt the SD card to merge with primary storage, a >benchmark gets ran to determine if your SD card is sufficiently robust
to support Adoptable Storage. You might have to get a better SD card.
"Carlos E.R." <robin_listas@es.invalid> wrote:
On 2024-03-18 02:42, knuttle wrote:
I know how to clear the cache for each app on my cellphone.  I believe >>> that if I do a reset of my phone, all of the caches area cleared.
Is there some why to clear the caches of all the apps on my cellphone
with out resetting the phone?
ie Automate the routine to clean each app's cache, so that would go down >>> the list clearing each app's cache.
The caches on the phone while individually are small collectively take
up a good chunk of the phones memory.
There are tools for freeing up space that do that. I don't remember name
just this instant; the one I remember is extinct, they did something bad
are were banned. ES something.
ES Explorer. Spyware. Also click fraud: their app pretended the user clicked on an ad, so they could generate click-through revenue.
https://en.wikipedia.org/wiki/ES_File_Explorer
Apparently you can use ADB to issue a command to clear all app caches:
adb shell pm trim-caches <release>
where <release> is how much you want to free up. I use ABD rarely, so
I'm not sure if trim-caches takes an argument to free all app caches. I suppose you could specify a huge value that would encompass all of it.
Older versions of Android let you go to Android settings -> Storage ->
Cached Data to let you clear all app caches at once. Google giveth and taketh.
Unless you don't care about saving on battery and retrieval time,
caching will require an app to re-retrieve everything it retrieved
before. The app will rebuild its cache, and that consumes time (you
wait for the retrieve), bandwidth, and consumes more power. Unless an
app misbehaves (corrupted cache files, incompatible server-side changes, buggy apps, or after an OS update), there is no reason to flush app
caches unless you really are running short on storage space.
App caching is not in memory. It is space in storage. Alas, most phone specs reference storage as memory confusing their users. You might see something like:
Memory 32GB 4GB RAM, 64GB 4GB RAM
The first number is for storage space. The 2nd number is RAM (memory). Caches do not consume RAM. They consume storage space.
Apparently you can use ADB to issue a command to clear all app caches:
adb shell pm trim-caches <release>
This looks like a command which in windows would go in a command box.
Where does one put such instructions in Android?
Is there some why to clear the caches of all the apps on my cellphone
with out resetting the phone?
adb shell pm trim-caches 64K
adb shell pm trim-caches 64M
adb shell pm trim-caches 64G
adb shell pm trim-caches 9999999999
adb shell pm clear my.package.nameOr you can limit the clearing to only the Cache & not to App Data.
adb shell pm clear --cache-only my.package.name
adb shell cmd package list packages | cut -d":" -f2 | while read package;do pm clear $package:done
adb shellsu -c "rm -r /data/dalvik-cache"
adb shellsu -c "rm -r /cache/dalvik-cache"
adb shellsu -c "rm -rf /data/data/my.package.name/cache/*"
[ES Explorer] was a very good tool before they did that. I still have
it installed in some old phone or tablet. I don't understand why they
did not revert what they did bad to continue business.
Actually, recent Android versions do an automatic cleanup of apps that
have not been used for a number of months.
I have to go round ALL apps to disable this feature.
micky wrote on Mon, 18 Mar 2024 08:19:29 -0400 :
Apparently you can use ADB to issue a command to clear all app caches:
adb shell pm trim-caches <release>
This looks like a command which in windows would go in a command box.
Where does one put such instructions in Android?
Micky,
Can I ask you a question to better understand how you think?
The use of adb has been discussed *hundreds* of times on this newsgroup.
How did you miss all of that?
If someone explains it to you again, how do we know you won't forget?
To prove my point, I'll give you the search URL:
<https://groups.google.com/g/comp.mobile.android>
Then type "adb" into the search box to see how many times it was discussed.
<https://groups.google.com/g/comp.mobile.android/search?q=adb>
most of the time my six inch Android phone is mirrored on
Widnows using adb over Wi-Fi (so the clipboard, mouse & keyboard can be
used and so that the phone becomes almost two feet tall on my scree...
That resulted in over 300 threads, most of which had "adb" in the Subject.
Two questions for you, micky:
How have you managed to miss over 300 threads on the topic that you asked?
If someone goes to the trouble to explain it, will you remember the answer?
That's why people who say cellphones cause accident rates to go up are
ALWAYS utter morons (usually their IQ doesn't approach that of normal >people). They can't comprehend math.
Only very stupid people say cellphones cause the accident rate to go up.
"Carlos E.R." <robin_listas@es.invalid> wrote:
[ES Explorer] was a very good tool before they did that. I still have
it installed in some old phone or tablet. I don't understand why they
did not revert what they did bad to continue business.
I had it for a short time. I dropped it when I found they were spying (collecting logistics on usage) and the click-through fraud. They did
the same with their other products. Someone there got greedy, and
thought they wouldn't get caught. Guess they didn't want to go through
the entire submission process along with proving they were good after
being bad to get their stuff back in the Play Store.
Some app authors of adware don't even provide a paid version to get rid
of the ads. Sales of the payware version might be dismal compared to generating click-through revenue. ES Explorer apparently decided to
covertly generate click-through revenue. Did they have a payware
version?
Actually, recent Android versions do an automatic cleanup of apps that
have not been used for a number of months.
The cleanup is disruptive.
It removes permissions under the guise of
increasing security. I don't often use my chainsaw, but I still need it years later when another tree falls, or I have to trim a tree. I don't
want some security-waving asshole removing some part that I have to
figure out what it was to reenable my chainsaw. When permissions are removed, yeah, you get a short blurb on what permissions were removed,
but later when you want to use the app you can only hope the app prompt
you to reinstate the correct permissions that Android (actually Google
Play) removed.
I have to go round ALL apps to disable this feature.
They don't let you configure the Play Store app to stop this rude
behavior.
Yep, you have to go into the settings of Play Store to drill
through every app listed as having permissions removed to reinstate
those permissions - but WHICH permissions? Will the app regain its
needed permissions that it go upon install if you just load the app?
Wow, such arrogance and slipshod argument!
micky wrote on Mon, 18 Mar 2024 17:27:19 -0400 :
Wow, such arrogance and slipshod argument!
And yet, I was making the point that anyone who claims cellphones raised
the accident rate are like the people who said Trump won the election.
Trump won the election, if you ignore facts to the contrary.
Cellphones raise the accident rate, if you ignore facts to the contrary.
There is no difference between those two statements in terms of what people >who are stupid claim and what the actual facts of the matter happen to be.
I even explained WHY the accident rate was completely unaffected before, >during and after the sky rocketing cellphone ownership period in the USA.
It should be noted I was responding to Stan Brown, who is known to be >intelligent, and who has a math background so he understands complex data.
But since you're (in effect) saying that Trump won the election, micky,
where's your data coming from?
What's your argument for why the accident rate stayed completely unchanged
in the US Census Bureau records kept since the 1920s, before, during and >after the ownership of cellphones made a meteoric rise from nothing?
Why was the US accident rate in all 50 states completely unchanged, micky?
In comp.mobile.android, on Mon, 18 Mar 2024 15:18:19 -0000 (UTC), Andrew <andrew@spam.net> wrote:
micky wrote on Mon, 18 Mar 2024 08:19:29 -0400 :
Apparently you can use ADB to issue a command to clear all app caches: >>>>
adb shell pm trim-caches <release>
This looks like a command which in windows would go in a command box.
Where does one put such instructions in Android?
Micky,
Can I ask you a question to better understand how you think?
The use of adb has been discussed *hundreds* of times on this newsgroup.
How did you miss all of that?
I don't read every thread on cma. Far from it.
If someone explains it to you again, how do we know you won't forget?
I didn't forget this time. I never saw it discussed.
To prove my point, I'll give you the search URL:
<https://groups.google.com/g/comp.mobile.android>
Then type "adb" into the search box to see how many times it was discussed. >> <https://groups.google.com/g/comp.mobile.android/search?q=adb>
Well I looked, and this gives every post that uses the letters adb. Two
of the first 5 have my name in them, in fact they are from the same
thread that I began. And what does it say about adb?
It is probably this:
https://en.wikipedia.org/wiki/Android_Debug_Bridge
Not a common tool to have.
b) This post was as arrogant as the previous.
It is the destruction of a company, unless they came back under another name. But I do not remember offhand a tool set that is as popular as ES
was back in the day.
Carlos E.R. wrote on Mon, 18 Mar 2024 23:00:56 +0100 :
It is the destruction of a company, unless they came back under another
name. But I do not remember offhand a tool set that is as popular as ES
was back in the day.
I invested an hour writing up a definitive post on clearing the cache.
<https://www.novabbs.com/computers/article-flat.php?id=50818&group=comp.mobile.android#50818>
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 912 |
Nodes: | 10 (1 / 9) |
Uptime: | 166:51:54 |
Calls: | 12,138 |
Calls today: | 1 |
Files: | 186,514 |
Messages: | 2,231,158 |