I have in the post (the purpose of compiling android source code is valid http://bbs.csdn.net/topics/360094916) seen this problem, but still does not solve my doubts. Some people say that in order to compile the android source code to customize the system, I have the following questions:
1 How to compile the source code to implement custom? I read some information, it seems that it compiled directly download the source code, then compile something out of everyone not all the same? How to customize it?
2. Before compiling the source code if you want to be cut? How to crop? Is it because the source is cropped just want to compile source code?
3 to get the system in addition to the compiled source text and image pieces system.img userdate.img, I see there are tools in the SDK to generate some data, SDK to compile source code generation tool is it?
Novice wing boss also hope you, thank you!
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
The first feeling you made a mistake referent called to compile the source code should be mainly refers to the engineering source code (ie, mobile phone manufacturers to build the entire rom code, including kernel, drivers, middle layer, a different code for each different chip manufacturers, framework, and applications, etc.) The source code than Google to release a lot richer and better target Google's set of source code is not implemented is empty
Do not know this, understand, because Google generates source code in addition to the simulator, feeling like no other to achieve (for example, many can not be achieved in the simulator)
Second, in order to obtain the compiler source code is usually hidden api, api sdk provided because some are not provided, but it does exist in the source code can be compiled by
Secondly, the mobile phone manufacturers are sure to compile source
Also some what some fans may also compile change something to play
Others leave it to others to add it
Reply:
Q1. How to compile the source code to implement custom? I read some information, it seems that it compiled directly download the source code, then compile something out of everyone not all the same? How to customize it?
A: First, on the premise that you customized source code is modified, whether you changed anything can be called a custom, as the custom of doing, there are two possibilities, one is you are selling android devices, but you are a folk rom development expert
Q2. Before compiling the source code if you want to be cut? How to crop? Is it because the source is cropped just want to compile source code?
A: Source which is divided into multiple folders vender which is what you need to add something, generally do not need to cut, unless you want to get rid of some of the things the system, another kernel drivers are needed, such as the manufacturers own custom.
Q3. Compiled source code to get the system in addition to text and image pieces system.img userdate.img, I see there are tools in the SDK to generate some data, SDK to compile source code generation tool is it?
A: Yes (should be)
Also upstairs is right to say
Reply:
Thank you upstairs enthusiastic answer, I probably got it, but I want to ask about the second floor, assuming that I was selling android devices, I need a run on my device android system is not necessary in the source system customize my driving, cutting some unnecessary stuff, and then compiled to get my customized system, the process is not like that?
System customization process is not so: Get source code -> modify the source code (including modifications and cropping) -> compile the modified source code -> get the target system file -> Transplant System -> Test Successful -> Done?
Thank you!
Reply:
Yes, the basic process is like this one!
Reply:
Think of someone like me, for this kind of thing in question,
The study, thank you question the landlord of this problem. .
Common progress. .

No comments:
Post a Comment