yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hakim462000:
Exactly! I already gave the check mark on this one before I press skip yet it keeps showing up every time I re-run the app.

Phone is Lenovo a7000 lollipop 5.0 if it matter.
[Android Apps and Games] Dark3n:
If I set "Don't show again", it will no longer show. I've just tried it on a Note4.

If you are seeing other behavior please create a bug ticket:

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

Edit: nvm i can't reproduce the issue *sigh*

https://github.com/d4rken/sdmaid-public/issues/356
[Android Apps and Games] The Apostle:
I've been searching and can't seem to find an answer. Does anyone know a way to select the storage in SD Maid? I keep getting this error and cannot get around it. Been using SD Maid Pro for years and never seen this.

I am on a 5.1.1 stock ROM (LG G4)
[Android Apps and Games] Dark3n:
[MENTION=4462969]The Apostle[/MENTION]

Any 5.0+ device should have the app Documents (com.android.documentsui) yours doesn't, or the app has been disabled some how.

https://github.com/d4rken/sdmaid-public/wiki/Setup#error-activity-not-found
[Android Apps and Games] The Apostle:
Thanks... I just looked and com.android.documentsui isn't in the system. Guess I'll stop being lazy and update my ROM.
[Android Apps and Games] Ammon_:
With version 4 i get the notification to give access to sd maid for the storage every time i restart my device.This on huawei p8 lite running android 6 and sd maid on the external sd card which is my default location for storage
[Android Apps and Games] Dark3n:
[MENTION=7328532]Ammon_[/MENTION] please consult https://github.com/d4rken/sdmaid-public/wiki/Setup
[Android Apps and Games] Ammon_:
I actually do the steps required to grant access,the orange icon becomes green but on next device restart i t just asks again for the same thing
[Android Apps and Games] Dark3n:
That sounds like something either resets SD Maid or your system does not persist the permission.

For further trouble shooting i would suggest to record a logcat while granting access and to create a ticket on github.
[Android Apps and Games] Vagelis1608:
Perhaps he should record a logcat at boot in case something (the system itself?) resets the permissions?

Although, if he has this problem only with SD Maid, then that's probably not it.
[Android Apps and Games] Ammon_:
I only have this...permission resetting problem with sd maid.No other app is asking for permission every time.I am now reading the tutorial on how to use that logcat thing!
[Android Apps and Games] Dark3n:
Most other apps probably don't use the storage access framework, because it's a **** in the *** to implement and use in an app that mixes normal access, root access and SAF based access.

SD Maid will still use root if you don't do that setup step, but using less root is better for performance and battery. Root + Shell operations are quite costly in large volumes :).

(Also elevated permission levels should only be used when necessary).

[MENTION=4849551]Vagelis1608[/MENTION] possibly something during boot to be seen, but we don't actually know when it "gets lost". I doubt it's an SD Maid specific issue, apps using this technique are just rare at the moment. Most just use root.
[Android Apps and Games] dirtyreturn:
[MENTION=608746]Dark3n[/MENTION] . I own a nexus 6p with march's update and when going to advanced settings and then to multi threading - changing the number and tapping OK causes the app to crash with no FC notification. Bug reports and usage stats are enabled. Would you need a log?
[Android Apps and Games] Dark3n:
Log is always best, but I might be able to find the crash if you give me your install ID.

https://github.com/d4rken/sdmaid-public/wiki/Reporting-a-bug#crash-report
[Android Apps and Games] dirtyreturn:
@Dark3n . I recently updated and when tapping OK after changing the multi threading value the app goes black and closes without an FC notification. Bug reports and usage stats are enabled. Do you need logs?

Edit - here is a log, hope it helps.
[Android Apps and Games] IronTechmonkey:
Slower to scan in 4.1.4 than in 3.1.4.8 expected based on recent changes?

I use Quick Access with the following enabled: CorpseFinder, SystemCleaner and AppCleaner. This quick Access scan in 4.1.4 takes twice as long (2m10s) as it did 3.1.4.8; (1m06). This has been the case in multiple test scans with similarly minimal background activity on the device, and with the second of 2 identical scans being timed (the first scan is to create a level field for the test). It is hard to tell visually which of those 3 scans is most affected but both the CorpseFinder and SystemCleaner seem to be where the extra time is being spent.

The Corpse finder settings in 4.1.4 are more granular than before and SystemCleaner option for "Empty directories" which I had unchecked in 3.1.4.8 was reverted to checked after the update to 4.1.4. I can see how such changes might change the amount of material being scanned or change the intensity of the scans but...

Even when I mirror the settings as best I can between 4.1.4 and 3.1.4.8 the aforementioned Quick Access scan still takes much longer that before at about 1m50s. This is certainly not unworkable but I would like to know what causes the difference. [MENTION=608746]Dark3n[/MENTION], is this expected?
[Android Apps and Games] MrTooPhone:
Data Base Optimization Error

With the latest version 4.1.4, I now get an error with "contacts2.db" and "profile.db". Does that mean these db's became corrupt or that SD can not deal with them. Is there a recommended solution?
[Android Apps and Games] IronTechmonkey:
Thank you for the very thorough explanation, which makes sense and lines up perfectly with what I'm seeing, in fact it sounds like SD Maid is doing more and heavier lifting in relatively less time when those things are considered.

Ha! Well in that case thanks for putting real work in and being so responsive in the dev and in this thread.
[Android Apps and Games] Dark3n:
Currently playing with the idea of collecting SystemCleaner user filters somewhere like Github and making them downloadable from inside SD Maid.

Many people don't feel comfortable defining user filters and many cases don't warrant inclusion as default filters due to being too specific or not always being desired.

An example would be the filter i gave in my previous post.

I could still create some of those on request and upload them to Github, then maybe show a list of those inside SD Maid which can then be downloaded and imported.

My concern would be outdated or faulty filters as there would be no "update system" for imported filters. We could do without the in-app downloading and force people to go to github to download the files, but that would also be a bit inconvinient.

Just looking for some feedback on this idea.
[Android Apps and Games] siminhu:
Hi,

I need som help, I have elephone p8000 and I use modified kernel to use App2Ds and when I run SDmaid it ask me do define SD location, but this shows SD1 and I can not locate SD 0 from this view?

PLS help me,

THX
[Android Apps and Games] Dark3n:
[MENTION=2765976]siminhu[/MENTION] Likely this: https://github.com/d4rken/sdmaid-public/issues/312

If you have time record a debug log I'm still trying to find a solution for this.
[Android Apps and Games] IronTechmonkey:
IMO the inconvenience is worth it to avoid outdated or faulty items so the app doesn't take the rap if user contributed items dont work.

---------- Post added at 03:31 AM ---------- Previous post was at 03:14 AM ----------

On the topic of inaccessible SD card (albeit with a different type of issue) I've had a problem with my SD card which I dont think was caused by SD Maid but would like to mention just in case: A 64MB microSD card suddenly became invisible in the device (detectable but not mountable) but when connected to Windows or Linux PC it behaves as if it has been digitally write protected (or as if it experienced corruption which nearly perfectly mimics digital write protection). I'm wondering if there is even any way that SD Maid could cause such a problem (like flagging a Fat32 formatted SD with exFAT digital read only attribute) or if anyone else has experienced something similar whether or not associated with SD Maid..Much more detail about the issue can be found in this thread:http://xdaforums.com/android/help/micro-sd-write-access-format-exfat-t3358275.
[Android Apps and Games] Dark3n:
[MENTION=5119654]IronTechmonkey[/MENTION] I'm currently leaning towards accepting new filters via pull requests and only merging them into the repo after being validated by me. The thing is, I also make mistakes.

The simple approach would be to just show a list of available "community filters" and then you can tap them to import one as "user filter". There would be no automatic updating for the filters though, users would have to repeat this process if the filter is updated, but that could also be a good thing because theoretically filters could become worse with updates, so assuming (ha...) people vet the filters, overwriting them with an updated version would be very unexpected behavior.

Edit for your edit:

just uses normal filesystem access. No flags are changed, no partition tables, boot sectors or anything like that is touched. The only way SD Maid can "trigger" this is if the card has existing faults, SD Maid doesn't go easy on the card so if there are hardware issues or existing file system issues it's not unlikely we'll run into those. SD Maid
[Android Apps and Games] IronTechmonkey:
That would still be much better than the open mechanism I was imagining.

That sounds reasonable. Also, for the record; I chimed in with an onion since no one else here had done so but that opinion is not a strong one. It's all good.

---------- Post added at 03:50 AM ---------- Previous post was at 03:40 AM ----------

Just what I was hoping to hear. Thanks.
[Android Apps and Games] siminhu:
I attacked the log to Github
[Android Apps and Games] carpediem233:
thansks
[Android Apps and Games] Diamorphoses:
Hey,

I like your app. I don't have google play. Any other way to buy the pro version?

(Maybe it will be available in XDALabs soon?)

Thanks ;)
[Android Apps and Games] Dark3n:
[MENTION=6440160]heyxperia[/MENTION] currently not
[Android Apps and Games] Diamorphoses:
Paypal? :confused::(

Sorry to insist :/ I really would like to have your app.
[Android Apps and Games] Dark3n:
There is no update / download system in place that would let you download the pro apk outside of Google Play.
[Android Apps and Games] BatDroid:
Frustration all over...

[MENTION=608746]Dark3n[/MENTION]

I already unchecked finding corpses from Android/data

But unfortunately,

It cleared my whole 6.5GB game/game data(my lifetime save) from this folder.

Cant explain how much disappointed i am right now.

In a sentence, "I AM DEAD"
[Android Apps and Games] Dark3n:
[MENTION=7017727]Dark Knight Begins[/MENTION]

If you want to further investigate this, please provide the exact path of the items that have been removed and which tool of SD Maid did it.
[Android Apps and Games] BatDroid:
External SD(mounted as internal by Xinternal Sd)/Android/data

Corps Finder

Samsung GTS5282

Cyanogenmod 11
[Android Apps and Games] Dark3n:
That's not the exact path, is it? Or did it delete the whole Android/data folder?

Is this reproducable? Meaning that if you recreate the folder that was deleted, does the CorpseFinder display it again in it's scan results?
[Android Apps and Games] rpbica:
Hi

I was a happy SDMaid Pro user until I found out that the cleaning process is messing around with Google Music.

I have a Galaxy S6 SM-G920F and I’m using SDMaid 4.1.6.

Until last weekend I was using a stock ROM and then out of nothing, every time I started Google Music my phone would do a hot reboot.

After a while of fighting it I decided to install another ROM, XtreStoLite DeoMod Edition 3.1.1, and everything was going really well.

I used it for 3 days before running SDMaid.

Then I decided to use SDMaid.

I used it and a minute later I tried Google Music…and it crashed!

And it keeps on crashing….

I’ve already made a Dalvik/Cache cleaning but it keeps on crashing.

Please help.

Regards

Rui
[Android Apps and Games] Dark3n:
Please provide a logfile containg the stacktrace from Google Musics crash.
[Android Apps and Games] rpbica:
I hope this is it, I’m sorry but although I've done a lot of things with my phone, I never extracted a log file...

In my SDMaid Settings, in "CorpseFinder" I've checked all the green categories and the 2 yellow ones.

In “AppCleaner” I’m including System-Apps.

Thank you.
[Android Apps and Games] Dark3n:
The logfile does not contain a crash, we are looking for something that contains the word "Exception".
[Android Apps and Games] rpbica:
Like this?

E/System (23321): Uncaught exception thrown by finalizer

E/BoostFramework(15439): Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
[Android Apps and Games] rpbica:
Strated Google Music, it crashed the phone and I got this one by searching "Exception"...
[Android Apps and Games] Dark3n:
There are exceptions in the log but none from Google Music. Please try to check logs yourself before posting more.

Crashs for Google Music will contain both its packagename "com.google.android.music" and some type of "Exception".

Further reading: https://www.google.de/search?q=how+to+logcat

(Catlog is a good app for rooted devices to do so)
[Android Apps and Games] rpbica:
Please forgive for taking so long, I had to learn how to do it.

This is the best I can do...hope it helps...

https://drive.google.com/open?id=0B4pfun1NLOtTM0MxYmJXa2RNQzQ

Thank you
[Android Apps and Games] Dark3n:
Doesn't look like it was caused by SD Maid, looks like an Xposed issue or some other mod.

http://pastebin.com/raw/8rneRAs1
[Android Apps and Games] rpbica:
Hi

Being a system analyst myself, I try to take a systematic approach to this type of problems and that’s what I did after installing XGPM, an Xposed Module dedicated to GPM.

As soon has I installed it and activated it, I ran GPM and as I said before, everything worked well.

But now, following your lead, I deactivated XPGM and GPM is working fine again!

Really don’t know what happened... :(

Again, thank you for your assistance and I‘m sorry for taking your time.

Regards

Rui
[Android Apps and Games] Spookymyo:
Add Google Music to the Global exceptions list so that SD Maid won't clean anything related to it. If GM still crashes it's an issue with something else like xposed.
[Android Apps and Games] thewizardoz:
Cannot find where to set Scheduler frequency & time of day in the latest version. Only choices I found under Settings were whether to run on low battery & whilst charging. Thanks. Great app! ?
[Android Apps and Games] s629c:
Never knew this app works without root. Downloaded and bought pro. Good stuff
[Android Apps and Games] AbDo NeOs:
wow ty man :)
[Android Apps and Games] Ænimal:
Can "/data/user/0/eu.thedarken.sdm/files/busybox" be used by 3rd party apps, if busybox is required?

Feeling stupid, but thanks, anyway :o
[Android Apps and Games] Dark3n:
Theoretically yes, but practically no, because 3rd party apps wouldn't look for a busybox there. Furthermore it's not a complete busybox as it only has the busybox applets SD Maid needs.
[Android Apps and Games] Ænimal:
Thanks! Just tested it on "oandbackup" within a disposable system (multirom) and it did work!

I just had to change permissions and set sdmaid's busybox path as busybox executable for the app.
[Android Apps and Games] Dark3n:
[MENTION=5478526]Ænimal[/MENTION] What permissions did you change?
[Android Apps and Games] Ænimal:
Granted global executable permission

EDIT: Seems like permissions on secondary ROMs differ. I wouldn't recommend meddling with it on a main system..
[Android Apps and Games] Dark3n:
Not sure what global executable permission means in this case, but you shoudn't relax any permissions on SD Maids busybox such that other apps may be able to modify or replace it, otherwise it may pose a security risk as apps could try to have SD Maid execute their code.
[Android Apps and Games] Ænimal:
It is set by default on my main system..

Anyway, thanks for your help
[Android Apps and Games] Technical:
I'm using https://play.google.com/store/apps/details?id=com.appyet.feedplus and the app creates the following tree in the sdcard (internal):

\com.appyet.feedplus\

inside of it, there is two app files that can't be deleted (AppSettings.xml) and (Database.db). Besides, there is a cache folder that contains favicons, images, thumbnails, etc.

SD Maid is not detecting these "cache" files and it is not cleaning them. :)
[Android Apps and Games] Dark3n:
[MENTION=1011179]Technical[/MENTION]

Adding the cache to be cleared should be easy. Make an issue ticket.

Use the explorer "save directory tree" function to write the file structure of that folder into a text file and add it to the ticket.

If there are also files that fail to be deleted, even manually, make another ticket for that and attach a debug run log to it :).
[Android Apps and Games] BatDroid:
:eek:

what's wrong with Android 5.1.2?

It cant access externalSD
[Android Apps and Games] Bruaca:
SD Maid is crashing on my Moto E 2015 LTE. I think the problem is related with link2sd.

I have another Moto E 2015 LTE without link2sd (2nd partition) and it works fine.

I will use catlog and send it to you.
[Android Apps and Games] Snow Volf:
5.1.2? This Android version does not exists. ;)

Use SD fix, to allow access to the SD-card
[Android Apps and Games] BatDroid:
oops!

my bad..

it 5.1.1

btw,my problem was solved
[Android Apps and Games] rpbica:
Hi there.

Please excuse for my late reply but I've been away.

I've tried that and it's working! :)

Thank you!
[Android Apps and Games] Dark3n:
v4.2.2 is now available.

http://sdmaid.darken.eu/download

http://sdmaid.darken.eu/changelog

http://sdmaid.darken.eu/issues

I've made some attempts at fixing the scheduler being lost issue, would love some feedback on that.
[Android Apps and Games] jerryn70:
Nice one
[Android Apps and Games] ew:
I have been wanting to test the schedule (I had the same problem with my schedule disappearing - just never wound up mentioning it).

With the latest beta I have encountered an issue with Whatsapp. I do a quick access run consisting of Corpse Finder, System Cleaner, App Cleaner and Databases. Near the end of the run, I get FCs with Whatsapp. When I reboot, whatsapp is uninstalled. Interestingly, I restore app only (no data) with Titanium and my data is all there.

I have not had too much time to do each of the items individually to see where the issue is. If needed I could do that, but it may be a day or two. I just wanted to mention this in the meantime - hope it helpls.
[Android Apps and Games] Dark3n:
[MENTION=2999196]ew[/MENTION] Please narrow down which tool causes this and then record a debug run log of it.

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

Depending on your settings, the Databases tool could cause FCs if it doesn#t skip WhatsApp if it is running, but I don't see how any of that would "uninstall" WhatsApp.
[Android Apps and Games] ew:
I narrowed it down. It is the corpse finder. It found and deleted com.whatsapp-10 from data/app - and then began my issues with whatsapp.

The app is not immediately uninstalled. What happens is I get an fc each time I try to open whatsapp. I then reboot my phone - and whatsapp is uninstalled.

I tried adding an exclusion, but I don't think I am doing it correctly. I added com.whatsapp* from CorpsFinder.

Let me know if a bug needs to be filed - or if you need the debug log. I am quite confident that I have identified the issue.
[Android Apps and Games] Dark3n:
You can always file an issue ticket, the more the merrier :).

I've made a ticket for you:

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

I think it's related to the "-10" in the name which then causes the regex pattern of a "CSI" (I'm so awesome at naming classes) module to falsely fail to match.

There are CSI modules for every distinct location on an Android device (e.g. /data,/data/app,/sdcard/ etc).

Each module determines if it is responsible for the location type and if it is, it tries to determine what apps own the item.

I'm currently writing a few unit tests to test my assumption and make sure we catch this in the future, will be fixed in v4.2.3.

Regarding the exclusions:

The normal exclusion uses "contains" to match against stuff, so you need to add "com.whatsapp", wildcards are not supported.

If you want to use wildcards you need to create a regular expression exclusion, which I think is supported since 4.1.5?

You can switch mode in the toolbar and do something like "com\.whatsapp.*?" (https://regex101.com/ is awesome to test regex).
[Android Apps and Games] KOLIOSIS:
Working just fine on the HTC 10, rooted/S-Off on Viper ROM. :good:
[Android Apps and Games] Dark3n:
SD Maid v4.2.3 and v3.1.5.2 fix the bug [MENTION=2999196]ew[/MENTION] found.

http://sdmaid.darken.eu/download

http://sdmaid.darken.eu/changelog

http://sdmaid.darken.eu/issues
[Android Apps and Games] ew:
Thank you. Confirmed fixed.
[Android Apps and Games] ew:
By this way, the scheduler is now working for me in this version.
[Android Apps and Games] JohnnyEpic:
Proud longtime supporter. Just wanted to drop by... Thank you dev for the brilliant app you've given us and staying current all these years and versions of Android.
[Android Apps and Games] Dark3n:
SD Maid v0.1 was released on 29.03.11, the unlocker on 28.04.2011.

Really doesn't feel that long... but damn that's over 5 years ago...

I'm happy to still be around :cool:
[Android Apps and Games] B3311:
Hope you've earned a lot of money from this - you deserve every cent?
[Android Apps and Games] wimstefan:
Just a quick note: the scheduler is working flawlessly with the latest version. ?

CM 12.1 on MI2s
[Android Apps and Games] Adrian Eranzi:
How to delete locked item such in AppCleaner or cache in SDMAID?

How do I delete locked item in SDMAID? Is there any way to unlocked it? Im using SDMAID 4.2.3 Pro Version and have root.
[Android Apps and Games] cevem:
I like this icon.
[Android Apps and Games] Dark3n:
That depends on the files, with root, I would guess that the file fails to be deleted because it's in use.

For further details record a debug log.
[Android Apps and Games] PalmCentro:
Anyway to change the scheduler click should match my system clock preferences (12HR)?
[Android Apps and Games] Dark3n:
[MENTION=6227500]Newyork![/MENTION] Not sure, but probably. I should be able to check what the system settings are. Can you make a ticket for this?
[Android Apps and Games] PalmCentro:
I will, later.
[Android Apps and Games] Technical:
To help maintainance, can you add a sort routine to the Exception list?

I mean, a way to sort/group by type (duplicates, apps, etc.) and by path?

Thanks.
[Android Apps and Games] Dark3n:
[MENTION=1011179]Technical[/MENTION] Sure, why not. Ticket :)?

Please also elaborate in the ticket how you would imagine it.

Maybe something like headers per tag similar to clonesets in the duplicates tool having their own headers.

I could also add searching for tags to filter like in AppControl.

Or a right-side sidebar with filtering options?

Go all out, the more ideas the better :)!
[Android Apps and Games] cahyonegoro:
Hei there, I got an error message when first installing SD maid pro? Could anyone help me?

My device is Samsung Galaxy S5 g900h, I just installed SD maid pro but when I started it, I got an error about secondary storage (attached).

Should i skip it or what? Thanks
[Android Apps and Games] Dark3n:
Your device has at least Android 5.0 which means it should have a system app that handles that intent, but it doesn't, so either you removed or disabled it (your fault) or your ROM doesn't have it (your ROMs fault).

You can skip this step but if you don't have root and something like SDfix has not been applied, then SD Maid will unlikely be able to access your secondary storage.

https://github.com/d4rken/sdmaid-public/wiki/Setup#steps