lxc-android-config

Differences between revisions 1 and 2
Revision 1 as of 2014-05-26 12:50:46
Size: 705
Editor: cyphermox
Comment:
Revision 2 as of 2014-05-26 12:55:05
Size: 698
Editor: cyphermox
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 * clean flash of the latest image on mako
'''
    ubuntu-device-flash --channel=devel-proposed --bootstrap
'''
 * download the lxc-android-config package ==
Line 8: Line 5:
 * download the lxc-android-config package  * install the package:
Line 10: Line 7:
 * reboot into recovery
Line 12: Line 8:
'''
    adb reboot recovery
'''
{{{#!highlight bash
#clean flash of the latest image on mako
ubuntu-device-flash --channel=devel-proposed --bootstrap
Line 16: Line 12:
 * Remount the system image someplace it can be modified: # reboot into recovery
adb reboot recovery
Line 18: Line 15:
    adb shell mount -o loop /data/system.img /mnt # Remount the system image someplace it can be modified:
adb shell mount -o loop /data/system.img /mnt
Line 20: Line 18:
 * Put lxc-android-config in it: # Put lxc-android-config in it:
adb push lxc-android-config_0.161_all.deb /mnt/tmp
Line 22: Line 21:
    adb push lxc-android-config_0.161_all.deb /mnt/tmp # Install the package:
adb shell chroot /mnt /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_0.161_all.deb
Line 24: Line 24:
 * Install the package:

    adb shell chroot /mnt /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_0.161_all.deb

 * Unmount and reboot:

    adb shell umount /mnt
    adb reboot
# Unmount and reboot:
adb shell umount /mnt
adb reboot
}}}

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 adb shell mount -o loop /data/system.img /mnt
   9 
  10 # Put lxc-android-config in it:
  11 adb push lxc-android-config_0.161_all.deb /mnt/tmp
  12 
  13 # Install the package:
  14 adb shell chroot /mnt /usr/bin/env PATH=/bin:/sbin:/usr/bin:/usr/sbin dpkg -i /tmp/lxc-android-config_0.161_all.deb
  15 
  16 # Unmount and reboot:
  17 adb shell umount /mnt
  18 adb reboot

Touch/Testing/lxc-android-config (last edited 2016-10-13 13:22:18 by sil2100)