yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DB126:
Splitting hairs on an obscure topic - space recovered in the system partition is very usable if you know how to safely access. I have a couple of gizmos with small system partitions. Removing some unneeded detritus permits flashing a slightly larger GAaps package intact instead of splitting components between system and data. Certainly not a mainstream action but works well in my use case. Also depends which root manager is active, whether you care about receiving downstream OTA updates, etc.

---------- Post added 4th October 2019 at 12:00 AM ---------- Previous post was 3rd October 2019 at 11:54 PM ----------

There is no 'lock' on disabled/frozen apps. What party 'A' freezes party 'B' can easily restore. That said, such actions are exceedingly rare albeit not beyond the reach of Google. Seeing 'delete' and 'unfrozen' used in the same sentence suggests a procedural issue vs technical. Perhaps you can clarify what tools and actions you are taking on the YouTube app.
[Android Apps and Games] hyborian:
Freezing works exceedingly well for me, over 58 apps "debloated". No problem if any apps come back, my Tasker task takes care of everything, it takes only less than 20 seconds to check each of the 58 apps with a Tasker bash shell, done when my screen is locked - i.e. I am not using the phone.

Only YouTube and Google Maps become unfrozen regularly, based on the notification I asked Tasker to give me about apps it freezes. So rather than waste If Else conditions checking these two, I just deleted (not frozen) YouTube and Maps using SD Maid, I am rooted of course. For Maps, I installed it again from the Play Store, and is now a user app, no longer a system app, no longer all-powerful. Froze it, and will unfreeze only if needed, rarely. I totally don't need the YouTube app, I just go to the YouTube website if I want to view something.
[Android Apps and Games] DB126:
Interesting how perspectives change over time. I use to have a dirty dozen (more or less) apps that would be frozen or hibernated on every device. As doze has matured I increasing find it doesn't matter. My current phone is a modest mid-range running a clean Android 9 build. Idle drain is well within what I would normally achieve with aggressive management. I now focus energies on more productive tasks. I still have a handful of devices running Lollipop and Nougat but even on Android 5.1 such aggressive practices are rarely needed due to stricter Google policies on background activity.

Edit: 2 of the last 3 devices I acquired remain unrooted by choice. Yep, there are a few annoying behaviors but none rise to the level that justifies rooting.

I'm long past basking in the challenge; it's all about ROI and TCO.

Edit #2: apologies for the OT blather. Moving on. :)
[Android Apps and Games] hyborian:
Well, i use the same brand of phone, Xiaomi, all the time, all android 9. Since they all share what is to be debloated, they all share the same automated Tasker task, even when i upgrade the phone. No problem at all, easy. You don't know xiaomi probably, there is a lot to debloat.

Once debloated, amazing. Together with other tweaks, i can get 0 to 0.3% idle drain over 12 hrs ( the time i sleep), wifi and mobile on, titanium backup, sd maid scheduled, and other stuff working. Anyway, good for you that you don't need it.

SD Maid is one good app to have in one's arsenal.
[Android Apps and Games] DB126:
Yep - Moto guy here (at least for phones). Stock ROMs are clean & complete. 100% concurr on the value of SD Maid; lives on every Android device - rooted or not.

Tip of the hat to [MENTION=608746]Dark3n[/MENTION] for delivering a great app (foundationally solid) that serves as a model for others to emulate. Stuff done right is increasingly rare.
[Android Apps and Games] Nephiel:
FWIW, I believe SD Maid is causing a bootloop on my rooted Pixel 3a XL with Android 10.

This has happened twice:

- Run a clean with SD Maid. Restart the device. Bootloop.

- Unable to reboot to recovery nor rescue mode. Boot loop either way.

- Tried to flash magisk patched boot again, still bootlooping.

- Tried to reflash factory image without -w (so as not to lose any data), still bootlooping.

- Only thing that worked was a full factory image flash including data wipe.

I wish I could help providing logs or something, but I need the device and I'm short on time so for now I'll just stop using SD Maid.
[Android Apps and Games] DB126:
Almost certainly a case of what got cleaned vs the act of cleaning. While well designed apps try hard to protect us from ourselves in the end it's the operators responsibility to confirm proposed actions prior to pressing the 'do it' button.
[Android Apps and Games] sliding_billy:
Are you doing anything besides the home screen clean? Android 10? Magisk version? SD Maid Beta? Lots of questions, but I have had no similar issues on my 3 XL running Android 10 (C3 build) rooted and SD Maid Beta..
[Android Apps and Games] scarmon25:
It is definitely noticeable. Thanks for making such a quality app. I recommend this to everyone I know.
[Android Apps and Games] jeksenly:
Its work on Samsung Galaxy GT5570
[Android Apps and Games] emelie:
It runs faster on my device as well (see signature).

Only problem I'm experiencing is that while using the app cleaner it seems to stop after each entry and then I have to kill SD Maid and start the process again.

Should I describe this issue with a little more detail or does this sound familiar?
[Android Apps and Games] Dark3n:
I don't see this behavior on my sgs running cm7.

Does it stop at each entry when checking or cleaning?

It is a particular app?

Could it be that the entry being checked contains a lot of files and it just takes a while?

The gallery /cache folder could possibly contain a few thousand files and thus make it seem to be stuck.

If you could capture this on a log (i.e. using the app aLogCat) and mail me the log, i might be able to say more.
[Android Apps and Games] scarmon25:
One thing I've noticed is in the app cleaner. When I run it it runs quickley without issue. The results though seem off. It finds the same.number if more files then it did before but only reports less then a meg total is cleaned. Before the update it would say it found anywhere from 1-30 meg of trash. So either it was incorrect before or now. I think its just the reporting cause its finding alot of junk. But its like it doesn't count it all when adding it up.
[Android Apps and Games] Dark3n:
There is currently a glitch that causes the refreshed numbers after the deletion process to be off for item that need rooted.

I'm working on a fix right now.

Maybe this is what you are describing?
[Android Apps and Games] scarmon25:
Sounds like it. Thanks for the prompt response
[Android Apps and Games] tallguy75:
very useful app..
[Android Apps and Games] emelie:
Checking is running through without stopping.

Cleaning was stopping after every app that contained more than X files, X being something between 50 and 80 I guess. I'm going to monitor that over the next cycle and try to report back.

The gallery /cache folder was also one of the items where it stopped. After I restarted the app and scanned once again there were fewer files in the folder.

So it deleted some files but not all of them. Tried again, stopped again - left it for a couple of minutes (just as before) but it didn't continue.

I'd gladly send you a log but unfortunately since my last rom flash the output stays blank and doesn't give any information.

Like I said I'm going to monitor the situation and report back if I recognize a pattern when this is happening.

Thanks for your work!!
[Android Apps and Games] Dark3n:
v0.9.6.7 is out.

Mainly a fix for SGS2 users.

I tested the new update with 3000 files per app, worked okay.

Let me know how it works for you when you accumlated alot of files

This is a setting some kernels have that disables the logging, i can't remember though how to turn it on again.
[Android Apps and Games] emelie:
system cleaner performance improved notably!

tried app cleaner again -> worked without hiccup this time!

maybe it was the refresh bug you mentioned in the changelog?

and thanks for the hint about the kernel being the issue - going to investigate if i can enable logging temporarily or permanently.

EDIT:

just browsed through the kernel options in CWM and indeed there is an option to enable logging and alogcat now provides output. thanks again for the hint!

upgrading to the latest hardcore speedmod kernel for my rom (K13E). next step: upgrading to gingerbread in the coming weeks...
[Android Apps and Games] eoghan2t7:
@Dark3n

Do you plan to add widgets to the app and maybe an auto run feature so we dont need to keep manually cleaning and final thought maybe add a function to scan the ext partition for users that use link2sd.

Thanks in advance

Eoghan
[Android Apps and Games] slonn:
+1 for autorun. That would be a nice feature!
[Android Apps and Games] Dark3n:
Widgets and auto run are on the list, though not at the top.

Widgets will probably come first.

I'm a bit hesitant to implement thouse feature though.

I see some problems..

The biggest one being that not all devices have hardware powerfull enough to execute SD Maids functions in the background without slowing the system down to a crawl. Allthough i could warn the user about this beforehand, but i'm pretty sure alot of people still will go all rage on me because their device hangs...

The next problem, similar one, is that users would do other things which use memory (games or other apps) when the auto run feature would launch sd maid.

Now both the app they are using and sd maid can crash because the device ran out of memory...

Same goes for the widget which people will click, launch an operation and start doing something else, causing memory problems on devices with not alot of memory.

Hehe can already see it "SD Maid crashed my game and i lost all my progress" :p

So i will have to slow SD Maid down to spare some CPU, but i'm not sure how i will lower the memory consumption.

I will probably start with something to ease use, like widgets giving direct access to the explorer, or opening a cleaning function directly, but which then stays open during the process.

Next on the list of features are currently some options to make additional space available, i'm sure you won't mind ;).

Can you tell me what you mean with "scan ext partition" and link2sd?
[Android Apps and Games] eoghan2t7:
Do you no the link2sd app that moves your data apps to a secondary partition i dont think sd maid scans that partition also i think in the main screen that shows the free memory can we set the externel sd (bottom memory bar) to show the sd partition.
[Android Apps and Games] Dark3n:
What path does this extra partition have? Where is it mounted?
[Android Apps and Games] eoghan2t7:
This is the link2sd script

#!/system/bin/sh

#added by link2sd

mount -t ext4 -o rw /dev/block/vold/179:2 /data/sdext2

mount -t ext4 -o rw /dev/block/mmcblk0p2 /data/sdext2

The ext4 bit is different for each user some have it formated to fat32, ext2, ext3 or ext4

Hope that helps
[Android Apps and Games] Dark3n:
And 0.9.6.8 is out

No support for link2sd yet, but a fix for droid bionic uers.

Have a nice clean & tidy weekend everyone :-).
[Android Apps and Games] Dark3n:
Currently working on an update which should probably be done at the end of the week.

It will contain a new feature to free up more space.

Some UI improvements(fixed typos, prevent the user from entering invalid inputs).

A few bug fixes (some calculation were off, the displayed space that could be freeed was lower than the actual amount).

Maybe a feature to remove unnecessary dalvik-cache entries or the clean dalvik-cache completely

Maybe support for link2sd.
[Android Apps and Games] scarmon25:
This is the reason I recommended your app to everyone.
[Android Apps and Games] Dark3n:
[MENTION=6220053]Nephiel[/MENTION] Which SD Maid version? Default settings?

Up to v4.14.36 there was an issue with the CorpseFinder on rooted Android 10 devices. It was getting a false positive on a library package shared between Chrome and WebView, "trichromelibrary", initial fix in .37 and better fix in .38 now. Currently still in beta.

See: https://github.com/d4rken/sdmaid-public/issues/2987

That could cause a bootloop but would be fixed by an image flash without overwriting data and it would also not affect booting to recovery.

Could this have been the issue and recovery / flashing without wiping were unrelated?
[Android Apps and Games] yosifcuervo:
I also had my device bricked by SD Maid, after it cleaned trichromelibary (on a Pixel XL running Android 10 Beta 6). I wasn't too worried since I'd been wanting to flash the latest Android 10 build since it left beta anyway - so I dirty-flashed the latest Android 10 full image (without -w), and was surprised that it didn't fix the issue. I also tried reflashing Beta 6 just in case, but it didn't help. It appears that I'll also have to perform a full wipe - I just wanted to back up Nephiel, since I've been dealing with the same problem for the last day. Yes I was running SD Maid beta, mostly default settings.
[Android Apps and Games] Dark3n:
[MENTION=4184823]yosifcuervo[/MENTION] Thanks for the details. Did you manage to check logcat during bootloop, to see what it complains about? Have you tried going into recovery?

I've pushed v4.14.38 to production.
[Android Apps and Games] Ce Doresti:
the app remove file from system if you give access to root, but after the phone dont start.
[Android Apps and Games] yosifcuervo:
Sorry, I did not bother to check the logcat at the time. I did resolve it by wiping my data partition through TWRP, and flashing the latest Android 10 build (without wiping sdcard).
[Android Apps and Games] SogaBan:
Uninstall Watcher failing to trigger on Realme XT (ColorOS v6.0.1)

Ever since I have installed SD Maid Pro on Realme XT, I failed to see the uninstall watcher (under corpse finder) being triggered after I try uninstalling any app. Please guide me.
[Android Apps and Games] jakson2090:
I am a Premium user and would like to know how to get my passkey because I don't want to use the unlock app
[Android Apps and Games] andheartman:
My telephone xiaomi mi a1(android 8.1). Miui 11 port custom rom.

Fail Raport: Missing applets ROOT: MountApplet

Help me please.

My e-mail adress: andheartman@gmail.com. By the way only SD_Maid-v3.1.5.4-391-RC1-5f86712.apk working. Update not work.

[MENTION=608746]Dark3n[/MENTION]
[Android Apps and Games] carlese:
Hi [MENTION=608746]Dark3n[/MENTION], I already asked it.. Could you please add the option to save paths in an ready existing system cleaner filter? Say I created a filter called "system cleaner", I want to put all my paths to delete there.. Right now if i select some paths and write the name of the filter, it adds a new filter and does not merge it.. Thanks!
[Android Apps and Games] Dark3n:
[MENTION=9891724]jakson2090[/MENTION] Unlock methods depend on where you purchased it e.g. Google/No-Google. For issues regarding that, send a mail.

[MENTION=6532488]andheartman[/MENTION] As seen in the screenshots, SD Maid can't use root because the Mount applet fails the tests. Fix that and it will work. If you think it's a bug in SD Maid, record a debug log and raise an issue ticket.

Is there a ticket for this?
[Android Apps and Games] carlese:
I can't create an account on github, I am stuck on the verification and it doesn't go further.. I will do if I fix this
[Android Apps and Games] andheartman:
Hi i magisk version 8.1 install. All problem fixed.
[Android Apps and Games] iamsrk48:
Dear Developer Buddy,

SD Maid Cleaning Process is too Slow in every MIUI Devices, so please give a video guide to submit bug Reports.

i have readed reporting a bug post but that is not enough to understand. so please create a video for submitting Reports.
[Android Apps and Games] jcmm11:
Delete
[Android Apps and Games] hyborian:
What do you mean by slow ? It's Ok on all my MIUI devices. I have the following scheduled cleaning tasks to run every other day at 3 am, takes 4 minutes to complete on my Poco F1s running MIUI 11, and that is using Battery Saving profile on my kernel, not Performance.

CorpseFinder, SystemCleaner, Appcleaner, Databases
[Android Apps and Games] iamsrk48:
yes I'm talking about these process that you're written but i have seen in many MIUI Devices this process is very slow with accessibility Enabled.
[Android Apps and Games] jojo8686:
Thanks for share.
[Android Apps and Games] Dark3n:
That usually means that SD Maid doesn't find what was expected on the screens, e.g. a specific button label (possibly in your language/locale).

Make sure you are on the latest version (currently 4.15.4).

To figure this out record a debug log of this happening so we see what SD Maid is seeing:

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

Failing on 2-3 apps is enough to record.

Currently these languages should be working:

https://github.com/d4rken/sdmaid-public/issues/2816
[Android Apps and Games] Utini:
I use the Pro version for some months already and I wonder if there is a chance that you might advance the scheduler to select not only a time and day interval but also specific week days?

I ask this because I would like to run the scheduler at night, while my phone chargers and I sleep, but I am worried it might somehow effect my alarm app and stops me waking up.

I would there for choose the scheduler to only run e.g. on saturdays at 05:00h in the morning.
[Android Apps and Games] badai:
If you worry about your alarm not working after restart, you definitely need to find another free alarm clock on play store. They all will work even if you shut down and keep your phone for years in your sock drawer. Oh, just don't use SD Maid to change anything in the receiver manager for that alarm clock.
[Android Apps and Games] Utini:
I use Alamdroid Pro and I am talking about a random crash if the app due to the DB Optimization or App Cleaner..or maybe even an Android crash/free due to SD Maid?

But hey it might be a good idea to add Alarmdroid to the exclusions of SD maid, if that is possible.
[Android Apps and Games] badai:
In the case you are not sure that will happen, get a real alarm clock. They are so small and cheap. In the case you know it do happen, then get another alarm app. If hundreds of other app don't have issue with SD Maid, then there is really something wrong with the app that go issue.
[Android Apps and Games] hyborian:
Deleting System Apps

I just upgraded to MIUI Android 10 on my phone, and I cannot delete YouTube or Maps anymore like I used to in Pie.

I noticed that Google apps are now also in /system/product ...

I could use adb shell and pm uninstall and this makes the app disappear from my app drawer, but this still leaves some trace -i.e. SD Maid can find it in AppControl
[Android Apps and Games] Dark3n:
You can make a feature request on Github.

If you are unsure how SD Maid affects your alarm app, create a global exclusion for it's packagename.

Let's make an issue ticket to details specific to this issue, a few screenshots and a log.
[Android Apps and Games] Utini:
Not sure if this is a joke or a serious reply. I will ignore it either way.

I added Alarmdroid to the list of exclusions. That still means the Android system "could" crash after an automatic run but I have faith in SD Maid to be stable enough.
[Android Apps and Games] DB126:
It could - which validates the backup suggestion. But this really has little to do with SD Maid as running background hygiene (maintenance) tasks always increases the risk of unexpected outcomes. Boils down to risk tolerance and mitigation.
[Android Apps and Games] Utini:
And as part of the risk tolerance mitigation, let us choose in the scheduler when exactly SD Maid will run. That way we can minimize the risk of it interfering with anything important to the specific user.
[Android Apps and Games] rodken:
Get AutoInput and you can easily automate SD Maid with just one stimulated tap. That's what I do. I have it set to run at 3AM or whatever time you wish every night.
[Android Apps and Games] jkim204:
Stuck in "in queue" after updating to LOS 17 Android Q, any fixes?
[Android Apps and Games] :
Using Android emulator w/ Android 7.1.2 64-bit image SDMaid version 4.15.6 infinitely stucks on this screen:
[Android Apps and Games] Dark3n:
Stuck in "In queue" is a root issue in 99% of the cases. SD Maid asks the root management app for a root console and then either expects a working shell, or an error, if neither happens it will stay "In queue" until it times out (around 60 seconds) I think?

You can long press settings and disable the root check in the debug menu to see if it is that.
[Android Apps and Games] rodken:
+1
[Android Apps and Games] rinlau:
I am currently looking for a boot manager, is there an option in the Pro Version with root access to manage boot ?
[Android Apps and Games] Oswald Boelcke:
What do you mean by "boot manager". Personally, I haven't heard that expression before. Same applies to the term "to manage boot".
[Android Apps and Games] rinlau:
An option to disable apps from starting during boot, equivalent to "auto-start" at Windows10
[Android Apps and Games] Oswald Boelcke:
Now I understand; thank you. Affirmative, you can do something like that. In my attached screenshots, I used Google Play Store as an example. Just disable the broadcast receiver that state "BOOT_COMPLETED".

I also use (and actual primarily) MyAndroidTools for that (refer also to screenshots). But Android itself (pending on your version; I'm on LOS 16) provides that possibility. Settings => Security & Location => Trust => Privacy Guard => go to Advanced (3 perpenducular dots at top right corner) => go to tab "BOOTUP" => search the application you want to disable start at power up => search for the respective field and tap => set to "Ignore".
[Android Apps and Games] rinlau:
[IMG="SD Maid-App Control"]https://drive.google.com/file/d/1oME7BBm4ZzwPBnPWJQWYIwGtAz4WJWib/view?usp=sharing[/IMG]

---------- Post added at 05:07 PM ---------- Previous post was at 05:00 PM ----------

Thank you, exactly what I have been looking for. I am using OxygenOS and will install LOS, when OnePlus is no longer supporting my 5T. How did you attached those pictures ? Post above is a failed try to attach pictures:confused:
[Android Apps and Games] Oswald Boelcke:
There's an intentional restriction to new members respectively members with very little posts in order to avoid spamming. Just a few references for you with also some good reading for new members:

https://xdaforums.com/showpost.php?p=75859406&postcount=6

https://xdaforums.com/general/general/guide-how-to-xda-forums-threads-t3177670

https://xdaforums.com/showthread.php?t=1699450

I hope that [MENTION=608746]Dark3n[/MENTION] allows me this off-topic post. Please advise if not suitable and we'll delete my post.
[Android Apps and Games] hyborian:
+1 to MyAndroidTools, superb ...
[Android Apps and Games] ImUbedk:
I dont why but due to some reasons the app was not able to identify two videos as duplicates in my realme X2. Both the videos had different name but same size length and resolutions. Still it was not able to identify them and i had to delete them manually.

And the app is very nice lite clean and minimalistic.
[Android Apps and Games] Devione:
Hi there, long time user of this brilliant app.

Long story short i've spent about couple of hours on 2 devices (K20 Pro 12GB ram edition and Mi Mix 2 8GB ram edition) with Android 10 (mostly LineageOS) and only figured out about the new inability to remove system apps. Was literally tearing my hair out as to why until I found out about this.

Is there no hope for this and is this here to stay for the foreseeable future?
[Android Apps and Games] KOLIOSIS:
You're rooted & cannot remove system apps?

Even if you cannot remove system apps while rooted, can you not simply disable them? (IIRC, you need the Pro version to disable &/or remove system apps) ......

Disabling, IMHO, is just as effective, it's not as if you're going to gain any usable space, less resizing partitions.