[GUIDE][Compile NeatKernel]Setup Ubuntu 14.04 LTS Trusty Tahr to Compile Kernels
Hi guys and future devs here you will find a very helpful guide on how to setup the android development so that you can basically do anything you want!
In this guide i'll be using Ubuntu 14.04 64 bit. Do not use the 32 Bit version.
but probably this will also work on 12.04-13.10 and future releases!
How To Compile NeatKernel for captivate and galaxy s family see second post
The first thing you'll need to do is obviously the ubuntu installation, unfortunately i won't cover this part of the guide cause i think that everyone who is looking at this guide know how to install an OS on a Desktop (hope so)
SETUP ANDROID DEVELOPMENT ENVIRONMENT
Main Build Tools
Installing the JDK is pretty tricky and stressful every time
First, download the JDK 6, which you can download here. Download the .bin file! (in this case my JDK has been downloaded in the ~/Download folder and my file is named jdk-6u45-linux-x64.bin)
Open up your terminal and type
Ok, if you did everything fine you should now have the JDK installed correctly
$ sudo mkdir /usr/lib/jvm
$ cd ~/Downloads/
$ chmod +x jdk-6u45-linux-x64.bin
$ sudo mv jdk1.6.0_45 /usr/lib/jvm/
$ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_45/bin/javac 1
$ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_45/bin/java 1
$ sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_45/bin/jar 1
$ sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_45/bin/javaws 1
$ java -version
Back to a fresh terminal prompt. Install the main build tools with this command:
When those are done installing, run the next line in your terminal window:
sudo apt-get install git gnupg ccache flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev lzop lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Samsung galaxy captivat stock cm11 powered by NeatKernel.
Samsung galaxy S3 SCH-I535 stock 4.4.2 rooted + safestrap v3.75.
[KERNEL][4.1+] NeatKernel v1.09 [Dual recovery] captivate vibrant galaxys
[Stock 2.3.5][KK4] NeatRom Lite v1.0 Captivate[Arabic,Farsi support]
Thanks button doesn't bite