I try to keep the hard-core tech-weenie side of things at bay from here.  From time to time, though, I find the long-form writing style here allows for a better environment for certain things, and today is one of those.

We are always looking for anyone who wants to help us with Team OctOs, in any number of capacities.  As someone interested in dev’ing, you help facilitate what we do, and we appreciate it.


We have limited time to do what we do (collectively).  We want you to help us get better, but we can’t  help make you a developer.

To that end, we have decided to implement a small Java test.  This test is from a college level Java I programming class.  It is basic stuff designed to say you are at least familiar with what your looking at before we work with you.

Simple Commission Calculation Program

This program calculates the total annual compensation amount for 2 or more salespeople. The program must meet the following conditions:

A salesperson will receive a fixed salary of $35,750, plus a sales incentive should as their sales approach the annual target of $125,250. Currently, a commission rate of 12% starts if the salesperson reaches at least 80% of their target. If the salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.75%.

The program must:

  • compare the total compensation of at least 3 salespeople.
  • get the salesperson’s name and annual sales amount from the user.
  • report who was the highest and lowest salespeople
  • the difference in compensation amounts between them.

The application should have at least one class, in addition to the application’s controlling class.
The source code must demonstrate the use of Array or ArrayList.

This should not pose an issue for anyone familiar with Java, and take no more than 10 minutes.  If it takes longer, submit it anyway – I respect your tenacity.  If you can’t do it, I would suggest a Java tutorial online.

Now, are you looking to bring OctOs to your device?

Obtaining the OctOs Code

This assumes you already have an Android build environment already in place.  If you don’t,  your first task is to get one in place.  Begone!


*clikity clik*

mkdir octkk
cd octkk
repo init -u https://github.com/SpawnPool/spawn_manifest.git -b master

*scroll scroll scroll – more clikity clik*

repo sync

*scroll scroll scroll*

7-6-2014 11-27-09 PM

After the sync is finished, You use jet/repo.sh to initiate the gathering of the OctOs specific repos.  For those trying to port a device to OctOs, you should use jet/repo.sh base to get just the base repos.

You have one more thing to do before you start trying to get OctOs building for your device.

In your device/manu/variant folder, add the following to BoardConfig.mk

# Toolchain
TARGET_KERNEL_CUSTOM_TOOLCHAIN := arm-linux-androideabi-4.7

This will set your build Toolchains to use Google’s default gcc-4.7

Congrats! You have OctOs.  You should now git clone your device, kernel and vendor repos.  Get it to build?  Let me know!

– Grommish