Writing a Phone OS

Hello, I have a Motorola Droid 2 Global Android phone that I am no longer using. What I want is a basic phone with a big screen and a physical keyboard. I like texting.

I don't expect someone to write me an operating system, however if someone could tell me if
1. It's possible
2. I can do it with C++
3. some helping foundation tips.

I have Visual Studio 2015, so if you can help me write the program basing off that editor that'd help, however I am open to downloading other editors such as code block, and whatever else exists that would be more practical, or work better for your explanation. In low priority preference I'd like to do Visual Studio 2015. The processor is:
"1.2 GHz TI OMAP processor with dedicated graphics processor loads Web pages 40 percent faster than the original DROID by Motorola." - from Amazon.com

So my basic operating system will have 5 or so features. Literally everything I want it to do, without any additions is:
1. Power on and off with the power button at the top, when held down.
2. Only display with the screen (No touch input)
3. Be able to text with the physical keyboard (even if I can only use a-z, space, and backspace)
4. Save at least 10 received text messages with the number that sent the text
5. Have a notification if a new text is received
6. Allow me to answer incoming calls, and display the number calling
7. Charge with the Micro USB slot
8. Call, and receive calls.
9. Have a sleep mode.

I don't need:
1. The camera to work
2. I don't need the volume adjustment to work,
3. I don't need the FN function to work (To get special characters)
4. I don't need the laser touch controls to work

If I was to list every single Piece I need to work it would be:
1. Top power button
2. charging port
3. Microphone
4. ear speaker (Not the speakerphone speaker)
5. a-z, space, delete/backspace key, enter key

Basing off a console application like windows systems theory, in a psuedo code design I would want it to look like this:

Start
prompt user to make outgoing call, send text, read texts.

If make outgoing call
...prompt user for number to call
...when call ends, go to start

If send text
...prompt user for number to text
...promp user for message
...send text
...go to start

If read texts
...prompt user for which text to read (qwertyuiop; or 1-9 and 0)(q = 1; w = 2; ect)
...switch(or if)
......case 1 (q)
.........display most recent text
.........wait for keypress
.........go to start
(Cases for every available text.)
1. It's possible
The bad news: No, you probably won't finish it in your life time.
The good news: You don't need it. Linux is your friend. Android is based on linux.

So research for an embedded linx distribution, download it, and make it work for your device. Don't think it will be too easy.

The rest will be rather straight forward.
Thank you very much @coder777. I will try and build based off of a Linux Kernel like android seems to have been from what you said.
Basically Android runs in a linux environment. You need root access to get there. So you mght even remove Android from linux.
Topic archived. No new replies allowed.