LXC Containers on Shield Android TV
This project was not made to specifically have Ubuntu on Shield TV. Have LXC containers is an easy way to virtualize many different OSes, apps and drivers and speed up the development. About the Ubuntu OS that you see in the video, the GPU drivers are not present, therefore you can use console apps or apps that not rely too much on GPU. My interest as developer is to have two different Android OS at same time, but with LXC containers, others developers can create and share others OSes also with GPU driver active. In others words, this project can drastically accelerate the development on Shield TV and the only limit is your imagination.What are LXC Containers ?
https://en.wikipedia.org/wiki/LXC
Download the LXC Containers enabled Kernel:
https://goo.gl/PBjZP7
fastboot flash boot boot.img
fastboot reboot
Download the Lxc for Android aarch64 binaries:
https://goo.gl/3uD8tQ
Download the Ubunntu arm64 rootfs:
https://goo.gl/rSV7N6
adb push lxc.tar.gz /sdcard/
adb push ubuntu_rootfs_aarch64_tar.gz /sdcard/
adb shell
su
tar -xpvzf /sdcard/lxc.tar.gz -C /data/
tar -xpvzf /sdcard/ubuntu_rootfs_aarch64_tar.gz -C /data/lxc/containers/ubuntu64/rootfs/
/data/lxc/startUbuntu64
Username: ubuntu
Password: ubuntu
Kernel source code: http://nv-tegra.nvidia.com/gitweb/?p=li ... -foster-r7
Note:
This thread is more oriented for development purpose, i do not respond to basic questions.
You are free to use this work for your projects.
We want see your virtualized OS inside Shield Android TV. Now you don't have limits !