I myself use scripts (that i wrote of course) to build so i wanted to share them with you guys!
spent a few days rearranging, and on some completely redoing, my scripts to come up with this easy to use, dare i say pretty if your into ascii, kitchen.
Features
Setup, update, build, and fix
Update kitchen app through script
Build enviroment installation (only 64 bit) currently supports Ubuntu 10.04 - 12.04, with general support for Fedora, Debian, Linux Mint, Arch Linux, and with semi-general support for Mac OS X
Able to build Android Open Kang Project, Android Open Source Project, BAMF Paradigm, Bugless Beast, Codename Android, Cyanogenmod 9, Cyanogenmod 10, Evervolv, ParanoidAndroid, Rooted & Busyboxed AOSP (i made this), STS Dev Team, and Team Gummy
Designed to build for nexus devices, but supports other devices
the recommended file directory is as follows:
Code:
android/swordkitchen
android/swordkitchen/.scripts
# Everything below is made by the kitchen
android/repos/[all the repositorys u sync]
android/builds/[the roms that are made]
A word about vendor/swordrune10(my own device file inside rooted and busyboxed aosp):
it works by making Android.mk file execute a bash script, which sets up superuser dependencies and attaches a call to overrider.mk file to full_(the device ur building).mk
currently the directory is messy and doesnt do much other then make sure superuser builds and make your build rom manager ready
i plan on making it a rather independent device vendor and adding other stuff too
Instructions:
Boot into a 64-bit Unix System: supports Ubuntu 10.04 - 12.04, with general support for Fedora, Debian, Linux Mint, Arch Linux
Download and extract the tar below into a folder inside a folder (android/swordkitchen/{EXTRACT HERE!})
Either click "Swordrune10's Kitchen.sh" and open in terminal or open terminal, change directory to extracted one, and type in ./"Swordrune10's Kitchen.sh"
Inside Kitchen now!
Go to setup kitchen and run 1 (installation of repo) and 2 (setup build enviroment)
Initialize the desired repo(s) and sync when it asks if you want to
Go back, and go to the build menu, select what u want to build and omg! ur building a rom!! =O
Optional:
Tweak the romeditor or gitpuller as u like it.. ur changes in these files reflect towards ur builds
You can just use repo to grab it if you want..
Code:
Stable Version:
repo init -u http://github.com/TeamKeyblade/android_manifest.git -b stable
Developer Version ( the one i push to ):
repo init -u http://github.com/TeamKeyblade/android_manifest.git -b master
Server Version:
repo init -u http://github.com/TeamKeyblade/android_manifest.git -b advanced
The Server Version is expected to be put into ur ~/bin folder, if anyone puts it anywhere else please let me know and ill see about making it work perfectly from there. Below should be in ur path on login
6/15/12
Added stable version, which is now the default.. please update then reinitialize your kitchen Each script from the kitchen can now be called seperately, leaving u the ability to put it in ur path and it will work Added buildauto, which is cron-friendly and has sleep after build functionality -- configuration is in "Configure Kitchen" menu Added buildtail, which is paired with buildauto -- note that buildauto's output goes into a text file and with buildtail you can see the output.. this setup is best for remote build servers with recommended setup is paired with dropbox
A lot more polish here and there
honestly? that tool is probably a lot better.. I made this as a learning experience
EDIT: actually now that i think about it mine is kinda better on the fact that my updates itself (as in the actual "program"), u know exactly whats in it since its all scripts, and im gonna put into it ability to modify the rom before its built
Changelog: 5/24/12
Added ability to build toroplus thru Rooted & Busyboxed AOSP
Fixed build menu looping, making it having to hit exit one to many times on the main menu
From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?