[Q] Where to begin to compile & build android from source. - Samsung Galaxy Nexus

ive found multiple guides but they all seem to be outdated. I've fresh installed ubuntu 12.04, can someone help me out where to start?
Much appreciated in advance.:highfive:

Seriously?

063_XOBX said:
Seriously?
Click to expand...
Click to collapse
I've got that open and right now I'm syncing. If I sync master repo will that compile 4.2?
Sent from my Galaxy Nexus using Tapatalk 2

http://forum.xda-developers.com/showpost.php?p=34082895&postcount=552
http://forum.xda-developers.com/showpost.php?p=34659463&postcount=556

063_XOBX said:
http://forum.xda-developers.com/showpost.php?p=34082895&postcount=552
http://forum.xda-developers.com/showpost.php?p=34659463&postcount=556
Click to expand...
Click to collapse
Also is there a way I could I could just pull source from a devs github specifically or do you need the master source as well? Sorry for my horribly phrased stupid questions and thanks in advance
Sent from my Galaxy Nexus using Tapatalk 2

soub31 said:
Also is there a way I could I could just pull source from a devs github specifically or do you need the master source as well? Sorry for my horribly phrased stupid questions and thanks in advance
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Read the thread linked above, all of your questions so far have been answered there already. You're going into git territory, so believe me, there are a lot more guides about git than about building aosp.
Sent from my i9250

Related

[Q] [REQUEST] Does anyone have the gt-s5360 source code proprietary device files

Hello everyone,
I am new to xda-dev. This is actually my first post. So please correct me if I have done anything wrong.
Now, to business.
I am a developer with experience in c and I have a build station in my possession. I recently purchased a galaxy y and now I am planning to build cm9 from the source. The cm9 sources are synced with the repo and now all that is stopping me is the absence of device files.
So if anyone has the device files or wishes to make them please reply soon and provide me a link to the github repo.
As soon as I get the files I will release an alpha version within 5 days, that I promise.
Now reply soon so that I can kick start on the compiling of CM9 for galaxy y
adim0607 said:
Hello everyone,
I am new to xda-dev. This is actually my first post. So please correct me if I have done anything wrong.
Now, to business.
I am a developer with experience in c and I have a build station in my possession. I recently purchased a galaxy y and now I am planning to build cm9 from the source. The cm9 sources are synced with the repo and now all that is stopping me is the absence of device files.
So if anyone has the device files or wishes to make them please reply soon and provide me a link to the github repo.
As soon as I get the files I will release an alpha version within 5 days, that I promise.
Now reply soon so that I can kick start on the compiling of ICS for galaxy y
Click to expand...
Click to collapse
Go to the development threads... there you will find what you need or you can contact the devs who are working on cyano mod for sources..
No source compilers
hell_lock said:
Go to the development threads... there you will find what you need or you can contact the devs who are working on cyano mod for sources..
Click to expand...
Click to collapse
Thanks man.
I searched it but everyone is direct porting it but not compiling it.
adim0607 said:
As soon as I get the files I will release an alpha version within 5 days, that I promise.
Click to expand...
Click to collapse
be carefully with your promise
compiling is not only works that you have todo. you have to port source code because afaik nobody working on official/unofficial (source code) port.
I wish you luck: D
Sent from my GT-S5360 using XDA
hope you succeed bro!! God bless and good luck
http://forum.xda-developers.com/showpost.php?p=25347831&postcount=467
Is this what you want?
i wish you good luck.......friend..
Sent from my GT-S6102 using xda premium
The source for the kernel is available at
opensource.Samsung.com
Sent from my GT-S5360 using Tapatalk 2
Problem....
soraci said:
http://forum.xda-developers.com/showpost.php?p=25347831&postcount=467
Is this what you want?
Click to expand...
Click to collapse
This is exactly what I want.
Thanks!!!!!
One problem though, it is incomplete.
I know phiexz, needed some help about that
Sent from my GT-S5360 using xda premium
you want this?
https://github.com/GalaxyICS
Other devs
Chucrute said:
you want this?
Click to expand...
Click to collapse
Actually, those guys (Maclaw, etc) are in tass, beni, cooper, etc dev so it won't be of mych use to totoro (sgy).
Thanks anyway
Quite the opposite actually. The gio is very close to the y. So the arm6-vfp compiler setup with a few tweaks is looking promising.
Sent from my Gummy TF101 using Crashntalk 2

What language(s) do I need to learn for ROM development?

I know this should be in the development forum but I never get any attention there so I thought I would ask some GNex owners I can count on
Now down to business. I have some knowledge in Java and I was looking into developing custom ROMs. I wanted to know which language(s) I will need to know to get started. I'm not talking about developing apps, I'm talking about editing framework like these highly know ROM builders do (CM9, AOKP, GummyNex, etc.) I know it it almost impossible to develop an entire ROM by yourself so I would be more than happy to use some open source code!
Thanks and if anyone could point me in the right direction to get started I would greatly appreciate it!
You need to know C/C++ for the kernel, and java for the apps, framework, ROM, and everything else. Really just java if you're gonna ignore the kernel and just play with the launcher, framework, systemUI, settings, telephony, etc.
So if I get permission to use someone else's kernel, all I need to know from there is Java?
P.S. Can anyone link me to some resources where I can get started?
Bump
Sent from Left and Right thumb via Xparent Green Tapatalk 2!
Hydera5 said:
So if I get permission to use someone else's kernel, all I need to know from there is Java?
P.S. Can anyone link me to some resources where I can get started?
Click to expand...
Click to collapse
Yes just ask, most people let you use their kernel as long as you give them credit. Or you just use stock kernel since you are only doing the ROM anyway. Users will likely flash their favorite kernel anyway.
If you are totally beginner, follow the hello world tutorial on Google Dev site.
RogerPodacter said:
Yes just ask, most people let you use their kernel as long as you give them credit. Or you just use stock kernel since you are only doing the ROM anyway. Users will likely flash their favorite kernel anyway.
If you are totally beginner, follow the hello world tutorial on Google Dev site.
Click to expand...
Click to collapse
I've developed a bit in Java, can you point me to a tutorial to start with ROM development?
Thanks!
The device tree is all in c just an FYI
Sent from my Nexus 7 using Tapatalk 2
aaronpoweruser said:
The device tree is all in c just an FYI
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Can you clarify what the device tree is?
Sent from Left and Right thumb via Xparent Green Tapatalk 2!
Hydera5 said:
I've developed a bit in Java, can you point me to a tutorial to start with ROM development?
Thanks!
Click to expand...
Click to collapse
There a few beginner tutorials in Google developer site. I also just googled tutorials and read read read as much as I could. Half the part is learning how android apps work, using XML for the ui etc.
aaronpoweruser said:
The device tree is all in c just an FYI
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I think he means all the device kernels are in C, but everything else is in java.
Hydera5 said:
Can you clarify what the device tree is?
Sent from Left and Right thumb via Xparent Green Tapatalk 2!
Click to expand...
Click to collapse
Device tree is stuff like drivers and device libraries. This stuff is what gives the software and apps access to the hardware.
Sent from my Galaxy Nexus using Tapatalk 2
geoffcorey said:
Device tree is stuff like drivers and device libraries. This stuff is what gives the software and apps access to the hardware.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
So technically I would need to know Java and C to create a ROM (no kernel) ?
Hydera5 said:
So technically I would need to know Java and C to create a ROM (no kernel) ?
Click to expand...
Click to collapse
No, you just need have really. Some things like memory.c are in C, but not the ROM stuff.
Hydera5 said:
So technically I would need to know Java and C to create a ROM (no kernel) ?
Click to expand...
Click to collapse
Well, assuming you're building for gnex, you really only need to know java.
Sent from my Galaxy Nexus using Tapatalk 2

PACman ROM for GNex?

Anyone know if there will be a port of this amazing ROM for the GNex? As far as I know we don't have on yet, right?
Sent from my Galaxy Nexus using xda premium
Damn, sorry. Posted in the wrong place. Is it possible to move this thread?
Sent from my Galaxy Nexus using xda premium
SahilC said:
Anyone know if there will be a port of this amazing ROM for the GNex? As far as I know we don't have on yet, right?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
You are either wrong section or provide Changelog, Download links and source code. :laugh:
EDIT: Ignore ... OPJust posted again.
SahilC said:
Damn, sorry. Posted in the wrong place. Is it possible to move this thread?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
pm a mod they will move this thread
+1, I'd love PACman on toro!
JamMasterClay said:
+1, I'd love PACman on toro!
Click to expand...
Click to collapse
it is out for the toro..look in the dev section, but the dev is switching base..read the thread
k786 said:
it is out for the toro..look in the dev section, but the dev is switching base..read the thread
Click to expand...
Click to collapse
Really, because I just searched in the Verizon specific and General development forums and I didn't come up with anything...I did find KingKang was just ported though...
JamMasterClay said:
Really, because I just searched in the Verizon specific and General development forums and I didn't come up with anything...I did find KingKang was just ported though...
Click to expand...
Click to collapse
the dev switched base from pacman to kingkong today.. do you guys have the dark passion pa for toro? if you do they are working on the pacman rom as well..

Halo is open source!!!

I just wanted to post this so every developer could see here's the link to both sets of githubs and pa's comments on it
https://plus.google.com/107979589566958860409/posts/LF2RNE9rHt1
Edit OK here's some more stuff they said could be used to help further get this out
https://plus.google.com/107979589566958860409/posts/fkQGDxzNRd1
06/13
Pa adds a quick how to:
https://plus.google.com/107979589566958860409/posts/biKpmPBT8Pe
I hope admin leaves this up for a fee days so all the devs that didn't see will now know and have a link.. Enjoy
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Just going to toss out that this has been on just about every Android news channel imaginable lately. It is certainly a great step though, and I hope to see it integrated into a framework modifier like Xposed.
Rirere said:
Just going to toss out that this has been on just about every Android news channel imaginable lately. It is certainly a great step though, and I hope to see it integrated into a framework modifier like Xposed.
Click to expand...
Click to collapse
Why when it is open source if you read the news article all that's needed is a git cherry pick and build. Then its done.
Sent from my Galaxy Nexus using xda app-developers app
MartianCeo said:
Why when it is open source if you read the news article all that's needed is a git cherry pick and build. Then its done.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Things are rarely that simple, not because cherry picks don't work, but because some people are in different circumstances than your own. My current phone is a HTC One running a stock kernel, and without more sources custom kernels and ROMs are something of a tricky business right now. I prefer stock when possible, so an Xposed-style framework patch is a good way of "cherry picking" what I would like in a workable manner.
Great that you're sharing the news, but you posted in every thread already and now opened a thread in dev section =/
+1 for good intentions though
Rirere said:
Things are rarely that simple, not because cherry picks don't work, but because some people are in different circumstances than your own. My current phone is a HTC One running a stock kernel, and without more sources custom kernels and ROMs are something of a tricky business right now. I prefer stock when possible, so an Xposed-style framework patch is a good way of "cherry picking" what I would like in a workable manner.
Click to expand...
Click to collapse
That's true, I know that it works for all aosp Roms. Who know maybe someone will figure it out for your phone.
Sent from my Galaxy Nexus using xda app-developers app
killersloth said:
Great that you're sharing the news, but you posted in every thread already and now opened a thread in dev section =/
+1 for good intentions though
Click to expand...
Click to collapse
Surely you realize posting in 5 other threads and creating this one aren't every one right? Anyway it can be deleted for all I care, I put this up so developers could have ready access top the info they needed, wasnt just an empty post, but thanks for your support
Sent from my Galaxy Nexus using Tapatalk 2
goast said:
Surely you realize posting in 5 other threads and creating this one aren't every one right? Anyway it can be deleted for all I care, I put this up so developers could have ready access top the info they needed, wasnt just an empty post, but thanks for your support
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
This was the wrong thread don't try to be smart when you made a mistake. Own up and move on.
Sent from my Galaxy Nexus using xda app-developers app
MartianCeo said:
This was the wrong thread don't try to be smart when you made a mistake. Own up and move on.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I didn't make anything, I knew full well someone would have something to say about me putting this here, I even say so in the first post. Obviously you guys are friends and you decided to take up for your Buddy which is fine with me they can pull this anytime they please.. It was only done to benefit all toro+ ROMs I'm not even mad about what he said he has a right to have an opinion and speak it freely... I'm not going to speak on it anymore.. I don't want to receive sn infraction for making more out of something than necessary... If it costs nothing to pass over this post and live your life.. I will be doing the same.. Again this was only made to give allr necessary links to compile.
Sent from my Galaxy Nexus using Tapatalk 2
goast said:
I didn't make anything, I knew full well someone would have something to say about me putting this here, I even say so in the first post. Obviously you guys are friends and you decided to take up for your Buddy which is fine with me they can pull this anytime they please.. It was only done to benefit all toro+ ROMs I'm not even mad about what he said he has a right to have an opinion and speak it freely... I'm not going to speak on it anymore.. I don't want to receive sn infraction for making more out of something than necessary... If it costs nothing to pass over this post and live your life.. I will be doing the same.. Again this was only made to give allr necessary links to compile.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Well said goast.:thumbup:
Sent from my Galaxy Nexus using Tapatalk 2
I don't know that guy
Just saying good intentions but I think any dev interested in adding halo to their source already knows lol. I see you around here a lot goast and I have nothing against you
Just trollin xda while I'm bored at work
Sent from my Galaxy Nexus to all you wonder nobodies!
killersloth said:
I don't know that guy
Just saying good intentions but I think any dev interested in adding halo to their source already knows lol. I see you around here a lot goast and I have nothing against you
Just trollin xda while I'm bored at work
Sent from my Galaxy Nexus to all you wonder nobodies!
Click to expand...
Click to collapse
Its all good man I try to help out in anyway I can I lack the knowledge to code or compile anything more than a turd in the morning... I am on here pretty frequently tho... I try to stay up on my phones development when I'm not writing or recording ... Anyway its all good bro
Sent from my Galaxy Nexus using Tapatalk 2
Pa adds some help info, it's back in first post... Wouldn't dare call it the op lmao
Sent from my Galaxy Nexus using Tapatalk 2
My two cents...I know goast from the forums, and he is an advanced user and a great resource to me. He's obviously pumped up about halo, and rightly so (it's a pretty amazing innovation by PA team). I'm not attacking anyone, but I like to stay informed about new things, so I appreciated his blast out. Many devs here work demanding jobs, and donate their personal time to development, so this info may help them in this fragmented crazy fast paced world. I just wanted to thank goast for the info, and impart some positive energy here. I'm not a dev, nor am I an expert, but I share goast's passion for android and desire to learn more about it. To me, that's why I love xda...I have a commercially dead device that is still extremely viable thanks to all of the great work here. Ok, I'm done...everybody enjoy halo!
Sent from my Galaxy Nexus using Tapatalk 4 Beta
goast said:
Pa adds a quick how to:
https://plus.google.com/107979589566958860409/posts/biKpmPBT8Pe
Click to expand...
Click to collapse
what are you talking about? this how to is how to translate not how to add halo

Kernel 3.4.33 Ak need developers

htcmania.coooooom/showthread.php?p=10571081#post10571081
I Have the link of the Kernel but not the source code
I thought ak left us?
Sent from my Galaxy Nexus using Tapatalk 2
Wdustin1 said:
I thought ak left us?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
yes he left us but i have the link for the kernel 3.4.33 and need fix
Android-Cyanogenmod said:
htcmania.coooooom/showthread.php?p=10571081#post10571081
I Have the link of the Kernel but not the source code
Click to expand...
Click to collapse
You haven't noticed that the other thread you are linking to have been locked/closed by lack of source code. In what would a new thread about this would be useful. When you'll get the source then maybe it would be helpful. Without source nothing can be done.
ti-pich said:
You haven't noticed that the other thread you are linking to have been locked/closed by lack of source code. In what would a new thread about this would be useful. When you'll get the source then maybe it would be helpful. Without source nothing can be done.
Click to expand...
Click to collapse
i know,this is the blog of the developer .......blog.naver.com/PostView.nhn?blogId=ksh10904&logNo=130131612452.......
Has anybody spoken with ak about maybe getting his source
Sent from my Galaxy Nexus using Tapatalk 2
Wdustin1 said:
Has anybody spoken with ak about maybe getting his source
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Good idea,maybe a great user can
This is the link of the kernel
mediafire.coooooom/?s5b5rf6mevskr21
Android-Cyanogenmod said:
Good idea,maybe a great user can
This is the link of the kernel
mediafire.coooooom/?s5b5rf6mevskr21
Click to expand...
Click to collapse
Amperific was going to start this Friday if im right. At least he said that in the 3.4 booting kernel thread.
Sent from my Galaxy Nexus using XDA Premium HD app
kernel without source is useles
Not to mention illegal.
a maguro sent this.
Found some related to 3.4 on OMAP site
hi Guys,
just found something related to 3.4 kernel and for Galaxy Nexus Processor OMAP4470. Please let me know if this is helpful in anyway. link is as follows .
i am not allowed to Post link here directly to please PM me i will provide the Link that i am referring .
Ampeferic is working on 3.2 and 3.4 kernel, so just wait his releases
I think Amperific's work has stopped on 3.4 kernel due to a broken Galaxy Nexus !!
Thread is closed for now
Thread has been closed as there is no point directing a kernel without being able to get the sources.

Categories

Resources