yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] tetakpatak:
Amazing, [MENTION=608746]Dark3n[/MENTION], just keep on your great work. This is IMHO one of the greatest root apps at all.

tetakpatalked from Nexus 7 flo
[Android Apps and Games] dipseeet:
i will keep a backup of this.

i do now a new flash.

it was all ok before. everything worked well. but since 1-2weeks i have this "bug".

i can live with that ^^ but i noticed it because i use this app EVERY day and i will show you that the primary storage was on the list all the time.

sry but i can't upload an image...
[Android Apps and Games] arf8:
[MENTION=2313080]drak3n[/MENTION]

Setting up a custom filter to exclude folders are not working. Correct me if I'm wrong, in System Cleaner I setup a filter where the only thing I set is the base path "/storage/emulated/0/" and went straight to exclude path option and entered "/storage/emulated/0/Download/" for example. What I want is SDmaid to do is delete everything in "/storage/emulated/0/" except for the Download folder and a few others. Not sure if i need to select some other option? I just simply want these specific excluded folders to be left alone and everything else including files and other folders not in the exclude list to be deleted. Is this even possible?

Thanks
[Android Apps and Games] Dark3n:
[MENTION=5798328]arf8[/MENTION] Either write a post OR write a PM OR write an email, not all -_-

Yes this should be possible the way you described it. Note that entered strings are case sensitive.
[Android Apps and Games] Technical:
Strange "Working..." message that keeps forever.
[Android Apps and Games] Dark3n:
If your device is rooted, the superuser app is hanging and SD Maid is waiting for it.
[Android Apps and Games] JotaJgreen:
Hi [MENTION=608746]Dark3n[/MENTION] , I had already bought your sdmaid pro version and now i'm an owner for Nexus 6p. I wanted to check how sdmaid works with my nexus6p, but there was no results. The app exit automaticaly when i try to execute an option.

PD: I have systemless root from chainfire.
[Android Apps and Games] Dark3n:
I'm unaware of any issues regarding the Nexus6P, I have not tried the systemless root though.

Please record a logcat of this happening.
[Android Apps and Games] arf8:
[MENTION=608746]Dark3n[/MENTION]

Sorry not sure which you check.

I made sure the strings were case sensitive and it does not work. For example if you simply add /Android/ or /Android/Data/ or /Android/obb/ in the exclude option of the custom filter it will still scan the /Android/*.* folder. Not sure if this is a bug but the only way to truly exclude is after you let the app scan look at the info of the files/folders it scanned than manually press and hold until it gives you the option to add it to the main exclude filter where you can select gobal or individual portions of the app to exclude.
[Android Apps and Games] Dark3n:
I've created a filter with base path "/storage/emulated/0/" and said that it should not contain "/Android/data/".

I've tested it and it works for me. Really make sure you got it extra spaces, new lines or otherwise.

And it will always scan the folder, that's how the SystemCleaner works. This doesn't matter though because it's not about what is scanned, but what is sorted into a filter.

Wait a few days and in v4 beta I'll export you a filter that does this and you can import it :)

Edit: And i check everything, but you can not expect an answer within hours on either way of communication.
[Android Apps and Games] arf8:
I have the same thing and it scans and lists all the files/folders it will delete so I'm at a loss. For example I added /DCIM/ and it still showed up in the scan result even though it was in the exclude portion of the custom filter and you could see that i was going to delete all the pictures in the Gallery. The only way I was able to exclude it again was to look at the result and manually press and hold the /DCIM/ folder and a few others to exclude them when it is cleaned/deleted.

I'll send you screen shots when I have access to the phone and email it to you.

Looking forward to seeing v4, I hope it is something i can edit b/c the filters that are there now are not editable to see how you have them setup. I have several folders in the "/storage/emulated/0/" i want excluded and the way i described above works but I don't believe this is how you intended it to work.

Cheers
[Android Apps and Games] dipseeet:
hey dark3n.

it's working now again.

i was so close before to do a complete new flash but then i decided only to flash an backup of mine.

i think this flash "repaired" my system partition.
[Android Apps and Games] adrman:
No problems with the 6p here, although I'm using phusson's root.
[Android Apps and Games] zodiaxe66:
This is now a complete cleaner with your release of v.4.The new entry in quickaccess with optionally exclude files to delete is simply awesome and the scanning feels a bit faster,so does cleaning..

4 years my various devices have been cleaned by sd-maid,Thanx M8. :good:
[Android Apps and Games] Dark3n:
Uh yeah, btw.

First V4 beta:

sdmaid.darken.eu/beta

sdmaid.darken.eu/download

sdmaid.darken.eu/changelogbeta

Be careful though according to early reports we've had dataloss in some cases.

So check results & always have a backup.

[MENTION=4678654]JotaJgreen[/MENTION] Tried systemless root on my Nexus9, didn't have any issues. Maybe it's related to something else. Let me know if you can get me a log of this happening.

View attachment 3581887
[Android Apps and Games] infatality:
I'm also running systems less root 2.6.3 on oneplus had no issue either.
[Android Apps and Games] Ultramanoid:
Oops. Tap on "Explorer" and instant crash every time. Need a log ? I see a log entry that says "Spurious death"... Ouch.

( CM 12.1 based rom, Android 5.1.1, cleared cache and data of SD Maid before launching it. )
[Android Apps and Games] Dark3n:
[MENTION=4004386]Ultramanoid[/MENTION] Check the crash log if it is something will "Nullpointerexception ... bla bla .... getPath()" then I got this covered. Otherwise I'll take the log :)
[Android Apps and Games] Ultramanoid:
Indeed, I see a few NullPointerException etc in there, so you already know then. Will keep testing, thanks !
[Android Apps and Games] JotaJgreen:
Hello, i have tried it and there is no problem now. Thanks for the update and for the refreshed interface. :good:
[Android Apps and Games] sordna:
I'd like to report a bug. I have an unrooted phone running Android 5.0.2. and SDmaid v3.1.4.4. I am able to use App Control to export APK's to my internal sdcard, but not to the external one. I did go to the exercise of navigating to the root of my external sd card (/storage/sdcard1) in the App Control settings, and got the green Success message.

Then I proceeded to create a directory on it from App Control Export Destination setting, and successfully created a folder called sdmaidBkp. This proves that SDmaid indeed got write permission to the external SD card. However, when I actually try to export an APK, I get a toast "/storage/sdcard1/sdmaidBkp", but in reality nothing is written in that dir. The sdmaidBkp directory remains empty. I turned on debug mode and saw a "Permission denied".

So I see 2 bugs here, apart from the export not working, the other bug is that there is no proper error checking/reporting. Also I noticed that the exercise to select the root dir of your external SD card is only offered once. If you do it wrong, you cannot redo it unless you uninstall and reinstall the app. Log is below. It's strange that StaticExecutor reports exit code 0 when the cp operation clearly failed (and probably returned non-zero exit code).

1451101260478 V/SDM:Shell:StaticExecutor: $BUSYBOX cp \/data\/app\/org\.videolan\.vlc\-2\/base\.apk \/storage\/sdcard1\/sdmaidBkp/org.videolan.vlc-v1070407.apk | echo $?:\/storage\/sdcard1\/sdmaidBkp/org.videolan.vlc-v1070407.apk
1451101260519 V/SDM:Shell:Harvester: Output:0:/storage/sdcard1/sdmaidBkp/org.videolan.vlc-v1070407.apk
1451101260525 V/SDM:Shell:Harvester: Error:cp: can't create '/storage/sdcard1/sdmaidBkp/org.videolan.vlc-v1070407.apk': Permission denied
1451101260530 V/SDM:Shell:StaticExecutor: Exitcode: 0
[Android Apps and Games] Dark3n:
[MENTION=5003130]sordna[/MENTION]

Nice report, that's the way I like it, including a log :).

So this is more of a case of missing functionality.

While v3 supports DELETE, NEW DIR and NEW FILE, it does not support COPY using the StorageAccessFramework.

v4 does though, but I just checked and the ApkExport functionality does not yet make use of this.

If you could remind me of this and create a ticket (http://sdmaid.darken.eu/issues), I'll make sure to change the code in the next few updates to also use the new access methods.

I've written a set of what i call "SmartIO" tools that hide the complexity of choosing the right tools for each location, but it seems i have not changed the code everywhere yet.

I agree that error reporting could be better. In v3 I've catched many exception way too early such that the actual type of error was difficult to display. v4's exception handling moves the error very far up the chain and it's basically just below UI level, currently I only display "error", but we could actually show the exception message here. I'm not sure how we could show this UI wise though as the messages are too long for the normal status bars and a popup would be pretty annoying.

The path choosing has also been improved in v4, please check it out and let me know if where I can improve there. v3 is on feature stop it will only get database updates.

The exitcode is correct in so far as it's the exit code of the last command and this is "echo" in this case, which has no reason to fail. But the exitcode in the echo output is also 0 which seems wrong. I will look into this but it's not too important for now, if you can also make a ticket for this.
[Android Apps and Games] sordna:
OK, created issues #272, #273. Would we see a fix in v3 or v4 only ? Anyway thanks for the quick reply!
[Android Apps and Games] Dark3n:
v4 only.

Just doesn't make sense to do twice the work. Backporting changes isn't easily done as v4 has a vastly better architecture, so to backport most fixes i would also have to backport the architecture.

Not that bad though, most of these things are all 5.0+ issues and and v4 is 4.1+
[Android Apps and Games] tetakpatak:
Beta v4 works wonderful on flo with SlimKat 4.4.4

tetakpatalked from Nexus 7 flo
[Android Apps and Games] tetakpatak:
The v4 beta has no more "toggle autostart components" option under "App control". Do you attend to include it in the final versions?

Or did I just miss it somehow?

tetakpatalked from Nexus 7 flo
[Android Apps and Games] Dark3n:
It's still there. "Receiver Manager"?
[Android Apps and Games] carlese:
[MENTION=608746]Dark3n[/MENTION] v4 seems a lot slower than v3.. It looks at the operations several times before performing them.. Another small bug, I have two folders named Musica and Music.. I added the custom filter for Music folder and it deleted also Musica folder (and I lost all my music in there :D).. Thanks for your work!
[Android Apps and Games] Dark3n:
Yes v4 is slower because we check more. We have to choose between being faster or more thorough. Not sure what you mean by "looks at the operation".

That's not a bug.

"/sdcard/Music" is contained in "/sdcard/Music/" and in "/sdcard/Musica/".

Either add a trailing slash "/sdcard/Music/" or add an inverse match like doesn't contain "/sdcard/Musica".
[Android Apps and Games] Technical:
New interface brought doubts for me...

It says: Delete when it is about to run the scanning again and restart the process. I was expecting "done" or "info about the already run operation".

It shows an "x" to stop the running operation but it turns back to "queue".

Older interface was clear.

The new one is confusing and with the fact of slower scanning (which are good) the user does not know what is going on.

Besides, the 5-6 notification are too much. Why not just one with "all" running operations just queued?
[Android Apps and Games] Dark3n:
I'm not sure what you mean, please elaborate (except for the notification thing).
[Android Apps and Games] Technical:
Trying to take screenshots..., but need to wait for the scan to finish.

I'm not using the English interface, maybe it is just a localization issue (in Portuguese Brazil).

By the way, can I help on translation? How?

Well, lets say that the verb "Deletar" (to delete) is "Run" (or execute) and not "Remove the operation" (exclude the task or line). Look Screenshot_20160103-224010.

The same for the recycle bin icon on the bottom: is is not to remove the tasks, but to start the operation. I was expecting a "play" icon, not a recycle bin one.

The "x" appears on both to stop a running operation (Screenshot_20160103-224025) and to "remove from queue" (Screenshot_20160103-224652), it's ok, but it appears again after the task run (Screenshot_20160103-224714), i.e., I run the operation the "x" is there, files were deleted. After the operation finishes, the interface shows "Na fila" (on queue) again? Why?
[Android Apps and Games] Wombatino:
No problems with Spanish translation
[Android Apps and Games] Technical:
When anything is touched when the task is running, the app freezes...

Why not is just said "running a task, you cannot open the configurations right now" or something similar.

Again, as the scanning are slower, the user does not know what is going on.
[Android Apps and Games] Technical:
Some files are shown in other cleaners after running a full SDMaid clean.

Can we help improving this?

Specially "empty folders" would be useful I think.
[Android Apps and Games] Dark3n:
For translations check http://sdmaid.darken.eu/translation

You have single pass activated for that view, so it will scan and delete without further confirmation.

I have not tested that much.

On the first screenshot the dialog is miss leading because it thinks we are deleting 0 items, when infact we will delete all we find. A bug.

> Well, lets say that the verb "Deletar" (to delete) is "Run" (or execute) and not "Remove the operation" (exclude the task or line). Look Screenshot_20160103-224010.

Why would it mean to remove the operation?

> The same for the recycle bin icon on the bottom: is is not to remove the tasks, but to start the operation. I was expecting a "play" icon, not a recycle bin one.

A play icon does not convey the meaning "We are now going to delete stuff".

> The "x" appears on both to stop a running operation (Screenshot_20160103-224025) and to "remove from queue" (Screenshot_20160103-224652), it's ok, but it appears again after the task run (Screenshot_20160103-224714), i.e., I run the operation the "x" is there, files were deleted. After the operation finishes, the interface shows "Na fila" (on queue) again? Why?

The cancel button should cancel all operations (running or in queue) for that specific worker (tool). The "In queue" reappearing is also a bug. Likely something caused by concatenating multitasks. For each worker/tool a scan all, and a delete all task is queued. So what you are seeing is multiple tasks per tool.

If you create a ticket for this with the screenshots and some infos, I'll get it fixed: http://sdmaid.darken.eu/issues
[Android Apps and Games] Technical:
Thanks. Will take a look later.

Yes, I have single pass (one click to run and remove).

Thanks. Glad I've helped :)

Because "x" and "delete" are in the same interface: "x" means "stop" and "delete" doesn't. Maybe it's just me, but when I saw I've thought it would be to remove the operation. When you click the "x" it shows "on queue" and then returns to 0.00 B removed. Forget it, maybe it's just me.

I think "delete" should be "run" in both the interface and the confirmation popup message.

Ok, I agree. But there are 3 signs in the same interface: the recycle bin, the 'x' to stop and the verb "delete".

Ok. Let's wait how it will look after the "bugs" are solved. Maybe it gets perfect.

Sorry, I'll leave to a business trip... It will take some time to do it. But, anyway, thanks for the support and, of course, for the great app ;)
[Android Apps and Games] Dark3n:
http://sdmaid.darken.eu/issues/279

http://sdmaid.darken.eu/issues/280

Feel free to add more information that might help me.

Regarding stuff that SD Maid didn't find, but other apps did. If you can find out the exact pathes, you can also create tickets for that.

I just can't do much with screenshots and "category" names from other apps.
[Android Apps and Games] Tajnymag:
Is there any possibility of add "convert user app to system app" feature in the future?
[Android Apps and Games] kukubau:
[MENTION=608746]Dark3n[/MENTION]

How can the SD Maid sd card permission error be fixed in M 6.0?

Secondary storage. A secondary storage was detected. Grant SD Maid access by selecting its location.
/storage/DF21-15E2
[Android Apps and Games] Dark3n:
That's not really an error. Since Android 5.0+ access to an external sdcard (without root) goes through the storage access framework. Tap the orange entry, then search and select the root of your external sdcard.
[Android Apps and Games] Dark3n:
The latest beta version is now v4.0.4(4004)

http://sdmaid.darken.eu/download

http://sdmaid.darken.eu/changelog

http://sdmaid.darken.eu/issues

A boatload of fixes, but also some performance improvements.

If you are still seeing or having issues with somestuff please make sure there is a ticket on the tracker :).
[Android Apps and Games] Spaulding89:
Just for your info: The Update is just awesome. I love SD Maid 4.0.4 :laugh:
[Android Apps and Games] abdomsr7:
thanks this app helped me save a lot of space :good::good:
[Android Apps and Games] iNette:
I just love this App! Thank you sooooo much dear Dark3n!

Gesendet von meinem SM-N9005
[Android Apps and Games] shinyghosts:
Thanks Dark3n:good:

I have used this app for clean junk and reduce my boot speed for years and it works perfect and effectively
[Android Apps and Games] Dark3n:
Please make sure there is an issue ticket on Github ( http://sdmaid.darken.eu/issues ) for anything out of the ordinary you find in SD Maid v4 or regressions in regard to v3. I'd rather have a few duplicate tickets than miss something.
[Android Apps and Games] DoGe007:
Very useful app i use it on all my device :good:
[Android Apps and Games] Dark3n:
The latest SD Maid version is now v4.0.6 beta :).

http://sdmaid.darken.eu/download

http://sdmaid.darken.eu/changelog

http://sdmaid.darken.eu/issues

I appreciate all your feedback.

Please ensure that any remaining issues have a ticket on Github.
[Android Apps and Games] DanielSp:
Amazing app. You just got a new pro user.

If you, by any chance, need a PT-BR revision of the language files, let me know. I can do that at no cost.

Im saying this because I have seen some mistypes /comprehension tweaks around starting by the app description/hedlines.
[Android Apps and Games] Dark3n:
Help is always welcome: http://sdmaid.darken.eu/translation
[Android Apps and Games] Dark3n:
Beta v4.0.7(4007) has improved functionality, some new stuff and a healthy dose of bugfixes.

http://sdmaid.darken.eu/download

Notable stuff:

The QuickAccess page UI has been remade and should now fit nicely on most phone displays. I'll come up with something good tablets.

The statistics page has returned and now offers size gained per tool in a nice chart.

"Chronic" is a new pro feature. It can be found in the statistics page (for now). It shows a searchable event history of invasive actions taken by SD Maid. Meaning stuff that changed something (delete, disable etc.), some AppControl actions are not logged yet. More transparency is always good in a tool that handles your files. So while most don't check the details before deletion, now you can also do it afterwards (something ... hindsight 20/20...).

New corpse filter for /data/app-private

Support for enabling/disabling any type of BroadcastReceiver in AppControl. By default it only shows the interesting one slike ON_BOOT, in the toolbar is a setting to show all types. Those that are registered for default system intents are annotated while those without type annotation are custom receivers. Don't break apps for no reason, receivers usually have a purpose.

Changing receivers now supports multiselection, so you can toggle multiple entries at once.

A new systemcleaner thumbnail filter, specifically for ./.thumbnails/movies_????? folders.

SystemCleaner scan speed should also have improved a lot.

Full changelog here:

http://sdmaid.darken.eu/changelog

Thanks for all reports and tickets.

If you are still seeing issues that don't have a ticket yet, please open one.﻿

http://sdmaid.darken.eu/issues
[Android Apps and Games] Ænimal:
Running RR 5.6.4 on z1c, SuperSU is 2.52, installed beta 4.0.7 and tried to delete apps, which didn't work.

After some thinking I decided to make sdmaid my debugging app in developer settings which did the trick..

Hope this info is of any help (sorry for not providing logs agaiin:o)

Thanks!
[Android Apps and Games] Dark3n:
The latest v4 is now v4.0.8 (beta) and there is also v3.1.3.7 (soon production).

The v4 update adds lots of cool new stuff like more expansive search for Databases or force-stop support within AppControl.

http://sdmaid.darken.eu/download

http://sdmaid.darken.eu/changelog

http://sdmaid.darken.eu/issues
[Android Apps and Games] Ikkuh84:
Latest release does something with Xposed, cause after I clean my phone, Xposed won't start (gives an error dialog, with no log) and I have to reinstall Xposed app. In sdmaid I don't see any link to the Xposed module.

Verstuurd van mijn HTC One M8s
[Android Apps and Games] Dark3n:
Latest v4?

No logcat entry for xposed?

You could use the new history feature to search for xposed related files :).
[Android Apps and Games] carlese:
Xposed broken for me too with the latest build :(
[Android Apps and Games] Dark3n:
Nothing on logcat from Xposed?
[Android Apps and Games] Ikkuh84:
I made a logcat while scanning with SD maid. I hope it's the correct one.

https://onedrive.live.com/redir?res...8283&authkey=!AEFFlgGayHWJYVo&ithint=file,txt
[Android Apps and Games] Dark3n:
There are hundred of exposed crashes on there, mostly related to the HTC keyboard.

I don't see any SD Maid connection from that though.

I installed xposed on my N9, installed gravitybox and xprivacy, then ran quick access and I have no crashes :(.

Xposed manager still opens fine, as does xprivacy and gravitybox.
[Android Apps and Games] Ikkuh84:
HTC keyboard crashes? Hmm, I only have Swiftkey installed... strange...
[Android Apps and Games] Dark3n:
Well huge crashfest but everyting looks unrelated to SD Maid.

Might not be a keyboard that's crashing could be some kind of HTC clipboard thing?

Dozens of these in the log

http://pastebin.com/raw/G44DJv4J

http://pastebin.com/raw/cRUjZRZm

http://pastebin.com/raw/dPHDLHG3

The only SD Maid issue i saw is that due to the more aggressive app killing in AppCleaner and Databases, SD Maid kills the SystemUI during it's operations, I'll probably add an exclusion for that. Looks unrelated though.
[Android Apps and Games] Ikkuh84:
Wow, I have to look into that. Unfortunately it doesn't sa what app/module it causes. But it is offtopic I guess :)
[Android Apps and Games] Buleste:
I'm using a Sony Xperia SP on Stock Rom and have the Xposed crash too. I'll try get a log cat for you.
[Android Apps and Games] Dark3n:
It would be great to narrow it down to a specific tool causing this.

I'd suspect AppCleaner or Databases and that's related to more aggressive app killing.
[Android Apps and Games] carlese:
Nexus 5 user here and xposed crashes for me too.. How do I export my history?
[Android Apps and Games] Dark3n:
You can't. Searching for xposed in it and screenshots should work though?

A log of the xposed crashes would be helpful to understand why it's crashing, and of coursing narrowing it down to a specific tool in SD Maid so we can build a reproducible case.