SharkBait-setup performs setup of a device to run Android as a container in Gentoo. It's made up of the following two parts:
decrypt.sh
disables force encryption that's present on the device, which preventspreinit
from finding the Gentoo root and mounting it.deploy.sh
will be installed on the system assharkbait-deploy
and will set up the LXC root and mounts.
Basically the deploy.sh
part is an automatic reproduction of the results in the blog article on how to start LXC in Android. Read deploy.sh
along with the article to understand the internals of SharkBait-setup.
Ports to other devices are strongly welcomed! Read the SharkBait-setup section in the Porter's Guide for more information.