this post was submitted on 05 Sep 2025
108 points (100.0% liked)

Linux

12985 readers
210 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

I am seeing a growing discussion on the need for more Linux phones in the market given Google's problematic behaviour w.r.t the changes that will be introduced to that OS.

One very good point that some community member raised was that Android itself wasn't the problem but the locking of the bootloader in the phone. If the bootloader could be unlocked, then it significantly lowers the bar for the end user to install their OS of choice.

I have dabbled with flashing OSs in old smartphones (GrapheneOS, Post market and Lineage). I commend the developers because I could do that without truly having to "understand the code" at the lower levels. But I assume that was possible because the boot loader could be unlocked somehow*. It seems that isn't the case with many/most phone fro. Samsung / Xiomi, etc.

Are their bootloaders truly unlockable? Is it simply impossible to unlock and relock bootloaders?

  • I know that with lineage, the bootloader couldn't be relocked and that was touted as a security flaw. If someone could explain why this lock/unlock is so complex, I'd appreciate it.
you are viewing a single comment's thread
view the rest of the comments
[–] MTK@lemmy.world 12 points 2 days ago (3 children)

Great answers here, just gonna add that practically everything is hackable, it's just a question of how hard and what level of access is needed.

Sometimes to hack a device you might need to remove parts and solder in replacements, and that is already a level that is unrealistic for most.

Sometimes it's worth the trouble:

https://www.youtube.com/watch?v=dT9y-KQbqi4

[–] hendrik@palaver.p3x.de 11 points 2 days ago* (last edited 2 days ago) (1 children)

I'd be willing to (mildly) disagree here. We had lots of locked bootloaders in the early days of Android. Lots have never been hacked. Same for secure boot on computers and other cryptographic means. It's more a theoretical thing if you have 2 years to spend on coding and replace half the phone with soldered parts. I'm pretty sure that level of dedication makes almost everything hackable. But in practice, we have lots of things that make it so difficult, it's never going to happen in reality.

I guess it's okay while we still have alternatives available. I mean as long as there are some hackable phones, we can just buy those.

[–] MTK@lemmy.world 3 points 2 days ago (1 children)

Yeah, I agree, I guess I just didn't specify that the scale is from running a simple command all the way to needing a dedicated team with hundreds of hours and millions of dollars.

A locked bootloader from a company that did it well and will actively protect against unlocking it can be near impossible for a single person with reasonable budgets to bypass.

[–] hendrik@palaver.p3x.de 7 points 2 days ago* (last edited 2 days ago)

Yes. I'm always amazed how people constantly find ways to jailbreak Apple devices, and they're a massive company and not that bad at locking down their stuff... Or how we hacked most of the gaming consoles out there, while Nintendo/Sony/... are super incentivised to make it impossible. Sometimes it takes quite some time, but someone will find a way. Though that's a bit more common with widespread devices. Sometimes I'll try to find a privacy-respecting tablet and there isn't even a single aftermarket operating system at all for a recent model and then I'm a bit disappointed in what we can achieve as a community.

[–] iglou@programming.dev 3 points 2 days ago

I'll add "how expensive" to the list. Sometimes you'll have to burn through devices.

[–] racketlauncher831@lemmy.ml 2 points 2 days ago (1 children)
[–] MTK@lemmy.world 2 points 2 days ago (1 children)
[–] racketlauncher831@lemmy.ml 1 points 2 days ago (1 children)
[–] MTK@lemmy.world 3 points 2 days ago

Oh, didn't know they named a company after me, cool