Emulator

Differences between revisions 6 and 7
Revision 6 as of 2013-10-22 00:39:12
Size: 676
Editor: vorlon
Comment:
Revision 7 as of 2013-10-22 03:29:22
Size: 679
Editor: vorlon
Comment: correct the script name
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
$ ./build/tools/build-emulator-sdcard $ ./build/tools/build-emulator-sdcard.sh

To build

$ sudo apt-get install phablet-tools git
$ # 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

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