yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
I can't really increase it's speed because the VACUUM code was written by the SQLITE team not me.

You could create a ticket for a setting elevates the background priority to UI height even without an UI.

A bit more details wouldn't hurt.

Which SD Maid Version?

Does it work without root?

Root on latest CM is currently bugged.

See https://plus.google.com/106254287369931892024/posts/aj8w9F3ELpL
[Android Apps and Games] Dark3n:
We are currently discussing data collection here.
[Android Apps and Games] spupuz:
got a soft reboot with my nexus 4 omnirom 4.4.2 while optimizing db :|
[Android Apps and Games] Dark3n:
A few more details wouldn't hurt :)...
[Android Apps and Games] martinusbe:
[MENTION=608746]Dark3n[/MENTION]

Dutch translations are finished :cowboy:

Greets
[Android Apps and Games] Dark3n:
Awesome, ty :)! Will be in the next version, might add a 2-3 strings though for 308.
[Android Apps and Games] martinusbe:
No problem, i'll keep an eye on it :laugh:
[Android Apps and Games] iPusak Gaoq™:
Hmmm...having a major problem while using beta v307...every time i make system clean its always stuck scanning on certain folder or files...it first it stuck on scanning my download folder (folder are empty btw) so i cancel the search and add exclude for that folder...exit the app and relaunch, start scanning again but now stuck on .nomedia files...

I'm using Xperia Miro with Slimbean rom v4.1.2...

Brought To You By Xperia Miro™ Using Tapatalk Pro
[Android Apps and Games] Dark3n:
You don't have to exit SD Maid to use the new excludes btw (just need to scan again), but it is good if you suspect the process hangs, to kill the app so all child processes die too.

How did you determine it is stuck? I mean how long did you wait?

The name in the progress bar (setProgressSubMessage) displays the filename that SD Maid is currently trying to sort into a filter.

Also check your excludes, if you have a very broad exclude it could exclude all other files. So then it looks like it is stuck but it just disgards all other files before getting to that point.

I'm always contemplating make the output more verbose, but updating the UI is very costly in comparison to the act of just matching a file to a filter.
[Android Apps and Games] iPusak Gaoq™:
Hmmm...stuck more than 5 minutes and didn't progress at all...i already clear all exlude so the apps can scan all of my sd card but stuck again at download folder which is empty....

i will try to scan my sd card using pc to check if there a problem with it....
[Android Apps and Games] Dark3n:
I most likely doesn't hang at the name shown, but what it scans afterwards.

I.e. it doesn't return a new folder/file for the sorter so we only see the last item that was processed.

You could turn on debug mode (restarted sdmaid afterwards, need to change that :D) in the advanced settings and then record a logcat, maybe there are more clues.

edit: btw maybe make your signature a bit smaller, its ****ing huge.
[Android Apps and Games] Dark3n:
Beta v3.0.0.8 is up :)
[Android Apps and Games] jr67:
The animation that replaces the place holder: LOL
[Android Apps and Games] -CALIBAN666-:
i have some problems with the two latest beta versions on 4.4 and 4.4.2,whenever i use the app cleaner the app stucks while it search or clean and must be killed,the rest is working fine,anyone with same issues?

have tried new install,clean data etc. no luck.
[Android Apps and Games] Buleste:
I've had the same problem with 4.3.1 and 4.4.2. With 3.0.0.9 the app cleaner was getting stuck on app 33 with 4.4.2 and now with 3.0.1.0 it is getting stuck at app 10. On 4.3.1 it was getting stuck at app 50. Tried deleting the app that it got stuck on but it still stuck at that number.
[Android Apps and Games] Dark3n:
I'm looking into this, but I'm currently traveling so it will take some time.

Possibly a deadlock of threads. If you use an older version of SD Maid to scan, does any app have a lot of files (>400)?
[Android Apps and Games] Buleste:
Without checking I know that a few went over the 400 mark. Facebook alone usually has more (I think).
[Android Apps and Games] seblefb:
i have folder at may sd, i trying to delete but alwayas fail evenwith pc,

can i use this sd maid to delee corrupt folder ?
[Android Apps and Games] Dark3n:
Impossible to say. Just try it.

Does it happen every time? I'm having trouble reproducing it.
[Android Apps and Games] Buleste:
Yes it does. Also When I try to just cancel the scan it just says cancelling and never stops. I try Exit SD Maid and the same thing. I have to Force Close to stop the message.

I'm having issues with my phone at the moment so I can't give any logs etc.
[Android Apps and Games] Dark3n:
Can you send me a mail when you sort out the issues with your phone?

I would like to give you a special version with extra log output so i can narrow down the causes.
[Android Apps and Games] iPusak Gaoq™:
Hmmm...can you add option to pick which storage to scan (system clean) for next release? i believe this app confuse with phone that have both internal storage and external storage....i believe that is why some cleanup stuck at some point...

i'm using latest beta version on Xperia Miro and Xperia Mini Pro....on Miro (have internal and external storage) it keep stuck on some files or folder but on Mini Pro (only external storage) it didn't stuck anywhere....this app work fine in Mini Pro but not on Miro...i try to exclude both storage in Miro but the scan stuck on /storage/ and never stop...if i let it scan without adding any filter then it will stuck scanning on some folder or files...if i stop and exit the apps and delete those files/folder using file manager and open back the app and re-scan, it will stuck scanning on different files and folder...
[Android Apps and Games] Dark3n:
The SystemCleaner is not intented to only work on certain directories, it would break the whole filter concept.

The latest beta is v3.0.1.1.

Let's rather find out where it is getting stuck.

Can you turn on debug mode in the settings and record (catlog) a log and mail it to me?
[Android Apps and Games] onewayout:
Galaxy note 10.1

Hi guys,

I'm running The Galaxy note 10.1 with hyperdrive rsl7 with boeffla-kernel and I am trying to delete some back-up files from clockwork mod on my ext SD. But when I go to delete them I get an error message that says I have to be ROOTED. I have never had this issue before on my phone and I have gone through the settings on SD maid and checked the appropriate boxes, re checked all my settings on SUPERSU.....Any ideas??

Cheers, jeff

SOLVED: I had a corrupt file on the SD card
[Android Apps and Games] Dark3n:
"Root required" is just a general error message for "permission denied" at that point.

I don't know your device setup so I can't really tell you why this is happening.

What is the path this file resides on?

I would also recommend to try the current beta.
[Android Apps and Games] onewayout:
Thanks Mon, but I pulled out the SD to erase the file on my computer and it wouldn't erase....corrupt file seems to be the culprit...

Cheers, jeff
[Android Apps and Games] Dark3n:
That would explain it :).
[Android Apps and Games] -CALIBAN666-:
Thanx for 3.0.1.1 update,now all is perfect.:thumbup:

MANY GREEEETZ!!!
[Android Apps and Games] Lazy79:
I really like the new unstable (well not really lol) version. :) do u plan a support for Tasker? To trigger some cleaning by Tasker and not by internal scheduler?
[Android Apps and Games] Dark3n:
Maybe :).

I looked into it shortly a year ago, then noticed that SD Maids UI based structure at that point did not support operations like that and forgot about it.

I've created a ticket for it:

https://bitbucket.org/d4rken/sd-maid/issue/84/tasker-support

Not on my immediate TODO list though.
[Android Apps and Games] Dark3n:
Beta v3.0.1.2 has been published.

We are closing in on a release canidate :).

For anyone experiencing something similar:

This issue turned out to not be a hang, but SD Maid not displaying any progress as the processed files were on the exclude list.
[Android Apps and Games] Dark3n:
SD Maid and the internet permission.
[Android Apps and Games] SecUpwN:
I like developers with a sense of humor. ;)
[Android Apps and Games] Ikkuh84:
That would be an amazing plugin for Tasker :fingers-crossed: Enable every evening cleaner
[Android Apps and Games] SecUpwN:
No tasker plugin needed, cleaning once per day is enough. Just use the integrated scheduler?
[Android Apps and Games] Ikkuh84:
I don't see any schedule option? I have the latest pro version from the Play Store.
[Android Apps and Games] DarkhShadow:
3.0 is not on the play store yet(unless you are in the beta), that is most likely why
[Android Apps and Games] Ikkuh84:
Updated now to your beta version :victory: Clean new interface, although I loved the swipe move for switching tab.

Now I finally have schedule :)
[Android Apps and Games] Dark3n:
v3.0.1.6 is currently available.

The next version will make it into production, last call for any issues anyone might have found or wants to report :).
[Android Apps and Games] iPusak Gaoq™:
disable auto rotate will be nice....just keep it in portrait mode while scanning cause sometimes if you flip it by mistakes, the "SD maid is a powerful tool, use at your own risk" appears and it cause some disruption while scanning (pause for a 3-10 seconds)....
[Android Apps and Games] Chris Kurisu:
Corpse Finder didn't find Gameloft

Hello, thank you for this wonderful tool .

There may be a problem. I am unsure. I installed Gameloft's Let's Golf and subsequently uninstalled it. While looking at "Large Files" I noticed that the Gameloft folder was still there taking up more than 100 mb of space.

I hope that this helps.
[Android Apps and Games] Dark3n:
I don't think this is something SD Maid needs. The scanning process is not disrupted, is maybe slow down temporarily because the devices consumes a lot of resources due to the orientation change. This is not necessarily SD Maid consuming those resources, but any other app/system/service that is running and also changing. The "disclaimer" should only show when the activity gets recreated from scratch, not just on orientation change. This has only been changed recently though, are you on v3.0.1.6?

This sounds like version v2.1.4.0 ?

I've checked the database on v3.0.1.6 and the "com.gameloft.android.ANMP.GloftL3HM" with the path "gameloft/games/letsgolf3" is entered.

So AppControl should remove that and the CorpseFinder should also show it.

Unless you are talking about a different directory than "gameloft/games/letsgolf3", in that case please click the icon to the right in the Explorer and report it.
[Android Apps and Games] iPusak Gaoq™:
i was using v3.0.1.5 while these popup appears while i accidentally flipping my devices...did your latest version fix it?
[Android Apps and Games] Dark3n:
Should have been changed in v3.0.1.4, does this always happen?

Hm.. I'll look into this again, it's not critical though, so won't delay the production version.
[Android Apps and Games] Chris Kurisu:
Yes. It is v 2.1.4.0 but I don't see any updates available. Thank you for your quick reply.
[Android Apps and Games] Dark3n:
v2.1.4.0 is the current production version, which is soon to be replaced by the current beta version.

You can get the beta by joining this community:

http://sdmaid.thedarken.eu/beta

and then opting through this link:

https://play.google.com/apps/testing/eu.thedarken.sdm
[Android Apps and Games] Chris Kurisu:
Oh! All apologies. My mistake. Thank you for the link!
[Android Apps and Games] iPusak Gaoq™:
its only see this on SystemCleaner while flipping my devices...yup it's not a big problem cause i haven't try your latest version yet...i will report back after i try using your latest version :D
[Android Apps and Games] iPusak Gaoq™:
Hmmm...just tested your latest beta (v3.0.1.8)...everything seems to work find but i notice there is one minor bug on SystemCleaner result after scanning...

if you look at the screenshot its said "atleast 718kb can be available by cleaning" but if you look carefully at the result, more than 718kb is available to be clean...might be minor bug but hopefully you can fix it...
[Android Apps and Games] Dark3n:
Good find, it did only display the summary of all files that are in the "non root list", the missing size are the files that in the "root list".

Will be fixed in the next release. Thankfully it is really only a minor issue and won't delay the planned production release of v3.
[Android Apps and Games] Dark3n:
v3.0.1.8 made it into production.

Staged rollout is currently set at 5% for a slight breeze of new users, lets hope for smooth sailing :).
[Android Apps and Games] 0bu:
hi there mate, first of big THANKS for this awesome tool !!!

now to the merit: i was useing SDM 3.0.1.2 beta without any troubles, now i tried to upgrade to SDM 3.0.1.8 and it says something with busybox is wrong and app close, any advice on how to solve this? thanks in advance.
[Android Apps and Games] Dark3n:
Did you try reinstalling SD Maid?

The error means SD Maid could not setup it's busybox.

Make sure after removing SD Maid that /data/data/eu.thedarken.sdm is gone before reinstalling it.
[Android Apps and Games] 0bu:
did exactly like you said, uninstalled sd maid, checked if the folder is gone, installed, run ... and busybox cant be used message, program closed :confused:
[Android Apps and Games] Dark3n:
Hm can you send me an email?

We will need to troubleshoot this.

I would like you to run a special version.
[Android Apps and Games] 0bu:
Oki, the mail is 00bukkake@gmail.com
[Android Apps and Games] Dark3n:
Still could not narrow the busybox issue down, if anyone else experiences this, i would more than welcome an email with a logcat of SD Maid starting.
[Android Apps and Games] SecUpwN:
Hahahahaha.. :D
[Android Apps and Games] Dark3n:
The busybox issue has been identified and I'm currently working on a fix.
[Android Apps and Games] Dark3n:
This has now been fixed and v3.0.1.9 has been published:

https://plus.google.com/116634499773478773276/posts/4zmFyvTRwg9
[Android Apps and Games] testrider:
Upgrading from 2.1.4 to 3.x question...

Thanks for the update. I bought the paid version a little while ago and I'm running 2.1.4 on my Note 2 (stock JB 4.1.2).

Before I update, is there anything I should be aware when moving from version 2.1.4 to 3.1.9?

Yes, I already read the changelog.

Thank you!
[Android Apps and Games] Dark3n:
Make sure to sit down, v3 rocks your socks off :P.

Excludes and Customfilters have been reset, so if you set up anything specific, you have to do so again.

Alot of excludes are no longer necessary for the corpsefinder though, it got alot smarter.
[Android Apps and Games] iPusak Gaoq™:
Look like minor bug on SystemCleaner result have been fixed on latest release...thank you [MENTION=608746]Dark3n[/MENTION] :highfive:

just wondering tho, about SystemCleaner...is it possible in the middle of the scanning, if user press the stop button the app show the result which item can be clean prior before canceling? currently, if a user stop the scan, it just stop and didn't show any result...

also, i wish there is a select button to select all...will be a bit easier for user to select all rather than to long press one before you can press other and do cleanup...
[Android Apps and Games] Dark3n:
The result issue was fixed pretty fast, but it lacked priority. The late busybox issue did warrant an update though, so any previous commit was also included of course :).

Regarding the canceling, yeah it's possible, i already started on it at somepoint, but it is differently difficult to implement it in some features.

Some features operate on each new found item, there it is easily possible, but others first gather all items and then process them, where it is not so easy to implement this.

In the end i scrapped the idea to speed up the release of v3.

At least for the "Searcher" I plan to add this again, then we will see about the other features.
[Android Apps and Games] testrider:
Thank you so much. I didn't have any custom filters as I always used the default and it worked fine.

Just updated. Worked great. Ran into a minor problem: when I used AppCleaner to clean gmail,

it stuck on a cache file forever. It did not crash. It just stuck there and seem to do nothing. I exited it,

and manually deleted that cache file myself, then ran AppCleaner again and it was fine.
[Android Apps and Games] Mr. Struck:
Just wanted to say "thanks" to an awesome dev, I have been using SD Maid Pro version for a couple of years now, on all my Android devices. Latest update is very, very nice. I consider this to be on the short list of my "must have" root apps. Thanks again [MENTION=608746]Dark3n[/MENTION]!
[Android Apps and Games] igoivo:
I tried to clean after the Maid also. But it did not help me. The Maid V3 has made too much mess,

so even the retired Maid V2 does not like to return back to me now. Trash.

PS: I also cleaned data\data\eu.thedarken... - hopeless, it's still too dark.

PPS: SGN2 (GT-N7100), 4.1.2 stock rooted, lot of free memory, last busybox, etc

PPPS: 3.0.1.9 from GooglePlay, Pro (paid) version
[Android Apps and Games] Dawood Al Amri:
Please my friend add arabic language in your app I like this app very much.
[Android Apps and Games] killoid:
looks like the system cleaner bug is yet not solved on my side! :( using the latest v3.0.1.9 on galaxy y duos,stock GB 2.3.6.screenshot attached.

p.s. i have enabled everything in the filter & also cleared everything after searching finished.
[Android Apps and Games] Dark3n:
Do you remember the file?

Did the cancel button work?

I did not understand what exact issue you are experiencing?

You are invited to help translate it :)

http://sdmaid.thedarken.eu/translation

Hm, i think this is related to directories being counted with 4k in the list but when deleted with 0 size.

Can you create a ticket for that?
[Android Apps and Games] igoivo:
The issue is FC after the Maid V3 drank her coffee. In particular, it ends with dark screen and no response.

The Superuser is OK (SuperSU, V1.86). Busybox is OK (1.21.1 in /system/xbin).

I use GT-N7100, 4.1.2 stock. I sent few FC reports.

Everything was fine in V2, until I stupidly upgraded it to new lasy Maid V3.
[Android Apps and Games] Dark3n:
SD Maid v3 is anything but lazy, it even works doubleshifts now, at the same time! :)

If you have just tested it, then i think i found your crash report.

SD Maid seems to run out of memory.

Can you tell me roughly how many apps you have installed?

It specifically crashes when trying to get the app icon of an installed app at the end.

I will have to see how to make it more efficient.

If would still like to make sure that this is the crash you are having, can you send me an email using the email button from the settings?

Or at least post the number it shows when you click the email button.
[Android Apps and Games] igoivo:
1) Maid v3 hangs when I touch her. Maid v2 has never did it and she had enough memory even today. She was cleaning but not drinking coffee.

Unfortunately, I cannot get her back, even with TitaniumBackup.

2) I have 963 app in total, which includes 228 system and 735 user ones. Still I have more than 780MB in sdcard0 and 365MB in RAM.

3) d867838a-3535-4fae-9d78-8580f299195a
[Android Apps and Games] Dark3n:
Hehe :) Everyone deserves a coffee break!

2) Those are a lot of apps and it confirm my suspicion. I will look into this. If you look at the progress display. How far does it get until it crashes? Unfortunately one app can not use all the memory even if you have more, they are limited to a fraction of the total memory.

3) I saw you send me an email, I might mail you a test version later.

edit: The previous version is available here:

http://thedarken.eu/sdmaid/legacy/
[Android Apps and Games] igoivo:
It looks she "drinks even in between the drinks" (Jack London) because she makes nothing else.
[Android Apps and Games] Dark3n:
How far the the AppCleaner progress until it runs out of memory?
[Android Apps and Games] killoid:
i will,can you share the link plz?
[Android Apps and Games] testrider:
1) yes, the CANCEL button worked every single time :) I tried it a few times by quitting SDMaid then restarted, rescan AppCleaner, then click on 'gmail' and it always stuck on the same file. I waited for a while then click CANCEL and it got out.

2) the file was in /data/data/...android.gm/cache/.. and it was an mp3 file that I attached to my gmail last week to send to a friend. Nothing special, it was just a music file of a few megabytes.

3) I use ES Explorer to go in that directory and manually deleted it. Then I ran SDMaid again and AppCleaner was able to completed without hanging on anything.
[Android Apps and Games] Dark3n:
@2 Let me know if this is something that occurs regularly, the AppCleaner actually tries to close the apps before cleaning them.

@3 Would have been interesting if you deleted the file manually through SD Maids Explorer, because it uses almost the same method as the AppCleaner. How long did you wait, i mean how long did you let SD Maid "hang" ?
[Android Apps and Games] Woody:
I fricken love V3. I have been using this since you released it way back when and this latest iteration is nothing short of spectacular.

FWIW, I have never had problems with it hanging or cleaning something it shouldn't, but the single most thing I like about this update is the Scheduler. I've been running it manually for 2 years now on Sunday's when I am done with a week of testings, flashings, blah, blah, blah. Many of the things I used to clean "manually".

A clean system is a working system and I attribute my clean system to not having as many issues as others in ROMs and Kernels. Maybe I am neurotic, but with this latest update my neurosis is a bit smaller now. Great work.
[Android Apps and Games] Lazy79:
Well, nothing to add. I'm still glad I've bought the app and I really love the new version. The only thing I hate is when there's a Changelog for a new version on your server but no new download available ;) thanks a lot for all your work!
[Android Apps and Games] 1droidmod:
@OP

I am a long time sdmaid/donate version user and have been 100% satisfied... Until recent update with the ui/layout changes. Reason: Seems more time consuming to delete corpses, system cleaner, app cleaner and misc gives me no option to clear Market Search or quick search. Restored previous Version.

Thanks..

XT912 RaZR SpYdEr CDMA

hit ThAnKs if I was helpful!!!
[Android Apps and Games] Dark3n:
Sorry but i can't grasp this.

Warning, little rant :) :

With the new UI it takes you 2 actions to reach every page (pull and tap). 3 if you have a small screen.

One additional pull to get out the navigation is too time consuming? If you use a tablet its even just one click.

V3 offers multi tasking and scheduling, and you go back to v2 because it's too time consuming ? :rolleyes:

You can even run 3 actions at once, open another app and then check SD Maid through the notifications and open it.

Any one is free to keep using v2. But if you think the UI is the major difference between v2 and v3 you are gravely mistaken. I can assure you it's a severe downgrade.

It's like your car dealer gave you a free 2014 Audi A8 and you complaint to him about it because you preferred the door handles of your VW Golf 3...

Cleaning market suggestions can be enabled in the system cleaner now and deletion of quick search suggestions has been removed because it only worked on half of the devices due to too many difference in ROMs with google now/quicksearch, you can add it manually as custom systemcleaner filter for your device if you want to.
[Android Apps and Games] 1droidmod:
Thanks! I am just to use to the old one. I am going to give your new one another shot everybody seems to be liking it a lot. Thanks again...

XT912 RaZR SpYdEr CDMA

hit ThAnKs if I was helpful!!!
[Android Apps and Games] decmk:
Bug in leatest Play Store version.

When you edit exclusion, edited exclusion is added once more in list leaving previous entry.

Sent from my HTC ONE X+ with Android 4.2.2