yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
Sometimes I just never think "it's ready" and I keep accumulating changes...

v4.11.0 is a pretty huge update with more than 50 closed tickets ?.

Huge thanks to everyone who submitted a ticket:

https://github.com/d4rken/sdmaid-public/milestone/50?closed=1

Some random thoughts:

This is a beta only release as I expect a few UI related crashes in edge cases that just require larger number of test devices to surface.

I spent most of my time reducing UI code related technical debt. You write some code, update it over some time, then don't work on it for some time and then when you look at it again it suddenly seems "dirty". New ways to improve it are suddenly obvious and then the cycle begins again... The new code makes things like remembering scroll positions much easier.

Duplicates , Databases, AppCleaner and AppControl are migrated to the new code, the rest will follow in future updates. In the rework of each tool I've also migrated their settings to their own modules. Once all tools are migrated we will get a settings backup feature.

I'm quite proud of SD Maids new Instant App support. Instead of asking the system for infos about installed apps in each tool, we now ask the `AppRepo`. The AppRepo itself queries the system once, and then if root is available gathers additional information about apps that the system omitted from the data we got via API. I don't understand why Google decided to hide Instant Apps like this... Stupid instant apps... always causing trouble... ?

I've raised SD Maids target API to 28 (Android P) and addressed all issues that I knew of, we should be good to go for Android P's final release.

That database tool now finds both less and more. Less because system apps have to be explicitly included via a new setting, and more because I expanded the criteria for files that SD Maid should test for "being a compatible database".

There is a new offline-cache filter in the AppCleaner, but it doesn't know a lot of offline caches yet, so if you know some, please submit a ticket :).

Beta builds now have an in-app screen to submit issues/ideas to GitHub. Looking for feedback on this.

https://sdmaid.darken.eu/changelog

https://sdmaid.darken.eu/issues

https://sdmaid.darken.eu/download
[Android Apps and Games] Oswald Boelcke:
@Dark3n: Installed v4.11.0 BETA this morning, and I'm going to explore it the next days/weeks. If I experience issues I'll report them on Github; however using SD Maid on Nougat what won't change in future. Initial impression: Excellent job - again well done!:good:

What immediately caught my eyes is the new functionality "Create issue ticket". Great idea, and well structured - ok, again my first glance.

I also went on Crowdin to commence translation og the strings for "Create issue ticket" but I didn't find any. Haven't you uploaded them yet?
[Android Apps and Games] Dark3n:
I've not updated the translation sources yet, wanted some feedback prior.

The menu entry and the explanation at the top of the create ticket screen are planned for translation, the field titles and hints are not. What do you think about that?
[Android Apps and Games] Oswald Boelcke:
It depends... And actually rests with you as the dev. You know your customers, and probably how their language skills are. Maybe some struggle with reporting if not everything is in e.g. German - but same applies to Github. And anyhow, it's occasionally pretty tough to translate some very specialised technical English terms, or it becomes a compromise.

Personally, I'd be content with your idea. How about to retrieve the opinion of other translators?

******************************

@Dark3n: Just realised that SD Maid has obviously become famous. Somebody advertises his application as "an alternative to SD Maid" - at least on Github and F-Droid but not on the Google PS. Anyhow, there's nothing as good as THE (your) original!
[Android Apps and Games] Dark3n:
It's always nice to see people learn to code, but it's not without risks to do so with an app that deletes files.

That shouldn't discourage anyone though, when I wrote SD Maid's first version i didn't have a lot of Andriod experience either.

I really don't like the description/mentality though, it's click-baity, embelishing and also incorrect. :rolleyes:

Like publishing plans for a soapbox car and advertising it as a free and open-source solution alternative to a Porsche.

Just because it has four tires and a wheel doesn't make it an alternative.

On a side note, software being FOSS does not make it inherently better. What makes software better are motivated developers. That's another topic though :).

btw SD Maid beta v4.11.3 just got released.
[Android Apps and Games] Oswald Boelcke:
Just installed v4.11.3 and played a few minutes. Looking again promising well.:good:

And your above statement is absolutely correct. My private best practice and conviction: FOSS is "nice", and even if the code is open to everybody it might contain surprises or Easter eggs (this is an interesting article in that respect. I apologise that German language skills are required). I never grant immediately permissions (especially root) and internet to any application (doesn't matter if FOSS or not) before I've conducted some initial checks with e.g. MyAndroidTools or AppBrain Ad Detector. Then I allow internet access if really required for functionality, and check with network log where its call destinations are. Interesting now is also to see in XPrivacyLua, which information it wanted to retrieve. Now and most important after some thoughts which permissions such an application really requires to work, I commence granting permissions via ROM settings and especially AppOpsXposed. And I continue to closely monitor application with root until I'm convinced they don't harm privacy, security or the device.
[Android Apps and Games] kvevand63:
I have been using SD Maid since you first released it. I recently tried out the "alternative" and as far as I am concerned, there is no alternative to SD Maid. I found that SD Maid does a much more thorough job, better coded and with the active development just gets even better. It will be a long time before the "alternative" catches up.
[Android Apps and Games] xflowy:
does this app replaces the need to wipe cache via recovery (if theres any) or are these two different things? :)
[Android Apps and Games] Dark3n:
Yes and yes.

Recovery wipes `/cache` which is also what the SystemCleaner can do and this is different from app caches which SD Maid can do via the AppCleaner tool.

(Requires root obviously).

Also see

https://github.com/d4rken/sdmaid-public/wiki/AppCleaner#what-about-clearing-cache-via-recovery
[Android Apps and Games] Dark3n:
I consider SD Maid v4.11.4 stable and it's currently in staged rollout ?.
[Android Apps and Games] kremmit:
Have been using this great app for a long time now but after updating my costom rom Res Remix (treble) where i needed to the latest Magisk 16.7 i'm unable to use it anymore.

Doesn't matter what i press it just all stays in queue and cancelling doesn't help either and the only option is to reboot the phone cause everything else starts to hang.

Tried the stable and the latest beta with same results.

Maybe there is something I missed or anything else I should try?
[Android Apps and Games] Dark3n:
https://github.com/d4rken/sdmaid-public/wiki/Frequently-Asked-Questions#hanging
[Android Apps and Games] Technical:
It would be good to have an export/import feature. When you change exclusion lists or add new items to be cleaned, a way to backup/restore saves a lot of time on new ROM flashings for instance.
[Android Apps and Games] Dark3n:
Exclusions can already be exported/imported.

A full settings backup is planned (for a long time):

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

The necessary modularization of settings was completed to 90% with the v4.11.* updates.

I recommend participation in discussion for features on Github to speedup/improve chances of a feature being added.

It makes it more "fun" for me to work on something if the user who wants it is actively engaged. Discussions also help me wrap my mind around ideas and come to better conclusions.

* Backup format?

* Version compatibility?

* UI changes, where do we put this?

* Good examples of other apps implementing this?

* How does the interaction with this function look

* Or even better if a user has development experience how would one implement this? (I have ideas, but who knows if it's the best approach) (Simple *.xml copy vs each settings module generating specific backup output into a file, more overhead but possibly easier handling of settings migration, if we do migration between comaptible backup versions at all)
[Android Apps and Games] Technical:
Thanks. I've already participated in GitHub discussions in the past.

Fully agree.

* Backup format? > xml

* Version compatibility? > indeed needs a check, but all major modules are there for years... Apps, System, Duplicates...

* UI changes, where do we put this? > Settings > Extras

* Good examples of other apps implementing this? > mostly Nova Launcher, FolderSync, and AppOps. But also Castbox, Netguard, X-plore.

* How does the interaction with this function look > Click a button to backup > Choose folder > Save a file+date+time.xml.
[Android Apps and Games] warface9991:
Hi

4.11.5 pro version here. When I optimize databases, it just says 0 byte gained. Before this version it never said that
[Android Apps and Games] scanferr:
Am I the only one where the App Cleaner stopped cleaning properly? Before it would delete around 1GB every 2 days or so, now it barely reaches a couple MB. Why is that? My usage hasn't changed.

Other apps detect everything like SD Maid used to...
[Android Apps and Games] wongfeihung1984:
Hi guys, is there any way to delete the space taken by "system data" on my SD card, which is not a file (I can't see it in any file explorer be it SD maid or ROM toolbox pro) and grows bigger each time I delete a file (ie a twrp backup)?

BTW, I used to delete it using diskdaisy on my Mac, but I would like to know if there is a solution to this problem where I could just do it directly from my phone?

Thx a lot.
[Android Apps and Games] Thebear j koss:
Try using mixplorer file manager and enable show hidden from settings in the drop down menu.

Sent from my Essential Phone using Thebear Blue XDA Labs
[Android Apps and Games] patrickdrd:
I had the same problem and I solved it by formatting my sd as exfat
[Android Apps and Games] IronTechmonkey:
I'm trying to find that item in MiXplorer but cannot. (Maybe my device does not have it?) Is there a path or location where it resides?

---------- Post added at 09:33 PM ---------- Previous post was at 09:24 PM ----------

If that item exists on my device and I determine its location (path) I'll see if I can find it with MiXplorer. That being said, I've seen instances where even MiX cannot find certain items, eg .android_secure, so if I don't find it with MiX I'll try the file manager in TWRP which is where I used to go to delete .android_secure. In the unlikely event that item is on external SD I'll see if it can be found when SD card is accessed by SD card reader on computer (which avoids the dreaded MTP limitations).
[Android Apps and Games] xdarthanonx:
Try FX File Explorer with "Display as: Usage" and "Sort by: Size".
[Android Apps and Games] Thebear j koss:
Yeah, I don't have it either. But MiX, as you already know, does a good job of picking up those hidden folders and files. But yes, it does have limits.

Sent from my Essential Phone using Thebear Blue XDA Labs
[Android Apps and Games] wongfeihung1984:
Thx a lot my friends.

Per your recommendations I have downloaded both FX files Manager and Mixplorer but as shown in the attached screenshots they both couldn't pick up what diskusage was showing me, ie the 12+G of system data on my SD card. I want to add that I could find some previously deleted files using the archives function in Mixplorer...though when I tried to delete one file which was showing as "probably an old deleted file" I wasn't able to delete it...

I then rescanned my SD card with diskusage and oh surprise the system data thing was gone...I have no clue as to the whys and hows...
[Android Apps and Games] Vagelis1608:
I figured something out.

In diskusage, "System Data" are all other files/folders besides /data/media ( labeled 'media' ) and /data/app and /data/data ( combined and labeled 'apps' )

Also, storage card, at least for me, is the internal storage, not the SD card.
[Android Apps and Games] Ænimal:
Is there a such a thing as 'hidden permissions'? I checked a newly installed app with SD Maid, and it gave back 29 - next time I checked it said 30 (no updates in between)? :confused:
[Android Apps and Games] IronTechmonkey:
I was sort of suspecting that stuff was material from various places seen as one lump by some utilities. Thanks for confirming. That also explains why I don’t experience the same sort of accumulation as a by product of my usage patterns.
[Android Apps and Games] alialqooti01:
Sd maid
[Android Apps and Games] Oswald Boelcke:
I really apologise; I'd like to support you but I didn't get the message.
[Android Apps and Games] conduisant:
Hello

just a suggestion : i would like to buy a pro key without Google play (i don't have Google account on my phone and i don't want it) and i understand i can't buy a key...

can you change that in the future ?

(such as Titanium Backup which has left this case)

bye
[Android Apps and Games] patrickdrd:
why can't I define custom/user filters in system cleaner on my not-rooted phone?
[Android Apps and Games] Dark3n:
Maybe, maybe not, I want to but the overhead is quite large, especially in terms of filing the correct taxes (which Google Play otherwise handles).

I don't know, why can't you? User filters don't require root.
[Android Apps and Games] patrickdrd:
my bad,I was looking at appcleaner
[Android Apps and Games] peterlee928:
pat rafter... one of my fave tennis players :good:
[Android Apps and Games] patrickdrd:
does anyone know which dot folders I can delete safely in viber (0/android/data/viber/files)?

e.g. I just created a rule for .thumbnails, I think I need another for .gif,

any suggestions/ideas?
[Android Apps and Games] Freak3672:
Dear [MENTION=608746]Dark3n[/MENTION]

I'm using SD Maid since my first Gingerbread based android and I really appreciate your work as a progressive developer.

Thank you for this wonderful app.☺

I've a suggestion for this app, there should be an option to delete empty folders in internal and external storage. There is an app (https://play.google.com/store/apps/details?id=com.rootify.emptyfoldercleaner) on PlayStore to do that but I would be glad if you could implement this feature in the future SD Maid app release.

ThankYou again. ?✌
[Android Apps and Games] patrickdrd:
there is an option for that, look in system cleaner settings (top right gear icon after clicking on system cleaner from the left menu)
[Android Apps and Games] Dementore711:
Hey [MENTION=608746]Dark3n[/MENTION]

Great work on the app. I bought the pro key as soon as I was able.

A suggestion I have is that in the duplicate scanner, a filter should be added for file sizes, and show only files above a certain size.

A lot of thumbnails of 4kb 5kb appear in this and it is not easy working through those. Please take this into consideration.
[Android Apps and Games] Dark3n:
Check the android logs, this is usually accompanied by errors from the superuser app.

Some users had sucess after rebooting their device, checking the superuser app or in the worst case reinstall it.

I would try reinstalling sd maid first, if it doesnt help post the android logs here (use www.pastie.org) or mail me.
[Android Apps and Games] djsolidsnake86:
in clean apps italian strings are too big and buttons get over other buttons

the menu seem a little better now but need improvments

can you make some themes? i hate the interface totally black ;)
[Android Apps and Games] Dark3n:
I will ask the person who translated it for me to change those things.

In any case you can enforce english as as language in the options.

I probably won't do themes, but i might change the interface a bit at some point.

(Keep in mind, black saves the most battery on LED screens :D)
[Android Apps and Games] djsolidsnake86:
i see, well some interface tweak would be great!

and also speed up clean applications
[Android Apps and Games] scarmon25:
I say the speed of app cleaning depends on how many apps you have. I have 41 installed and 51 system. It only takes about a minute to scan and then clean apps. I say if I installed alot more apps it would slow down considerably
[Android Apps and Games] hanschke:
will be nice to clear the download folder of the market too.
[Android Apps and Games] Dark3n:
The download folder of the market is /cache which is already being cleaned by the system cleaner.
[Android Apps and Games] Dark3n:
Small heads up for the next update (0.9.6.6) :

It will most likely contain russian translation.

Featurewise i have only planned an option to save the details filelists to .txt files for this update.

Some small bugfixes to smooth things.
[Android Apps and Games] Morganator:
Aaah I was actually hoping when I ran the check that it would find so many problems so they can be all sorted, but there were only two! Nice app though, thanks.
[Android Apps and Games] Dark3n:
Sorry that your phone is too clean ;-).
[Android Apps and Games] scarmon25:
That's a wonderful problem to have ;)
[Android Apps and Games] chipwreck1:
Great app, did just buy the paid version!

What I'd really love to see:

- Showing a list of all folders (/sdcard or /external_sd) sorted by size. (ES Task Manager has such a feature - very useful).

Small bugs:

- In the explorer I can't use the back-key to exit, it always jumps to the root folder and reads it again..

- (Can't reproduce, but nevertheless I'll write it) Sometimes the cleaning process seems to hang, when deleting lots of stuff (about 300 MB). It seems to be finished (xx/xx done), but I can only exit via home key and then shut down sd maid via task manager.

thx!
[Android Apps and Games] Dark3n:
Thanks for supporting my work.

Will put it on the todo-list for the misc tab.

Thats on purpose to easily go back up the folders without exiting sd maid by accident.

Hmm, in what feature exactly? System Cleaner or App Cleaner?

It could be that sd maid automaticly refreshes to see if everything was deleted.

So it is not hanging but working and just not showing it.

I'm going to see if i can improve things and let sd maid give more information on whats happening.
[Android Apps and Games] chipwreck1:
I see.. for me this felt counterintuitive (as most apps employ an exit dialog in this case).

In the system cleaner. It was not a major thing and even though I can't reproduce it I just wanted to mention it.

Thanks for your fast response!
[Android Apps and Games] jlop:
what does this do for the performance of the device?
[Android Apps and Games] Dark3n:
It will increase performance for apps searching through the filesystems, as those have less work to do with less files.

The media scanner for example should run faster with less files.

I'm actually not very sure what exactly would be the performance/battery difference between having an almost empty vs full sdcard.

Someone should run some studies and get some nice statistics about that :D.

Here is a preview of the next patch http://goo.gl/NYRBB

I'd be happy about some feedback.

It is almost done and should be very stable. I might add some translation before release.

v0.9.6.6
- added a fail safe to prevent a hang when using system cleaner on some unrooted devices
- changed the way some preset directories are excluded which should increase performance
- small change to app cleaner progress bar
- removed some filters that crossed each other and exclude some files that could be deleted
- added a button to save the content of detailsboxes to a log file at /sdcard/SD_Maid/
- app cleaner should now be parsing cache directories on external_sd too
- reworked some app cleaner code, performance should be better now
- Added more information to all progress dialogs, more details of what is going on
- Added help file in russian (rest soon)
- slimmed the code down, by packing several code segments into a reuseable class
[Android Apps and Games] Dark3n:
Update is planned for monday evening.

A user just pointed out that the xoom has another different sdcard path which will also be added in that update.
[Android Apps and Games] Dark3n:
Update is out, i would be happy about some feedback.
[Android Apps and Games] scarmon25:
Well I have to say that the system cleaner found alot more stuff then it normally does. Also both the system and app cleaner ran alot quicker and smoother than it did previously
[Android Apps and Games] Dark3n:
Thanks for the info.

There was indeed a bug caused by different filters overlapping that excluded more files than it should have.

Nice to see the performance increase is noticeable, i spend most of the time reworking the system cleaner and app cleaner this update.
[Android Apps and Games] Didoker:
Please, will you be able to add stop button for selected of app in Manager next to freeze button. And it will be great to have able move selected app by list. Thnx. (Sorry my English)
[Android Apps and Games] firozpatel:
Root not detecting on OnePlus 6, I have tried uninstalling and installed and all sorts, but can get SD maid to detect root

Any ideas
[Android Apps and Games] gothicVI:
Yes. File a proper bug report containing at least but not limited to: Android version, root method and version thereof, issues with other root apps, sdmaid version,...

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Android Apps and Games] firozpatel:
OnePlus 6

Oreo 8.0.1

Magisk v17.2

SD maid v4.11.9

No issues with other root applications

I've uploaded a screenshot of magisk log
[Android Apps and Games] Oswald Boelcke:
If you think it's a bug most likely a bug report in accordance with here (link taken from post #2) might be suitable in case the issue rests with SD Maid.
[Android Apps and Games] firozpatel:
OnePlus 6

Oreo 8.0.1

Magisk v17.2

SD maid v4.11.9

No issues with other root applications

Okay what has happened is when I open up SD maid and use the app to clear all the junk files, so I'm waiting for the app to grant root access which doesn't seem to do so

If I go into settings, sdmaid just loads and then crashes

I got a log from the SD maid the way you sent the link by holding on to settings

Log from SD maid below
[Android Apps and Games] Bryanx86:
This is app is great with root, cleans everything if you have pro version. But I recently unrooted and locked my bootloader on the pixel XL (ik, dumb move but I have my reasons) and i want to use this app still. Are there any adb commands that would work to still allow access even though I have a locked bl with no root? And also if so will it uncertify my device from the playsore if it was to change anything in the system? Thanks for any and all help, love sd maid.:good:
[Android Apps and Games] kvevand63:
Not sure if you are aware of this: https://github.com/d4rken/sdmaid-public/wiki

but possibly your answers are there.
[Android Apps and Games] Oswald Boelcke:
For me, this zip contains one file but it has 0 KB size. Nothing in when I open it.
[Android Apps and Games] firozpatel:
Is this better?
[Android Apps and Games] Oswald Boelcke:
First but simply an assumption: If the issue were SD Maid-related I assume more users had reported it. This leads me further to also assume it's device related.

The log shows at line 282 that the SUBinary is recognised but obviously no SuApp (line 283).

You're on Magsik v17.2 like me but what version of Magisk Manager (MM) are you using (I'm on v6.0.0)?

What is shown under SD Maid Overview - Rootstatus?

In MM settings/# Superuser, is SD Maid listed there? If affirmative, is the toggle greyed out, and what happens if you toggle?

From earlier posts I remember that you had uninstalled and re-installed SD Maid without an effect. Have you tried to flash the Magisk uninstaller and to flash Magisk v17.2 again afterwards?