yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
Yes that's a huge concern.

Afaik Öffi's issue was that the donation options were presented in-app.

Afaik if the app wasn't installed via Google Play (e.g. installerfield = null), then it presented the alternative donation options (I think it was Bitcoin an Paypal), directly, not via link to a page where to do that. Afaik, someone from Google side loaded the app and thus the options were visible. Which in itself is a dumb move from Google as detecting the installer-source is a clean way to do this, so banning Öffi based on code that exists, but isn't executed (when installed via Gplay) is pretty arbitrary.

TiBu asks the user whether they can buy on GPlay, and if the user says "No", then it shows a dialog with a link to their hompage (with paypal). That doesn't help too much though because just because Google didn't ban them yet, means they will not still do it.... :rolleyes:

I think this is the critical distinction though, whether there is a direct link to alternative payment methods, otherwise where does Google draw the line, 1 click? 2 clicks? 3 clicks away from an alternative payment options on a website?

For now SD Maid's alternative is only mentioned in the "Restore purchase" dialog. I plan to also change some descriptions on github and sdmaid.darken.eu, but I'm a bit wary of being as bold as TiBu.

If anyone knows other apps that have GPlay and non-GPlay purchase options like TiBu please let me know, I'm really interested in getting a bigger picture.
[Android Apps and Games] Oswald Boelcke:
Conversations by Daniel Gultsch. Paid version on GPlay, but for free via F-droid (where I downloaded from) or his Github. Many more donation posibilities offered on his website. I personally donated by a money transfer to his German bank account. One of its forks, Pix-Art Messenger by Christian Schneppe, is on F-droid and for free on GPlay.

XPrivacyLua Pro Companion App by M66B. I've made the in-app purchase via GPlay but on his homepage he provides different options for all his developments incl. NetGuard and XPrivacy. Quotation: "If you want to install the pro companion app and activate the pro features without Google services, please contact me through this contact form: https://contact.faircode.eu (select "XPrivacyLua standalone")." XPrivacyLua leads via its menu to the page https://lua.xprivacy.eu/ that offers either a purchase via GPlay or different donation posibilities.
[Android Apps and Games] drezz2:
Goodnight

So far I have used the application on android 5 without problems, often, especially to check the cache by application quickly, now that in Android 9 there is no option to delete all the cache at once, I installed your application in a mi a2 with android 9, but the size of the cache that returns me per application is much lower than what the system shows me, eg google play your application says 100kb, but the system tells me 10 megabytes of cache is it normal? I tried it again on android 5 and if it gives exact data

a greeting
[Android Apps and Games] Dark3n:
The difference you are seeing are the private default caches.

They are no longer accessible since Android 6.0:

https://github.com/d4rken/sdmaid-pu...letion-on-unrooted-devices-running-android-60
[Android Apps and Games] drezz2:
thanks, android every time it makes it more difficult for me. I like to have "controlled" the cache of the apps to see which is the most generated and occupied .. now it is not possible as before using your application and I understand that none: /

A pity also that the option to delete all the cache at once disappear in android 9, go one by one .. is a ..

Is the restriction relative only to the deletion, or to see what it also occupies?
[Android Apps and Games] _jis_:
To retrieve statistics about the usage of the apps installed on the device is needed UsageStatsManager.

This API was introduced in Android 5.0 Lollipop (API Level 21).

To get the correct size of apps you need permissions GET_PACKAGE_SIZE and PACKAGE_USAGE_STATS.
[Android Apps and Games] Dark3n:
[MENTION=1102044]drezz2[/MENTION] Check settings, try the option that is there for exactly that...

[MENTION=4478620]_jis_[/MENTION] Hm good point. SD Maid already has `GET_PACKAGE_SIZE` but I think this does not affect whether we can get cache sizes... not 100% sure though. `PACKAGE_USAGE_STATS` gives us information on how often an app was used, not it's size.

I think it could be worthwhile to look into `GET_PACKAGE_SIZE` again though if the current AppCleaner option is not working and there is interested [MENTION=1102044]drezz2[/MENTION] . In that case please make a ticket with details.
[Android Apps and Games] drezz2:
I'll look at it (I do not have the phone now), if it had not been possible to erase, it would be "happy" to show me the applications ordered by total cache size (as up to android 5) even if it is necessary to erase it by hand, but I understand that Maybe it's too much control on my part and it's not what people need

Although I think I already see the options of "filter manager" in "application cleaner" and in "settings-application cleaner"

(I do not know if you meant this)
[Android Apps and Games] drezz2:
I have tried modifying several of the settings options in "settings-application cleaner" always with the same result, for example right now it shows me 3 applications, and not the playstore, which has 50 megabytes of cache (all in / data / data ), in which it shows only shows the space in / storage / emulated / 0 / android / data / name_of_app / cache but not the content of / data / data / name_of_app / cache so the amount shown is also not real
[Android Apps and Games] _jis_:
You missed my PM 4 days ago.
[Android Apps and Games] drezz2:
I just saw it, I did not see any notification

thanks
[Android Apps and Games] drezz2:
I do not understand what you want to tell me with the quotes?
[Android Apps and Games] _jis_:
Files by Google: Clean up space on your phone

For automatic checking and manual deleting all excessive app's caches in one step you can use app Files by Google: Clean up space on your phone.
[Android Apps and Games] drezz2:
I have to admit that I installed it shortly after leaving and it did not convince me ... but I think it shows the cache when it reaches a certain "weight" but it does not show it by app as it was the case here before (or maybe it has changed)

for example.. now i hace 400 megas in cache.. and files go.. only say " free up to 4.08" from the album cache.. but not others apps.. really i dont know hoy files go work
[Android Apps and Games] _jis_:
Install the app and let it do its job behind curtain, after a few days or weeks you start seeing the results. Once it offers you a cleaning, it will also give you the opportunity to see how much space will be released for what application. Yes, there is no button clear caches for all apps, but it does its job very well.

Obviously, it is not necessary to erase all caches without mind, but only those that go beyond reasonable rate. It depends on how the device is used, how much free space is available, how fast the caches are filled.

For me it is interesting how it is possible at all without needed permissions.

Maybe there are used some interesting tricks.
[Android Apps and Games] drezz2:
I've tried it on a cell phone that I have installed since almost stopped being beta .. and I think I can not understand it: p, it takes months and only shows me to erase the cache of the gallery (maybe it is logical and maybe I obsess too much in the cache)
[Android Apps and Games] _jis_:
I'll post screenshot after a few days when the cleaning will be triggered next time.

Last one was today prior these posts.
[Android Apps and Games] drezz2:
It was updated to the latest version and if there was a "like" option but ... I see that it only deletes the cache "publishes" the one contained in android / data / ... in the storage
[Android Apps and Games] _jis_:
Here are my apps sorted by cache size and Files by Google catches two apps with most excessive caches quickly.

In a few days it would find even more.

An application with a cache size of less than 100Mb does not bother me, I guess File by Google has internally this limit set similarly.
[Android Apps and Games] Dark3n:
You are interpreting more into this than there actually is to it.

What you are seeing are the public default caches under `/Android/data/`.

Cache cleaning in FilesGo may be easier to use, but it's a lot less thorough and powerful.

There is no magic to it or hidden tricks.

FilesGo has the same limitations as other apps, including SD Maid.

It just shows public default caches, it doesn't have any complicated logic behind it, there are no "weights".

FilesGo uses no tricks, it basically shows the same files SD Maid shows when only having the default caches filter activated in SD Maid.

There isn't really much to it.

It just checks the public default caches (which is also why it can return results so fast).

There is no fancy internal limit or smart logic, I've added some screenshots here.

"Google Files":

View attachment 4708298

^Just public default caches.

SD Maid without root and only default filter enabled:

View attachment 4708299

^Just public default caches. SD Maid shows a few more apps because files go excludes cache that just consists of empty directories.

SD Maid WITH root:

View attachment 4708304

^Public and private default caches.

The only "trick" there currently is when dealing with default caches is to use accessibility services to go and click through every app's page to click the "Clear Cache" button which then also deletes the private default caches. FilesGo doesn't do this as it's kind of a questionable practice which an app "by Google" can't really abuse. CCleaner does this, though hides this and suggests it just has a magic API call to do this. SD Maid doesn't use the accessibility services trick though I've warmed up to the idea and might provide it as an experimental feature, but only in a transparent way that the user actually knows what SD Maid is doing (and can also stop it) at will.
[Android Apps and Games] drezz2:
I certainly like your application more than files go, did you try to do comment # 3261? "To get the correct size of apps you need permissions GET_PACKAGE_SIZE and PACKAGE_USAGE_STATS."

Files go also needs accessibility permits (I have to check exactly which one) to show I think the last use date, since without showing it I did not show it.

I do not particularly care that the application takes me to the properties of another application to erase the cache, but I would like you to show me the total amount of cache you have (public and private part)

If I have seen an app on Android 9, it shows the total amount of cache, as I did until android 5, it would be nice if that could take it to your app, it would be perfect (it's just a suggestion)
[Android Apps and Games] _jis_:
Thank you for detail clarification, that wasn't obvious to me because FilesGo doesn't show all apps with their caches, but only subset of them and when FilesGo every time successfully captured my apps which filled their cache the fastest I was satisfied. I am glad that there is no magic behind.

That will be great.

Yes, that will be great too.

I already show one screenshot from AppMgr Pro III in my previous post which fulfilled both ideas mentioned above. And I think that its way of automating the deletion of individual caches is sufficiently transparent, see how:
[Android Apps and Games] Dark3n:
Is there a ticket for this?

Feel free to add any examples here:

https://github.com/d4rken/sdmaid-public/issues/1588

There is also the question on how to word the description of the accessibility request, some apps have been banned because it's not strictly allowed to use it for this. Have to tread carefully.
[Android Apps and Games] drezz2:
I'm sorry, I do not know the ticket system (excuse my ignorance) what should I do?
[Android Apps and Games] _jis_:
Create new issue in https://github.com/d4rken/sdmaid-public/issues
[Android Apps and Games] drezz2:
ok, when I can ..I will have to register on github
[Android Apps and Games] Dark3n:
v4.13.2 is available.

It's a release candidate, mostly iterating on v4.13.1 with a few more fixes and some minor enhancements.

The biggest change is to debugging, it's now much easier to record debug logs, see:

https://github.com/d4rken/sdmaid-public/wiki/Reporting-a-bug#debug-log

http://sdmaid.darken.eu/changelog

http://sdmaid.darken.eu/download
[Android Apps and Games] logicaldays:
It is great to have everything in one app and not having to navigate through the Android Settings to be able to perform this kind of tasks. I really like the dark theme ;)

1.11 GB freed! Now I have some space back!
[Android Apps and Games] Dark3n:
v4.13.2 is rolling out will be at 100% on Friday at the latest, I consider it the new production version.

v4.13.3 will be a small clutter database update, sometime early next week, planned as direct production version.

Planing v4.14.0 as a bigger, beta only, update towards the end of next week.

* Will contains a few internal library switches

* A new update check system (so I can consolidate my infrastructure to apps.darken.eu and share it among my apps)

* Overhauling the Explorer code to have the same base as the other tools (currently the only tool with old code), which will allow me to easier implement many of the explorer feature tickets.

* I'm trying to include the accessibility base cache cleaning as experimental feature but it depends on how much progress I make with the other stuff (and how bad the weather will be :D)
[Android Apps and Games] hyborian:
Thanks for all the work. Is it possible to add shortcuts to app and system cleaner ? I was hoping to automate them to run before I execute some processes, thanks
[Android Apps and Games] Dark3n:
Like the Explorer and AppControl shortcuts? Yeah it's possible, for now you could use a widget to do that.
[Android Apps and Games] voroxda:
If you want to start a special function programmatically, for example "system cleaner", an app shortcut is useless. You have to be registered as a launcher to see this app shortcuts. Either your functionality is exposed as intent or a separate activity, with could be launched for example from Tasker.

It would be great, if this will be possible in future.
[Android Apps and Games] Dark3n:
Feel free to contribute to this ticket:

https://github.com/d4rken/sdmaid-public/issues/83

A lot of complexity issues have since then been solved.

Internally SD Maid already uses intents with widgets and the scheduler, so there is code to translate "external" intents to "internal" instructions.

All actions also follow a Task -> Result pattern, which was not the case that ticket started. So the base building blocks for this are there.

I'm still stuck on how to secure this best though, I'm open for ideas :).
[Android Apps and Games] Dark3n:
If you are into Discord, I've create an official server:

https://sdmaid.darken.eu/discord
[Android Apps and Games] hyborian:
Well, not like those shortcuts. A widget cannot be called by other apps. What I meant was a public activity that we can call from other apps like gesture apps e.g. we can configure to swipe up to do sd maid app clean. It is just an example.

For example, see attachments. Using Create Shortcut app, it shows SD Maid's public activities, not much, only 3. The other screenshot shows Greenify's public activities, and with a "Hibernate Now" or "Sleep and Hibernate" Shortcut that we can call from other apps, or create a Shortcut icon in the home screen. Like I configured double tap in Nova launcher to call "sleep and Hibernate".

In the meantime, I realized I could change the sd maid scheduler to daily, I thought it was fixed to 3 days. So this one is fine too, but some may want more control.
[Android Apps and Games] drezz2:
finally did this or is it still pending?
[Android Apps and Games] Dark3n:
Not available yet, but it's no longer in pending, will be in the next beta (v4.14.0).

I've got the base routine done, currently have the code for settings to enable/disable it on my screen :D.

l'll need some help with localization and support of different Android versions though, otherwise it will only work on Android 9 with English/German, see:

https://github.com/d4rken/sdmaid-public/issues/1588#issuecomment-473479898
[Android Apps and Games] :
Greetings.

When I unmark all the options in Bug reporting section the program still tries to connect to sessions.bugsnag.com.

Is that a normal behaviour?
[Android Apps and Games] drezz2:
I do not have the phone with Android 9 on hand (it's not mine) to attach a screenshot, but I can tell you the text that appears in the sections that indicate

In Spanish:

Clear cache->"Borrar cache"

Storage x.xx mb used in internal storage->"Almacenamiento XX.XX MB usados en almacenamiento interno"

Is it what you need?
[Android Apps and Games] Dark3n:
Does this still happen after force stopping and restarting SD Maid?

Might be a bug where the setting isn't update without reloading the app.

If this persists make a ticket and I'll look into it.

Yeah, please add it to https://github.com/d4rken/sdmaid-public/issues/2396

Make sure the text is 100% accurate, one typo will break the matching.
[Android Apps and Games] :
Yes, it happens when I open it after previously forcing stopping it.

I see the domain/ip with AdAway and Afwall+.

BTW, would you tell me how to make the ticket, please?

Greetings.
[Android Apps and Games] Oswald Boelcke:
The respective links from the OP:

https://github.com/d4rken/sdmaid-public/wiki/Reporting-a-bug

https://github.com/d4rken/sdmaid-public/issues
[Android Apps and Games] :
Ok. I opened a new issue:

https://github.com/d4rken/sdmaid-public/issues/2400

BTW, thanks for the help [MENTION=7408621]Oswald Boelcke[/MENTION]

Greetings.
[Android Apps and Games] drezz2:
Do you still need this? I do not have available the phone with android one, but I spent mine Lineage 9 so I could put here screenshots

On the other hand I have tried the difference between link2sd, sdmaid at the time of clearing the cache (none of the 2 deletes the cache in / data / data) and is curious, since it seemed to me that both show a different amount of cache and all lower than the one shown by AppMgr III (which does show the total cache)
[Android Apps and Games] Dark3n:
[MENTION=1102044]drezz2[/MENTION] Yep, currently only the listed languages + ROMs will be supported in v4.14.0.

Size estimation of private caches on unrooted devices is broken since Android 8.0, v4.14.0 will request usage stats permission which should fix this.
[Android Apps and Games] drezz2:
I am root, I have just installed Lineage 19 (I still do not finish making all the changes). Sd Maid when I ran it for the first time asked me for root access (for root access right now the estimate that is made is not correct either?)

I attach the captures, I hope that helps
[Android Apps and Games] Dark3n:
Size estimates for root should be correct.

Please add the screenshots to the ticket in the described format.
[Android Apps and Games] drezz2:
when I have a moment I can show you the size indicated by sdmaid and the one that shows the system (or the one that shows the other app)

I do not have an account on github: /
[Android Apps and Games] drezz2:
attached some captures

detail of sdmaid, detail of link2d, detail of appmgr (with its total cache) and the detail of the system of "deportes" and "mixplorer"

You can see the differences in sizes

Is it possible that you do not have something well configured in your app?
[Android Apps and Games] Dark3n:
Github accounts can be created free of charge with just an email ;).

The screenshots look normal, I'd actually say that SD Maid is more accurate here.

SD Maid calculates the size for each file and summarizes that while the other apps ask the system for the cache size.

The difference is then caused by SD Maid ignoring a few empty directories (~16KB or so), and using "size on disk" instead of "file size", which imho is the better stat to use here.

If you really think SD Maid is wrong here, you'd need to get the file sizes via console so we can compare them directly, and not against other apps, but I'm not sure if it's worth the time investment.
[Android Apps and Games] drezz2:
ok ok, do not worry, it was just an observation, I was probably wrong

I will try to put the captures on github
[Android Apps and Games] drezz2:
I have added it here, is it correct?and its ok?

https://github.com/d4rken/sdmaid-public/issues/2396

I did not know if it was there or here

https://github.com/d4rken/sdmaid-public/issues/1588
[Android Apps and Games] Dark3n:
SD Maid v4.14.0 is now available.

Some notes:

The AppCleaner now supports using an accessibility service to clear private default caches on unrooted devices. This means that SD Maid will click the `Clear Cache` button for each selected app. It's opt-in, you'll have to enable it in settings. This will only work when SD Maid is on screen, i.e. not via scheduler. As this technique relies on actually navigating the UI, it will only work when your ROM language is supported, to add support for your language (see here).

The Explorer has received a major rework, bringing it's code in line with the other tools, making it easier to improve and add new features. It offers better result messages as well better sorting modes directly from the main UI. There are a few new features too like checksum calculation.

The setup routine received a major overhaul to make it easier to request additional setup actions. E.g. in this update SD Maid will ask for "Usage Statistics" permission if you have Android 8.0+ as they are necessary to accurately determine app/cache sizes. This is also in preparation for Android Q where it currently looks like Setup will become a bit more difficult. The setup can now also be manually triggered from Advanced settings, so it's no longer necessary to reset SD Maid to trigger it.

A few users suggested adding an in-app way to donate and I'm happy to oblige. A small heart shaped icon will be visible to users who bought SD Maid Pro. Buying a donation will not grant you additional features. There is a small visual indicator and I might add fun little Easter eggs for it in the future. It currently only works via Google Play, I'm looking into non Google options.

Instead of `Free Version` it's now called `Basic Version`, no change in features, I just think the later sounds nicer.

This is a dedicated beta build denoted by the `BETA` label in-app. This means it's a bit slower than a normal build due to additional logging and debug routines. There will be at least 2-3 extra updates to get additional translations on-board and improve language support for cleaning via accessibility service.

Links:

https://apps.darken.eu

https://sdmaid.darken.eu/changelog

https://sdmaid.darken.eu/download
[Android Apps and Games] novas78:
New version works like a charm on my unrooted Pixel 2XL. Great work as always [MENTION=608746]Dark3n[/MENTION]
[Android Apps and Games] baloor:
No hassles thus far.

New cache option working well on my Sony Xperia XZ2. Android 9.0 official firmware en-au
[Android Apps and Games] Darione90:
hi, i have tryed in this thread to search a solution but without luck, there is a way to fix the nova launcher redrawing?
[Android Apps and Games] kvevand63:
Set Nova as an Exclusion in SD Maid. This may or may not help, but doesn't hurt to try. I use Nova myself and I have it set as an Exclusion and I don't get redrawing except after a reboot (which is probably going to happen anyway). :)
[Android Apps and Games] drezz2:
what is the relationship between sdmaid and that nova problem?
[Android Apps and Games] Oswald Boelcke:
Please elaborate on your problem. I'm using SD Maid and Nova for years and never had any issue in this context. Currently on v4.14.0, no issues.

Logs? Screenshots or recording of this redrawing? Device, ROM, root solution, Xposed, modules etc.?
[Android Apps and Games] Darione90:
im on latest sd maid and nova (no beta), when i close sd maid after an application cleaning, nova open by itsef the app drawer, this issue dont geerate any log that i can copy, im on pixel 2 xl, latest havoc, magisk 18.1, no xposed, no module.