![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/ca9b0de3-205f-47ca-a620-5fbddb680695.png)
That’s not how that works. There’s special access to some apps that get unencrypted right at boot. That’s how your phone can reboot in middle of the night and your alarm will still go off despite you doing the initial unlock. Find my device also has that ability.
See the “ACTION_LOCKED_BOOT_COMPLETED” permission for how it works.
Android is an OS on top of Linux lol, and none of what you said is true.