Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
hallfleming
Old
#1  
Member - OP
Thanks Meter 3
Posts: 85
Join Date: Jul 2010
Default Source code building a vanilla ROM

So talking to my buddy about all the "junk" loaded on the Samsung, he kept raving about how his old Nexus One was just the way I would like it. I would like to have a "plain" version of Android 2.1 on my phone. I have a coworker friend that's a Linux guru that's willing to help. Here's my questions.

Can I take take the Samsung released source for the hardware drivers and compile it with a stock Android 2.1 platform? I'm not asking for step by step. More of a 10,000 foot how to. Is that possible?

Can you leave the CSC and Modem info the same and just install a PDA ROM with Odin? Or would you be overwriting all of that info on the phone?

Thanks and if this has been answered before, please fill free to say "search is your friend" and give me the links...
 
dalingrin
Old
#2  
Recognized Developer
Thanks Meter 2175
Posts: 1,277
Join Date: Nov 2007
Quote:
Originally Posted by hallfleming View Post
So talking to my buddy about all the "junk" loaded on the Samsung, he kept raving about how his old Nexus One was just the way I would like it. I would like to have a "plain" version of Android 2.1 on my phone. I have a coworker friend that's a Linux guru that's willing to help. Here's my questions.

Can I take take the Samsung released source for the hardware drivers and compile it with a stock Android 2.1 platform? I'm not asking for step by step. More of a 10,000 foot how to. Is that possible?

Can you leave the CSC and Modem info the same and just install a PDA ROM with Odin? Or would you be overwriting all of that info on the phone?

Thanks and if this has been answered before, please fill free to say "search is your friend" and give me the links...
I unfortunately haven't the answer but I'd like to add that I am curious about this too.
 
BigJayDogg3
Old
#3  
Senior Member
Thanks Meter 0
Posts: 172
Join Date: Feb 2009
Quote:
Originally Posted by dalingrin View Post
I unfortunately haven't the answer but I'd like to add that I am curious about this too.
I'll second this and ask that if you do figure it out, please share with the community.
 
rajendra82
Old
#4  
rajendra82's Avatar
Senior Member
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
I think that vanilla Roms are a little further away in the future. First step in the process right now would be for someone to be able to compile a kernel from the Samsung released source code that works. Unfortunately the current Captivate kernel source code, when compiled, causes issues (voices garbled, lag when waking up the phone) that are not present in the stock precompiled kernel. These bugs are apparently not present in the other versions of the source code. Once these initial bugs are ironed out, we can truly start down the path of having custom fixes, and the devs can start to focus on bigger challenges, like making the vanilla Eclair or Froyo Roms to start working with our kernel. Good thing about this phone is that there are going to be so many versions of it, that parallel development is happening on multiple platforms. This will likely produce independent breakthroughs that could be theoretically ported between the platforms, but unfortunately it also slows down the development of each platform due to the quirks that have to be overcome. I hope that, in the future, we get to a place where all the source codes are merged into master repository that has all the necessary improvements and the ability to overcome individual platform quirks, so that the development can proceed more rapidly.
 
THATTON
Old
#5  
THATTON's Avatar
Senior Member
Thanks Meter 33
Posts: 1,091
Join Date: Aug 2007
Location: Bakersfield
Quote:
Originally Posted by hallfleming View Post
So talking to my buddy about all the "junk" loaded on the Samsung, he kept raving about how his old Nexus One was just the way I would like it. I would like to have a "plain" version of Android 2.1 on my phone. I have a coworker friend that's a Linux guru that's willing to help. Here's my questions.

Can I take take the Samsung released source for the hardware drivers and compile it with a stock Android 2.1 platform? I'm not asking for step by step. More of a 10,000 foot how to. Is that possible?

Can you leave the CSC and Modem info the same and just install a PDA ROM with Odin? Or would you be overwriting all of that info on the phone?

Thanks and if this has been answered before, please fill free to say "search is your friend" and give me the links...

Check out this wiki from cyanogen:
http://wiki.cyanogenmod.com/index.php?title=Main_Page

On the bottom right you will see an advanced section that explains how to build from source code. (aosp)

Good luck!!! It's definitely not for me, not with kids and a full time job!
 
hallfleming
Old
#6  
Member - OP
Thanks Meter 3
Posts: 85
Join Date: Jul 2010
Good info. I haven't seen a post on people testing out the source code testing and their experience. Can you IM or point me to that?

Thanks!

Quote:
Originally Posted by rajendra82 View Post
I think that vanilla Roms are a little further away in the future. First step in the process right now would be for someone to be able to compile a kernel from the Samsung released source code that works. Unfortunately the current Captivate kernel source code, when compiled, causes issues (voices garbled, lag when waking up the phone) that are not present in the stock precompiled kernel. These bugs are apparently not present in the other versions of the source code. Once these initial bugs are ironed out, we can truly start down the path of having custom fixes, and the devs can start to focus on bigger challenges, like making the vanilla Eclair or Froyo Roms to start working with our kernel. Good thing about this phone is that there are going to be so many versions of it, that parallel development is happening on multiple platforms. This will likely produce independent breakthroughs that could be theoretically ported between the platforms, but unfortunately it also slows down the development of each platform due to the quirks that have to be overcome. I hope that, in the future, we get to a place where all the source codes are merged into master repository that has all the necessary improvements and the ability to overcome individual platform quirks, so that the development can proceed more rapidly.
 
hallfleming
Old
#7  
Member - OP
Thanks Meter 3
Posts: 85
Join Date: Jul 2010
Also for clarification, when you bought a Nexus One straight from Google for AT&T, was it considered "Vanilla"? Is the build on that phone just like someone downloaded the source for 2.1 and compiled it with the hardware drivers and that's it? I'm wondering what all comes on a "basic" Andriod ROM straight from the source.
 
THATTON
Old
#8  
THATTON's Avatar
Senior Member
Thanks Meter 33
Posts: 1,091
Join Date: Aug 2007
Location: Bakersfield
Quote:
Originally Posted by hallfleming View Post
Also for clarification, when you bought a Nexus One straight from Google for AT&T, was it considered "Vanilla"? Is the build on that phone just like someone downloaded the source for 2.1 and compiled it with the hardware drivers and that's it? I'm wondering what all comes on a "basic" Andriod ROM straight from the source.
Nexus One is as Vanilla as it comes. Just straight up Android! I don't think there is anything added to stock 2.1 or 2.2 on the Nexus.
 
rajendra82
Old
(Last edited by rajendra82; 6th August 2010 at 05:38 PM.)
#9  
rajendra82's Avatar
Senior Member
Thanks Meter 141
Posts: 1,051
Join Date: Jul 2010
Location: Atlanta, GA
Quote:
Originally Posted by hallfleming View Post
Good info. I haven't seen a post on people testing out the source code testing and their experience. Can you IM or point me to that?

Thanks!
Most of the kernel compiling struggles are documented here:

http://forum.xda-developers.com/showthread.php?t=740747


Mimocan himself has started some work on it here:

http://forum.xda-developers.com/showthread.php?t=747040


There are also people having success mixing Vibrant ROM on the Captivate with some GPS crash issues:

http://forum.xda-developers.com/showthread.php?t=746466


I am trying to follow those threads, and since I am not a developer, I can't personally contribute to the process. But it is interesting to me anyway.
The Following User Says Thank You to rajendra82 For This Useful Post: [ Click to Expand ]
 
hallfleming
Old
#10  
Member - OP
Thanks Meter 3
Posts: 85
Join Date: Jul 2010
I've seen these before. I thought they were just edited versions of ROM's sucked off a existing phone. Are these compiled from scratch?

Quote:
Originally Posted by rajendra82 View Post
Most of the kernel compiling struggles are documented here:

http://forum.xda-developers.com/showthread.php?t=740747


Mimocan himself has started some work on it here:

http://forum.xda-developers.com/showthread.php?t=747040


There are also people having success mixing Vibrant ROM on the Captivate with some GPS crash issues:

http://forum.xda-developers.com/showthread.php?t=746466


I am trying to follow those threads, and since I am not a deveoper, I can't personally contribute to the process. But it is interesting to me anyway.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more