MIPS Android

Getting Started with Android

The MIPS emulator can be built from the Android Open Source Project releases by Google.
For every Android release a QA is done and bugs found in the process are fixed. These bug-fixes along with any MIPS optimizations go on top of the Android release branch and get released by Imagination Technologies. Eventually all the bug-fixes and optimizations get submitted to the AOSP. It is hence recommended to download the latest MIPS releases from the instructions below to get the most stable version of Android sources for MIPS.

Other resources for MIPS Android:

    Android SDK         Android NDK         MagicCode Patches Download    

Setting Up Your Development System

The web pages below from the official Android website should get you started with setting up a system to compile Android sources.

Downloading and Building
Initializing a Build Environment

Downloading the Android sources from MIPS releases

Download Speed

The first time you run the repo sync it will download several gigabytes of source code to your machine so be patient. Once the download is completed future updates may take only a few minutes since only the code changes are downloaded.

 

The latest version of Android Lollipop MR1 – 5.1.1 view release notes

$ mkdir mipsandroid
$ cd mipsandroid
$ repo init -u git://github.com/MIPS/manifests.git -b dev-mips-lollipop-mr1 -m mips-lp-5.1.1_r6.m2.xml
$ repo sync
The latest version of MIPS KitKat is release 4.4.2 view release notes

mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b dev-mips-kitkat -m mips-kk-4.4.2_r1.m1.xml
repo sync
The latest version of MIPS Jelly Bean MR2 is release 4.3.1view release notes

mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b dev-mips-jb-mr2 -m mips-jb-4.3.1_r1.1.m3.xml
repo sync
The latest version of MIPS Jelly Bean MR1 is release 4.2.2 view release notes

mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b dev-mips-jb-mr1 -m mips-jb-4.2.2_r1.m2.xml
repo sync
mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b dev-mips-jb-mr1 -m mips-jb-4.1.2_r1m1.xml
repo sync
The latest version of Ice Cream Sandwich is MIPS release 6 view release notes

mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b mips-ics-mr1.1 -m mips-ics-4.0.4_r1.1m6.xml
repo sync
The latest version of Gingerbread is”r3″ and release notes view release notes

mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b mips-gb-2.3.5 -m mips-gb-2.3.5_r1m3.xml
repo sync
The latest version of Froyo is “r10” view release notes

mkdir mipsandroid
cd mipsandroid
repo init -u git://github.com/MIPS/manifests.git -b mips-froyo-r10
repo sync


 

Dalvik turbo

MIPS has an optimized port of Myriad Dalvik turbo available for Android. This version of the Dalvik virtual machine is many times faster than the stock version of Dalvik that is available with the Android source code.

Dalvik Turbo Downloads

Compiling Sources for MIPS from the Jelly Bean release

. build/envsetup.sh
lunch full_mips-eng
make –jX
where X is dependent on the number of cores the host machine has. On a four core machine, X can be 8.

Bringing up emulator

From the root of android sources type:

emulator –shell –show-kernel