yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] korekore1:
every time i install this app (and i tried many versions) my widgets disappear when i reboot.When i rebuild them they disappear again when i reboot. My phone is Huawei x5pro rooted with Kalo Perfection 2.3.6. rom.

Why is this happening?

I have now uninstalled the app and even now every time i reboot my widgets are gone.Besides that now the launcher takes about 8-9 secs to load the shortcuts in the home screen,before it was instant.

This app really messed up my system.

I would take back my words and apologize if you tell me how to fix this,cause i didn't do anything weird and i'm no android noob.I didn't even do any tasks with this app,i just installed it and boom goes the widgets
[Android Apps and Games] Dark3n:
What versions and where did you get those "many versions" from? :rolleyes:

Sounds a bit like a permissions or space issue, permissions issue seems more likely though.

Your statements are confusing, you say that your widgets disappear everytime you install this app, but you also say that your widgets are also gone when the app is uninstalled.

If it only happens on reboot it could be any change you made before the first reboot when it started happening.

Then again you stated that you only installed SD Maid.

Just installing and starting SD Maid is not invasive and does not alter your device besides using space for itself.

:confused:

So what makes you so sure that it was this app?

I'm not saying its impossible that SD Maid is causing this but you seem to be on the look for someone to blame.

The approach "its your fault, help me and i apologize", is not so nice :(

Anyways, if you mail me some log cats:

- of a fresh reboot

- when setting up widgets

- when restarting the launcher

- when placing shortcuts.

i can try to figure out whats wrong.
[Android Apps and Games] korekore1:
version 0.9.7.5 that i had saved in my hard disk and version 2.0.1.4,got them from the market,free ones.The reason i know that this app caused the problem is because the first time i installed it,it was the last app i installed on a fresh rom install,so i did a reboot and the widgets where gone.I reboot frequently when i install a lot of apps and this one i installed it after the last reboot.

So i opened titanium backup and freeze the app,replace widgets,reboot and the widgets after the reboot remain visible.I then uninstalled the app completely,re-downloaded the app,installed,reboot and on next reboot widgets disappeared again.I uninstalled one more time,but this time the widgets keep on disappearing on every reboot.I think some change was done in the system that remained.The only task i did with the app was to start ''system cleaner'' but the search was not progressing,so after 10 minutes that search was idle i force stopped the app from android settings.

Sorry if i was a bit angry,but after flashing and reconfigured my system with apps,settings,themes,etc i don't want to re-flash or reset the rom,it takes me hours..I will try to send you the logcats soon.I really like this app,i'm no hater ;)

p.s. : when you say permissions you mean sd maids permissions?cause if the app in uninstalled shouldn't that be no issue?

EDIT : i finally figured out what happened.I actually performed one task before the problem.Before i install sd maid i removed a system app called genie widget.No problem so far.When i installed sd maid i performed the ''find corpse'' task.It found corpse for genie widget and i removed it because the app wasn't installed any more.Then the problem appeared.I now re-installed genie widget to system/app and then i uninstalled it again.This time i didn't ''clean corpse'' (or installed sd maid actually) and the widgets seem to appear after reboot.Bit of a strange case actually.The conclusion is that this app seems to be not compatible with my phone (Huawei X5 pro) or with my rom (Gingerbread 2.3.6.,Kalo Perfection rom) .The problem that remains is that after reboot the home screen takes a lot more time to load the widgets.1 sec before i installed sd maid,about 9-10 seconds now. (even without sd maid installed anymore)
[Android Apps and Games] RuLEoF2:
I'm running pro 2.0.1.4. I'm experiencing the root detection problem now. I am running the latest SU binary as of 10 minutes ago.

Any suggestions?

Thanks.
[Android Apps and Games] Dark3n:
I also have that geniewidget corpse, it seems to get recreated on reboot.

Didn't have any issues after removing it.

Unfortunately i have no idea what going on, on your device, i see no logic connection between removing the genie widget and or just installing SD Maid and the missing widgets or slow down of your launcher.

You can still mail me some logs of your system startup and after the launcher has been killed, if you want.

Are you sure that ROOT is working?

You could try this App to confirm.

Is it reproduceable ?

I would try to take a look at the SuperSu management app, if SD Maid has an entry there (grant? denied?).

Possible reinstalling SD Maid.

What sometimes happens is that the su confirmation dialog appears behind the app, instead of infront.

Also if you don't fully exit SD Maid, it will remember the last root decision.

It checks and saves on the first launch, you can force quit SD Maid through its menu.

And...

... a logcat of what is going wrong is usually the best way to start.
[Android Apps and Games] Gekass:
Great app! IMO the only thing that missing is a scheduling option.
[Android Apps and Games] Dark3n:
I'm planning to upload 2.0.1.5 soon.

Just finishing some testing.

If you want to help test, you can download the update here:

http://goo.gl/vfRd2

If no bugs are found, this will be the version i upload to the market.

Changelog:

########## v2.0.1.5(206) #########
@Common
- Fixed tab deselection code not triggering correctly
- Added permission KILL_BACKGROUND_PROCESSES to obviously kill background processes (i.e. when deleting market history, to restart the market)
- Improved behavior for HidePro setting
- Exiting through the BackButton now requires a DoubleClick
- Updated languages
- Added /mnt/sdcard1 as known external sdcard of some CM10 ROMs
@StartPage
- Fixed possible ANR when refreshing
@Explorer
- Added open file dialog
- Added option to force open files as text files
- Added option run .sh shell scripts and produce output + errors into DetailsBox (experimental)
- Cleaned up backend code
- Improved error detection
- Fixed crash when refreshing/entering a directory failed
@AppControl
- Improved FROZEN detection on some ROMs
- Added sort modes Name/PackageName/FROZEN/SYSTEM/NOAPK
- Fixed possible ANR when viewing Details
- Fixed FC on App with ApkPath being null
- Tweaked list filtering
- Fixed issue where /system is busy during remount
- Tweaked layout
@CorpseFinder
- Tidied code, made preperations for possible addition of odex file corpse checking
- Added more detailed information to list entries
- Changed parsing methods
@DuplicateFinder
- Removed descriptors and cut name into first row leaving more space for the path
- Changed autoselection from longest/shortest path into actual nested level comparison
@Misc
- Added button to delete Googles QuickSearch history
[Android Apps and Games] kufikugel:
tested.....good work!!!! No bugs found so far.

Thanks,

Lars
[Android Apps and Games] eboy_gb:
2.0.1.5 rc5 works great for me too. Love this app!
[Android Apps and Games] gheoan:
Hi, Dark3n. SD Maid is a great app.

I finded this thread with Adrenaline Engine that contains a script. Maybe will help you:
[Android Apps and Games] scarmon25:
Damn. You would have to release a killer update while I'm in between phones lol. I can't run it right now cause I'm not rooted. Ah well. Should have my new phone tomorrow. Looks to be a good update too.
[Android Apps and Games] docflower:
Works great. I don't have a widget option on cm10 for s3. No biggie though
[Android Apps and Games] 07blackwater:
No bugs found so far but no shortcut here either.
[Android Apps and Games] si_bolang:
maybe u can add widget that show cache or other garbage then just click from Home screen will cleared
[Android Apps and Games] kantjer:
The test version is running without problems.

I have one cosmetic request, can you please fix this, it looks ugly.

Thanx!
[Android Apps and Games] Dark3n:
Thanks.

I can have a look at those directories.

While it might be okay and safe to delete those things on one device, it might not be on another.

These don't look very safe on first view

rm -f /data/local/*.apk

rm -f /data/local/tmp/*.apk

An on some phones the dalvik-cache is inside /cache, removing it will cause constant force closes until the phone is rebooted.

rm -f /cache/*.*

The SystemCleaner already deals with the other entries :).

I never said there was a widget?

It's somewhere on my TODO list, i might start with something easy, like a quick access bar to explorer/corpsefinder etc.

Will look into it, might not make it into this update though.

SD Maid doesn't break without root ;).

Maybe you are the one ! The one testing SD Maid for non root users out there? :D
[Android Apps and Games] scarmon25:
Lol. Ya know I never thought about that. I'll give it a go and see how she flies.
[Android Apps and Games] scarmon25:
Well I got my new phone today and after rooting I installed the new RC. Work's great man.
[Android Apps and Games] Dark3n:
Looking good :D, new version will be uploaded this night.

Currently adding a few last changes

- Shortcut button to sdcard in explorer

- You could select the back and refresh entry in the explorer when long pressing them, that was not intended

- I've changed the save location of the log when saving the detailsview to /Android/data/eu.thedarken.sdm/details/ on your sdcard. I don't believe it is used too often, and this way the log get removed when uninstalling SD Maid, leaving behind files itself on uninstall was kinda stupid :o.

I think i will rewrite the details window, maybe allowing single file deletion, atleast it needs a new look, craming all file paths in there is not too pretty

I already have some ideas for the next update:

- Audio/Video/App icons for the duplicate finder, so you can easier see what filetype it is

- Change the highlighting way in the duplicate finder, i'm not too happy with nothing vs grey

- Possibly a file overview, similar to what there is in the ICS storage menu. Something that provides an overview over what takes what space (Apps,Music,Video etc), will have to see if there is really need for that, as most ROMs already provide something like this, what do you think?

- Viewing last modified files should get a better list, allowing you to click an entry and viewing the location in the explorer
[Android Apps and Games] 07blackwater:
Could you add a clean agps data option? I realize other apps, even free ones, will do that but I've gotten used to using sdmaid as my one stop cleaner.
[Android Apps and Games] Dark3n:
Just uploaded v2.0.1.5, final changelog is in the 2nd post.

Should show up in the market within 1-3hours.

What is "agps data" ?
[Android Apps and Games] 07blackwater:
Assisted gps. It's the info gps uses for a quicker lock. I've found on my phone if the data gets too old it is can prevent a lock.
[Android Apps and Games] TJaiharn:
Work On HD2 ! :)
[Android Apps and Games] scorror:
Read that this app requires root do it didn't work on my unrooted phone even though it found three corpses but unable to delete them.
[Android Apps and Games] AnsgarM:
Thanks!

sent from my cm7 powered galaxy s
[Android Apps and Games] onsomethinguk:
Brilliant! Fixes the Skype bug on Galaxy Tab!
[Android Apps and Games] natious:
This app thinks all the comics downloading from "comics" app are trash, maybe you could add a checkbox for which things you want to delete.

So far so good, works perfect on galaxy tab
[Android Apps and Games] asmanthebell:
Works On X10i 2.1
[Android Apps and Games] Dark3n:
What cache file? 3rd tab already cleans cache?

As stated it needs root to work, trying it without root will be really buggy. An app cannot delete other apps files without root.

I might make future apps close themself if root can't be aquired.

Cool :), can you tell me what the Skype Bug is?

Can you please explain further? What comic app, where are files being downloaded, and what are their names. Just guessing now, but they are being downloaded to /cache ? They kind of shouldnt save them there :p, but i can exclude them from deletion.

v0.6 is soon done and will allow you to press single items in the list to delete, instead of using the "clean all" button.

The next version will probably be downloaded through market, this makes it easier for me to give you updates.

edit: just installed the comics app to test, it gets found as corpse because the comics app did not follow the standart naming conventions...

The next version will contain a fix for that.
[Android Apps and Games] rorycs:
Suggestion: Please add a list of devices this app is confirmed working on to the OP...
[Android Apps and Games] Dark3n:
Since the last two versions it is no longer device specific. It works on any rooted android device with at least android 1.5. On some devices it finds more files and on others less.

I don't see the need for such a list ;).

If anyone wants to help improve the app and is familiar with "adb shell" write me a message.
[Android Apps and Games] onsomethinguk:
Skype bug? It affects Samsung and a few other devices. If you uninstall, you can never install it again, throws up an "insufficient storage" error. This removes the file that causes the bug. YAY!
[Android Apps and Games] jelle2503:
great app, loving it! works great on SGS 2.2.1 rooted
[Android Apps and Games] xriderx66:
very well developed.apps, hoping for more!!

love it thanks
[Android Apps and Games] supetawesomedude:
It worked well for me.
[Android Apps and Games] Djay1809:
Can we manipulate folders to add to duplicated folders together and delete the spares, while on the topic is there a way for it to check folders not see any files like (im guessing it would look something like [ files
[Android Apps and Games] rawr703:
Sprint (CDMA) HTC Hero running AOSPmod0.9.9.2 - only found 2 corpses... seems off. I got a clean & shiny cache now :D
[Android Apps and Games] Dark3n:
First post updated!

The app is now available for free on the market.

Please get the newest version from there :).

Support will still be provided here of course,

but updates are easier to distribute :D.

Added a fix for this.

You mean merging folders? How would we recognized duplicates?

Also do you mean to delete empty folders?
[Android Apps and Games] Djay1809:
Yes, it would be able to check folder like math or something, like folder contains lessthan or equal to 0 files And offer to delete it, as far as i meant with duplicate folders, the same way we link contacts and that way no two download folders.

Just Incredible
[Android Apps and Games] Dark3n:
Released v0.6.1 which contains a fix for a possible force close under certain circumstances. (Really rare though, happened to only one user so far.)

I will see what can be done.

I'm always open for suggestions :-).
[Android Apps and Games] mhulsegge:
5 corpses found... All gone now
[Android Apps and Games] andrewf403:
Market says: not available for your carrier. Can you please enable downloads for ukrainian carriers, or post direct link to apk?
[Android Apps and Games] vlt96:
Hehe what about having a feature to fix GPS for faster lock? By changing gps.conf, not sure about details, but there are some gps servers that are by default on AOSP/CM/any custom ROM set to Nord America... this causes each and every user outside it to have slower gps lock :D but a simple thing there changes it, would love to have a "fix GPS" thingy in misc tab, which would then show "select area" and you select :D
[Android Apps and Games] Mysticales:
So far very nice app. Now that I found the thread too heh. Ive noticed that after deleting /data/system/dropbox seems to help cure some constant reboot issues (When on a internet connection) Least it seems to be for me after that folder had like 340 files in it..
[Android Apps and Games] Jeffreycat:
Would it be possible to setup auto-cleaning? I would love to have all of the corpses in my basement auto-magically disposed of ;)
[Android Apps and Games] Dark3n:
I looked at it, but there doesn't seem to be any cache files for this, if you know more, point me in the right direction.

Feasible, but GPS fixing is not really within SD Maids scope. ;).

Hm, that could point to an issue in your ROM.

If you want to read up on the dropbox files: http://developer.android.com/reference/android/os/DropBoxManager.html

It's possible and on the TODO list, but it will take some time before i will add this, as it will need quite some recoding.

SD Maid is currently not written to be run as a background service.
[Android Apps and Games] Mysticales:
Well, not sure what started it with the dropbox thing, didnt start till a month ago, had been using it fine. Now since this rom is older now and no one working on it. Doubtful for fixes if thats the case. Saw about making the folder read only, but not even sure if I should do that or if that dropbox files are even needed.

I guess tho if you have a auto delete option for "x" items or so. That could solve that problem too heh. Cron based or on startup, idk. Least this app was worth paying for Pro version. =)
[Android Apps and Games] Jeffreycat:
Is it possible to use another app like Tasker to setup auto-cleaning? I'm sure there's a simpler way to achieve this goal that doesn't require an extensive code revision. (Or maybe not, I don't really know)
[Android Apps and Games] Dark3n:
It is unlikely that i will add Tasker support.

I'm pretty sure scheduling will be a huge source of grief, especially on slower devices :(.

And while automatic scheduled memory freeing or simple cache cleaning (without root), might be okay to automate it the background, i'm reluctant to add it for most features. Permanently deleting files automaticly, without confirming, just doesn't sound like such a good idea.

I will look into scheduling when i find the time, anyways SD Maid just had its update and there are no issues to be immediatly fixed, so some other Apps are getting some attention now ;).
[Android Apps and Games] Mysticales:
Hey can you maybe add an option for Pro version maybe to allow setting these to be "read only"

/data/tombstone

/data/system/dropbox

/data/system/usagestats

Since I dont really see what use we normally need for them anyways. Not like it effects logcat or so. Plus since those directories only get bogged down.. I just set those 3 myself to read only mode. Smooth sailing so far. Toggle with SD Maid could be very handy indeed. (And if you want, maybe add it for the other folders too)

Also, is there a way you can have the pro key installed without it making an app drawer icon? Not like its needed. Dont think Titanium Backup has a separate icon for its pro key heh.
[Android Apps and Games] Dark3n:
Ive written it down on my list under 'maybe/future', I'm a bit reluctant to implement it as this would make a permanent change that would have to be undone to enable those features again. We don't know how this works out as a permanent setting on other devices.

Will see once i worked down the current TODO list for SD Maid, I'm currently working on two other projects.
[Android Apps and Games] RovG:
Hi Dark3n, I have a new feature request and would br greatful for your consideration.

Before I do a nandroid backup, I clear cache, dalvik cache, run system cleaner & app cleaner. This is so as to reduce the size of the cwm backup file. So my request is to have one button than can be clicked to do the above. However, what gets cleaned up when that button is used should be user configurable because not all users may want to clean up the same things.

Tks
[Android Apps and Games] rsngfrce:
Just wondering, does anyone find the Corpse Finder feature useful? I am aware of the issues with this, but for me it only ever finds folders which aren't corpses...
[Android Apps and Games] 07blackwater:
It finds them. The only time I see them, though, is after flashing a rom that someone has removed a bunch of bloat ware from.
[Android Apps and Games] Dark3n:
There is a bug in the latest SD Maid version on JellyBean ROMs causing the SystemCleaner to miss out on some files that could be deleted.

It will be fixed with the next update.

Earlier Android versions especially Samsung Roms (2.1-2.2), had a bug that ALWAYS left behind certain folders.

On newer ROMs 2.3.5-4.1.X this has been fixed.

Corpses that now stay behind come from a few things:

- race condition on uninstall causing some folders not to be able to be removed at uninstall

- flashing apps/roms

- installing apps with different signatures or permissions

- misnamed directories

These are those that are "falsely" detected as corpses even though the corresponding app is still installed,

but when you uninstall that app, the previously detected folder stays behind and really is a corpse at that point.

This usually happens when directories are not using the correct namespaces.

They do that to avoid having all files removed on uninstall, i.e. my music player PowerAmp does this to keep the downloaded albumcovers after uninstalling (in case you reinstall it?).

Wether this is the correct way to go or not is another topic of discussion.

What most devs try to achieve is to avoid unnecessary reaquiring of files, while on Windows you can have a nice dialog asking "do you want to keep your settings" and then specifiy a folder to keep, it is not possible like that on Android.

Basicly there are3 common scenarios

- Store it using the correct naming convention, but it will get removed automaticly by the system uninstaller on App removal

- Use the recommended folders, but not names, it doesn't clutter the sdcard directory listing, and stays after uninstall, but can be detected by SD Maid, unfortunately even though when the app is still installed

- Store in a random directory on the sdcard, those are the ones we can't detect, because unless we build a huge database with all apps and their potential directories, we can not connected the folders to an app

Games usually do that and the only way those get removed is usually if the user seeing the folder name and going "oh i uninstalled that months ago"
[Android Apps and Games] hauntedhunter:
Help

Downloaded and installed. Quite a nice UI and pretty fast. Can someone guide me how to clean the cache ( free version )? I'm new to android .

Thanks.
[Android Apps and Games] vlt96:
Cleaning the cache is not recommended, it slows down and it doesn't free up space, because internal memory is in /data partition and cache in /cache partition, so no reason to clear it IMO... anyway you can't clear the cache in free version
[Android Apps and Games] Dark3n:
The AppCleaner (ProVersion) doesn't touch files in /cache i.e. dalvik-cache, it cleans the respective cache folders of each app, which are in the /data/ partition and on the various public sdcard partitions.

The SystemCleaner (FreeVersion) does clear the /cache folder while excluding the dalvik-cache (which i'm assuming is what you are talking about),

removing failed market downloads etc.

Dalvik-Cache usually only needs to be cleaned when there are problems, as each file gets recreated, it doesn't really free up any space.

If you still want to do so, you can do it manually through the Explorer or through the entry in your phones recovery, which is recommded as clearing the dalvik cache on a live system will most likely lead to FCs until reboot.
[Android Apps and Games] hauntedhunter:
Thanks

Thanks. As I mentioned I'm new to android. Where's the option to clear the /cache folder in the free version ? Is it SYSTEMCLEANER and delete? Loved this app , kudos :good:
[Android Apps and Games] rsngfrce:
I see this a lot and is probably good not to have possibly useful pictures/sounds/whatever get uninstalled when you remove an app. Just have to remember to manually check the USB/internal folders occasionally... I wish sometimes Apps would name their storage folders more obviously though! Thanks for the very detailed explanation!