Emulator

Differences between revisions 8 and 9
Revision 8 as of 2013-10-22 18:14:17
Size: 683
Editor: vorlon
Comment:
Revision 9 as of 2013-10-22 19:41:29
Size: 947
Editor: vorlon
Comment: mention how to update for new android changes in the repository
Deletions are marked like this. Additions are marked like this.
Line 30: Line 30:

To update your existing working tree to pull in new changes from the server, run {{{repo sync}}}.

For more information about how to use the repo command to manage your android working tree, see [[http://source.android.com/source/using-repo.html|this page]].

To build

$ sudo apt-get install phablet-tools git bzr
$ # install android build-dependencies
$ sudo apt-get build-dep android
$ # if we're on amd64, we need to pull in certain 32-bit packages explicitly
$ sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 zlib1g-dev:i386
$ phablet-dev-bootstrap emulator
$ cd emulator
$ . ./build/envsetup.sh
$ lunch cm_goldfish-eng
$ make -j12

To generate sdcard with the ubuntu rootfs

$ ./build/tools/build-emulator-sdcard.sh

Launch emulator with serial console:

$ emulator -verbose -show-kernel -qemu -nographic

Username & password are:

phablet
phablet

To update your existing working tree to pull in new changes from the server, run repo sync.

For more information about how to use the repo command to manage your android working tree, see this page.

Touch/Emulator (last edited 2016-04-15 03:17:10 by tsimonq2)