lxc-android-config

Revision 6 as of 2014-09-18 13:40:23

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 on mako
   2 ubuntu-device-flash --channel=devel-proposed --bootstrap
   3 
   4 # reboot into recovery
   5 adb reboot recovery
   6 
   7 # Remount the system image someplace it can be modified:
   8 # mako version
   9 TARGET=/mnt
  10 adb shell mount -o loop /data/system.img $TARGET
  11 # krillin version
  12 TARGET=/system
  13 adb shell mount $TARGET
  14 
  15 # Put lxc-android-config in it:
  16 adb push lxc-android-config_*_all.deb $TARGET/tmp
  17 
  18 # Install the package:
  19 adb shell chroot $TARGET /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_*_all.deb
  20 
  21 # Unmount and reboot:
  22 adb shell umount $TARGET
  23 adb reboot