To build Digi Embedded for Android, you need the following:
-
A Linux machine with the hardware requirements listed at http://source.android.com/source/requirements.html.
Ubuntu 14.04 is the recommended distribution to build Android 8.0, the version used in the ConnectCore 6. The instructions below are specific to Ubuntu 14.04. |
Set up your development computer to build the Android firmware:
-
Install OpenJDK 8.
Android version for ConnectCore 6 is 8.0 (Oreo) and requires Java 8. Install OpenJDK 8 with the following command:
$ sudo apt-get install openjdk-8-jdk
-
Install required packages.
Issue the following command to install the required packages in Ubuntu 14.04:
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \ lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \ libgl1-mesa-dev libxml2-utils xsltproc unzip \ uuid-dev zlibc zlib1g zlib1g-dev liblzo2-dev lzop mingw32 tofrodos
-
Download Digi Embedded for Android source code installer
-
Change the permission of the sources file and execute it to install:
$ cd ${HOME} $ chmod +x 81000377_A.bin $ ./81000377_A.bin
-
Accept the license agreement and the sources will be installed inside a directory called dea-8.0-r1
-
The installation directory must exist beforehand and be writable by the user. |
Updating Digi Embedded for Android
To update a previous 8.0 release, sync your installation with the HEAD of the release branch:
~> repo sync -c -j8 --no-repo-verify
Update an existing installation older than 8.0
If you are updating from a previous major release, you must install the new Digi Embedded for Android release in a new directory. Follow the steps in Set up your development computer to download the new version.
For more information on how to set up your local work environment to build the Android source files, go to http://source.android.com/source/initializing.html.
Download Digi Embedded for Android source code installer
To download the source code, fill out next form: