← Back to team overview

ubuntu-phone team mailing list archive

Re: Updates to the android-emulator

 

Just some queries:
* adb to ubuntu
Q: "adb shell" will log into ubuntu?
* serial console to android
Q: how to do this?
* telnet access to control emulated events (sms, gps, etc)
Q: how to do this?

It will boot into black screen on the graphical output.
Q: in graphical mode, is "adb shell" still available?



------------------ Original ------------------
From:  "Dmitrijs Ledkovs"<xnox@xxxxxxxxxx>;
Date:  Oct 31, 2013
To:  "ubuntu-phone"<ubuntu-phone@xxxxxxxxxxxxxxxxxxx>; 

Subject:  [Ubuntu-phone] Updates to the android-emulator



It's now packaged in the archive as android-emulator package.

# in trusty
$ apt-get install android-emulator

At the moment one can install it as a normal package, but it ( for
whatever reasons) wants to run with read-write privileges.

So to run it

$ cp -r /usr/share/android/emulator/ ~/

$ cd ~/emulator/

# To download latest ubuntu rootfs and create filesystem
$ ./build-emulator-sdcard.sh

$ ./run-emulator.sh

To run emulator.

At the moment this should give one:

* adb to ubuntu
* serial console to android
* telnet access to control emulated events (sms, gps, etc)

It will boot into black screen on the graphical output.

Things to fix at the moment:

* missing /dev/eth0
* /data read-only in the android-container
* no graphical output

If you are not running trusty yet, you can download the latest emulator from:
http://packages.ubuntu.com/trusty/i386/android-emulator/download

Regards,

Dmitrijs.

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp
.

Follow ups