this post was submitted on 09 Jun 2025
347 points (96.5% liked)

Programmer Humor

24079 readers
1007 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lemmyknow@lemmy.today 44 points 2 days ago (3 children)

Say, how come this? I've installed Linux-based OSs onto laptops without much care in the world, yet I feel like trying a custom ROM on Android requires me to check for ROM compatibiliy with my device and brings risk of bricking

[–] deltapi@lemmy.world 16 points 1 day ago

So to provide further context, PCs have tables that can be checked to see what hardware is located where. Phones don't have this, and if you try to query the wrong component or the right component at the wrong address, you can crash the whole device.

PCs were this way too, before PnP/PCI/ACPI tech showed up.

Loading Linux on a Pentium with a bunch of ISA cards was NOT a guaranteed win.

[–] edinbruh@feddit.it 40 points 2 days ago (2 children)

The pc ecosystem is modular by design. The kernel will figure out itself the available hardware, moreover there are only two major CPU manufacturers (in the pc space of course), which means you have only two platforms to support.

Mobile phones instead are not modular, they use SoC. While most common socs are from Qualcomm and mediatek, there are a lot more smaller manufacturers. Plus, even if most often they use the same reference design for compute cores, the rest of the soc is often custom and wildly different from others. All of this to say that the kernel needs to already know exactly how the specific soc of the device works, instead of figuring it out on the fly. Which is why you need to check compatibility.

The brick thing instead is because the bootloaders in these devices are usually very locked down, so sometimes you need to replace the bootloader with a more open one, with all the risks that this entails

[–] drosophila@lemmy.blahaj.zone 20 points 2 days ago

Yeah, I really wish it wasn't like this, but replacing a phone's OS is a lot more like flashing a custom bios than installing an OS on a hard drive.

[–] BigMikeInAustin@lemmy.world 4 points 2 days ago (1 children)

I would think the pre-known hardware configuration would make boots near instant. I never understood why this isn't so.

[–] edinbruh@feddit.it 2 points 1 day ago

The hardware still needs to be brought up and initialised. But the software is the real problem here. The kernel gets fully up in seconds, but then you have to initialize the rest of the OS

[–] MonkderVierte@lemmy.zip 4 points 2 days ago

I think i've read something about (pseudo-)RISC architectures not allowing universal drivers for whole families, each must exactly match to the hardware.