Hey Mates, since I saw a lot people reporting problems while compiling Kernels, and I also spend really much time typing every command and checking if it's ok, i decided to find a solution. Here i present it to you, a Shell-Scrip which compiles a Kernel from the Source, makes a boot.img and creates a flashable .zip for your Phone.
I'm not a "full-time" developer and don't have 100% Knowledge, so I provided my work with no warranty. You are installing this software at your own risk. You may be violating your warranty or loose files while working on the Directories.
Once you've set it up, you will be able to compile Kernels really fast and without problems. It is also very qualified for beginners, because the interface is a bit "old-like" but really simple. The Script itself is about 1400 lines long, but don't panic you don't have to understand it ;)
For now the Script is in a very pre-alpah state. It might work not 100% as it's supposed to be, but I'm working on it and I'm sure I will make it almost final before my holidays will be over ( about 1 week left). It took about two days a 3 hours to make the Script and my head is burning :D
I'll upload the Script later on Github, so anyone can give tips and/or improve it.
NOTE: Correct Setup will take about 15 minutes, take this time and make it corect, otherwise you'll get errors while running the .zip
NOTE ALSO: This is a really pre-alpha version, I'll have to work much on the Script to make it more user-friendliy. You'll might be shoked about all the steps you have to make, to run the Script correctly, later they will be automized ;)
I'll also work on the appearance of this thread, till now it's really hard to read/understand. Sorry, but I'm really tired
Here is how you set the Script up correctly:
Requrements:
The folloing Directories are needed:
AND:
DO this for every GitHub-User Whose Github you want to clone and build the kernel.
It should look like this: (this is for Diablo96 (GithubUserName) Folder-hierarchie)
![]()
You will need also:![]()
You also need a Ramdisk for you Kernel:
MAKE SURE YOU DO THIS STEP CORRECT, if not you Kernel might not boot.
Should look like this (for the first link):
![]()
You'll also need a flashable .zip, use one of mine:
Download THIS.zip and place it in /home/$USERNAME/android/kernel/SourceZip
DO NOT extract it, just place there as .zip
should look like this:
![]()
And finally you should have something like this:
![]()
Now comes the nice part. You're ready to use the Autocompiler. It was a long way but your ready.
Autocompiler V.0.1
1) Download The KernelCompiler V0.1.sh
2) Place it anywhere you want.
3) give the right permissions (otherwise you cannot start the script)
use this command
5) follow the Script and build you own Kernel :)
CREDITS:
Xistance for his awesome Guide and help on building Kernels
Arco for Github as Kernelsource
Crybert for base of Ramdisk
might others, I forgot
I'm not a "full-time" developer and don't have 100% Knowledge, so I provided my work with no warranty. You are installing this software at your own risk. You may be violating your warranty or loose files while working on the Directories.
Once you've set it up, you will be able to compile Kernels really fast and without problems. It is also very qualified for beginners, because the interface is a bit "old-like" but really simple. The Script itself is about 1400 lines long, but don't panic you don't have to understand it ;)
For now the Script is in a very pre-alpah state. It might work not 100% as it's supposed to be, but I'm working on it and I'm sure I will make it almost final before my holidays will be over ( about 1 week left). It took about two days a 3 hours to make the Script and my head is burning :D
I'll upload the Script later on Github, so anyone can give tips and/or improve it.
NOTE: Correct Setup will take about 15 minutes, take this time and make it corect, otherwise you'll get errors while running the .zip
NOTE ALSO: This is a really pre-alpha version, I'll have to work much on the Script to make it more user-friendliy. You'll might be shoked about all the steps you have to make, to run the Script correctly, later they will be automized ;)
I'll also work on the appearance of this thread, till now it's really hard to read/understand. Sorry, but I'm really tired
Here is how you set the Script up correctly:
Requrements:
- Completly set up Kernel-Build-eviroment -> use Xistance's Guid step, the latest step you need it "cloning toolchain". You don't need clone any other git for now:
- Python 2.4--2.7
- Git 1.7 or newer
- Android SDK
- Required packages(12.04)
- Toolchain
-->just follow Xistance's guide, its really awesome !
The folloing Directories are needed:
- /home/$Username/android/kernel/
- SourceZip/
- ariesve_2.6.35/
- arco/
- Boot.img/
- [JB][2.6.35]Boot.img
- CWM_flashable.Zip/
- zImage+Modules/
- Boot.img/
- arco/
AND:
- /home/$Username/android/kernel/
- SourceZip/
- ariesve_3.0/
- arco/
- Boot.img/
- [JB][3.0]Boot.img
- CWM_flashable.Zip/
- zImage+Modules/
- Boot.img/
- arco/
DO this for every GitHub-User Whose Github you want to clone and build the kernel.
It should look like this: (this is for Diablo96 (GithubUserName) Folder-hierarchie)

You will need also:
- Bootimgutils.zip, you can get it in THIS Thread
- Extract the .zip in /home/$USERNAME/android/kernel/Bootimgutils
Should look like this:
- Extract the .zip in /home/$USERNAME/android/kernel/Bootimgutils

You also need a Ramdisk for you Kernel:
MAKE SURE YOU DO THIS STEP CORRECT, if not you Kernel might not boot.
- Download THIS
and place it in /home/$USERNAME/android/kernel/Ramdisk/[JB][2.6.35]Ramdisk
- Download THIS
and place it in /home/$USERNAME/android/kernel/Ramdisk/[JB][3.0]Ramdisk
Both are named boot.img-ramdisk.gz, make sure you place the in the right folders
Should look like this (for the first link):

You'll also need a flashable .zip, use one of mine:
Download THIS.zip and place it in /home/$USERNAME/android/kernel/SourceZip
DO NOT extract it, just place there as .zip
should look like this:

And finally you should have something like this:

Now comes the nice part. You're ready to use the Autocompiler. It was a long way but your ready.
Autocompiler V.0.1
1) Download The KernelCompiler V0.1.sh
2) Place it anywhere you want.
3) give the right permissions (otherwise you cannot start the script)
use this command
- chmod +x /path/to/your/file/KernelCompiler V0.1.sh
5) follow the Script and build you own Kernel :)
CREDITS:
Xistance for his awesome Guide and help on building Kernels
Arco for Github as Kernelsource
Crybert for base of Ramdisk
might others, I forgot