[Q] How to build source tree for nexus one? - Android Software/Hacking General [Developers Only]

I downloaded the source tree for android 2.2 from source.android.com. However, I can only make generic. How can I build an android 2.2 for nexus one? Thanks.

alex_hotmail said:
I downloaded the source tree for android 2.2 from source.android.com. However, I can only make generic. How can I build an android 2.2 for nexus one? Thanks.
Click to expand...
Click to collapse
You may want to check out: http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Passion
It may not be totally "generic" but its pretty close and may give you more information on how to build direct AOSP.
I hope that helps!

Related

[Source] Samsung released updated source (2.3.6)

I noticed source update1 for the i727 at opensource.samsung.com. Downloading now, I haven't had a chance to see what it contains.
Version 2.3.6
What does this means?
Freddy2Fred said:
What does this means?
Click to expand...
Click to collapse
Not much, unless you are wanting to compile Gingerbread from source. If it contains UCLA3 updated source, it might help some of the developers of the latest ROMs to tweak their builds.
Stupid question: Do these have the actual source code in them? What I mean is that can I download this and look at the code and learn about how an Android OS works?
dvandam said:
Stupid question: Do these have the actual source code in them? What I mean is that can I download this and look at the code and learn about how an Android OS works?
Click to expand...
Click to collapse
If you are interested in generic android source, you'd be better off going to source.android.com. The samsung source is not full android source, only source that is specific to the device.

How to Build I717 from original android and samsung source

Hi,
Im new with android develoopment so please bear with a n00b. can someone guide me how to build ics rom using the source provided by samsung..
I have downloaded the original android ics source and samsung's source.. I can build the android source but I dont know how to plug in the samsung code. Unfrotunately, sammy's documentation is insufficient probably about 10 lines, just says to overwrite the android source and do a make. But when I run make I get errors...
I've been looking at the forums most of them build from the cm10 source, but I want to build using the original. Figured I would learn more if I tried to build it from the actual sources..
Appreciate any help. If I learn, I would definitely pay it forward by contributing whatever I can to the community..
Thanks
You need to post this in the Galaxy Note phone section.
Wrong section. 1) Dev sections are for builds and modifications. 2) wrong device thread. This is for the galaxy note 10.1 tablet.
Sent from my GT-N8013 using xda premium
n00b13 said:
Hi,
Im new with android develoopment so please bear with a n00b. can someone guide me how to build ics rom using the source provided by samsung..
I have downloaded the original android ics source and samsung's source.. I can build the android source but I dont know how to plug in the samsung code. Unfrotunately, sammy's documentation is insufficient probably about 10 lines, just says to overwrite the android source and do a make. But when I run make I get errors...
I've been looking at the forums most of them build from the cm10 source, but I want to build using the original. Figured I would learn more if I tried to build it from the actual sources..
Appreciate any help. If I learn, I would definitely pay it forward by contributing whatever I can to the community..
Thanks
Click to expand...
Click to collapse
Wrong forum and building pure AOSP for Samsung non-Nexus devices is impossible, too many framework changes needed. Android userspace is Apache licensed so this is unfortunately legal.
Sent from my GT-N8013 using Tapatalk 2
Thread Moved​
Please post in the correct section.​

[Q] What device tree I can use for Qumo Quest phone

Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
rippak said:
Hi there!
I want to compile CM 10.1 for my phone, but stucked with device tree and i don't know what tree to choose for this.
Phone mentioned in the subject is Qumo brending of chinese i9220 PAD 5" MT6575 (e1809c_v75) Android 4.0.3
Great thanks if anyone can help.
PS. Sorry for my English.
Click to expand...
Click to collapse
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
zelendel said:
I dont think there is one for that as that is not an official version of Android. Very few China based Android phones are supported by AOSP. You may have to start it yourself if you want it. The first thing you will need to do is have the OEM post the kernel source code for the device. This will be your biggest challenge. As most China OEM dont respect the GPL laws
Click to expand...
Click to collapse
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
rippak said:
Ok
What if there is no source of kernel? Can I use compiled kernel (3.0.13) from current firmware (4.0.3) or this is impossible?
Click to expand...
Click to collapse
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
zelendel said:
Without kernel source your kinda out of luck. No that kernel will not work on AOSP as that 4.0.3 is not an official android version. It is a hacked together version. Your best bet would be to sell it and get something that is not a knock off.
Click to expand...
Click to collapse
Just for fun: wrote to "developer" for sources.
rippak said:
Just for fun: wrote to "developer" for sources.
Click to expand...
Click to collapse
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
zelendel said:
Got to write to the OEM. Only they will be able to release the kernel source. Good luck. Dont hold on to hope though. They are not forced to post kernel source like everyone else.
Click to expand...
Click to collapse
Don't you know is it real to compile with another kernel for same CPU MT6575?
Found some links to kernel sources for other phones - seems to be working for different devices.

[Q] Building AOSP (not CM) for the OPO, is it possible?

Hi, I've just received my OPO on the 27th. I was really interested in Android development when I had my Nexus 5 and started building my own AOSP ROM, I've been looking into doing the same for the OPO but am unable to find an actual way of building AOSP with Google's code. I know OPO released their AOSP kernel source here: https://github.com/OnePlusTech/android_kernel_oneplus_one and CyanogenMod has thiers here: https://github.com/CyanogenMod/android_kernel_oneplus_msm8974 but I'm unable to work out a way of including these into my AOSP build and I would prefer to not build CM.
Note: I'd like to build AOSP myself, I'm fully aware that there is a current official OPO build available.
Thanks in advance,
Lewis
LewisD94 said:
Hi, I've just received my OPO on the 27th. I was really interested in Android development when I had my Nexus 5 and started building my own AOSP ROM, I've been looking into doing the same for the OPO but am unable to find an actual way of building AOSP with Google's code. I know OPO released their AOSP kernel source here: https://github.com/OnePlusTech/android_kernel_oneplus_one and CyanogenMod has thiers here: https://github.com/CyanogenMod/android_kernel_oneplus_msm8974 but I'm unable to work out a way of including these into my AOSP build and I would prefer to not build CM.
Note: I'd like to build AOSP myself, I'm fully aware that there is a current official OPO build available.
Thanks in advance,
Lewis
Click to expand...
Click to collapse
It's advisable that you create your own tree from the CAF MSM8974 using CM GPS and other drivers and build CAF AOSP. Otherwise, it's close to impossible/very difficult. Pure AOSP is again near impossible/very difficult for non nexus devices.
Thank you very much for the reply, so building AOSP is pretty much impossible then?
I was having a look around on the internet last night and came across this: http://developer.sonymobile.com/kno...uild-aosp-kitkat-for-unlocked-xperia-devices/
Would there be a way of adapting this guide to allow for an easier build process of AOSP for our device? The other confusion that I face is if it's impossible to build AOSP for the OPO then how are ROMs such as this available?
LewisD94 said:
Thank you very much for the reply, so building AOSP is pretty much impossible then?
I was having a look around on the internet last night and came across this: http://developer.sonymobile.com/kno...uild-aosp-kitkat-for-unlocked-xperia-devices/
Would there be a way of adapting this guide to allow for an easier build process of AOSP for our device? The other confusion that I face is if it's impossible to build AOSP for the OPO then how are ROMs such as this available?
Click to expand...
Click to collapse
VanirAOSP uses CM trees as of now. Again, CAF AOSP is basically AOSP for non nexus Qualcomm devices., and any experienced dev can whip up a tree and get it working. Also, reaally good devs can/may be able to port AOSP if they wanted. It's a matter of whether they want to do it or not.
That link is for Sony devices only because Sony already provides CAF trees as an OEM so devs can build.
rudi_j7 said:
VanirAOSP uses CM trees as of now. Again, CAF AOSP is basically AOSP for non nexus Qualcomm devices., and any experienced dev can whip up a tree and get it working. Also, reaally good devs can/may be able to port AOSP if they wanted. It's a matter of whether they want to do it or not.
That link is for Sony devices only because Sony already provides CAF trees as an OEM so devs can build.
Click to expand...
Click to collapse
Ah yes, I see what you're saying now. Thanks for clearing this up for me! I just noticed when I looked at the VanirAOSP ROM thread that it states CM for it's credits, haha. I apologize for my ignorance.
Hello
I would like to create my first rom for oneplus one but without modification from OMNI or CM, basically vanilla rom. but I have some doubts.
Can I create a rom based on AOSP with device tree from OMNI/CM right?
Thanks!

Vendor doesn't give Kernel source code.

Hello,
I'm trying to create a CM port for my Getnord Onyx device.
As far as I know, to do this I need kernel source code with all of it's patches. So I contacted manufacturer and nicely asked them to give me the source code, but they didn't reply.
What should I do? And I don't think that GNU General Public Licence is going to help me here (or can it, if so: how do I use it?)
Thank you!
The Linux kernel is licensed under GNU and they are required to release the kernel but alot of Chinese manufacturers don't do it. You can use a prebuilt kernel for cyanogenmod but don't expect new Android versions.
Sent from my Lenovo A7010a48 using XDA Labs
Is it possible to somehow decompile Kernel from my phone?
Getnord said:
Is it possible to somehow decompile Kernel from my phone?
Click to expand...
Click to collapse
No, but you can use the prebuilt kernel for cyanogenmod but you won't be able to upgrade Android versions
Having the same issue with Blu. using the prebuilt kernel, is there any chance a newer Android version than what it came with would work?
fs1995 said:
Having the same issue with Blu. using the prebuilt kernel, is there any chance a newer Android version than what it came with would work?
Click to expand...
Click to collapse
There is a chance but don't count on that
Sent from my K4 Note using XDA Labs
Getnord said:
Hello,
I'm trying to create a CM port for my Getnord Onyx device.
As far as I know, to do this I need kernel source code with all of it's patches. So I contacted manufacturer and nicely asked them to give me the source code, but they didn't reply.
What should I do? And I don't think that GNU General Public Licence is going to help me here (or can it, if so: how do I use it?)
Thank you!
Click to expand...
Click to collapse
Had any luck with this?

Categories

Resources