TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why are there no custom Kernel or Hobby OS projects in mobile hardware?

6 点作者 alraj将近 2 年前
There are countless hobby OS projects in x86 platform, there are also countless resource on how to create a custom OS, but why are there no resource or hobby OS projects in Android phones hardware?<p>I am not talking about PostmarketOS or similar large community projects, just small single person hobby projects.<p>And are there any resourc guide on creating a simple kernel which shows &quot;Hello world&quot; in the phone boot screen like x86 kernel project guides?<p>Can anyone share the links for OS development resource in android phones and resource for understanding android mobile hardware?

4 条评论

saidinesh5将近 2 年前
From the places I have lurked in so far, a lot of effort goes into reverse engineering the drivers etc... on these SOCs. If you were to spend weeks&#x2F;months trying to figure out those details, it kind of makes sense to get mainline linux to run on these devices as opposed to a custom OS with no existing software.<p>If truly custom OS&#x2F;Kernel is what you want, someone was trying to run NuttX RTOS on Pinephone:<p>1) Booting NuttX: <a href="https:&#x2F;&#x2F;lupyuen.github.io&#x2F;articles&#x2F;uboot" rel="nofollow noreferrer">https:&#x2F;&#x2F;lupyuen.github.io&#x2F;articles&#x2F;uboot</a> 2) Writing an LCD Driver: <a href="https:&#x2F;&#x2F;lupyuen.github.io&#x2F;articles&#x2F;dsi2" rel="nofollow noreferrer">https:&#x2F;&#x2F;lupyuen.github.io&#x2F;articles&#x2F;dsi2</a> 3) Getting a basic terminal running using LVGL: <a href="https:&#x2F;&#x2F;lupyuen.github.io&#x2F;articles&#x2F;terminal" rel="nofollow noreferrer">https:&#x2F;&#x2F;lupyuen.github.io&#x2F;articles&#x2F;terminal</a><p>I&#x27;d still recommend trying to port PostmarketOS&#x2F;Ubuntu touch&#x2F;Sailfish OS etc.. to your phone first. That can be a good beginner friendly way to understand what happens on your smart phone: the boot process, software stack etc.. and then you can go deeper by either customizing the software (Boot into a little web browser and call it a web phone etc..)&#x2F;drivers to your liking (Adding features like double tap to wake)&#x2F;trying to port mainline kernel to them.
brudgers将近 2 年前
The least charitable explanation: mobile hardware is designed adversarially with regard to end users. The most charitable explanation is providing access is too much work than can be justified as a business expensive.<p>I think reality is somewhere in between. End users of mobile phones are a threat vector to carrier infrastructure. Phones obsoless quickly because electronics manufacture is so fluid.<p>To put it another way, producing comprehensive technical documentation would probably take longer than the product life cycle of the products documented, and the fat part of the belle-curve of comprehensive documentation use cases is amateur experimentation.<p>In other words, there&#x27;s no reasonable business case for giving you ready access to technical documentation and a lot of reasonable business cases against it.<p>I am not saying this is good. Not saying it is bad. It just is and therefore is not worth having an opinion on because I am not in a position to change it. Probably noone is, it&#x27;s too complex.
jacquesm将近 2 年前
Because the hardware is usually locked down much more than a typical PC and there is far less documentation. So the barrier to entry is substantially higher than for OS development on PCs.
评论 #36984229 未加载
codegladiator将近 2 年前
<a href="https:&#x2F;&#x2F;forum.xda-developers.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;forum.xda-developers.com&#x2F;</a>