yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
Sounds plausible. Good idea.

There were some fixes ensuring that the alarm gets reinstated when you swipe SD Maid away and correctly remembering the passed time after reboot. Nothing I remember that fits this though.

Do you have a custom kernel / scheduling or ROM on your Nexus5?

Maybe apps like greenify that could interfere?

SD Maid doesn't actually start itself, it uses Androids AlarmManager to be woken up. That way an app doesn't have to run until the target time.

Just a thought, did change something like battery criteria in the settings? Maybe your device is low on battery every night.
[Android Apps and Games] carlese:
I am in purity 4.4.3 and was using code blue kernel.. This night I switched to Franco kernel, let's see if it works!
[Android Apps and Games] carlese:
[MENTION=608746]Dark3n[/MENTION] Tried, still nothing happened.. I don't use any battery saver.. Can anyone else try to schedule a task in the night with nexus 5 and possibly purity?
[Android Apps and Games] ferdinandrcj:
great apps! will buy it!
[Android Apps and Games] DuckMcQUack:
Hi Dark3n,

I have the latest version of SD maid + unlocker installed on my SGS iV i9505 with AOSPAL 4.4 RC2.

It does work in any of its options but app remnants cleaner.

Everytime I try to do the cleaning it sais that an unexpected error has occurred and the the app crashes. Tried to uninstall\reinstall without success.

Any clue? Thanks, the app is great!
[Android Apps and Games] Dark3n:
No clue.

Did you put your email in the bug report section?

Or can you record a logcat of it crashing?
[Android Apps and Games] DuckMcQUack:
I'll check for the email. In the meanwhile, how do i get a proper logcat for you?

EDIT - Email set
[Android Apps and Games] Dark3n:
Send me your email via PM or mail so i can filter for it :).

Just by filtering for 4.4.3 and your device, i would guess it's related to this issue:

http://stackoverflow.com/questions/11451393/what-to-do-on-transactiontoolargeexception

Will have to confirm through your email though and then come up with a solution.
[Android Apps and Games] _jordan_:
@ Dark3n - possible to integrate a reboot option for recovery and fast boot modes?
[Android Apps and Games] LinearEquation:
There are apps for that and many ROM's have the power menu backed in. No reason to bloat a great app. Just my opinion. https://play.google.com/store/apps/details?id=com.siriusapplications.quickboot&hl=en
[Android Apps and Games] Dark3n:
I agree, this is not something SD Maid has to do.

It actually was in SD Maid as experimental feature in earlier versions.

I also removed it because i couldn't get it to consistently work between different devices.
[Android Apps and Games] Dark3n:
The newest beta available is currently v3.0.3.5.

The main changes are improvements to the AppCleaners results.
[Android Apps and Games] staffordniko:
Even though I'm a beta tester (on unlocker and normal), I wont get the beta version pushed through play store. Is there something I need to do before?
[Android Apps and Games] Vagelis1608:
I have the same issue.

So weird.
[Android Apps and Games] ~kyle:
I haven't gotten it yet either, I just assumed there's a delay with the play store.
[Android Apps and Games] Dark3n:
Thanks for making me aware.

Someone (me) forgot to press publish after uploading it ~_~, sorry.
[Android Apps and Games] ~kyle:
It's up now, I just updated. Thanks [MENTION=608746]Dark3n[/MENTION]!
[Android Apps and Games] simpleaddictivegames:
Force closed on ZTE Grand X IN
[Android Apps and Games] Dark3n:
Feel free to share more details.
[Android Apps and Games] simpleaddictivegames:
FIxed problem after revealing, there was a running service, which tried to access to the same paths also with SD Maid,

my bad, sorry, thanks
[Android Apps and Games] bizum1:
have you found an easter egg in SD Maid? :) Touch many times maid while cleaning ;)

happy pro user :)
[Android Apps and Games] ~kyle:
Ha! There's actually three different things (by my count). I've never noticed before.
[Android Apps and Games] Dark3n:
Touching the maid?

Many times?

ಠ_ಠ

A new beta appears :)
[Android Apps and Games] SecUpwN:
You bet! I touch her so many times, I wonder why she's not complaining! [MENTION=608746]Dark3n[/MENTION], I still enjoy SD Maid so much and I really don't want to miss it - I'm still especially happy about the scheduled cleaning that you've managed to implement so successfully. Too bad you're not on GitHub to help us nuking the open Issues within our Android IMSI-Catcher Detector...

Back to topic: Three things are bugging me a little since at least 5 releases of SD Maid though: Since I always schedule SD Maid to run in the middle of the night, I wonder why it is often still stuck at cleaning the databases when I wake up. Often it also happens that I get up in the morning and SD Maid just displays a notification that the task has been skipped. The third glitch appears to be that when I enter the Scheduler and click the arrow to run SD Maid now, I have to click it twice. Could you erase all those glitches, please? Tell me if you need logs of any type.
[Android Apps and Games] Dark3n:
The day only has 24h :(.

1: Are you certain it's stuck? I'm guessing the notification might just not have cleared. You can confirm it by openeing SD Maid and openen the tool, if it also display a working state it's stuck, if it's doing nothing then just the notification stayed behind. Though why I'm not sure yet, I currently suspect it might be killed, which would explain why the notification is staying behind like that.

2: Check the Scheduler settings, did you change any of the conditions? Try toggeling every condition once, maybe there is a bug. Is it reproducable?

3: Can't confirm that on my N5, starts on first press. Try recording a log of it. Maybe set debug mode to "2" in advanced settings, then restart SD Maid.
[Android Apps and Games] Dark3n:
v3.0.3.7 is now the new production version :).
[Android Apps and Games] SecUpwN:
Strange, ll of a sudden it works out of the box...

Happened both on my HTC One and my HTC Desire X. Will keep monitoring.

If it happens again with the latest installed release, I'll post a log for ya. Thanks for helping!
[Android Apps and Games] Dark3n:
Now v3.0.3.8 is the new production version :|.
[Android Apps and Games] SecUpwN:
Thank you for the new version! Unfortunately, it has been hanging again. Here is the logcat, PW is your username.
[Android Apps and Games] Dark3n:
Nothing conclusive :(.

A bunch of errors where SD Maid is not able to modify it's own thread priority.

Did you filter the log? I'm missing part of the stacktrace.

What kernel/ROM do you run?
[Android Apps and Games] SecUpwN:
Filtered for the term "SDMAID". What exactly do you need? Would like to avoid uploading all my private data. Running AOKP with Android 4.4.4 and Kernel Linux version 3.4.82-g47fef4f
[Android Apps and Games] Dark3n:
The log shows an error of SD Maid failing to change thread priority, the error is incomplete though.

Current i have no clue though what might be happening :(.
[Android Apps and Games] vyp54:
Note to OP/dev: This feature isn't necessary but it would be nice for implementation: converting (moving) systems apps to user apps and vice versa. I know SD maid can clean system apps, but for the ones you want to make system and not user apps - you need another app like Titanium Backup.

This is just a suggestion to make your awesome app even more awesome. Cheers. :)
[Android Apps and Games] LinearEquation:
When filtering duplicates it brought up an app that was not a duplicate at all. Naturally I pay attention and didn't delete it but thought I'd mention it because that's never happened before.
[Android Apps and Games] Dark3n:
Thanks for the suggestion, it's noted here too:

https://bitbucket.org/d4rken/sd-maid/issue/30/set-apps-to-system-user

I would love it if you could add 1-2 usecases, i.e. when do you use such a feature.

Can you show me a screenshot? How did you determine that it was not a duplicate?
[Android Apps and Games] LinearEquation:
I didn't grab a screenshot. I only have one Flash Player APK though. Also, it shows your duplicates so you can manually choose which one to keep or choose "keep most recent" etc. It only showed the one APK. It's the only time that's happened but it kind of surprised me in any case.
[Android Apps and Games] sordna:
Thank you for a great app!

Feature request:

Can you please add a setting in the general settings to confirm exit when pressing the back button?

Often times I am in some task and think the back button will take me to the main menu of tasks, but it exits the app without warning. It would be nice to have this behavior configurable as an optional setting.
[Android Apps and Games] Dark3n:
Hm? There has been an update like 1 day ago.

I'm as suprised as you are, without more information i can't tell you more though.

So there was a single file, i.e. a set consisting just of one entry, i.e. colored bar at the side?

Did you filter for anything?

Did it allow you to clean it or select it ?

Do you have some kind of App2SD, Link2SD or other hardlinking/symlinking or mounting going on?

There are entensive checks to prevent false positives, even i-node comparison.

No single file should make it into the results and the duplicate code has also not changed for month :confused:

What version are you on?

Currently the back button DOES open the navigation menu and you need to double tap back to exit.
[Android Apps and Games] LinearEquation:
No hardlinking or symlinking. It just brought up one line for Flash Player APK, that's it. *shrugs* I'm not sweating it though. Just seemed odd.
[Android Apps and Games] Dark3n:
Send me a mail if you find out how and can reproduce it.
[Android Apps and Games] sordna:
I was on 3.0.2.8, now I updated to 3.0.3.8 and it works like you described. Sorry for the false alarm!
[Android Apps and Games] vyp54:
I'm not registered to post any comments there, so I'll post it here for you and you can copy it over there or do whatever you want.

1. For users running <4.4 it can be a lifesaver if they could convert an SMS app of their own liking (GO sms, 8sms, Hangouts...) into a system app so they can delete the stock one. That way system level permissions are granted to the new SMS app and they can delete the stock one. Even though "Default Messaging App" was introduced in Android 4.4, some users still want their aftermarket messaging app to be a system and not a user one so the undergo the proces mentioned above. Same goes for dialler apps. Those being system apps have extra permissions (like clearing unanswered calls) so you have to worry less about bad functionality.

2. Making Greenify a system app. Although Greenify has many modes of operation (stock, root, Xposed) I find it operating better and more agressive if it's made into a system app. This app can hibernate any other so some users decide to make it a system app.

3. For all users not using Xposed it can be a trouble keeping some user services (aftermarket launchers, permanent services that autostart) in memory. Especially if they require some background services to run constantly in background. Android can clean them from memory since they are user apps. Converting them to system apps grants them invulnerability from closing and they can run without Android trying to or stopping them every thime you clear all apps. A nifty app for me is called "Intelli3g" which smartly switches from 2G to 3G(4G) networks to save battery. This app is better when made system.

I would also like to put a side note on the location where user apps should be put. Android 4.4 has /system/app and /system/priv-app. The latter one is for those app that need all system permissions. That's the location you want since you have a good reason (like the 3 above) when converting a user to system app. Hope this helps. Cheers! :highfive:
[Android Apps and Games] SonyFan23:
What do you want to add in future versions?
[Android Apps and Games] Dark3n:
Keep an eye on http://sdmaid.thedarken.eu/issues

The next "big thing" will most likely be a "one click view" that new users will start out on.
[Android Apps and Games] vyp54:
My request is not that important, you may look into it in free time. I hope the examples in previous post are valid enough. :highfive:
[Android Apps and Games] Dark3n:
They are good examples, can you add them to the ticket ?

https://bitbucket.org/d4rken/sd-maid/issue/30
[Android Apps and Games] MsNesta:
I used the systemcleaner function to remove empty directories. is there any way i can restore these? :(
[Android Apps and Games] sordna:
bug in Biggest settings

Hi,

since my phone is rooted I went to SDMaid settings and added /data to the list of Search locations of the Last Modified function. Works fine.

Then I tried to do the same for Biggest but ran into a bug or two. Go into Settings, Biggest, Search Locations.

It says "Export destination" at the top (bug #1, it should say "Make a selection" like in the other places). Then navigate say to the top and select /system

After that, the Search location still says /storage/emulated/0 but if I hit back and go into the Biggest settings again, only then I see it has been updated to my new selection /system

So that's bug #2. Finally, I haven't found a way to have multiple locations being searched for Biggest like I can for Last Modified. Not sure if that qualifies as a bug or a feature request :)
[Android Apps and Games] Dark3n:
The "Biggest" tool does not yet supporting locations that require root.

https://bitbucket.org/d4rken/sd-maid/issue/130/add-root-capabilities-to-biggest

Thx, didn't notice. Will be fixed.

Yes it doesn't update until you re-enter that screen, will have to check again, i think when writing it, it was somehow a lot more complicated to do than what i expected, so i didn't implement it at that point. You could create a bug ticket for that.

Feature request. Currently you set a parent folder, SD Maid scans the folder and all it's children, and then you can browse it with the Biggest tool. I'm not sure how this would best be done UI wise if there are multiple folders that can act as "start position" if they don't have a common parent. Feel free to create a ticket for that, but I don't think it's a very important feature.
[Android Apps and Games] Ikkuh84:
Can you add Tasker integration please , because I'd like the schedule function, but I want to expand it with Tasker with when and where it has to auto clean.

Verstuurd van mijn GT-I8190
[Android Apps and Games] carlese:
Schedule function never works for me.. On every version of purity and different kernels.. I'm on art, don't know if it helps.. It simply doesn't run when in deep sleep..
[Android Apps and Games] SecUpwN:
[MENTION=608746]Dark3n[/MENTION], SD MAID stopped again. Here is my logcat. Suggestion: Why don't you make SD MAID open-source on GitHub?
[Android Apps and Games] Dark3n:
It has been on the request list for some time, couldn't get around to implementing it yet though. If you can contribute anything to make this easier for me, feel free to add it to the ticket.

I have no known issues in that area, try setting a schedule, then just closing/opening SD Maid see if the schedule is retained. Also make sure you didn't set any specific conditions in the settings.

Stopped as in "force closed", or hanging as in stuck during operations?

The log unfortunately doesn't contain anything. Actually nothing from SD Maid at all.

If you regularly try to log this, set the debugmode in the settings to to "2", it's a bit more spammy and resource consuming but much more interesting if one is trying to located such an issue.

Why is Spotify, TiBu or Timely not open source? :)

In SD Maid's case, at this point in time, i don't want to open source it.
[Android Apps and Games] SecUpwN:
Stopped as in not starting operations at all although prtessing the ">" button.

Darn it. No worries, I'll catch another logcat - when the Issue appears again. Might take a while..

Because those folks want money. And where money is involved, open-source is not very welcome.

Fair. But can you make a GitHub account, please? Maybe you can have a look if you can contribute some useful hints (or even possibly code snippets) to resolve these open Issues? C'mon dude, don't be shy - we welcome you with warm hugs!
[Android Apps and Games] Dark3n:
Ah this is a new description though, wasn't the previous issue related to the database tool hanging?

I think i can reproduce this issue, will get back to you on that when i know more.

I have a GitHub account, just no time and motivation to help with your project atm :crying:.
[Android Apps and Games] Cyclu:
[MENTION=608746]Dark3n[/MENTION] Just a word to say excellent application:thumbup:, really I appreciate your work to thank you I bought the Pro version.
[Android Apps and Games] SecUpwN:
Yes, you are right. But it happens very seldom. Regarding THIS Issue, I would like SD Maid to instantly start when pressing the button.

Perfect, I am following you now. So sad to see such a great developer not contributing to such important project. Yet.
[Android Apps and Games] Dark3n:
Awesome, thank you.

Not much on there atm, but my goal is to publish some more open source software in the future. I've got some apps in the pipeline for the Myo that will go open source once my NDA is lifted.
[Android Apps and Games] vanessaem:
Hello,

Thread cleaned and posts have been edited. As stated, it is incredibly rude to hijack someone else's thread to promote your own products and/or thread. Please show others respect by not doing this.

Regards
[Android Apps and Games] Dark3n:
Well that was swift action.

Not removing it and allowing people to read both posts would actually be more punishing though ;).

[MENTION=4686037]SecUpwN[/MENTION]

I was referring to the developers of that other app as the similarities are uncanny.

It's a shame that many people miss out on SD Maid, due to being seduced by promises and flashy UIs.

There will be a beta update to SD Maid soon(tm), trying to make it easier to use for "not technically versed" users.

Will update you guys here.

It will not replace any of the current UI, but offer an additional page. Not yet sure how to take the user too it though.

As a new activity, with a button to switch back to the normal UI. The decision would be remembered for the next launch.

Replacing the overview as startpage.

Just another entry in the tool menu.

On a side note, a site that takes apart apps and gauges them, would probably get sued for slander quickly?

Though isn't that what happens on XDA or reddit regularly? While satisfying, i would probably not be good use of my time.

Sorry thinking aloud again.
[Android Apps and Games] Dark3n:
The cause was not what i thought, but it's going to be fixed with the next version none the less.

The whole purpose of the "Run Now" button was obviously to run stuff now ;).

I'll refactor the whole architecture though such that i can funnel scheduler operations, "OneClick" operations and maybe Tasker stuff through the same gateway in the future.
[Android Apps and Games] B3311:
Weird problem since yesterday - "System cleaner" is finding nothing, neither is "databases" - both say "empty" when I run them. No recent ROM changes, I've been testing a few kernels lately, otherwise normal use.

Usually clean between 5 - 30 MB daily with system cleaner (manually, don't use the scheduler), and I have a lot of databases, which seem to be present as nornal in the app/data folders.

Any help appreciated.
[Android Apps and Games] Dark3n:
Sounds like a root issue.
[Android Apps and Games] B3311:
My first thought too, but checked and all OK, Supersu and busybox likewise. Uninstalled Sd Maid and reinstalled, no change. is there a logfile or similar that could help?
[Android Apps and Games] B3311:
2 char
[Android Apps and Games] Dark3n:
Set debug mode in SD Maids advanced settings to "2"

Completely close SD Maid

Start a logcat recording

Open SD Maid, press refresh in "Overview"

Wait till "Overview" is done working

Now run the function that doesn't work correctly until completion or it hangs (no progress for ~10min is a hang)

Stop the logcat recording

Mail me the log (You could post it publicly, but it may contain private information)
[Android Apps and Games] B3311:
Done, thanks.
[Android Apps and Games] B3311:
Any help from the log? Updated Busybox, still no change. TIA.
[Android Apps and Games] Dark3n:
Check your email.
[Android Apps and Games] Dark3n:
The latest beta (soon to be production version) is now v3.0.4.0.

For those with GPlay, there is a direct download available here (as always).
[Android Apps and Games] B3311:
https://db.tt/usoI1vjn

hope this is right!
[Android Apps and Games] B3311:
Should add that system cleaner works now, just the database doesn't. It only recognises 1 database and doesn't optimise it. Just tried the new beta, same thing.
[Android Apps and Games] Dark3n:
:(

Unfortunately not. It looks like you are not starting an explicit recording, but just opening the logcat app afters wards and saving the log.

Without explicitly running a running it will then only have log buffer which seems to be 1000 lines in your case.

In those 1000 lines could only spot the test of the sqlite binary when you probably triggered the database tool, but that's it.

It unfortunately also looks like verbose mode is not on. You can set it on by setting debug setting to 2 or creating a file/folder called "verbose_sdm" on your sdcard.

Maybe i can add a way for SD Maid to log itself, e.g. pressing a button, SD Maid restarts and when you end it you have a logfile to mail.

Will look into it sometime in the next few days.

If you have root and nothing comes up for databases, it sounds like the search is failing for some reason.

That reason should be in the log in verbose mode.
[Android Apps and Games] B3311:
Debug is set to 2. I open SD maid in overview. I kill the app via my launcher - lightning launcher>settings >kill app. I open alogcat, let it run, reopen sd maid in database mode. It only recognises 1 database - Kingsoft Office - and doesn't optimise it. I kill it again, stop the logcat. What am I missing? Sorry if it's obvious to you, it isn't for me, and Chablis is involved...
[Android Apps and Games] B3311:
Deleted, double post.
[Android Apps and Games] denyo81:
Great work! With every update SD Maid is better than ever. Keep it up the great work. ?
[Android Apps and Games] Dark3n:
Is is really "2" ? No space infront or after ? Otherwise it won't work.

SD Maid currently always opens with the "Overview" page preselected.

If it opens with the "Database" page preselected, it was not killed completely but restored something.

I don't know how the "Lightning Launcher" kills apps, but in case of doubt -> restart device always kills all apps.

Do you mean you start a recording in the logcat app? Just opening the app does only retrieves the logcat buffer, which will quickly be filled by SD Maid running in verbose mode. You can use any logcat app or even a computer to do this, this one was just the one i prefer.

If it only finds 1 database it looks like the search through /data/data is failing which is usually an indicator for root not being avaiable (or failing to be used by SD Maid).

You should not expect every database to be optimised. If there is nothing to improve, there is nothing to improve (see SQL VACUUM).

As i can't look over your shoulder i don't know :(.

Either keep trying it or wait a few days, see if i can manage to add that self logging.
[Android Apps and Games] B3311:
Usually have about 10 databases, including browsers, music players etc. they used to get hoovered nicely! Busy with kids at the moment, will try again and post later. Thanks for your efforts, appreciated.
[Android Apps and Games] B3311:
https://db.tt/UaRXnWPD