this post was submitted on 20 Aug 2024
141 points (93.8% liked)

Technology

59605 readers
3345 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

Why, instead of safely entering a BIOS setup, does the cell phone brick when installing the Custom ROM wrongly? Wouldn't this protection be better for users? I mean, this could be done through ADB.

Also, do you think it's possible that this way of doing things will come to the computer, with ARM hoping to gain a good share of the market and all?

you are viewing a single comment's thread
view the rest of the comments
[–] aodhsishaj@lemmy.world 3 points 3 months ago* (last edited 3 months ago) (1 children)

A bootloader is a bootloader is a bootloader be it grub or legacy or uefi or coreboot. However most hardware that isn't a phone or an appliance, be it firewall or smartfridge have a BIOS which might be the nature of the original question.

Why's it so goddamned hard to put desktop linux on my phone.

[–] Max_P@lemmy.max-p.me 7 points 3 months ago (1 children)

A functional desktop Linux is hard. Getting desktop Linux to boot and run stuff isn't that hard in itself.

The problem is mostly drivers. They're made for Android specifically, and often for that device specifically as well, so getting them working outside of Android is hard. The second problem is of course manufacturer obstacles, they really don't want you to do that.

Technically getting a kernel and a working framebuffer is fairly "easy", because it's mostly already there, you could just replace the initramfs and run whatever init and software you want. It's getting the GPU to do stuff that's a lot harder. WiFi is alright but cellular is a complete nightmare. A lot of those are Java native libraries, which makes it non-trivial to use outside of the Android Framework. But all the kernel stuff, you already have ready to steal right from the manufacturer, or you can take the ones LineageOS uses. It's only a matter of getting a useful userspace.

And the phone landscape on Linux isn't that interesting, so people's attention have been around improving Android itself as it's much more capable and mature, and is open-source. If Android was closed source we'd have Linux phones already, but for many FOSS entheusiasts, Android is fine and much better polished.

If you're lucky, PostmarketOS might support your device well. If you're less lucky you might get a kernel that boots but you can only get a serial shell to it over USB. If you're unlucky, nothing exists, and you have to do it yourself.

[–] aodhsishaj@lemmy.world 3 points 3 months ago

Oh hey sorry, I agree on all those points. I run a hacked kernel on my phone from the Ubuntu touch days. I know what a binary blob is. I was joking that the OP was asking asking the desktop linux on a phone question.