how to compile cm with github using linux? - G2 and Desire Z Q&A, Help & Troubleshooting

im bored today on my day off and looking for decent instructions on how to compile a rom using unbuntu. i saw one in a wiki for the shadow but i need to know how its done for the vision

Check the CM wiki- you might have to alter a different build for the vision, i.e., change passion/dream to vision.
http://wiki.cyanogenmod.com/index.php?title=Building_from_source
Sent from my CyanogenMod Vision

ok thanks a lot! i guess i could of found that right search terms, i tried a number and couldnt get any wikis up ahh well, thanks for your help

There are probably Gingerbread branches in the tree, which might not be completely stable. You could build the Froyo branch if you want something that will be stable.

Related

Nexus one Stock ROM port to Desire....

Is anyone attempting to do this now we have the Kernel Source?
Even a proper port of CM 5.06 or 5.07 would be uber cool))
JD
I'm also interested to a full working CM
The major work is port the desire 2.6.29 kernel stuff to cm-kernel 2.6.33.4
Some fix is also needed to the userspace tool, but this is not an hard work
but why the thread title is not "CyanogenMod ROM port to Desire"?
Kali- said:
I'm also interested to a full working CM
The major work is port the desire 2.6.29 kernel stuff to cm-kernel 2.6.33.4
Some fix is also needed to the userspace tool, but this is not an hard work
but why the thread title is not "CyanogenMod ROM port to Desire"?
Click to expand...
Click to collapse
Because i also want the stock 2.1 nexus rom on my desire
But cm is fine
JD
JupiterDroid said:
But cm is fine
Click to expand...
Click to collapse
CM is fine?!?!?!?
CM is BETTER
Kali- said:
CM is fine?!?!?!?
CM is BETTER
Click to expand...
Click to collapse
#
hahahha
Any will do
+1 waiting for a CM port...
i think later this week we will have something to play with
If that happens I will actually stop thinking as much of trying to get a hold of a Nexus One as I am now.
I really want the Desire to be as open as the HTC Hero and Nexus one for different ROMS and Mods.
+1
-------------------------------------
Sent from my HTC Desire
just read this ... online since may 2 ...
http://forum.xda-developers.com/showthread.php?t=674218
mrassol said:
just read this ... online since may 2 ...
http://forum.xda-developers.com/showthread.php?t=674218
Click to expand...
Click to collapse
AhmgskMod have made a good work on the paul CM port but he's also searching a kernel hacker
I am fairly unexperienced with the kernel but am now working on porting to the last cm kernel. I can't make any promisses though.
deovferreira said:
I am fairly unexperienced with the kernel but am now working on porting to the last cm kernel. I can't make any promisses though.
Click to expand...
Click to collapse
I think us desire guys are gonna have to learn
Paul is definatly working on the Desire kernel, so lets hope he can work his magic
JD
Hi people I know u all are waiting for complete Port of Cm to desire
Now with kernel release it has become much easier.
But i have Exams From 25th May to 15th June -> its my final exams Then i m an Engg.
Really I wanna work on it but I will start again on 15th June Asa i come back from my last paper.
Sorry n Thanks!
ahmgsk said:
Hi people I know u all are waiting for complete Port of Cm to desire
Now with kernel release it has become much easier.
But i have Exams From 25th May to 15th June -> its my final exams Then i m an Engg.
Really I wanna work on it but I will start again on 15th June Asa i come back from my last paper.
Sorry n Thanks!
Click to expand...
Click to collapse
Bit ot: did u find a way to get bt running on your cm rom?

[Q] Clean Froyo AOSP (2.2 or 2.2.1) for the Wildfire?

There are quite a few ROMs available, but one thing is not entirely clear to me. Why aren't there any clean AOSP ROMs for the Wildfire? I can understand it would be difficult to develop newer Android versions like Gingerbread that were never officially released for the Wildfire, but wouldn't it be relativly easy to compile a working ROM from the 2.2/2.2.1 source code? Or am I completely missing the point here?
It seems to me all the materials are available to pull this off without too much effort, right? The Kernel source is available from HTC and the Froyo source from our friends at Google.
From what I understand there are also some vendor specific issues that need to be solved, but the Cyanogen developers apparently have this solved already.
That pretty much covers everything right?
So my question would be, is it possible to easily build a clean version of Froyo for the Wildfire by doing the following:
1. Grab the kernel source from HTC and compile it (or just fuse a pre-compiled one seeing as there are quite a few available).
2. Compile the Android 2.2/2.2.1 source
3. Apply vendor specific fixes (assuming they don't have to be incorperated in the code directly).
4. Flash kernel + ROM, thereafter Gapps
5. win?
Basically something like Openfire without bugs. Which reminds me, wouldn't the video recording/SIM card issues be fixed with the official HTC kernel? In which case, I see little reason to try and compile the stuff by myself.
Ah well, I really really hope someone can enlighten me on this subject.
TL;DR: I want to create a basic a clean AOSP Froyo 2.2/2.2.1 ROM which should be easy right because we already have the required materials (proper HTC kernel -- or third party one, 2.2/2.2.1 source, cyanogen vendor fixes), so compile = good to go?
there are
- Wildmix http://forum.xda-developers.com/showthread.php?t=1155032
- CM6 http://forum.xda-developers.com/showthread.php?t=822132
- Utmost http://forum.xda-developers.com/showthread.php?t=862561
- Openfire - http://forum.xda-developers.com/showthread.php?t=783024
more here (scroll down) http://forum.xda-developers.com/showthread.php?t=1029318
There is always CM7
Remember you use these at your own risk
Thank you for your reply, but it doesn't really address my questions. I am aware of the custrom ROMs available, none of them really meet my demands.
Cyanogenmod is an excellent ROM, but CM6 has some issues and CM7 is based of Gingerbread.
Utmost and Wildmix are both based on Openfire. The problem with Openfire is that it has a lot of internal stuff I don't really like. Seeing as Utmost and Wildmix are based on it those don't really float my boat either.
My eventual goal would be to create a clean AOSP like this one:
http://forum.xda-developers.com/showthread.php?t=1162656
Unfortunately it's based on Gingerbread and not fully functional (yet!).
That is why I asked the questions that I asked. I'd rather do it myself from scratch, but in order to do any work I could really use an answer to my questions
Thanks anyways.
Trademark225 said:
Thank you for your reply, but it doesn't really address my questions. I am aware of the custrom ROMs available, none of them really meet my demands.
Cyanogenmod is an excellent ROM, but CM6 has some issues and CM7 is based of Gingerbread.
Utmost and Wildmix are both based on Openfire. The problem with Openfire is that it has a lot of internal stuff I don't really like. Seeing as Utmost and Wildmix are based on it those don't really float my boat either.
My eventual goal would be to create a clean AOSP like this one:
http://forum.xda-developers.com/showthread.php?t=1162656
Unfortunately it's based on Gingerbread and not fully functional (yet!).
That is why I asked the questions that I asked. I'd rather do it myself from scratch, but in order to do any work I could really use an answer to my questions
Thanks anyways.
Click to expand...
Click to collapse
Have news for you
We are currently working on a ROM with the aosp ROM you linked as base ...
Stay tuned
Sent from my HD2 using XDA Premium App
He meant a AOSP Froyo, no Gingerbread ;D
nejc121 said:
He meant a AOSP Froyo, no Gingerbread ;D
Click to expand...
Click to collapse
Got that after posting that
But gingerbread is much better than froyo and compatible to nearly all apps you can have
Sent from my HD2 using XDA Premium App
Anyway what's wrong with gingerbread??
I figured since 2.2.1 is the last available official version released it would be easier to get all hardware functioning properly. But if those new ginger AOSP projects fix the video recording bugs and get everything else fixed, ill gladly switch to it. Maybe ill use xdbg's (spelling?) ginger aosp as a base as soon ss the bugs are fixed.
Sent from my HTC Wildfire using XDA App

Build from source

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.

[Q] How to build Codename Android for Marvel?

Hello I have found tutorials for building CNA from source but it is for other device's and since this will be my first source build I don't know what I'm supposed to change
Can someone post instructions or tell me what I have to change to build CNA from source, I will happily do it and I do have Linux and Dev expierince so I will be releasing the build to the public.
Theres a thanks for everyone who reply's plus i will give you equal credit as me if I get the rom to work and release it.
Thank you,
Matyhew
matyhew said:
Hello I have found tutorials for building CNA from source but it is for other device's and since this will be my first source build I don't know what I'm supposed to change
Can someone post instructions or tell me what I have to change to build CNA from source, I will happily do it and I do have Linux and Dev expierince so I will be releasing the build to the public.
Theres a thanks for everyone who reply's plus i will give you equal credit as me if I get the rom to work and release it.
Thank you,
Matyhew
Click to expand...
Click to collapse
What exactly is CNA ? If you are trying to build a pure android source I would look at the source code alquezs cyanogenmod port as that is the basic open source that came with the phones level of android (2.3 gingerbread) but as far as source and building is concerned I would look at your tut and when it gives you any reference to the original target device, swap it out for marvel. These things tend to be renamable to pretty much anything. If you link to the tut I can have a look over it for you and see if I can help
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Codename android is a rom like AOKP or Cyanogenmod, it's a Jelly Bean only rom though I belive,
here is a thread
http://forum.xda-developers.com/showthread.php?t=1900448
and the GitHub
https://github.com/CNA
this is the tutorial I mentioned
http://www.crackflasher.com/threads/33-Guide-How-to-build-Android-roms-from-source-for-XT912-CM10-AOKP-AOSP-CNA
I know it's pretty vague but thats the best I can find
thanks again
matyhew
matyhew said:
Codename android is a rom like AOKP or Cyanogenmod, it's a Jelly Bean only rom though I belive,
here is a thread
http://forum.xda-developers.com/showthread.php?t=1900448
and the GitHub
https://github.com/CNA
this is the tutorial I mentioned
http://www.crackflasher.com/threads...roms-from-source-for-XT912-CM10-AOKP-AOSP-CNA
I know it's pretty vague but thats the best I can find
thanks again
matyhew
Click to expand...
Click to collapse
Well, that does look like a cyanogenmod aokp aosp fusion with some new stuff.
As far as the guide is concerned just swap out the names of the downloaded files with the ones you are using, like pull the repo from your required github and not the one in the guide. Most of the commands for compiling will be the same as the compiler is for jellybean. As far as editing this github source code to make it run on the marvel I'm not so sure. You can look at the current cm10 roms here for some insight on how they made them work but this is where I get lost buddy
Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
Thank you I will have a go at building next week
I've been working on my own version slim aokp and paranoid android for the moment so I'm starting to get a better idea of what Im doing
Matyhew
matyhew said:
Thank you I will have a go at building next week
I've been working on my own version slim aokp and paranoid android for the moment so I'm starting to get a better idea of what Im doing
Matyhew
Click to expand...
Click to collapse
That's cool man good luck
Tapped out from my sexy nexus 7

[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,

Categories

Resources