Getting Started with Android
The MIPS emulator can be built from the Android Open Source Project releases by Google. For every Android release, QA is performed 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 MIPS. 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:
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.
Initializing a Build Environment Downloading and Building
Downloading the Android sources from MIPS releases
The MIPS releases are hosted at github. 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.
Android Nougat MR2 – 7.1.2
The latest version of Android Nougat MR2 release for emulator can be downloaded as below. View release notes. The build and bring up process for various architecture variants is described in the release notes.
$ mkdir mipsandroid $ cd mipsandroid $ repo init -u git://github.com/MIPS/manifests.git -b dev-mips-nougat-mr2 -m mips-ng-7.1.2_r17.m1.xml $ repo sync
The Nougat MR2 release for CI20 is hosted at elinux.org. The link here describes how to download and build Nougat MR2 for CI20.
Android Lollipop MR1 – 5.1.1
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
Android KitKat 4.4.2
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
Android Jelly Bean 4.3.1
The latest version of MIPS Jelly Bean MR2 is release 4.3.1
view 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
Android Jelly Bean 4.2.2
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
Android Jelly Bean 4.1.2
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
Android Ice Cream Sandwich
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
Android Gingerbread
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
Android Froyo
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