Build from source - HTC One X

Hi guys and girls,
I want to experiment with building ROMs just for educational means. BUT, I have no experience in developing whatsoever . For instance I want to build a rom from Lord Clockan's source but where do I start? Can someone help setting things up from scratch/point me in the right direction?
Thanks in advance!

The only ROMs built from source are CM and AOKP, everything else is just modified stock (which you can't build).
With that in mind, read this: http://wiki.cyanogenmod.com/wiki/Galaxy_Nexus_(GSM):_Compile_CyanogenMod_9_(Linux)
Wrong phone, but it's step by step.

Rusty! said:
The only ROMs built from source are CM and AOKP, everything else is just modified stock (which you can't build).
With that in mind, read this: http://wiki.cyanogenmod.com/wiki/Galaxy_Nexus_(GSM):_Compile_CyanogenMod_9_(Linux)
Wrong phone, but it's step by step.
Click to expand...
Click to collapse
So how could I use their work for building a ROM?

Well if it's a CM based ROM, you would need to get the CM source, then use local_manifest to bring in others repos when you sync.

Related

[Q] ROM Developing Questions

Hi! I'm quite a noob when it comes to ROM development specifically for my Desire Z, so I'm hoping some people can clarify my doubts, and cure me of my sleepless nights!
Can I just download a distribution from the Android Developers website and use it on my DZ? If not, then how do I compile ROMs then?
Thanks in advanced!
Don't know anything about rom development, but you might want to have a look at this http://wiki.cyanogenmod.com/wiki/HTC_Vision:_Compile_CyanogenMod_%28Linux%29
-Nipqer
Thanks for the reply, the link is on how to compile Cyanogen, but it doesn't say how to compile clean build Android for our DZ.
xudsa II USERT said:
Thanks for the reply, the link is on how to compile Cyanogen, but it doesn't say how to compile clean build Android for our DZ.
Click to expand...
Click to collapse
I don't think there can be a true "clean" build of Android -- to get the camera, etc to work there have to be drivers in place.
You can get close, though. Download any "AOSP" (Android Open Source Project) ROM and you have it. You can probably also make Cyanogen into something close to AOSP just by not including the extras CM provides.
burtcom said:
I don't think there can be a true "clean" build of Android...extras CM provides.
Click to expand...
Click to collapse
Thanks guys for helping, will try ur suggestions!

[Q] How to build custom rom

Hi,
I would like to learn how to create my own custom ROM. Any reference you have on the topic would be great. I have successfully built my own kernel from source and have made a guide here: http://forum.xda-developers.com/showthread.php?t=1516051
Now I would like to build my own custom ROM. I noticed that when I downloaded the kernel source code from Samsung it also included the platform source code. I have read somewhere that I wouldn't be able to compile the Stock ROM just because a lot of the stuff is proprietary (like touchwiz). If this is the case, how are developers including the proprietary stuff?
Is it possible to build stock ROM from source?
Are custom ROMs more about tweaking existing configurations and apps, as oppose to compiling from scratch?
Thanks for helping a noob. I really want to learn the stuff.

[Q] When will we get AOKP?

Its been awhile since ive seen a device without aokp support. Will we have it and doesnt anyone know when
isn't AOKP still based off CM? Usually you start seeing all the original AOSP type ROM's come out after CM has been released.
phab3k said:
isn't AOKP still based off CM? Usually you start seeing all the original AOSP type ROM's come out after CM has been released.
Click to expand...
Click to collapse
Actually, they compile from source now! They do, however, use the CM device trees to fix things with their builds for some devices. Just a little fun fact and to answer the e.t.a question, we really don't know! Whenever a maintainer get their hands on one or someone steps up to maintain the device with them.

[Q] How to compile a 4.4 rom

I'd like to learn to compile a kitkat rom but I didn't find any guides or tips (i have no previous knowledge on how to build a rom) so I wonder if there's any guide for that.
Thanks
If you're trying to build CM from official source, CM's wiki has quite the resource for that, teaches you step by step from setting up your Linux environment to making the final bacon. I haven't built other ROMs yet, but steps should be similar.
Sent from Google Nexus 4 @ CM11
AndyYan said:
If you're trying to build CM from official source, CM's wiki has quite the resource for that, teaches you step by step from setting up your Linux environment to making the final bacon. I haven't built other ROMs yet, but steps should be similar.
Sent from Google Nexus 4 @ CM11
Click to expand...
Click to collapse
Actually I plan on building something closer to stock android with very few custom features but I don't know how to do that yet. I'll try to build CM to get the gist of it,

Building my first kernel.

Could someone help me to build a kernel for Cyanogenmod 12 but I need help because I didn't do stuff like this before.Since the developement has stopped for KitKat I would like to maintain it and keep it updated. I have a little knowledge but I still need help. I would like to use UBERtc to compile my kernel.

Categories

Resources