Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How can I write my own smarthone OS?

  1. #1
    Join Date
    Oct 2010
    Location
    Greece
    Beans
    238
    Distro
    Ubuntu 11.04 Natty Narwhal

    How can I write my own smarthone OS?

    I would like to create my own smartphone OS. I know C, C++ and I am currently working with assembly. I am completely clueless, how can I get started?

  2. #2
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    8,040
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How can I write my own smarthone OS?

    I would study Android and build a toolchain to run and develop Android on your desktop or laptop. If that is not hardcore enough, I would look into webos, maemo, or meego, or any of a handful of OS's that are Waiting for Godot.

    (Hint: Godot never comes.)
    Last edited by tgalati4; May 12th, 2013 at 01:30 AM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  3. #3
    Join Date
    Oct 2010
    Location
    Greece
    Beans
    238
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How can I write my own smarthone OS?

    So what you are suggesting is taking the source code of an existing smartphone OS and tweaking it? Also I did not understand that part with waiting for Godot

  4. #4
    Join Date
    Mar 2006
    Beans
    393

    Re: How can I write my own smarthone OS?

    I suggest you start by learning MINIX. MINIX was created by Andrew S. Tanenbaum to teach the concepts used in operating systems.

    And for those with insatiable appetites for trivia, here is Linus Torvalds 's announcement of Linux on the MINIX newsgroup.
    Just my 0.00000002 million dollars worth,
    Shawn

    Programming is as much about organization and communication as it is about coding.

  5. #5
    Join Date
    Oct 2010
    Location
    Greece
    Beans
    238
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How can I write my own smarthone OS?

    Thanks for the reply, but can you be more specific about "learning MINIX?" I found this book 102-1327526-9316154 and it sesms like a good introduction in operating systems but I don't know if it will help me on developing for mobile.

  6. #6
    Join Date
    Mar 2006
    Beans
    393

    Re: How can I write my own smarthone OS?

    Quote Originally Posted by stamatiou View Post
    Thanks for the reply, but can you be more specific about "learning MINIX?" I found this book 102-1327526-9316154 and it sesms like a good introduction in operating systems but I don't know if it will help me on developing for mobile.
    It's a great book; I have the 1st edition of it. All OSes are essentially the same. Learn one will give you a solid foundation to understanding how they might work on mobiles.
    Just my 0.00000002 million dollars worth,
    Shawn

    Programming is as much about organization and communication as it is about coding.

  7. #7
    Join Date
    Oct 2010
    Location
    Greece
    Beans
    238
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: How can I write my own smarthone OS?

    So I could for example study the code of MINIX and add support for phone hardware?

  8. #8
    Join Date
    Mar 2006
    Beans
    393

    Re: How can I write my own smarthone OS?

    Quote Originally Posted by stamatiou View Post
    So I could for example study the code of MINIX and add support for phone hardware?
    With effort. The reason for studying MINIX is to understand OSes in general. I don't know enough about mobile to know how big a task it would be. But from what I know about OSes and programming in general, I can definitely say it's not a weekend project.
    Just my 0.00000002 million dollars worth,
    Shawn

    Programming is as much about organization and communication as it is about coding.

  9. #9
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    8,040
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How can I write my own smarthone OS?

    Since Android has a large user base and will probably be around for a while, it's worth spending some time to understand the Linux-like kernel that Android runs on. Ubuntu phone will probably run on the Android kernel as well, so that is another phone OS to study. Once you understand Android, you can compare it to Maemo, Meego, WebOS and several other phone operating systems so you can see the similarities and differences. When you have that knowledge, then you can start writing your own phone OS.

    Or start with a blank page and just start coding.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  10. #10
    Join Date
    Nov 2012
    Location
    Thousand Oaks, CA, USA
    Beans
    321
    Distro
    Ubuntu Development Release

    Re: How can I write my own smarthone OS?

    Well, first off, finish learning Assembly and then practice using Assembly in home-made hardware using transistors, resistors, etc. Once you have some experience under your belt with using Hardware AND Assembly, then you could begin learning how to implement C alongside Assembly properly. Once that step is accomplished, and you have a bare-bones computer, you could develop a GUI for your machine.
    Check out this link: http://www.homebrewcpu.com/construction.htm

    Of course, that process above might take years, and as much of a painstakingly hard time it is to get such a meager harvest (4-8bit CPU @ ~1Mhz) you'll have a new found respect for the old fogies back in the 70's and 80's that had to put up with this crap.

    However, fortunately for you there is such a thing as an internet with bountiful information to save you from this hell. what is this thing that will save me you ask? Why, it's LinuxFromScratch of course!
    http://www.linuxfromscratch.org/

    Remember, Android uses the same kernel as Linux, so do not think for one second that LFS is only for desktops. And most importantly, patience is important and DO NOT CUT CORNERS!

    Goodluck!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •