Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Is there a good place that documents how to compile Android from source and put it on Nexus One? For instance, I would like to checkout the source files of Froyo from the official repository and put it on my Nexus One... Any suggestions?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I believe this XDA forum post will give you a good head start. Note: this is written for the Sapphire.

Compiling and flashing a Kernel for the N1.

Another guide from XDA forums.

Compiling systems apps.

share|improve this answer
    
Thank you very much. I will start reading them. One related question is that there's a lot of data and apps installed on my N1 as of now. Is there a way I can take a backup of the entire image so that I can flash it back once I am done experimenting with a new build? –  Legend Sep 23 '10 at 14:47
    
@Legend If you want a backup of just apps and their data, check out TitaniumBackup (requires root). If you want a backup image of your phone, you'll need to flash a recovery such as Clockwork and run a Nandroid backup. Download Rom Manager from the Market, it will let you flash Clockwork and run the backup inside of the app. Again, you're going to need to root your phone first. See my post about rooting here: android.stackexchange.com/questions/1184/how-do-i-root-my-phone –  Bryan Denny Sep 23 '10 at 14:52
    
Thank you very much. I will go through that today :) –  Legend Sep 23 '10 at 14:56
    
@Legend sure thing! You might want to experiment with flashing another Rom first before you dig into compiling from source. Just so you know how to Nandroid your phone, flash a rom, play around with it, and revert back to what you had before. –  Bryan Denny Sep 23 '10 at 15:01
    
Thanks for the advice. I will do as you suggested. Really excited to learn this stuff now :) –  Legend Sep 23 '10 at 15:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.