~alan-griffiths/mir/knee-jerk-mir_surface_state_automatic

« back to all changes in this revision

Viewing changes to doc/installing_prebuilt_on_android.md

  • Committer: Alan Griffiths
  • Date: 2013-03-11 17:42:55 UTC
  • mfrom: (484 trunk)
  • mto: This revision was merged to the branch mainline in revision 494.
  • Revision ID: alan@octopull.co.uk-20130311174255-bjyo3a90v71entgq
Segregate server-only code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installing pre-built packages on an Android device {#installing_prebuilt_on_android}
 
2
==================================================
 
3
 
 
4
Supported Devices
 
5
-----------------
 
6
 
 
7
The following devices have been tested with Mir:
 
8
 
 
9
| Device             | Status |
 
10
| ------------------ | ------ |
 
11
| Nexus 7 (nvidia)   | tested |
 
12
| Galaxy Nexus (SGX) | tested - needs special hybris for nvidia atm |
 
13
| Nexus 4 (qualcomm) | in progress |
 
14
 
 
15
Installing Mir
 
16
--------------
 
17
 
 
18
1. First you must install a phablet image on your device, by following the
 
19
   directions at https://wiki.ubuntu.com/Touch/Install on one of the supported
 
20
   devices. Once you have booted into the device with Ubuntu Touch ensure you
 
21
   then connect the device to the internet.
 
22
 
 
23
2. With your device connected via USB, type:
 
24
 
 
25
       $ adb devices
 
26
 
 
27
   just to ensure you are connected, then open the android shell:
 
28
 
 
29
       $ adb root
 
30
       $ adb shell
 
31
 
 
32
3. In the adb shell, stop SurfaceFlinger, Android's compositing engine that
 
33
   owns the display, and open the Ubuntu Touch shell:
 
34
 
 
35
       # stop
 
36
       # ubuntu_chroot shell
 
37
 
 
38
4. Add the mir staging PPA to your device's sources list:
 
39
 
 
40
       # apt-get install software-properties-common (to get the add-apt-repository command)
 
41
       # add-apt-repository ppa:mir-team/staging
 
42
       # apt-get update
 
43
 
 
44
5. Install Mir:
 
45
 
 
46
       # apt-get install mir libmirclient-demos