6
submitted 3 weeks ago* (last edited 3 weeks ago) by gandalf_der_12te@discuss.tchncs.de to c/asklemmy@lemmy.world

Consider i have a phone, and it's bootloader is unlocked. What is the worst that could happen?

I'm interested in the security aspect of it. Consider you're detained by the police, and they want access to your phone. Can they get access if the bootloader is unlocked?

What is the role of the password? I.e., i'm using a 4-digit PIN for my phone today. Can the phone's data be secured against police force if they get physical access to the phone?


To further elaborate:

I'm well aware of the XKCD:

I'm wondering, apart from applying physical force, what are the surveillance aspects? Could somebody sneakily install spyware on my phone that can read all files on the phone's internal storage if they get a physical hold of it for (let's say) 15 minutes?

you are viewing a single comment's thread
view the rest of the comments

Thank you for your comment.

I assume using a password is better than using a PIN/pattern (as you said) because it has more entropy.

IIRC Android actually encrypts all userdata by default nowadays but it only encrypts userdata and not the system partition.

So if an attacker got access to the phone, they could install an update on the system partition that includes spyware and then spy on my password next time that i enter it. So once an attacker got a hold of my phone, i should assume they installed spyware on the system partition and the phone is no longer trustworthy. In that case, i'd have to flash and reformat the whole phone.

(If i re-lock the bootloader, it has the advantage that i'd be notified if an attacker wrote updates to the system partition because all userdata would be wiped.)

[-] WhyJiffie@sh.itjust.works 0 points 2 weeks ago

(If i re-lock the bootloader, it has the advantage that i'd be notified if an attacker wrote updates to the system partition because all userdata would be wiped.)

are you sure that makes the data wiped? as I know, locking itself wipes, but it is not possible to write partitions anymore with standard tools, and the bootloader will check signatures with dm-verity (a linux tool) and if it doesn't match it'll just refuse to boot

[-] gandalf_der_12te@discuss.tchncs.de 1 points 2 weeks ago* (last edited 2 weeks ago)

no, locking itself doesn't wipe. unlocking wipes. at least on most devices.

this post was submitted on 24 Jul 2025
6 points (100.0% liked)

Ask Lemmy

33967 readers
468 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS