yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Rintenfinten:
Hi!

I like your program very much and use it in the pro version since S3.

But now on S4 my SD Maid Pro does not find find anything in "Leichenfinder" and "Systemreiniger" (5th and 6th position if you swipe from left to right). Unfortunately these two positions were the most useful ones for me. Can you fix this?

P.S.: my S4 is rooted by the newest CF-Root. I am running newest MEA Firmware for the S4.
[Android Apps and Games] Dark3n:
See here:

http://xdaforums.com/showpost.php?p=42354227&postcount=1127

If that is not the case here, it's also possible that there is nothing to clean :)?
[Android Apps and Games] melp57:
I just brought the unlocked from play store. Really nice job on this useful program! Thanks
[Android Apps and Games] Dark3n:
I'm looking for someone that experiences the Explorer crashing in v2.1.2.3, i can't reproduce the issue and am uncertain if v2.1.2.4 fixed the issue.

Files available here for testing purposes:

https://plus.google.com/u/0/116634499773478773276/posts/XN4it2Ph4F1
[Android Apps and Games] Dark_Avenger:
Dark3n,

just updated from Google Play and I got a little problem. In Explorer the text below the directory name (especially for links) overlaps the "directory" text + permissions text. It's impossible to read the permissions anymore. That's because the format of the date changes and now it occupies almost half of my screen width. Before the date was displayed as "May 27 14:49" now is "05/27/13 14:49:22 PM". In addition to this big date/time text the full path of link text brakes the readability completely. Could you please fix it?

Thanks in advance
[Android Apps and Games] DonHuan:
Dark3n

Strange behaviour of v2.1.2.3 on AOSP CM 10.1 rom ( http://xdaforums.com/showthread.php?t=2106471 )

Corpse finder doesn't find anything... Though on Sammy 4.1.2 ROM it had always found some junk.

Maybe the reason is new place of internal memory /sdcard/emulated/0 instead of /sdcard/? It scans a couple of seconds literally.

Here's a video.

And could you update BusyBox to the latest version?
[Android Apps and Games] jerryp7:
Maybe this is covered somewhere else in the thread, in which case - my apologies, I didn't see it.

I have SD Maid 2.1.2.3[217] and Unlocker 3.1.1.1.[104] on my Galaxy S3. It used to work great but now when running system cleaner it gets into a never-ending search (hours) and says "Searching device...(patience)". The only way to stop it is to FC. Corpse finder and appcleaner work OK. I'd like to clean the system. Anyone know a fix?
[Android Apps and Games] Dark3n:
Hmmm, can you send me a screenshot? This is always a bit tricky with the different screensize...

Will try something though.

Try v2.1.2.4, generally that path should be no issue. I'm guessing there currently just is nothing to clean, create a random directory in /data/data or sdcard/Android/data/ to see if the CorpseFinder picks it up.

There is no advantage to upgrading SD Maids current busybox unless you found an issue that is related to that.

Sure i could, but that possibly increases filesize and requires me to build 3 different toolchain arm/x86/mips to build 3 different busyboxes, that i each have to confirm to work correctly. So unless there is a specific issue...

Did you try v2.1.2.4 too? Does it make a difference wether you give SD Maid root or not?
[Android Apps and Games] DonHuan:
It works in 2.1.2.4, thanks. It found my random folder. There was nothing to clean earlier. :D
[Android Apps and Games] jerryp7:
I am now using v2.1.2.4 and it makes no difference if it's root or not although (maybe not at all relevant) if I have SD Maid set to automatically see root it says I'm not rooted. I have to set SuperSU settings so that it asks me each time I open SD Maid. My Busybox seems fine and I have tried deleting cache and delvik.
[Android Apps and Games] Dark_Avenger:
Here it is. The device is HTC HD2 with screen resolution 480 x 800 ( android 2.3.5 ), but I have the same problem with HTC One X 720 x 1280 ( android 4.1.1 ). One possible solution will be to decrease the font size of the second line and revert the date/time format to something shorter like it was before "Jun 15, 23:45".

Thanks
[Android Apps and Games] decmk:
In latest version corpsefinder is ignoring excluded folders

I excluded /sdcard/android but still found corpses in that folder.
[Android Apps and Games] Dark3n:
I could not confirm the issue on my device.

You have to exclude the path the corpse is listed under.

While you might also be able to browse to that corpse from /sdcard/Android, if the CorpseFinder lists the file as /storage/emulated/0/Android (or something like that), you have to use the latter path for excludes.

Also note that excludes are case sensitive.

Could you post a screenshot of the corpse?

I would not recommend to exclude the whole Android folder, but rather to set specific includes for app folders in there.
[Android Apps and Games] Dark3n:
Hm, can you try reinstalling SD Maid? Make sure the directory /data/data/eu.thedarken.sdm is gone.

The only reason to hang there would be waiting for root confirmation. But if SD Maid starts without root, that should no longer be an issue.

Thanks, i will see how the readability is with a smaller fontsize and revert to smaller format, maybe move one info item up a row?
[Android Apps and Games] decmk:
Excluded list

http://db.tt/XdCJzx4p

Corpsefinder

http://db.tt/CMleLxzV
[Android Apps and Games] jerryp7:
Uninstalled and all thedarken directories deleted except the unlocker one and reinstalled. When it started I granted it root, went to system cleaner and after 10 minutes (surely long enough) it's still saying "Searching device...(patience)". I had to Force stop to get it to exit. I updated my kernel and modem last night hoping that would have an effect but it didn't.
[Android Apps and Games] Dark3n:
Could finally reproduce it and fixed the issue. Thanks!

Due to this warranting a hotfix, i already pushed a small update to Google Play a few minutes ago.

The hotfix for the corpsefinder issues includes changes to the explorer entries. I didn't rearrange the info, but removed some padding and instead of overlapping it will add an additional line. It's useful but not pretty, I will think about a nicer solution.

Hm, no idea at the moment. Send me an email and we can try some troubleshooting.
[Android Apps and Games] pkmnnerd:
ive been stuck on optimizing databases for like 15 minutes. what should i do? if i pull the battery, will it ruin my phone?

nevermind. i gave up and pulled the battery and everything is fine
[Android Apps and Games] SecUpwN:
[MENTION=608746]Dark3n[/MENTION], it seems like I cannot vacuum the databases when running PDroid 2.0. Is it possible to implement a mechanism that prevents PDroid 2.0 recognizing the optimization as a thread?
[Android Apps and Games] Dark3n:
What device / ROM ?

Do you mean 'threat'? Everything on Android runs in 'threads" :).

I don't think i can run it in a different fashion.

What parameters is PDroid looking for to detect a 'threat' ?
[Android Apps and Games] SecUpwN:
Whoops, yeah, meant threat. Not sure how it detects it, but maybe a look at the PDroid 2.0 sources helps? Or, we might even ask [MENTION=4711230]CollegeDev[/MENTION], the guru himself.
[Android Apps and Games] Dark3n:
I don't really want to look through random source files if i don't know what I'm looking for or where to start.

Besides there is not much that can be changed about the process, it looks up the databases and executes the SQL command on them.

Might be flagged as threat because it works on system files, but thats part of the process.
[Android Apps and Games] Mike B.:
The PDroid 2.0 patch is apparently doing what it's intended to do and wants to "protect" you against yourself. If it doesn't offer a simple way to whitelist specific apps or behaviors, now might be a good time to review its usefulness. If you're worried about anything SD Maid or any other app might break, simply invest in a dependable backup/restore scheme (Titanium, full Nandroid, etc.) and you won't have to run PDroid or any other similar "nannyware". In the android world, paranoia is optional... ;)
[Android Apps and Games] starbucks2010:
I use the last version of SD maid and it never finds corps in "Corpsfinder" and also "SystemCleaner" finds nothing to clean. Is it normal?

I'm on I9505, FoxHound v0.5 (deodexed XXUBMEA) with stock kernel.

Thank you.
[Android Apps and Games] Dark3n:
See post #1134 and later.

Either there is nothing clean or you are running in the root issue that the latest stock samsung kernel has.
[Android Apps and Games] kantjer:
I flashed the latest Samsung ROM and now facing he same issue :crying:
[Android Apps and Games] Dark3n:
:(.

Not much i can do about that, except trying to detect this to display ROOT UNAVAILBLE, but that doesn't really solve the issue.
[Android Apps and Games] hutson23:
Bought the paid version of your app..

Very nice..Thanks..
[Android Apps and Games] Picasso Lg:
Excellent contribution I'll have to try it and then tell you if it worked or not! thank you!
[Android Apps and Games] SecUpwN:
Did anyone try if cleaning is automatable via Tasker?
[Android Apps and Games] Dark3n:
SD Maid currently doesn't offer an API for Tasker to do that, so it's most likely not.
[Android Apps and Games] Ci-Fi:
How about the option to schedule cleanings?
[Android Apps and Games] Dark3n:
I'm currently at the point in SD Maid v3 where i would need to start making changes to facilitate this.

I'm looking into it and it's probably going to happen now...

As it will also allow me to add widgets which intrigues me, and of course i won't be nagged about scheduling anymore :p...

So all the Stars Seem to be in Alignment :D
[Android Apps and Games] jerryp7:
+1
[Android Apps and Games] SecUpwN:
[MENTION=608746]Dark3n[/MENTION], YOU ROCK! :)
[Android Apps and Games] 0mega007:
Hi, just to report that system cleaner isn't working on my Galaxy S4 GTI-9500, on I9500XXUBMF8 Firmware:

Russia

2013 June

4.2.2

I9500XXUBMF8

9500SERBMF

it finishes immediately and says all 0 files.

i get nothing on corpse finder too, maybe isn't working neither.

On appcleaner i only get the gallery, wich is extrange too.

Please try to fix it.

thanks.
[Android Apps and Games] luqman98:
It caused by Samsung's stock kernel.
[Android Apps and Games] 0mega007:
Can it be fixed without changing the kernel?
[Android Apps and Games] luqman98:
Here is why:

http://xdaforums.com/showthread.php?t=2283485

In simple words, Samsung has putted something that will prevent Galaxy S4 users to root their device.
[Android Apps and Games] deck91:
The best cleaning app!
[Android Apps and Games] Mike B.:
Hardly a show stopper, but I noticed that SD Maid (including the latest beta) doesn't clean up the "._.Trashes" directory from the SD card's root. The other "._*" files seem to be correctly detected and deleted. This happens to be on an Atrix 4G running an AOKP-derived JB 4.1.2 ROM.
[Android Apps and Games] scarmon25:
Well I'm back rooted running CM Darken so once again buddy you need a tester you hit me up. Never have stopped promoting this app.
[Android Apps and Games] Dark3n:
Thanks for the report, can you show me a explorer screenshot of those files?

Testing got alot easier, just join "SD Maid BETA" on G+ and opt-in for the beta version, as soon as i got one ready, you will receive it via GPlay.

I know, thank you :).
[Android Apps and Games] scarmon25:
Got a link handy.

NM I found it

I337 CM10.1
[Android Apps and Games] Dark3n:
https://plus.google.com/u/0/b/116634499773478773276/communities/100352490623212021708

I want the next beta to come out of the SDMaidv3 branch, but there is still soo much todo :).

So it will probably take a couple of weeks :(.
[Android Apps and Games] Mike B.:
I can't conveniently recreate that actual directory right now, but it's simply a (hidden) directory tree named "._.Trashes" that's created whenever the SD Card is used on a Mac. It's trivial to delete it with Root Explorer or a similar tool but it would be nice if SD Maid's System Cleaner could handle it.

From some limited additional testing of 2.1.2.5(219), it seems the Cleaner doesn't see the "MacOS(._* files)" at all even thought that option is selected.
[Android Apps and Games] kantjer:
Finally found a good kernel for the S4 with this security feature disabled and back in business.
[Android Apps and Games] rsngfrce:
Aren't you going to tell us which kernel this is? I'd love to get SD Maid working correctly on my S4 too... please?
[Android Apps and Games] thenags:
Browser and Google Talk FC for me after running
[Android Apps and Games] lubieplacki:
Works great on X8 - 8 corpses found. Thanks a lot!
[Android Apps and Games] retskrad:
Thank you for this great app! I have 15mb of corpses lol.
[Android Apps and Games] imakul8:
Thanks, I had just started using Cachemate, but I like this better. Widget would be nice. Corpses...I love it.:D
[Android Apps and Games] Dark3n:
Thanks. Widget will come in a ~1 week. I'm on a trip the next week so i won't have time.

Btw v0.7 is out :)
[Android Apps and Games] imakul8:
Thanks for the heads up. Just updated to latest.:D
[Android Apps and Games] mengineer:
Good job, ran with no issues at all on my Galaxy S Fascinate running a custom Froyo ROM & a theme.
[Android Apps and Games] chuchu19:
Using SGS, 3 corpses found
[Android Apps and Games] xNotta:
Very useful!

Would like all the "System Cleaner Settings" boxes to be check by default, as I didn't find out about those options until I played with the app for a bit.

I also don't understand what the colored circles represent on the "Clean System" tab. (assuming green means good though :P)

Looking forward to future updates.

Thank you. :D

Evo CM7 Savaged-Zen.
[Android Apps and Games] nospam:
Hi Dark3n, I am getting the same error "Market says: not available for your carrier."

Can you please enable downloads for U.A.E carriers?

Thanks and Good Job on SD Maid.
[Android Apps and Games] Astrowe:
Heyy... damned! Found 2 corpses, after tapping clean they indeed dissapeard.. but it wiped the apps from my phone! i mean.. the apps were normally installed and i was using them. Dunno why they showed up as corpses. Anyway, i think the apps were Guerrilla Bob and Pyxidis. Oh and i've Milestone with MIUI ROM. I guess there's probably no error log 'cause you know.. SD Mate prob. doesn't feel like it just made one :D

If you'd take a look at what might caused that i'd be great. Aarght.. hope it wiped also my gamesaves..whatever, gonna download them again, no problem. Didn't play them much.. maybe SD Mate has also AI right? :D

EDIT: Umm gotta apologise, eventually i found out the apps aren't gone. They are still on my phone, but messed up in some way. They have the default android apk icon. But not always.. sometimes they actually have original icons. Dunno why.. but reinstalling them might solve this.
[Android Apps and Games] WiwiPouPou:
Can it be possible to implement creation of int.d script at startup for fast action like search and rm corpses for samsung ? Could be great... because it's a common bug at each uninstall from market..

Also cookers can include this in no wipe roms installer script !

If you want i can do it, just need a beginning. (I'm not a dev)

Anyways thanks a lotw it have found 62 sgs corpses ! (No wipe for a loooong time ^^)
[Android Apps and Games] Dark3n:
There will be v0.7.1 soon with some quickfixes.

I disabled some boxes by default because it caused FCs on some roms and i have not found a fix yet. People started downrating so i disabled some options by default.

It is very difficult to try make it work on all roms, because every manufactor does some little things different then others.

Yes green means good and you probably don't need to clean it.

I'm sorry to hear that.

I enabled everything i could in the market console, there is nothing i can do more. I did NOT restricted it in anyway. Its free for all and everyone :).

See your PMs.

I will look into it, but SD maid should not delete any .apk files at all.

It is possible and i can do it, but starting apps automaticly after boot is not too good. The device is already loading alot of other stuff at that time, but i will think about an optional option for that :-).

Yes on my first run i had 58 corpses too :D.
[Android Apps and Games] :
I don't get FC anymore after installing the new version.
[Android Apps and Games] Dark3n:
Probably because cleaning /cache is not turned on by default (see Settings).

If you have expertise with adb shell, could you provide me with the output of "find /cache" ? This way i could track down the problem.
[Android Apps and Games] devolve:
Ahh...worked out my font glitch. Completely unrelated....changed the font without a reboot....
[Android Apps and Games] spectre85:
Just downloaded and used your app, works great, thanks. always wondering how good android was at removing all the garbage and this app proves that android lacks in that department. anyways, got the link from android police so i'm sure tons of downloads are coming. Thanks again
[Android Apps and Games] holgalee:
This is exactly the app I'm looking for and thought won't exist! :p

It seems to work as it detected three folders despite what I thought was scrupulous deleting on my behalf. I can do w/o the references to corpse and the vampire Android though. :) I like the bot as it is!
[Android Apps and Games] penfold:
brilliant! ......cleared 28mb of junk with the system cleaner.

been manually deleting those stupid download.apk files till now.

thanks :)

(galaxy s stock 2.2.1)
[Android Apps and Games] Dark3n:
I'm still tweaking 0.7.1 atm, i will release it in some hours before im gone for a week. Will be much more robust and included some more information for new users plus the requested confirmation dialog.

thanks for the heads up!

I didn't know about androidpolice :-), awesome!

whoa! hold your horses!

It's zombies! The app has zombies!

As we all learn in school and from recent vampire movies:

Zombies = Cool

Vampires != Cool

:D
[Android Apps and Games] scarmon25:
It works just fine on my S4 on both the Google Edition and Cyanogen ROMs. Never tried it on stock honestly or any TouchWiz ROM .
[Android Apps and Games] kantjer:
Google-Edition and KT-SGS4 are both working. Perhaps more but these 2 I tested.
[Android Apps and Games] Jostian:
just wish it removed .log files and other useless extension files, otherwise great
[Android Apps and Games] JohnnyEpic:
My sdMaid keeps hanging on system app scan as of recently. Can't figure it out. I've never had issues, ever. Everything else works fine.

Do I send you the logcat?

---------- Post added at 06:08 PM ---------- Previous post was at 05:52 PM ----------

And an idea just came to mind.

Option to Email developer error log under help section.
[Android Apps and Games] Dark3n:
Any ROM or Kernel changes between non-hanging and hanging?

Does with/without root make a difference?

Hangs are difficult to cover by a log.

SDMaid v3 will get some kind of bug report functionality build in.

For crashes it's already planned, I'm not yet sure how to target hangs with an automatic system.
[Android Apps and Games] JohnnyEpic:
No. I've been using my same setup for quite sometime. Galaxy s3, on The People's Rom, by Kennyglass. I'm rooted. (obviously) I'm not sure what your asking by 'with or without root make a difference'. Iverson never run a nonrooted scenario. I rooted this phone within 20 minutes of owning it.

I'm probably due for a wipe and reflash anyways. I have been tinkering with the kernel (Kt747) speeds and freqs but thats probably not it. Haven't changed the knernel. I did remove sdmaid, booted into recovery, cleared caches amd dalvik, rebooted and reinstalled. Exact same thing. Wish i knew what it was to help you nail it down, even tho I'm sure it will clear itself up after the reflash. The corpses & apps cleaner work. I will maintain this setup for another day or so (no time to re-setup everything tonight) if you have any ideas I'll give it a shot prior to my wipe.

Thanks Darken
[Android Apps and Games] Dark3n:
I meant going into your superuser app and removing SD Maids permission to get root, then start SD Maid and try the SystemCleaner again.

I will try to make a small test application that will help us troubleshoot this. It's too hot to code in my flat atm, I'll start on it later :D.
[Android Apps and Games] Dark3n:
Try the attachment and let me know what is says.

The back button cancels the operation and also dismisses the dialog at the end.
[Android Apps and Games] JohnnyEpic:
Well. I found it. Apparently it WAS taking over 2 hours. Check out what Dolphin Browser w/ Jetpack does... (tunnybrowser)

After seeing it in the tunnybrowser/ directory for ever I knew it was the presumed 'hang'. So apparently it is working fine. SD maid doesn't show the scan in process.... anymore. I thought I remember it doing that in the past. Maybe an option to turn it on?

Thanks for your help Darken!
[Android Apps and Games] Dark3n:
Quite alot of files, but weird that it takes over 2 hours, my Nexus4 takes <30s for ~50k files.

Where is it saved? Looks like public sdcard memory? Internal or external sdcard?

You are right, the lack of info during the first stage of the process is a bit anoying.

But displaying actual progress that can't be interpreted as hang requires drilling open functions which is also anoying.

But i think i might polish and add what i used in this app to SD Maid v3, we will see :).
[Android Apps and Games] JohnnyEpic:
I believe it is a hang now. It appears that my file browsers (ES File, and Astro) also hang when trying to manipulate that dorectory. It would happen when something would try and read/open the directory.

It is saved on the sdcard0 which is the internal sd on the Sprint s3. Doesn't system app scanner only do internal? Perhaps it was the size of the files? Regardless I did manage to delete the directories with MyFiles manager (built in from Samsung) and everything is back to normal again. That little app you whipped up made me at least figure the problem out. Saved me hours from my wipe & reflash. I was seriously dreading it. #imlazy :)
[Android Apps and Games] Dark3n:
Probably lots of subfiles/directories that makes those apps choke.

You seem to be dancing around SD Maid's file browser, the 'Explorer', i believe it would have done the job of deleting it ;).

The SystemCleaner scans almost everything, then applies the filters.
[Android Apps and Games] :
And how is the compatibility with the 4.3 Jelly Bean? Has anyone tested it?
[Android Apps and Games] scarmon25:
I used it on a cm 10.2 build and it seemed to work just fine.

Sent from my SGH-I337
[Android Apps and Games] unhold 31:
For me it works well on cm 10.2 on a Galaxy Note N 7000 :D
[Android Apps and Games] :
Thanks Guys! =D
[Android Apps and Games] pit84:
hi darken,sdmaid is the top,i have purchased your app 2 years ago and i never had problem,is very useful and my rom is very clean thanks for your job and for all your update

pit84
[Android Apps and Games] SecUpwN:
It's uncool the latest BETA is not available on his server..
[Android Apps and Games] scarmon25:
There isnt latest beta. The latest is on the market.
[Android Apps and Games] SecUpwN:
Good. [MENTION=608746]Dark3n[/MENTION], would you please update the version in your server continually? I don't use GooglePlay.
[Android Apps and Games] Dark3n:
V2.1.2.5 RC19 is the latest version and is both on the market and on my server.
[Android Apps and Games] SecUpwN:
Is it the same as in the Google Group?
[Android Apps and Games] ~kyle:
Yes.
[Android Apps and Games] Nylo:
While running SDM Ive noticed when I run certain features SMD freezes up. Like when I freeze an app. Ive encluded a photo snap. The working circule just keeps rotating. I then have to go to system/applications and kill SDM. Once done all is well and the app is frozen. This happends on removing, freezing, apps. This has happened on all versions of SDM Ive used. Very annoying.
[Android Apps and Games] Dark3n:
This is a known issue with some packagemanagers.

Go into advanced settings of SD Maid and set a timeout as work around for now.