yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Dark3n:
The AppCleaner deals with caches on the various partitions.

In a perfect world, each app would keep a tidy cache themself, some do, some don't.

Generally, cleaning the caches won't cause permanent data loss, but some caches will be regenerated or depending on how the app does it, redownloaded.

The 100MB of Google Maps probably cached map tiles. Can't tell without more details.

With 800MB of size it is likely that those are cached Songfiles.

A quick search turned up that they are probably stored here:

"/sdcard/Android/data/com.spotify.mobile.android.ui/cache/Users/<username>-user/LocalSync".

Long press an entry in the AppCleaner and view details to get a list of the files.

For those cases, there is the exclude function.

Just long press an entry in the AppCleaner and select 'Add exclude'.

The next version will allow more specific exclusion. So you can keep part of the cache and delete other parts.
[Android Apps and Games] xxlutz7:
AW: [APP][1.6+] SD Maid - System cleaning tool

Hey! Thanks for this fast and detailed reply! I thought something similar and exluded them from cleaning - don't want to download songs and maps again :p

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] si_bolang:
I really like this app can't wait new update. hope will add option to chose vertical /horizontal menu
[Android Apps and Games] Dark3n:
New BETA available here.

I updated the changelog in the second post, you can also find a small diff between this and the last BETA here.

This version is pretty close to the next release canidate, i will still do some minor tweaks, but mostly I'm giving the translators a chance to catch on so i can include it in the next update.

Thanks for the feedback on the last BETA, it helped :).
[Android Apps and Games] cmlx:
Thank you for the last beta version.

The searcher function has the fastest speed than any other alternatives. Could you please add search history lists?

And I don't understand why appcontrol has the item remove app but keep data, imo it is useless, I tried do this then install the same apk but with different signature because I changed its icon, unfortunately the installation failed.
[Android Apps and Games] johnny_cage:
useful tool
[Android Apps and Games] Dark3n:
There will be space for such a search list in the new UI ;).

For now i have no plans to remove it :D.

It might not be the most heavily used function in SD Maid, but it has its place.

I.e. free some space by uninstalling an app, but keep your settings as you want to reinstall the app later.

I think due to the different signature, the new app will receive a different permission set and thus not be able to access the previous data folder.

This is only valid for app data stored on the internal memory (/data/data) though, the app data on the sdcard (/Android/data) shouldn't give any permission issues. So it's probably the folder in the internal storage failing the installing of the apk with a different signature.

Interesting case :).
[Android Apps and Games] sabret00the:
A bug I've found is that it keeps marking VLC as a corpse despite still being installed.
[Android Apps and Games] Dark3n:
Thanks for the feedback.

But i don't think i will fix this.

I just installed VLC from the market, i assume you are using this one too?

https://play.google.com/store/apps/details?id=org.videolan.vlc.betav7neon

The App's packagename is "org.videolan.vlc.betav7neon".

It's personal data directory is "/data/data/org.videolan.vlc.betav7neon", thats good so far, but the system forces this on the app.

It's public data directory should be "(..sdcard..)/Android/data/org.videolan.vlc.betav7neon", this is not enforced, the app has to create it itself.

The found corpse is "(..sdcard..)/Android/data/org.videolan.vlc".

Due to the different packagenames, SD Maid can't match it against the installed App.

While some media players do this on purpose (*looks at PowerAmp*), and i have put some routines in place to start dealing with it, i think it is a bug in this case.

Looking at Android/data/, we can see:

drwxrwxr-x root sdcard_rw 2013-03-16 01:02 org.videolan.vlc
drwxrwxr-x root sdcard_rw 2013-03-16 01:01 org.videolan.vlc.betav7neon

So it actually creates both directories, looking into both, one contains "art" and "albumart" folders (filed with files), while the other contains an empty "covers" folder.

This looks suspiously like a bug. They probably didn't want to create two directories to begin with

So the interesting question is, which is the correct one ;), in my opinion it should be "org.videolan.vlc".

I'll actually write them an email :D.

Now there is two reason why an App would deviate from the default naming scheme.

1: On purpose:

This causes SD Maid to show it as false positive, but when the app gets uninstalled, the system can't match it either, at which point it really is a corpse and without a tool like SD Maid, would probably never be found again.

Some apps do it because you might want to keep your album covers or such, but every app that does album covers, either scans the music folders for covers or downloads them themself. Most do not scan other random app directories for such files.

Some apps do it because the user might just reinstall the app and doesn't want to download the data again (but how often do you really do that :rolleyes: ).

2: Accident:

It's unintentional and a bug.

Edit: One lengthy mail send to the vlc android team, hope they reply soon, I'm curious :).
[Android Apps and Games] cmlx:
Probably it is.

At the beginning, I thought the aim of del-apk-but-keep-data was just to replace a different sig. apk while kept its data so no need to re-configuration or backup/restore data. But when I tried this, I found I cannot install a diff-sig apk, system told me I had already installed this app and sig. conflict. Then I used tools to remove orphan files in /data/data and /data/dalvik-cache, but system still told me the same error that I had already installed one and sig. conflict, which made me crazy and had to install the old apk than removed it in the normal way, I was very curious why no apk, no data, no dalvik cache, the system still thought I have this app. Maybe it will work that I use del-apk-but-keep-data then move the new apk to /data/apk manually then chmod 644 and chown system.system, I never try this, just a new idea. ;)
[Android Apps and Games] FBis251:
Just noticed a bug on the "Clean System" tab. Always shows the space to be cleared in bytes instead of automatically showing them in kilobytes or megabytes as the case may be. Thanks for the hard work!
[Android Apps and Games] SalsaForte:
Force Close on Google Agenda apps after running it, anyone alse?

Rebooted, now agenda works fine... For now, I've not been able to reproduce it.

PS: DropBox always generate crap!?!??

EDIT...

Hummm... Another force close on android.acore process after I've run SD maid. I only deleted one cache file.

2 force close in 2 run... :(

SUGGESTION:

Add the ability to remove dumb files copied from a PC/MAC, example: thumbs.db, desktop.ini, etc...
[Android Apps and Games] rizky_p:
Just tried it. looks good so far delete some unwanted file on sd from another rom.
[Android Apps and Games] hesh.monster:
First run without a hitch! I love this...and possibly you as well. Excellent work.

Samsung Fascinate

Frankenclean 2.9

Peanutbutta Jelly Time

hitman_dreams' Erebos 1.3 port

Sent from XDA Premium App
[Android Apps and Games] maisi:
Same here, FC after i run it.

Running CM7 btw. ,maybe it's related to 2.3 ?
[Android Apps and Games] hanschke:
0.6.1 is not on market :( and i have got the fc with 0.6 too on cm7 on my milestone but nice idea your app :)
[Android Apps and Games] Dark3n:
I did not restrict it in anyway. I don't know why this is. See your PMs.

I tried to reproduce your FCs but can not do so. With google agenda apps you mean the calendar?

Do you have the android sdk installed and could send me an extract from the "adb logcat" tool with the error of the FC? I would really like to fix this for you :-).

Yes DropBoxFolder (this has nothing todo with dropbox.com, just is named that way) always produces logfiles, that are not really needed.

We had the same thought, your suggestion is already on its way in the next release which will probably be out later this day.

For the others who had time out messages from their device. This happened because you clicked to often after the refresh process was already started and due to a bug the progress dialog was not shown.

Next version will fix this and include a progress bar.
[Android Apps and Games] keshey:
Installed cleaned. Froze my cell i had to reboot but i am still a happy user. all stars in the market :)
[Android Apps and Games] add144:
Very well done. Had no issues.
[Android Apps and Games] Dark3n:
I'm sorry that your cell froze. Some functions might take some time if you have alot of apps or clean the first time. If you click the graphic interface again during that time, your android might think it hangs. This will be alot better in v0.7. i will update this evening.
[Android Apps and Games] rfarrah:
Installed and ran on HTC Incredible (Magnolia ROM with Chad's Incredikernal).

Found two corpses, cleaned them. Lost+Found won't go away, but no big deal. Went ahead and "cleaned" the rest of the system.

So far so good.... thanks!
[Android Apps and Games] CCallahan:
Performed cleaning on EVO. Not sure how thorough it is but seems to work fine.

Thanks & good work!
[Android Apps and Games] devolve:
Brilliant - I had just yesterday looked for some sort of 'ccleaner' for android, and here you are reading my mind.

I have a GalaxyS I9000T running Darky's 9.5

I ran it first in Samsung mode and it found around 11 Corpses. I cleaned those, then as a test bench, I ran it in the normal mode and it found another 4.

After cleaning though, all the text in my App Drawer was rendered incorrectly. I don't recall doing anything before your app, but can't see how your app could have done this.

A simple reboot cleared that problem, so I'm assuming a glitch unassociated to your app.
[Android Apps and Games] Dark3n:
The samsung corpse finder actually searches a special directory only present so far on samsung phones, while the normal corpse finder searches through the standart directories, but not the extra samsung one. Thats why it found 4 more corpses.

The extra samsung directory is /dbdata/databases, while the stock directories would be /data/data and /mnt/sdcard/Android/data.

I don't see how my app could have caused the glitch either, but should you find out that it is related please write me a PM so we can fix it :-).
[Android Apps and Games] bad pixel:
nice idea for an app! found only one corpse in my basement, which is a good thing! :p
[Android Apps and Games] :
Nice app.

Though I also get forcecloses on calendar (and I think phone too) after cleaning. A reboot fixes this. I'm on a Nexus One, CM7.
[Android Apps and Games] Dark3n:
Thanks i try hard!

I already have a vague idea, regarding the FCs on CM7 roms, im working on it.
[Android Apps and Games] :
Great, keep up the good work. (:
[Android Apps and Games] AllGamer:
this app is fantastic

i used to just delete stuff randomly and hopping it doesn't crash the phone :p
[Android Apps and Games] zaxondis:
Works great on my T-Mo Galaxy Tab with Stock. Thanks!

Would you be able to give it the option to clean both internal and external SD?

The app cleaned the internal SD on the tab but didn't seem to recognize the external.
[Android Apps and Games] JohnnyEpic:
I always wondered why my powerAMP directory would show. Because of the weird name, it took me forever to figure out what it was.

Sent from the Mars Rover.
[Android Apps and Games] hanschke:
the app crashed with latest cm10.1 nightly on my galaxy nexus if i want to scan the apps to clear :confused:
[Android Apps and Games] Dark3n:
Can you record the crash and mail me a logcat?
[Android Apps and Games] dems86:
Tried the beta and bought the pro version, thanks for a great app to help me keep track of my SD
[Android Apps and Games] hanschke:
done :D hope it will help. Nexus 7 work fine. I think it is an app that cannot scanned maybe?
[Android Apps and Games] Dark3n:
The Android VLC team answered, and it's a bug that will get fixed eventually, if not ultimatively when the app moves to its release packagename.

So for now set it as exclude.
[Android Apps and Games] SecUpwN:
AW: [APP][1.6+] SD Maid - System cleaning tool

Thanks! Any news regarding scheduled cleaning? :)
[Android Apps and Games] SalimKeady:
Hey dev..

Just have a request....

A battery calibrator option...

Or it impossible

ViperS Rom User

If I Helped Hit Thanks Button
[Android Apps and Games] vlt96:
Hey user,

Please open the app

There is the option in misc tab

But under a different name...

Seriously, if you have no idea what the feature you want actually does, please don't request it...

Sent from my LG-P500
[Android Apps and Games] Dark3n:
As far as i know, there is no such thing as a battery calibration technique or option.

I believe that most of the battery calibration techniques, (discharge,recharge,pull out,reset etc.) are somewhat a hoax.

The batteries status is determined by measing the voltage of the battery cell which should top off with 100% at 4,22V and then gradually decline.

There might be some internal sensor calibration, but i hightly doubt that any of the "rituals" i have seen so far, will have an effect on that.

The misc tab has an option to delete the batterystats, but that just resets the battery usage stats, it has no effect on the battery runtime or your battery indicator.
[Android Apps and Games] SalimKeady:
How you explain

100% to 90% in 5 min

And

20% to 10% in 25~30 min

Plus sometimes it happen to be like 15 % batt and my phone shuts down... ( not using battery heavily).

...

Anw its a long debate...a useless one

Just wanted to ask bout a battery corector ... Calibrator... Something like that.... So battery icon is most accurate if possible ...

Am sorry for any misunderstanding

ViperS Rom User

If I Helped Hit Thanks Button

---------- Post added at 08:49 PM ---------- Previous post was at 08:36 PM ----------

Forgot to mention that am on old fan for the app...

And i dunno if the Dev remebers... I sent him few requests ( a while ago)

And wanted to thank all for hard work

Great job (Y)

ViperS Rom User

If I Helped Hit Thanks Button
[Android Apps and Games] Dark3n:
Ok this is very inaccurate etc. and my knowledge comes from RC stuff.

Don't throw stones at me, but i think it gets the point across ;).

The battery has a capacity, which gets used up and degrades over the batteries lifetime.

Example (Values are guessed for demonstration purposes):

- So you bought a new phone with a total battery capacity of 1000mAh

- The full battery with a charged capacity of 1000mAh will have a cell voltage of 4,22V

- Lets say it takes 1 hour to drop from 1000mAh to 750mAh, so you used up 250mAh in an hour of usage.

- And lets say the drop in Voltage is somewhat linear (it isn't), then your battery indicator might go from 100% to 75%

(Voltage maxes out at 4,22 and then might be cut off somewhere at 3,1-3,3V? To protect the battery. Would have to measure the voltage on an empty battery that a device declines to start with).

- Lets say after a year of heavy usage your total battery capacity is 500mAh (this is very exagerated).

- The fully charged battery (although it only has a total capicity of 500mAh), still has a cell voltage of 4,22V when it is full

- You are still using 250mAh per hour, but now it would take your battery from 500mAh to 250mAh.

- So you went from 100% to 50% in an hour, while one year ago you would be at 75% after an hour.

Your phone shutting off at 15% is a typical characteristic of a bad battery or very aged battery.

Good batteries try to hold the voltage steady as long as possible until the capacity is used up.

Bad ones will have their voltage drop suddenly, causing the phone to immediatly turn off to protect the battery from deep discharge.

Deep discharges cause the battery to take damage and drasticly reduce their lifetime.

So i don't see how an app can change this.

TLDR

Either your phone is using an absurd amount (waterdamage?) of power, but most likely your battery has had the best times behind. Get a new one.

Read me

But this is getting too off topic now (which is SD Maid).

edit: Sorry can't remember every email conversation, but i found our emails.
[Android Apps and Games] vlt96:
Li-ion batteries are mindf**k... If they are not almost fully discharged (fully means the battery dies) every once in a while, your phone/tablet laptop will either get stuck at a % or finish the battery before 0%... you have a small portion that isn't read by the battery (I have absolutely no idea of the way battery % is read)

For example, I didn't discharge my laptop for half a year, and it went 100%-7% in 2h30mins and then it stayed at 7% for half hour... some others happen to get their battery take 3h to 15%, then suddenly shut down...

Calibration isn't done by software from what I think, the battery just sends wrong stats if not emptied for a long time
[Android Apps and Games] SalimKeady:
Ok am sorry.... Didnt know.... Its hardware prob ... Not a software one

Anyway thanks for sharing those usefull information....Im sure we all benefit from info above

Cant wait to see new updates ( i might have requests in future)

THANKS again

ViperS Rom User

If I Helped Hit Thanks Button
[Android Apps and Games] DarkhShadow:
Sorry but no, li-ion batteries do not have memory, it does not matter how you charge them, they have a limited amount of charge cycles before they start to degrade noticeably, in fact, letting them discharge fully damages them.

Battery calibration stats are reset when your battery gets to above 90% and is unplugged as well.

Sent from my Jelly Nexus 4
[Android Apps and Games] hanschke:
any question or information about my issue? maybe you can find other user here?
[Android Apps and Games] Dark3n:
I don't think there is much i can do about it at the moment.

The issue seems to be related to CM10.1 and the AppCleaner requesting alot of su access very rapidly.

As it works with all 3 SuperUser apps and even on CM10.1 if the SuperSu apps are manually isntalled, i will just wait it out for now.

It very much looks like an issue with the kernel/rom.

While it is not optimal that the AppCleaner sends so many su requests, this shouldn't cause such issues, and i didn't plan to rewrite it for now.
[Android Apps and Games] cmlx:
Could CorpseFinder scan /data/dalvik-cache? I saw it scan orphan files in /data/data, but not in dalvik-cache directory.
[Android Apps and Games] jr67:
What issue? I'm running the latest CM10.1 nightly using only the built in superuser and have not had any issues. If I look in the superuser log I can see the AppCleaner flooding it with su requests but it still does the job with no force closes.

Using beta 22 on a Nexus 4.

Thanks for the latest beta. Installing it now.
[Android Apps and Games] sabret00the:
I'm running CM10.1 Nightlies on my HTC ONE X. Built in Superuser and I have absolutely no issues with the App Cleaner scanning files.
[Android Apps and Games] Dark3n:
Already implemented, see latest BETA.

So far i have had two users report this, both having the Galaxy Nexus on CM10.1.
[Android Apps and Games] SecUpwN:
AW: [APP][1.6+] SD Maid - System cleaning tool

Cool! Now uf it would also support SCHEDULED CLEANING, it would be PERFECT. :)
[Android Apps and Games] sabret00the:
Yesterday I had a snaffu with my data partition. So I've basically just tried again with a fresh install and whatever issue it is, is definitely only a GNex problem.
[Android Apps and Games] Dark3n:
And only on CM10.1?

Now i wish i didn't sell my GNex :(.

For now i hope CM10.1 improves on this, but i have some easy changes in mind that could lessen the amount of requests.

Someone with a GNex and CM 10.1 could try to increase the ShellDelay (Advanced Settings) and let me know if this makes a difference.
[Android Apps and Games] sabret00the:
I'm on CM10.1 too. Sorry I'm not of more help in this situation.
[Android Apps and Games] Dark3n:
Did increasing the ShellDelay make a difference?
[Android Apps and Games] sabret00the:
I never had the problem to start with, would you like me to do it anyway?
[Android Apps and Games] Dark3n:
Ah, i thought it was crashing for you too.

But you have CM10.1 on a HTC One X and it runs fine?
[Android Apps and Games] sabret00the:
Runs perfectly fine for me.
[Android Apps and Games] SecUpwN:
AW: [APP][1.6+] SD Maid - System cleaning tool

Time for scheduled cleaning, I'd say. ^^
[Android Apps and Games] Dark3n:
The current workaround is to increase the ShellDelay (Adv Settings). Doubling it from 50 to 100 has been reported to work.

Hopefully the ROM will become stable after sometime.

This won't make it happen any faster :).
[Android Apps and Games] vlt96:
I wouldn't
[Android Apps and Games] sabret00the:
Not sure if it helps, but just read this
[Android Apps and Games] Dark3n:
Thanks, i know it's expensive and i will change it at one point, but it's no excuse for the app to die on that ROM ;).
[Android Apps and Games] The_Steph:
Dark3n,

Just a small point but it seems (at least to me) that your Orphan search misses to look into /data/app-asec to look for some packages that may have data in /data/data.

For instance, I have /data/app-asec/com.mobappli.groupsmspro-2.asec but /data/data/com.mobappli.groupsmspro was proposed for deletion.

If there is a way to provide logs, I will be happy to do so as this feature worked far better than the one from Titanium Backup.
[Android Apps and Games] sabret00the:
Well, as I said, it works fine on the HTC ONE X with CyanogenMod 10.1 nightlies. Maybe it's down to the dual cores of the GNex not boasting enough power? If that is the case, then batching the superuser calls, could easily negate the problem. :shrugs:
[Android Apps and Games] kalboy92:
Must have! :D

the best application :)
[Android Apps and Games] phantomofheat:
Just wanted to say that I'm on SG3 cm10.1 nightly 324 and have no problems with the newest beta. The Beta does load faster than the market version.
[Android Apps and Games] Dark3n:
Is this on the latest beta?

It's not about the power, if the phone is slow it should take longer not just "be closed".

CM10.1 != CM10.1 across the devices, while all are "CM10.1" they still differ.

People experiencing this issue should increase the shell delay for now.

Then either the ROM will get fixed or i will have rewritten the AppCleaner, we will just have to see which case comes first.
[Android Apps and Games] The_Steph:
Dark3n,

No it wasn't with the latest beta. I updated to 2.0.3.0 and the problem is not present anymore. Sorry for all that fuss :)
[Android Apps and Games] hanschke:
@Dark3n

have done a 3. test on a milestone with shelldelay 25 and work fine too with the beta you have send me.
[Android Apps and Games] Dark3n:
Awesome, thanks for the testing.

So yeah, i couldn't wait and this really annoyed me.

I rewrote the AppCleaner, it is alot faster now and there are alot less su calls, leading to no more instability on CM10.1.

If you have experienced the issue with CM10.1 on your device, you can grab the current BETA here again.

Everyone else can test too, of course :).

To aggravate the issue when testing, you can lower the shelldelay to 25 or less.

A few other changes:

There has also been alot of improvements to batch deletions in the various features, performance should be faster and more reliable when deleting alot of files.

I also improved the parameters when searching the device, this should lead to faster results in some cases (Searcher/SystemCleaner/Optimize DBs).

I will make a longer post with all changes when i finish the current feature. I'm working on a database with apps that create folders on the root of the sdcard, i.e. a black list, it will need manual updating, but those can then finally be tackled by the CorpseFinder.
[Android Apps and Games] sabret00the:
Wow, that's not just faster, it's like there's night and day between the two versions.