[Nexus 4 Original Android Development] bajee11:
Contribute to RootBox

​

Those interested in making wallpapers and bootanimation for RootBox, send an email to rootbox.rom@gmail.com with the following:

Information

Name

Email

Wallpapers

Attach wallpaper in email

Two sizes are required: HDPI and XHDPI

I'll review them and add the wallpapers in the next release. I will also choose the best one as the default wallpaper for official releases.

Bootanimation

Attach bootanimation or paste download link in the email.

Two sizes are required: HDPI and XHDPI

Wallpaper Resolution

HDPI: 960 x 800

XHDPI: 1440 x 1280

You can also contribute by creating icons for settings. Use proper sizes and always include compatibility for HDPI and XHDPI.

The reason behind this is very simple. I'm always busy and I've neglected the visual aspect of RootBox for a while now. It's time to polish it with new visuals!

How to Build RootBox from Source

​

Getting started

I will assume that you have some kind of knowledge with Linux and how to use a terminal. I will also assume that you have already setup all the android building requirements. First, you must create your working folder and initialize a repository with RootBox sources. The following steps will guide you in creating this working folder where you will be able to build RootBox.

You should now open a terminal (By default you should be in your home folder: /home/yourusername/)

Step 1: Let's create a folder in your home directory named RootBox. This will be referred as your working folder.

~$ mkdir RootBox

Step 2: Let's change our directory to the new RootBox folder we just created.

~$ cd RootBox

Step 3: Now that we are in our working folder (RootBox), we will initialize our RootBox repository by entering the following command:

~$ repo init -u git://github.com/Root-Box/platform_manifest.git -b jb-mr1

Step 4: It's now time to sync RootBox sources which could vary from a few minutes to a few hours depending on your internet connection.

~$ repo sync

Building Vanilla RootBox

Now that you have synced the sources, you're ready to build RootBox.

You can run the following build script:

~$ . build_rootbox.sh -device- -sync- -thread- -clean-

Device: Choose between the following supported devices: i9100, i9100g, i9300, d2att, d2tmo, d2vzw, mako and grouper.

Sync: Will sync latest RootBox sources before building

Threads: Allows to choose a number of threads for syncing and building operation.

Clean: Will remove the entire out folder and start a clean build. (Use this at your discretion)

Examples:

1) Sync sources and Build RootBox for GT-I9100 with 12 threads

~$ . build_rootbox.sh i9100 sync 12

2) Don't sync sources, clean out folder and build RootBox for GT-I9300 with 6 threads

~$ . build_rootbox.sh i9300 nosync 6 clean

3) Don't sync sources, clean out folder and build RootBox for SGH-I747 with 4 threads

~$ . build_rootbox.sh d2att nosync 4 clean

4) Sync sources, clean out folder and build RootBox for Nexus 4 with 5 threads

~$ . build_rootbox.sh mako sync 5 clean

This script will make a signed flashable zip file located in out/target/product/-device-/RootBox-JB-(Device)-Nightly-(Date).zip