lxc-android-config

Revision 13 as of 2016-10-13 13:22:18

Clear message

Testing new versions of lxc-android-config

Download the lxc-android-config package

Install the package

   1 # clean flash of the latest image
   2 ubuntu-device-flash touch --channel=ubuntu-touch/rc-proposed/ubuntu --bootstrap --recovery-image /path/to/adb-enabled-recovery.img
   3 
   4 # Flash the adb-enabled recovery
   5 adb reboot bootloader
   6 fastboot flash recovery /path/to/adb-enabled-recovery.img
   7 
   8 # reboot into recovery
   9 adb reboot recovery
  10 
  11 # Remount the system image someplace it can be modified:
  12 # krillin
  13 adb shell mount /system
  14 # mako
  15 adb shell mount /data
  16 adb shell mount /data/system.img /system
  17 
  18 # Put lxc-android-config in it:
  19 adb push lxc-android-config_*.deb /system/tmp
  20 
  21 # Install packages:
  22 adb shell chroot /system /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin sh -c 'dpkg -i /tmp/*.deb'
  23 
  24 # Unmount and reboot:
  25 adb shell umount /system
  26 adb shell sync
  27 adb reboot