DISCLAIMER: By using this OS, you understand that only YOU are responsible for anything good or bad that may come from it.
Build Box is a Linux distro that includes a pre-installed Android build environment. That's right, anyone itching to try their hand at building Android can now install a fully functional Android build environment without the headache of setting it up. It comes in two flavors, Ubuntu 13.04 and Linux Mint 15 Olivia.
This is a live distro meaning it can be run without installation from a DVD or USB flash drive, or be installed to a hard drive. In theory, you could use a flash drive and set up a persistence partition to hold your source and your build. You could then run the whole thing live without ever installing it to your computer. Of course your flash drive would need to be quite large and older machines will not boot to USB. It is still recommended to install Build Box before running builds, but i have no doubt someone will try it
Once you have installed the OS or have it running live, you will find a file called Read First on the desktop. This file will tell you all you need to know to get Build Box building Android. It is set up initially to build cm10 for the ZTE Warp Sequent, and the guide explains how to easily modify for other sources and devices.
Enjoy!
You will need to set up a udev rule for your device in order to use adb and fastboot properly. Mint Build Box 15 Olivia has the warp2 udev rules pre-installed. Please take a look at the Udev Rules Tool for automatic and easy setup for all devices.
OR, you can do it manually by following the steps below.
In a terminal:
For the warp2 copy/paste the following changing OWNER to you
Save and close gedit. In terminal:
NOTE:
For anyone who decides to build with our device tree, i found an error. It's very easy to fix but it will fail your build.
After the proprietary files have been pulled from your device:
Navigate to the file:
Remove the line:
Save, Done.
Downloads:
Mint Build Box 15 Olivia
Ubuntu Build Box 13.04-2
UNetbootin is a great tool to make a bootable flash drive. It is open-source and available for Windows/Mac/Linux.
Old/Outdated Files:
Mint Build Box 14 Nadia
Username: guest
Password: (empty, just press enter)
Ubuntu Build Box 13.04
BuildBox_Desktop_files.zip includes a READ FIRST file and a prepare_build script that will do all the things I couldn't build in to the OS (repo init, repo sync, git clone device tree, extract-files.sh, and get-prebuilts). Extract the zip anywhere, edit prepare_build script if needed, and run in terminal. It will prompt you to plug in your phone for extract-files.sh. It is commented for easy transition to other devices.
Build Box is a Linux distro that includes a pre-installed Android build environment. That's right, anyone itching to try their hand at building Android can now install a fully functional Android build environment without the headache of setting it up. It comes in two flavors, Ubuntu 13.04 and Linux Mint 15 Olivia.
This is a live distro meaning it can be run without installation from a DVD or USB flash drive, or be installed to a hard drive. In theory, you could use a flash drive and set up a persistence partition to hold your source and your build. You could then run the whole thing live without ever installing it to your computer. Of course your flash drive would need to be quite large and older machines will not boot to USB. It is still recommended to install Build Box before running builds, but i have no doubt someone will try it
Once you have installed the OS or have it running live, you will find a file called Read First on the desktop. This file will tell you all you need to know to get Build Box building Android. It is set up initially to build cm10 for the ZTE Warp Sequent, and the guide explains how to easily modify for other sources and devices.
Enjoy!
You will need to set up a udev rule for your device in order to use adb and fastboot properly. Mint Build Box 15 Olivia has the warp2 udev rules pre-installed. Please take a look at the Udev Rules Tool for automatic and easy setup for all devices.
OR, you can do it manually by following the steps below.
In a terminal:
Code:
sudo gedit /etc/udev/rules.d/51-android.rules
Code:
# ZTE Warp Sequent
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="0306", MODE="0666", OWNER="superr"
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1351", MODE="0666", OWNER="superr"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0666", OWNER="superr"
Code:
sudo service udev restart
NOTE:
For anyone who decides to build with our device tree, i found an error. It's very easy to fix but it will fail your build.
After the proprietary files have been pulled from your device:
Navigate to the file:
Code:
/vendor/zte/warp2/warp2-vendor-blobs.mk
Remove the line:
Code:
vendor/zte/warp2/proprietary/lib/libaudioalsa.so:obj/lib/libaudioalsa.so \
Save, Done.
Downloads:
Mint Build Box 15 Olivia
Ubuntu Build Box 13.04-2
UNetbootin is a great tool to make a bootable flash drive. It is open-source and available for Windows/Mac/Linux.
Old/Outdated Files:
Mint Build Box 14 Nadia
Username: guest
Password: (empty, just press enter)
Ubuntu Build Box 13.04
BuildBox_Desktop_files.zip includes a READ FIRST file and a prepare_build script that will do all the things I couldn't build in to the OS (repo init, repo sync, git clone device tree, extract-files.sh, and get-prebuilts). Extract the zip anywhere, edit prepare_build script if needed, and run in terminal. It will prompt you to plug in your phone for extract-files.sh. It is commented for easy transition to other devices.