yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
The AppCleaner does not clear dalvik cache.

There is no tool that just wipes dalvik cache similar to the option recovery, because it's not something you should do on a booted system.

(If you still want to do it, you can create a custom filter for it though)

The CorpseFinder checks the dalvik cache for unused files though.

Your question was difficult to understand if this is not the answer to your question, rephrase your question please.
[Android Apps and Games] maltinbay:
Sorry for bad explanation and english. App was "clear cache" by the way,

I mean, i use xposed modules, and sometimes when updating them, you should clear dalvik cache, i was wonder if i use sd maid to do this.

I use titanium backup for clearing cache now.
[Android Apps and Games] Dark3n:
What?

I don't know whether the CorpseFinders check are sufficient, you will have to try that.

As i mentioned, you can wipe the dalvik cache with a custom system cleaner filter, but you will have to reboot after that, so you can just as well wipe the dalvik cache in recovery.
[Android Apps and Games] maltinbay:
How can i do that? Which filters should turn on our off?

Is it may cause lose data lose or just delete cache files?

Every time i see your warning "sd maid is powerful app, be careful" warning, i am scared :)

By the way App's that i mention in first entry named "clear cache"
[Android Apps and Games] Dark3n:
As I said there is no default filter for that because it's usually unnecessary.

You can enable cusotm filters in the SystemCleaners settings after which a "+" is available in the filter menu that lets you make your own.

If you configure the custom filter wrong, yes you can loose important data.

SD Maid is not "fool proof", if you don't understand what you are changing you should usually not change it.

That's why some features are not enabled by default.

Well i can't really say anything about that app from a screenshot, but I'm guessing, it offers shortcuts to wipe the dalvik cache (which is usually unnecessary or even bad to do while being booted) and a shortcut to trigger Androids internal cache cleaning function, which is a subset of what SD Maids AppCleaner does.
[Android Apps and Games] maltinbay:
Which filters should i check ?
[Android Apps and Games] carlese:
Hi [MENTION=608746]Dark3n[/MENTION], are you sure that the latest build work good? I mean, usually I use the clear app feature and every time it refreshed the launcher (black background for some seconds, then everything back to normal).. With the latest builds it doesn't refresh, so I don't know if it works or not..
[Android Apps and Games] Dark3n:
I have no indication that it doesn't work.

I think the "refresh" is a restart of that app.

Either because it got pushed out of memory (it was a background app at that point) as SD Maid (foreground) needed more memory, and your device didn't have any additional,

or because you cleaned that app and the AppCleaners kill each App before working on it.

If you just refreshed though it's probably the first case, so just a different memory situation can cause this difference you are seeing.
[Android Apps and Games] carlese:
Ok, thanks for the explanation :)
[Android Apps and Games] Dark3n:
Rollout is complete an v3.1.0.6 has now completely replaced the previous version on Google Play.
[Android Apps and Games] Dark3n:
If you want to join in on any topic that is addressed in the G+ community, but don't like G+, just address it on XDA.

I'm not forcing G+ on anyone, it's just at times more convinient to use, maybe we could split this thread up into discussion & help?

We've been discussing a few different ways to deliver binaries (busybox/sqlite) with SD Maid.

Lollipop will require another set of binaries to keep SD Maid v3s compatibility from 2.3 to 5.0.

We need an ARM/MIPS/X86 busybox binary, we also need an ARM/MIPS/X86 sqlite binary, and due to Lollipop we now also need an ARM/MIPS/X86 PIE sqlite binary.

"PIE???" PIE stands for position independant executable, it's basically a flag you can set when building binaries to change the way they run. Since L/5.0 this is required, while on >4.1 those won't work, thus we have to ship both sets to keep compatibility.

It's basically the same dilemma Titanium Backup faces and I've taken the same approach as them for now.

So SD Maid will just ship with all binaries, so that no matter what device you have, SD Maids apk is all you need.

The alternative would be that SD Maid needs to download additional files from a (my?) server. If you don't have internet or i turn off/move my server. The apk on it's own will no longer work.

That would suck doesn't it? Kinda like some game from EA where they turn off the login servers after a few years and you are stuck with a dead game.

While we could supplement this an extra "binary installer app", it would make the whole process to start using SD Maid very cumbersome.

So to avoid these drawbacks we have a pay a price, which is a ~700KB bigger apk.

Some will say whatever, others will grab pitchforks.

I'm always a bit sad to have to increase the apk size for stuff like this, but the alternatives in this case are far worse.

When user numbers become low enough to raise the min API version to Android 4.1, we can shed these extra KB again.

So yeah, this just FYI. :)
[Android Apps and Games] MikeRL100:
Gingerbread is a royal pain. It's nice to support users, but I personally can't wait till GB drops. I feel bad for those who are honestly stuck on that version. It kind of sucked. I used to have a phone with Froyo that I put CM7 on, and for the time this was a major improvement considering the phone (Motorola Triumph) never got one update. Never. Not even a security patch. Learned my lesson and only bought Nexus from that point on. Even though these days the high end phones at least get a good amount of updates, crap Android phones left such a bad taste in my mouth, I have decided never to deal with them again. And when I say crap, I mean low end budgets (not like the Moto E or something with good support) but crap crap. No updates. Bugs galore but no updates. That phone had a bug that on bone stock logcats would flood a file until storage ran out. Basically root or get used to factory resets like crazy. So I sympathize with anyone stuck with such mediocrity. GB was decent when Google pushed it out but then the OEMs made it buggy and never updated anything. This is why developers despise the older versions. Nobody blames the users unless you have a ton of money and don't care, but hey, GB is holding everyone back. Be glad darken supports it. He should if he can, I would do the same, but be ready to abandon ship someday or look for custom ROMs. Because Play Services recently dropped Froyo support. And a ton of apps don't seem to be updated for GB anymore. A ton of Google apps, Dropbox, etc.
[Android Apps and Games] sordna:
Yeah, as long as the play store always has a Gingerbread version of sdmaid (frozen, no more updates for it) it should be fine, right?

I have various devices, including a GB and an ICS one, and wouldn't mind at all if SD Maid got frozen to some release for them. What would be bad is if those devices get "sorry your device is not compatible" without ability to install this from the Play Store at all.
[Android Apps and Games] tetakpatak:
Yes, dear [MENTION=608746]Dark3n[/MENTION], thank you for the post... So when I tried to test SD Maid last month on L test version it is good to know it wasn't just Busybox problem then.

True, also TB didn't work.

tetakpatalked from N7100
[Android Apps and Games] skidaway:
I think a majority of users trust your decisions when it comes to SD Maid development. You've continually informed users, clearly explained your reasons, and asked for input when making changes to the program. I just wanted to take a second to say thanks for being a good developer. I certainly appreciate your efforts with SD Maid, and for taking the time to inform us about what's going on with it.
[Android Apps and Games] juliatan:
Is there a way to report errors whithin SD Maid Pro? For instance after 1st time using AppCleaner the settings in Solid Explorer on both my devices are corrupt and partly gone.

Verstuurd vanaf mijn Nexus 7 (2013), iPad Mini 2 of Moto G Lte
[Android Apps and Games] cOOk!e:
Been using solid explorer & SD maid & never encountered any problems

And at this opportunity would like to thank Darken for a great app [emoji106]
[Android Apps and Games] Dark3n:
Not for the AppCleaner.

If you have specifics i can look into it.
[Android Apps and Games] juliatan:
Thanks reply. Indeed great REAL cleaning app. I thought I read something about long push app to notify error to dev. But probably read elsewhere about different app. All that info sometimes...

I saved my Solid settings, so was repaired easy including all my cloud, ftp and smb settings btw.

Verstuurd vanaf mijn Nexus 7 (2013), iPad Mini 2 of Moto G Lte
[Android Apps and Games] Dark3n:
You can report false positive in the CorpseFinder from within SD Maid.
[Android Apps and Games] Dark3n:
I've written a little post about the idea of a "light" theme because it comes up a lot.

From my G+ post:
[Android Apps and Games] 1BadWolf:
I say keep it dark. I like my ROMs and apps the same way I like my coffee and women....black. :p
[Android Apps and Games] tetakpatak:
Yes, I agree: dark themed SD Maid is great

(as well as other things are, that [MENTION=4791168]1BadWolf[/MENTION] just listed)

tetakpatalked from the legendary i9000
[Android Apps and Games] 1droidmod:
[MENTION=608746]Dark3n[/MENTION]

Trickster Mod, SuperSu, etc have a setting to choose from multiple colors. This way everyone is happy!!

HTC one m8 VZW Tapatalk-2.4.13 Weeeeeee
[Android Apps and Games] walutisme:
Features are number one. Others are additional. I dont mind if it black or white theme as long as its functionallity is awesome
[Android Apps and Games] Al Arsyadi:
[MENTION=608746]Dark3n[/MENTION] database optimization feature on latest beta version make xposed database corrupt, and it make fc, so I have to delete corrupted database to avoid fc.
[Android Apps and Games] Dark3n:
Can you tell me the path of the database and the packagename of the app it belongs to?
[Android Apps and Games] damnthomas:
do u know how to recover the original database file? cuz i get many fcs after i optimized it with sd maid
[Android Apps and Games] Al Arsyadi:
Path: [root]/data/data/de.robv.android.xposed.installer/cache/repo_cache.db

Package name: de.robv.android.xposed.installer (its xposed installer, it always fc after optimizing database)

Take a logcat for specified app when fc occured to know where the database located, then delete its database. Then open the fc app, it should work.
[Android Apps and Games] Dark3n:
Starting with the next update the Xposed DB will be excluded by default from the database tool.

Additionally databases that belong to the launcher (only the currently active one) will also be excluded by default as it showed to be problematic.
[Android Apps and Games] Romagnolo1973:
Dark3n I have a strange issue using your app (free version), it works perfecly in all JB roms (from 4.1 to 4.3) but it does not works 100% on various KitKat roms (are ported for my device that is a huawei Y300 and KK roms i have tryed are CM11, AOSP and SlimKat all with the same issue):

If I try to delete system and user app it seems working but restarting the device all delete apps are still presents, so SDMaid does not made the job. If I try to freez apps it works perfectly

I imagine your app working in every KK with no issue so i think is something in the CM11 porting that made SDM not delete apps (other rooms for my device use 60% sources from CM11 and the rest injecting aops or slim source on it so probably is CM port the problem) or concerning superuser issue (your app is correctly listed with root permission on it)

How can I help you investigate the ticket? Made a log during deleting apps? or when?

Thanks for your great app that I use a lot deleting and managing OEM crapware
[Android Apps and Games] Dark3n:
Raise the debug level to "2" in the advanced settings and record a log of you uninstall the app through SD Maid.
[Android Apps and Games] Dark3n:
FYI: SD Maid does not yet completely work on Lollipop.

- Detection of dalvik-cache, apk file and library file corpses and ownership does not work correctly

- Uninstalling system apps does not work at all and/or leave behind corpses

See: https://bitbucket.org/d4rken/sd-maid/issues?kind=bug&status=open&status=new

Nothing that is not fixable, i just don't have access to a rooted 5.0 device atm.

On another note, unrooted devices might regain sdcard access with Android 5.0. If this works for SD Maid remains to be seen, but I'm optimistic.
[Android Apps and Games] Romagnolo1973:
I have made some uninstall and some freez (that works perfectly) and there are a lot of failed to load memtrack module

Here the txt files hope is helping you
[Android Apps and Games] Dark3n:
The log was good, but SD Maid is not chatty enough during uninstall :(.

Send me an email please. I'll have to give you a test version which will be more verbose during uninstall, such that we can hopefully track down the problem.
[Android Apps and Games] Romagnolo1973:
email sent in your darken.eu email

Thanks

Update: imho the problem is superuser, I tried another kitkat rom (nameless rom) that use superSU instead of superuser and SDMaid works perfectly
[Android Apps and Games] mcdavid:
I installed SD Maid (even paid for Pro). I ran the various cleaners and deleted what I thought were unnecessary files (temp files, etc.). I didn't delete any apks or any files that appeared remotely important. The new YouTube was auto downloaded and now will not open. Instead it says "Unfortunately YouTube has stopped" when I launch it. I have tried clearing data, cache, and reinstalling the latest and older versions. Is there anything that YouTube requires that this program could have deleted that reinstalling YouTube would not reinstall? You Tube is the only app which appears to be affected. thanks.
[Android Apps and Games] Dark3n:
Did you try rebooting?

Try to record a logcat of youtube crashing.
[Android Apps and Games] Dark3n:
SD Maid v3.1.1.0 (352) is now the new "stable" release.

- It fixes issues Xposed (bleeding edge version) and some launchers had with the database tool.

- It fixes false positives results in the dalvik corpse filter when apps supplied additional .jar binaries (3C Toolbox issue)

Most importantly it turns off all corpse filters (except app data) for devices running Android 5.0/L.

A preliminary investigation showed that on rooted devices it can cause problems. In most cases they are fixed by a reboot, but I prefer to go with "better safe than sorry".

So until until a future update they are disabled. I'll probably start looking into in more detail once my Nexus9 arrives.
[Android Apps and Games] LinearEquation:
Anything concerning the database not optimizing on Nexus 7 2013 and Nexus 5?
[Android Apps and Games] Dark3n:
Not that I know of. What makes you think it's not working?
[Android Apps and Games] Dark3n:
Currently known issues on Lollipop:

App-lib/Dalvik/Apk corpse filters are broken (Root)

Appcontrol functions autostart toggle, freezing apps and uninstalling apps are broken (Root)

I could reproduce these problems on a Nexus9 and I'm optimistic about fixing these things. Just give me some time :).

All current issues only appear on rooted device, unrooted devices don't use these routines and thus are unaffected.

The broken CorpseFinder filters can lead to problems until you restart your device (false positives from the dalvik filter), which is why they have been disabled for 5.0 in the latest update. So make sure to update to v3.1.1.0+.

The AppControl functions don't pose any risk, they just don't work.
[Android Apps and Games] Machinarius:
Easy SDMaid fix for lollipop

Hey [MENTION=608746]Dark3n[/MENTION], just noticed SDMaid's ability to freeze apps was lost on Lollipop and wondered what had happened:

root@hammerhead:/ # pm
/system/bin/pm[6]: app_process: Permission denied

I researched a bit on the error and came up with

root@hammerhead:/ # su --context u:r:system_app:s0 -c "pm freeze com.android.music"
Error: unknown command 'freeze'

More details on Chainfire's How-To SU guide (I'm a lurker so i can't link you directly to it :()

Just wanted to chime in with a way to fix it. Eagerly waiting for a fixed version :)
[Android Apps and Games] Dark3n:
That's exactly how it intend to fix this.

It will be a bit more complicated to implement it right, as it needs to be maintainable and adaptable for what ever bat**** insane hoops Samsung will make us jump through when they serve their lollipops.

The other issue is that the "--context" option is currently only supported by SuperSu as far as i know. On devices running something else there is still a chance they have the "runcon" command installed, but that is not guaranteed. I'm currently not sure what to do when neither is available.
[Android Apps and Games] lang_tu_syd:
Hi Dark3n, I think i messed around with toggle autostart entries especially Google Play Services, so now I lost push notification from all of my apps. Is there anyway for me to reset toggle autostart entry to its default state?
[Android Apps and Games] Dark3n:
No way in code, except reinstall. Just ask someone with the same setup for the state of his entries.
[Android Apps and Games] lang_tu_syd:
Thanks. I've tested it by change the autostart entry state then reinstall but the entry state didn't change.

I'm using Samsung S4 , official Kit Kat 4.4.2, I9505XXUGNG8, Can anyone here please post their default autostart entries for Google Play Service if you have the same set up.
[Android Apps and Games] Dark3n:
SD Maid v3.1.1.1 (353) wants to make friends with Lollipop

Changes:

- Improved clutter database (fixed a few FPs)

- SD Maid is now SELinux aware

- Explorer temporarily caches the last 3 folders for a few seconds (allows quick peek into folders)

- Fixed AppControl Lollipop issues: Freeze/Unstable/Autostart (currently requires SuperSu)

- Fixed & reenabled CorpseFinder filters (Dalvik/Apk/Lib) on Lollipop

Full changelog

There will mostlikely be one more small update before we go into production.﻿

Download
[Android Apps and Games] Dark3n:
SD Maid v3.1.1.2 (354) now with less crashes.

Just fixes, nothing special.

Changelog:

http://sdmaid.darken.eu/changelogbeta﻿

Download:

http://sdmaid.darken.eu/download

Last version was pretty okay already (except for some crashes).

I think this one can go on into production. Will let it rest in BETA holiday resort for a bit though.
[Android Apps and Games] Spaulding89:
Thanks [MENTION=608746]Dark3n[/MENTION] new build runs very great
[Android Apps and Games] Dark3n:
The latest beta is now v3.1.1.3(355).

Short story

Theoretically, some people on rooted devices with Android 4.3+ and without SuperSU, running the CorpseFinder, found less than what could have been found. This is now fixed...﻿

See if the AppData CorpseFinder filter works correctly by creating a random folder/file in "<sdcard>/Android/data/" and see if it is picked up. If it isn't, let me know.

Long story

Changelog:

http://sdmaid.darken.eu/changelogbeta﻿

Direct download:

http://sdmaid.darken.eu/download
[Android Apps and Games] Dark3n:
v3.1.1.3(355) now replacing v3.1.1.0(352) as production version.

Staged rollout starts at 1%, if nothing comes up we should reach a 100% around the weekend.

Edit: Full rollout.

Noteable changes:

- Better SELinux support (If you have root issues on Lollipop please try a newer SuperSu version).

- All CorpseFinder filters have been adapted to Lollipop and reenabled.

- AppControl Freeze/Delete/Autostart has been fixed on Lollipop.

- The Explorer now has an additional caching layer that allows to you go quickly go back and forth between the last 3 folder levels.

- A very specific CorpseFinder bug was fixed that reduced results in some cases (see v3.1.1.3 beta discussion).

Full changelog:

http://sdmaid.darken.eu/changelog

Direct download:

http://sdmaid.darken.eu/download

Beta discussions about the individual updates:

https://plus.google.com/116634499773478773276/posts/bbYp7tDxdKg

https://plus.google.com/116634499773478773276/posts/4PE7MPoPuLn

https://plus.google.com/116634499773478773276/posts/JukhNNYV3Be
[Android Apps and Games] FilippoMinutella:
:good:
[Android Apps and Games] Dark3n:
v3.1.1.3 is running very calmy.

The most common crash is related to Androids IPC buffer overflowing when too much is going on at once.

I've combated that as much as possible, but it's a framework issue which i can't completely fix on my end.

Still 237 crash reports from 137 users is not too bad if we consider that propgation of v3.1.1.3 is already past half a million (y u no update (ノಠ益ಠ)ノ)
[Android Apps and Games] 2_i:
Finding Corpses Takes Forever

I am in a situation of about 300 corpses. In finding them SD Maid runs for 12h+ without conclusion. Any suggestions for a resolution?

Background: This is a small phone, Xperia Tipo Dual, running Android 4.0.4. I squeeze numerous apps into the phone using Link2SD and packing those apps into a second partition on SD card. Unfortunately, the card started developing problems and I had to replace it. In spite of my best efforts, the links to the apps in the 2nd partition did not stick and I need to reinstall those apps. Unfortunately, the apps most often fail to install anew if their corpse files are still there. I can remove them by hand, but it is hard to do that for 300+ apps. I normally used SD Maid for the purpose, but it seems to take the age of Universe to uncover this many corpses. Is that to be expected? My rough guess that the time for corpse identification scales more than quadratically with the number of corpses. Could it be that something else is wrong? I restarted the Maid few times over the couple of last days and it always went into such a prolonged search with this being the longest sweep I have patience for.
[Android Apps and Games] Dark3n:
[MENTION=5276700]2_i[/MENTION]

1: How do you get to the number 300+ and what was the longest you waited for SD Maid to complete?

2: Where specifically are the corpses located (i guess Link2SD linked from /data/data)?

3: What version of SD Maid are you using?

I've tried to reproduce it and it's indeed not that fast, on my N5 @ 4.4 it took 390ms per Object in /data/data

I shoveled about 2000 trash files into /data/data, it seems to scale linear.

Send me a mail later (I'll go sleep now), i think i can give you tweaked version.
[Android Apps and Games] 2_i:
That was the number of apps linked under LINK2SD. When I try to restore them, in 90% of cases the installation fails due to "insufficient storage". (There is plenty of space.) After I find the corpses an delete them, the installation goes forward.

In my experience I only need to locate those under /data, not sure whether always under /data/data.

It is a version (Pro) that was current in Play 2 weeks ago - don't want to interrupt the Maid's scan now.

I'm now at 15h+.
[Android Apps and Games] iPusak Gaoq™:
Have you ever try using the cleanup features in Link2SD to clean all those corpses file?

"Clean up 2nd partition" and "Clean up dalvik-cache" in Link2SD can help clear all corpses files in your 2nd partitions and your phone memory...

Sent from my SK17i
[Android Apps and Games] 2_i:
Yes, I use these periodically, but these don't touch the left-over files in /data. In fact, I looked around and could not find any other app around with that corpse function.
[Android Apps and Games] 2_i:
OK, it seems that only the corpse in /data/data matters for the success of reinstallation. That certainly speeds up the manual process :good:
[Android Apps and Games] iPusak Gaoq™:
did you try "system cleaner" on SD Maid? it might remove those corpses file or go to your devices settings/apps and look at the download list....any apps if gray out (without any icon) can be remove by uninstalling....

"insufficient storage" usually appears when you install lucky patcher (patch to core.jar)...if you do install lucky patcher then use lucky patcher to remove all odex file and clear dalvik cache....