d4rken-org / sdmaid-se

SD Maid 2/SE is Android's most thorough cleaning tool.
https://play.google.com/store/apps/details?id=eu.darken.sdmse
GNU General Public License v3.0
2.56k stars 388 forks source link

Support Private Space - Android 15 Feature #1364

Open Djfe opened 1 month ago

Djfe commented 1 month ago

Android 15 introduces a new feature: private space. It keeps certain apps hidden unless you unlock a vault that has to be unlocked by finger print or so. I assume SD Maid2 would also need to support this. Especially for the mode that runs unrooted and uses accessibility features. It can't impersonate a fingerprint automatically. The first step could be to ignore apps in the vault. I have no device to test the Android beta on at the moment. But I assume the feature will require some adjustments.

d4rken commented 1 month ago

If anyone knows more details, feel free to add them here. I have not experimented with this yet.

pxatyush commented 4 weeks ago

If private space is same as secure folder of samsung. I don’t think it will be possible. Apps on private space are installed in other userspace(/storage?) so it will be not possible for main userspace installed apps to access those data. Only way out is by adding sd maid in private space too.

Djfe commented 4 weeks ago

as sources on the internet state: it only/mostly hides visibility on the smartphone itself. PC's will be able to see all apps (I assume adb) we will see

https://www.nextpit.com/how-to-hide-your-apps-on-android

As expected, what is created or edited in the Private space cannot be accessed in the regular space, including photos. Better yet, even screenshots of apps in the Private space were only available on the private apps, and could not be seen in the regular account apps.

It is currently not possible to move apps from between the regular and private spaces. Long-pressing an app on the unprotected space while the Private space is unlocked offers an Install in private option which opens the Play Store when tapped, resulting in duplicate apps with different settings and storage (a game, for example, would require to download all data again).

Additional notes:

  • The Private space lock doesn't work to unlock the phone.
  • Google warns that data from the Private space can be accessed if the device is connected to a computer or malware is installed.
  • However, files from the Private space are not listed when plugging the phone into a computer and using the regular "File transfer" USB connection. Even when doing so with the space unlocked.
  • It is possible that using root/superuser/ADB access can reveal private files, but we could not confirm it.