Emulator

Differences between revisions 3 and 4
Revision 3 as of 2013-10-04 16:18:06
Size: 425
Editor: vorlon
Comment: document the full commands needed to do a build
Revision 4 as of 2013-10-22 00:35:03
Size: 596
Editor: vorlon
Comment: list out the android build-deps that are needed
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
$ # install android build-dependencies
$ sudo apt-get build-dep android; sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 zlib1g-dev:i386

To build

$ sudo apt-get install phablet-tools git
$ # install android build-dependencies
$ sudo apt-get build-dep android; 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

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)