[Q] How do companies like HTC & Samsung build android frm scratch - General Questions and Answers

Dear Sir,
Lets say I want to start a company which sells android phones. For which I need to choose a chipset and then integrate the necessary hardware which suits the chipset. I also understand that some of the following software needs to be developed for the device and some the software is already available. I want to assemble a device on my own and build a custom ROM based on android. I want to know what is provided by the hardware manufacturer's and how can I assemble them to create my own rom. How do I edit the software provided by the hardware manufacturer to fine tune the device according to my needs.

vijay.canvas2plus said:
Dear Sir,
Lets say I want to start a company which sells android phones. For which I need to choose a chipset and then integrate the necessary hardware which suits the chipset. I also understand that some of the following software needs to be developed for the device and some the software is already available. I want to assemble a device on my own and build a custom ROM based on android. I want to know what is provided by the hardware manufacturer's and how can I assemble them to create my own rom. How do I edit the software provided by the hardware manufacturer to fine tune the device according to my needs.
Click to expand...
Click to collapse
First,
download the AOSP source.
Then, create a device tree.
After that, make your vendor, with blobs and drivers.
Then compile.
I could go really in depth here but this says it all perfectly: http://source.android.com/devices/index.html

I want to learn android
Sir, I want to learn.
Will you be able to teach me.
I can setup the environment and download the source from Google.
I would like learn what are hardware specific things needed and where to put them and what changes have to be made.
I would also like to know how we can change Icons, replace default apps and root level integration of apps like launcher & keyboard.
How to compile, debug and create image files like the stock rom.
Sir can you please share your knowledge and help me learn android.

vijay.canvas2plus said:
Sir, I want to learn.
Will you be able to teach me.
I can setup the environment and download the source from Google.
I would like learn what are hardware specific things needed and where to put them and what changes have to be made.
I would also like to know how we can change Icons, replace default apps and root level integration of apps like launcher & keyboard.
How to compile, debug and create image files like the stock rom.
Sir can you please share your knowledge and help me learn android.
Click to expand...
Click to collapse
I would but I have almost no time :s just pm me if you have questions.

It would be very difficult...
Sent from my MI 2S using XDA premium mobile app >,< (fake)

Related

[Q] ROM cooking for LG P500(Optimus One) from level 0?

Hey I know languages C,c++, Java, some python.
I have never developed in Android environment.
Can anybody please tell me sted by step that how can I start building my own rom, from Android source code.....also tell me all the stuff I need to download before starting(LG Source, android source, IDE etc etc).......also tell me that are there any handset specific requirements for each rom or you can just put it like an operating system on anyone?
Eg. If I happen to get hands on ROM of Galaxy Fit can I run it on my LG P500, like we can install any operating system on computers.
Guys be patient with me I am a n00b at mobile dev.
Thanxx

[Q] How to create my own rom.

Hi,
I'm following the Nexus S Android Development for 6 month now and Rom and Kernel flashing is a a real addiction for me (I flash everyday).
And, since the beginning i want to create my own Rom.
At first, I want to build one from another one (Cyanogen or another).
So, If someone can give me tutos, tools, tips and advices, I'll be very grateful.
Thanks to everybody, waiting for your help.
http://lmgtfy.com/?q=how+to+create+custom+rom?
Sent from my Nexus S 4G using xda premium
Thank you...
[email protected]_OC said:
Hi,
I'm following the Nexus S Android Development for 6 month now and Rom and Kernel flashing is a a real addiction for me (I flash everyday).
And, since the beginning i want to create my own Rom.
At first, I want to build one from another one (Cyanogen or another).
So, If someone can give me tutos, tools, tips and advices, I'll be very grateful.
Thanks to everybody, waiting for your help.
Click to expand...
Click to collapse
Hey you know i find myself sharing this exact interest as you. Let's collaborate and learn this Create A ROM Project
Notice to see the motivation to create a new ROM.
How good are your Linux skills? If you want to do it all properly I suggest you try and build your own AOSP ROM first (from the Adroid Open Source Project).
This is the place where Google publishes the Android source code files. Actually the site is fantatic and guides you through the entire process, but it does require you to understand the basics of the maketools in Linux.
Once you've been able to compile the source, you'll actually have a perfect stock ROM version of Android. Then, you can start doing advanced things to it. Add a different Kernel, add apps, install tweak scripts etc etc etc, the options are endless.
http://source.android.com/source/index.html
Good luck and have fun, because it is
Greetz
-
sippinalizay said:
Hey you know i find myself sharing this exact interest as you. Let's collaborate and learn this Create A ROM Project
Click to expand...
Click to collapse
I think it could be a great idea.
frutelaken said:
Notice to see the motivation to create a new ROM.
How good are your Linux skills? If you want to do it all properly I suggest you try and build your own AOSP ROM first (from the Adroid Open Source Project).
This is the place where Google publishes the Android source code files. Actually the site is fantatic and guides you through the entire process, but it does require you to understand the basics of the maketools in Linux.
Once you've been able to compile the source, you'll actually have a perfect stock ROM version of Android. Then, you can start doing advanced things to it. Add a different Kernel, add apps, install tweak scripts etc etc etc, the options are endless.
http://source.android.com/source/index.html
Good luck and have fun, because it is
Greetz
Click to expand...
Click to collapse
Thank you for your help and advise, i will look into it. I'm a novice concerning linux but i can learn fast.
Thank you again.
oh thats great

Dont know where to start

Hi every one I dont know where to start i want to make my own rom from source,build it,modify it etc.But i dont know where to start.I know how to build rom from source(learned it from the tutorial on source.android) but i dont know what do those codes mean.i searched on google but cant find an easy tutorial.If i build rom from source how do i make it work on my phone.How do i FIX bugs on my roms,modify it Help please
Check out the chef central section under android. There are a lot of great people working on making development accessible.
For a pure AOSP ROM you are going to have a bit more work, but be rewarded in the end. There is also cyanogenmod and other custom distributions you can build from source and modify.
If you are familiar with C and Java programming you can dig into the actual development more by writing apps or changing source code. If you don't you may want to start on that road. Other wise you will be basically cutting and pasting from everyone else, which doesn't get you any credit.
Themes are also a good place to start. There are lots of good guides in the theme section and people are willing to help if you ask nicely and appropriately.
I have done a bit of this foot work and come to the conclusion, I need to learn programming then come back to source. It is overwhelming to take on an entire operating system in a foreign language, especially when that language has to be perfect to function!
Good luck in your endeavors. Feel free to hit me up for the little knowledge I have!
Sent from my PC36100 using xda premium
But! where to learn
First i want to learn the basics of Rom
are you familiar with Java, C and C++? These are going to be very useful in understanding the "codes" as that is what they are written in. You are also going to have to build AOSP specific for your device, which will require adding your device to the device tree and extracting the necessary drivers and files that are specific to your device. Cyanogenmod has many devices already added to their github and you would simply clone the folder for your device, then build AOSP source and issue make using the device specific folder.
THIS is a helpful tool, and yes it will compile pure AOSP as well.
THIS is also a very helpful tutorial, and you can modify instructions to work for Gingerbread.
If you just want to learn to build and modify the source start with Cyanogenmod build from their source first. You can also build the kernel if you choose but that is a bit more complicated. After you have both of those building without errors then start making changes that you want to see.
The CM Wiki has some good info http://wiki.cyanogenmod.com/wiki/Building_from_source
http://wiki.cyanogenmod.com/wiki/Building_Kernel_from_source

How to create android kernel if I am creating a new android device

I am creating a new android device and want to create a kernel for it, how can I create it? Almost every guide and tutorial suggests to download a kernel source from the device's developer site for the particular device, but what if I want to create a new one?And how can I do it?
yuvraj_reckon said:
I am creating a new android device and want to create a kernel for it, how can I create it? Almost every guide and tutorial suggests to download a kernel source from the device's developer site for the particular device, but what if I want to create a new one?And how can I do it?
Click to expand...
Click to collapse
Wait.. So you're​ telling​ that you are creating your own phone?
psxda97 said:
Wait.. So you're​ telling​ that you are creating your own phone?
Click to expand...
Click to collapse
Exact sir
yuvraj_reckon said:
Exact sir
Click to expand...
Click to collapse
First, you need to decide exactly which hardware components to use, then find out which Linux kernel drivers those components require. How the kernel is built and what it contains depends on the hardware in the device.
Really, it would be better to ask this question somewhere else other than XDA, XDA deals with custom development and modifying existing stock firmwares, not with building source code for a device from scratch.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
First, you need to decide exactly which hardware components to use, then find out which Linux kernel drivers those components require. How the kernel is built and what it contains depends on the hardware in the device.
Really, it would be better to ask this question somewhere else other than XDA, XDA deals with custom development and modifying existing stock firmwares, not with building source code for a device from scratch.
Click to expand...
Click to collapse
Thank you sir..... I have started building it

Best tablet for custom android development?

Hi,
I‘m looking for a tablet as a development platform for gettting into custom android firmware development. What device (current or discontinued) is the most painless to compile a custom rom for with a current android regarding unlocking and driver support in 2021?
I‘m an electronics engineer and have worked on firmware for arm microcontrollers and did some kernel development for embedded linux (yocto) before.
I have the idea of creating an open source custom android for elderly people and small children that is pretty much locked down and has a simplified interface without cryptic messages. All settings, app installation and user support should be done from an app on another device. I think all the building blocks for this exists, I just want to put them together in one package. If you have suggestions for an existing base rom to build this on I‘d be happy to hear about it.
Cheers,
Rick

Categories

Resources