android.git.kernel.org Git - kernel/samsung.git/summary
If you're reading this, you're probably like me and love to mess with things until they break. Then fix them, and do it again. The Nexus S may not have an SDcard slot, and it may not be HSPA+, but if you like to hack and twist your phone into the shape you want, it's the phone to have.
But where to start? That's what this post is all about -- getting a development computer up and running to build the Kernel source. There's lots of ways to get going, but we're going to stick to what Google recommends, and what has worked for me. If you're a bit more advanced, by all means change what you like, it's all about choice.
The OS
You're going to need a 64bit version of Linux. I recommend Ubuntu 10.10. Download it and install it on your development computer. Take the time to read some guides and get everything working, especially all your Internet tools and plug-ins. You'll need them. Once you have it set up, it's time to start development.
You'll need some tools first.
Sun/Oracle Java 6
Next are the 32 bit headers
Next, some compilation tools
Enable the multiverse repo (UbuntuGeek has a great tutorial, as well as many others. Bookmark it) and open your terminal. At the prompt, type:
this may take a while, it's a lot to download.
Next, we want to install valgrind, for the inevitable bug tracking that we'll have to do:
If you're reading this, you're probably like me and love to mess with things until they break. Then fix them, and do it again. The Nexus S may not have an SDcard slot, and it may not be HSPA+, but if you like to hack and twist your phone into the shape you want, it's the phone to have.
But where to start? That's what this post is all about -- getting a development computer up and running to build the Kernel source. There's lots of ways to get going, but we're going to stick to what Google recommends, and what has worked for me. If you're a bit more advanced, by all means change what you like, it's all about choice.
The OS
You're going to need a 64bit version of Linux. I recommend Ubuntu 10.10. Download it and install it on your development computer. Take the time to read some guides and get everything working, especially all your Internet tools and plug-ins. You'll need them. Once you have it set up, it's time to start development.
You'll need some tools first.
Sun/Oracle Java 6
Code:
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6-jdk
Next are the 32 bit headers
Code:
sudo apt-get install ia32-libs
Next, some compilation tools
Enable the multiverse repo (UbuntuGeek has a great tutorial, as well as many others. Bookmark it) and open your terminal. At the prompt, type:
Code:
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
this may take a while, it's a lot to download.
Next, we want to install valgrind, for the inevitable bug tracking that we'll have to do:
Code:
sudo apt-get install valgrind
Last edited: