<p dir="ltr">It's already available in saucy daily builds right?</p>
<div class="gmail_quote">Il giorno 12/giu/2013 20:56, "Oliver Grawert" <<a href="mailto:ogra@ubuntu.com">ogra@ubuntu.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi,<br>
<br>
I am happy to announce that there are now Ubuntu Touch Images with a<br>
flipped container model available for some of the nexus devices we<br>
support.<br>
<br>
Note that these images are still highly experimental and meant mainly<br>
for Ubuntu developers that want to help fixing bugs in the flipped<br>
container model.<br>
<br>
What does "flipped container" mean anyway ?<br>
<br>
The known Ubuntu Touch images run Ubuntu inside a chroot on top of<br>
android .... For the flipped model we are instead booting directly into<br>
Ubuntu and then start up android inside an lxc container before starting<br>
any services/applications<br>
<br>
Currently only the maguro and mako sub architectures are tested and<br>
known to work ... grouper is actually known to not work at all in saucy<br>
(even unflipped) currently, manta has not been tested yet (feedback<br>
appreciated).<br>
<br>
The daily builds of container flipped Ubuntu Touch images can be found<br>
at <a href="http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/" target="_blank">http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/</a><br>
To install them follow the<br>
<a href="https://wiki.ubuntu.com/Touch/Install#Manual_Installation" target="_blank">https://wiki.ubuntu.com/Touch/Install#Manual_Installation</a> manual<br>
instructions...<br>
<br>
NOTE: It is essential for the flipped model to work properly that you<br>
install the zips in the right order, first you always want the armel<br>
+$subarch.zip, only then the armhf.zip file<br>
<br>
After install the first boot might take a little longer than you are<br>
used to from the unflipped images, second boot should be reasonably<br>
fast.<br>
There have been reports that wifi only works after the second boot, in<br>
case you have problems with this, please try a reboot first.<br>
<br>
We run adbd on the Ubuntu side, so you will be able to use the "adb<br>
shell" command from your PC to get into the running system.<br>
<br>
Some tipe for working with the new design:<br>
<br>
Getting info about the container:<br>
<br>
the command: lxc-info -n android<br>
<br>
 * this will tell you if the container is actually running and where you<br>
can find it (/proc/$pid is usually the namespace where lxc puts it)<br>
<br>
the command: android-chroot<br>
<br>
 * as the name suggests this will give you chroot access into the<br>
android container (note that this does not provide the android<br>
properties system (yet))<br>
<br>
modifying android:<br>
<br>
if you want to i.e. change the services that get started by default you<br>
can do the following:<br>
<br>
cp /var/lib/lxc/android/rootfs/init.rc /var/lib/lxc/android/overrides/<br>
<br>
now you can edit /var/lib/lxc/android/overrides/init.rc to your liking<br>
(i.e. to prevent surfaceflinger from starting because you work on Mir<br>
you would delete all surfaceflinger related blocks in there)<br>
<br>
Using androids adbd instead of ubuntus:<br>
<br>
to have adbd running inside the container instead of the rootfs (i.e. to<br>
get full access to the properties system the android-chroot tool can not<br>
provide) do the following:<br>
<br>
echo manual > /etc/init/android-tools-adbd.override<br>
<br>
then reboot, after the reboot adb will get you into android normally ...<br>
<br>
to revert this just do<br>
<br>
rm /data/ubuntu/etc/init/android-tools-adbd.override<br>
<br>
and on next reboot adb will log you into the ubuntu side again.<br>
<br>
If you have any further questions, feel free to find me in the<br>
#ubuntu-touch channel on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> (or just follow up on this<br>
mail)<br>
<br>
ciao<br>
    oli<br>
<br>--<br>
ubuntu-devel mailing list<br>
<a href="mailto:ubuntu-devel@lists.ubuntu.com">ubuntu-devel@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel</a><br>
<br></blockquote></div>