sdmaid icon indicating copy to clipboard operation
sdmaid copied to clipboard

Work profile / multiple users

Open JonnyTech opened this issue 4 years ago • 4 comments

Does SD Maid's AppControl support multiple users in the Android work profile created by apps such as Shelter?

JonnyTech avatar Apr 20 '20 16:04 JonnyTech

I have not tested it. I'm not exactly sure how the work profiles work. You'll likely have to try it.

d4rken avatar Apr 24 '20 16:04 d4rken

Thanks for your reply. I did test but it did not show anything from the work profile user. Hence my (poorly worded) question as to how, if at all, to enable it. But you have answered clearly. Is it on the roadmap?

JonnyTech avatar Apr 24 '20 17:04 JonnyTech

I think it’s difficult to get the internal and external storage path of work profile within main profile using get env method. If i’m wrong, pls point out. But i if we can add the internal (/data/user/userid) and external (/data/media/userid) storage path of work profile manually in sd maid, like add second storage , then we can clean the files of work profile with root.

redjumper avatar Jan 19 '21 14:01 redjumper

Thanks for your reply. I did test but it did not show anything from the work profile user. Hence my (poorly worded) question as to how, if at all, to enable it. But you have answered clearly. Is it on the roadmap?

It is not working. I have tried to clone SDMaid into work profile but i was unable to use the accessibility service in Work profile. Moreover, i can see what needs to be cleaned (like cache contents) in work profile but i cannot do it. How can we help for this to be completed and done so we can clean leftowers in all profiles?

I am using Android 10 on fairly recent Motorola phone. I am not using rooted phone nor i have custom rom.

ghost avatar Aug 17 '21 09:08 ghost

I have a problem that SD Maid also cleans data under /data/app/~~ID_2ND_USERACCOUNT~~ which it should not do in my opinion. Is there a way to limit the cleaning to the active user? Or at least try to check the contents of the second user's account before deleting stuff from apps that are not installed in the primary user and hence will be found by the corpse finder?

elhennig avatar Feb 09 '23 15:02 elhennig

This should be supported in SD Maid 2/SE now: https://github.com/d4rken-org/sdmaid-se

d4rken avatar Apr 17 '23 13:04 d4rken