Ubuntu Touch Emulator

Registered by Ricardo Salveti on 2013-11-13

We want the emulator to be our main target for testing an development. This session is to discuss the current status of the emulator, and the remaining work to integrate it at our development/CI/SDK stack.

Topics:
 1. bringup (including MIR)
 2. emulator packaging/distribution (as part of SDK?)
 3. phablet-tools support
 4. image production
 5. OOB adb support (hopefully magic)
 6. appdev test/iteration tools, documentation and best practices
 7. x86 support (archive, image, emulator-x86, phablet-tools)

SDK:
 1. SDK emulator user experience story
     - maybe a write up and publish a user story
     - once we get close to release of emulator support, run a
documentation/education campaign through blogs/social media
 2. out of the box qtcreator emulator experience
     - instead of working against a connected device you want use an emulator
     - should be the default device if user doesn't select anything else
     - super simple and robust experience
     - emulator for easy testing code on phone and tablet formfactors

CI:
 1. upstream merger emulator support
 2. daily-release emulator support
 3. image smoke emulator support
 4. generic test service emulator support

Blueprint information

Status:
Started
Approver:
Michael Frey
Priority:
High
Drafter:
Ricardo Salveti
Direction:
Approved
Assignee:
Ricardo Salveti
Definition:
Approved
Series goal:
Accepted for trusty
Implementation:
Started
Milestone target:
None
Started by
Ricardo Salveti on 2013-11-27

Related branches

Sprints

Whiteboard

Ubuntu Touch Emulator

Session Notes:
Bringup:
* Current emulator is working with both Unity8 and Mir
* Issues:
  - Instabilities with Qemu (hanging)
  - Limit 512mb of ram
  - Apparmor currently disabled
  - Packaging (build and run scripts should ideally be part of phablet-tools)

 QtCreator needs a plugin or something to launch emulator from the QtCreator (something for SDK team to look into?) at the moment emulator is prepared & launched using two sh scripts.

Session Video: http://www.youtube.com/watch?v=ST7-U7ks0d8

Results for running autopilot with emulator and weather app: http://paste.ubuntu.com/6526692/

(?)

Work Items

Work items:
[sergiusens] move the build/run emulator scripts to be part of phablet-tools: DONE
[sergiusens] clean up package to separate the emulator and provide it for both precise/saucy: DONE
[sergiusens] add support to flash emulator in phablet-flash: INPROGRESS
[rsalveti] Add the goldfish images to cdimage: DONE
[rsalveti] Request goldfish based images for system-image: DONE
[sergiusens] Improve the download script to consume both the system image and ubuntu rootfs: DONE
[rsalveti] Investigate and enable emulator HW support (android HAL): TODO
[sergiusens] Verify rotation, and workout a parameter to startup (landscape or portrait): TODO
[sergiusens] Extend the skins -> work out dpi/resolution: TODO
[rsalveti] make sure hw.density parameter works: TODO
[lool] investigate high memory support (more than 512mb): DONE
[rsalveti] look into hooking up buttons for certain actions (swipe etc...): TODO
[pwlars] Investigate the cloud-instance and see if that supports opengl and the emulator: TODO
[sergiusens] autopilot for emulator, fix hardcodings: DONE
[dkessel] Try running autopilot tests in the emulator: DONE
[xnox] /dev/uinput is missing (bug #1260023): DONE

Dependency tree

* Blueprints in grey have been implemented.