PeterCxy / Shelter

SThis repository is a mirror of https://gitea.angry.im/PeterCxy/Shelter
https://gitea.angry.im/PeterCxy/Shelter
GNU General Public License v3.0
2.29k stars 182 forks source link

Feature request: unfreeze all #250

Open Efenstor opened 1 year ago

Efenstor commented 1 year ago

If would be great if there would be a function to unfreeze all frozen apps, because they need to be unfrozen in order to be updated (e.g. via Aurora Store). Currently I have to do it one by one.

dp0s commented 1 year ago

I would like to have this feature a lot.

You can also create a batch unfreeze shortcut manually instead of doing it one by one, but it does not update to apps installed in the future.

Anyway, I think the developer is not reading these issues, but wants to be contacted via a mailing list?

schklom commented 1 year ago

I install the apps on the main profile as well, restrict their battery usage to the maximum, disable their permissions, and update them on my main profile.

This way, the frozen apps on the work profile also get updated.

It takes more disk space, but at least I don't have to unfreeze apps one by one.

Efenstor commented 1 year ago

I install the apps on the main profile as well, restrict their battery usage to the maximum, disable their permissions, and update them on my main profile.

This way, the frozen apps on the work profile also get updated.

It takes more disk space, but at least I don't have to unfreeze apps one by one.

And after the update how to bring the updated versions back to the work profile, other than one by one?

Also this approach may nullify the Shelter's protection against access to personal data. Or may be not. As far as I know an app cannot autostart right after installation. Anyway I wouldn't install an unsafe app into my main profile.

schklom commented 1 year ago

App core files are shared, you cannot have different versions of the same app in different profiles.

App data however is not shared, that is why Work profiles are useful. This does not reduce security or privacy at all. The only downside is more disk space is used.

I don't understand how autostart is related to this.

dp0s commented 1 year ago

I think the problem is that when an app including spyware is installed in the main profile, you need to be sure it can't autostart by any means. If this is possible this could be a useful work around for updating apps on the work profile trough the main profile (which works on my device as schklom explains)

Apart from updates, I also need to backup all app data from my work profile from time to time, where an unfreeze all button would still be a big advantage.

schklom commented 1 year ago

you need to be sure it can't autostart by any means

If your phone is rooted, this is doable with https://apt.izzysoft.de/fdroid/index/apk/io.github.muntashirakon.autostarts. Some phones also have a system in place to handle autostarts. But this is not general, so yeah a "unfreeze all" button would be great.

Apart from updates, I also need to backup all app data from my work profile from time to time, where an unfreeze all button would still be a big advantage.

You are right. I use Seedvault on my phone to handle system backups, and frozen apps are not there. I made an issue on the repo (https://github.com/seedvault-app/seedvault/issues/518). Do Google backups also not include frozen apps?