Answer the question
In order to leave comments, you need to log in
How to write an OS for a smartphone from scratch?
Hello! I wanted to write an OS for a smartphone, but I did not find any information on this topic at all. I would be grateful if you could explain the difference between developing operating systems for desktop and smartphones.
Those who fumbles in it share sources.
Ps I know: Assembler, C, C++, C#, Python.
Answer the question
In order to leave comments, you need to log in
In general, developing an OS for a smartphone will be different from developing an OS for a desktop in the sense that you will need to reconsider the approach to working with hardware.
The main difference between mobile hardware and desktop hardware is the presence of restrictions on the amount of energy consumed and dissipated.
Your task will be to find the best way to use the hardware capabilities of your smartphone. For example, send everything that can be hibernated when nothing happens to the smart. Respond to hardware interrupts, etc.
Plus, the smartphone requires a guaranteed response time. It is not rigid, for example 100ms, but the smartphone must respond to button presses, regardless of which application is currently running.
I would recommend taking some promising family of devices with an eye on 5 years and sawing for it.
Look at RTOS , RTX for inspiration . Beware of the Android and Tizen code, they are based on Linux with all its sores.
First write an OS like DOS on a PC , and then take on mobile phones. Follow the link https://www.bloomberg.com/news/articles/2018-07-19... read that Google has been developing a replacement for android for 2 years, and there is a whole team of developers, and you alone are going to do it. You will not make a worthwhile OS for a smartphone, even for the rest of your days, on your own without someone's help. Start making it on github, and connect others
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question