Re:Google sued: Idle Android eats mobile data to send teleme...
by yencabulator on Wednesday November 18, 2020 @08:11PM
(#25145038)
I think the missing part is generating your own key inside the secure boot mechanism, and the disk encryption being tied to that. Evil maid re-unlocks it -> encrypted data is lost.
(I believe this is an example of an evil maid attack, although that name for it is somewhat new to me.)
A locked bootloader would prevent such code from being installed, or at least refuse to run it.