<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Anbox development]]></title><description><![CDATA[<p dir="auto">If watched the UT development for a year now and the Anbox development for about one and a half year now.</p>
<p dir="auto">I want to add new features to Anbox (especially notification support, which is really important for UT), but I wasn't able to find a guide on how to develop Anbox for UT.</p>
<p dir="auto">In the installation guide we have flash an image to the boot partition of the device.<br />
What image is that and how can I build it?<br />
Do I have to modify the anbox-tool debian package?</p>
<p dir="auto">Thanks, Jan-Luca</p>
]]></description><link>https://forums.ubports.com/topic/2876/anbox-development</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 12:41:57 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/2876.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Jul 2019 20:29:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anbox development on Mon, 15 Jul 2019 11:55:04 GMT]]></title><description><![CDATA[<p dir="auto">Today I setup my machine with a new SSD and Ubuntu 18.04 and the depenencies worked flawlessly.<br />
But I still get the error with the "get_state" thing <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forums.ubports.com/post/21403</link><guid isPermaLink="true">https://forums.ubports.com/post/21403</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Mon, 15 Jul 2019 11:55:04 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sun, 07 Jul 2019 10:07:41 GMT]]></title><description><![CDATA[<p dir="auto">I had to use my fixed version of crossbuilder:<br />
<a href="https://github.com/jld3103/crossbuilder" rel="nofollow ugc">https://github.com/jld3103/crossbuilder</a> (There are two branches one for the permission fix and one for my inst-foreign fix)</p>
<p dir="auto">Additional steps I had to do:</p>
<pre><code>sudo dpkg --add-architecture armhf
sudo echo "deb [arch=armhf] http://ports.ubuntu.com/ trusty main universe" &gt;&gt; /etc/apt/sources.list
sudo apt update
crossbuilder inst-foreign cmake-data
crossbuilder --privileged dependencies
</code></pre>
<p dir="auto">Currently I'm struggeling with some other dependencies <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
]]></description><link>https://forums.ubports.com/post/21169</link><guid isPermaLink="true">https://forums.ubports.com/post/21169</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Sun, 07 Jul 2019 10:07:41 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sun, 07 Jul 2019 07:16:28 GMT]]></title><description><![CDATA[<p dir="auto">OK. Works when using <code>--privileged</code></p>
]]></description><link>https://forums.ubports.com/post/21161</link><guid isPermaLink="true">https://forums.ubports.com/post/21161</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Sun, 07 Jul 2019 07:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sun, 07 Jul 2019 07:17:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mariogrip" aria-label="Profile: mariogrip">@<bdi>mariogrip</bdi></a> I got this:</p>
<pre><code>jld3103@pippin:~/Desktop/anbox$ crossbuilder dependencies
Creating LXD container anbox-usdk-16-04-amd64-armhf-dev using ubports-sdk:ubuntu-sdk-16.04-amd64-armhf-dev.
Creating anbox-usdk-16-04-amd64-armhf-dev
Error: Failed to run: /snap/lxd/current/bin/lxd forkstart anbox-usdk-16-04-amd64-armhf-dev /var/snap/lxd/common/lxd/containers /var/snap/lxd/common/lxd/logs/anbox-usdk-16-04-amd64-armhf-dev/lxc.conf: 
Try `lxc info --show-log anbox-usdk-16-04-amd64-armhf-dev` for more info
jld3103@pippin:~/Desktop/anbox$ lxc info --show-log anbox-usdk-16-04-amd64-armhf-dev
Name: anbox-usdk-16-04-amd64-armhf-dev
Remote: unix://
Architecture: x86_64
Created: 2019/07/07 06:48 UTC
Status: Stopped
Type: persistent
Profiles: default

Log:

lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.343 ERROR    start - start.c:proc_pidfd_open:1607 - Function not implemented - Failed to send signal through pidfd
lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.344 ERROR    conf - conf.c:write_id_mapping:2763 - Invalid argument - Failed to write uid mapping to "/proc/8412/uid_map"
lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.344 ERROR    conf - conf.c:lxc_map_ids:2962 - Failed to write mapping: 0 1000000 1000000000
150000 1000 1

lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.344 ERROR    start - start.c:lxc_spawn:1770 - Failed to set up id mapping.
lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.387 WARN     network - network.c:lxc_delete_network_priv:2743 - Failed to remove interface "veth046PJF" from "lxdbr0"
lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.387 ERROR    lxccontainer - lxccontainer.c:wait_on_daemonized_start:851 - Received container state "ABORTING" instead of "RUNNING"
lxc anbox-usdk-16-04-amd64-armhf-dev 20190707064911.387 ERROR    start - start.c:__lxc_start:2019 - Failed to spawn container "anbox-usdk-16-04-amd64-armhf-dev"
lxc 20190707064911.413 WARN     commands - commands.c:lxc_cmd_rsp_recv:135 - Connection reset by peer - Failed to receive response for command "get_state"
</code></pre>
]]></description><link>https://forums.ubports.com/post/21160</link><guid isPermaLink="true">https://forums.ubports.com/post/21160</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Sun, 07 Jul 2019 07:17:31 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sun, 07 Jul 2019 00:44:50 GMT]]></title><description><![CDATA[<p dir="auto">And are Anbox apps freezed like all other apps? That would be really bad for notifications. But I know, that I was able to play music from an Anbox app. So Android services are not freezed, right?</p>
]]></description><link>https://forums.ubports.com/post/21157</link><guid isPermaLink="true">https://forums.ubports.com/post/21157</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Sun, 07 Jul 2019 00:44:50 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sat, 06 Jul 2019 23:19:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mariogrip" aria-label="Profile: mariogrip">@<bdi>mariogrip</bdi></a> Is there a team for Anbox development in the team or the community? Anbox is the thing that I'm most interested in from the whole UT project.</p>
]]></description><link>https://forums.ubports.com/post/21156</link><guid isPermaLink="true">https://forums.ubports.com/post/21156</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Sat, 06 Jul 2019 23:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sat, 06 Jul 2019 23:16:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mariogrip" aria-label="Profile: mariogrip">@<bdi>mariogrip</bdi></a> Thanks for that short tutorial. This should definitely be part of the documentation.</p>
]]></description><link>https://forums.ubports.com/post/21155</link><guid isPermaLink="true">https://forums.ubports.com/post/21155</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Sat, 06 Jul 2019 23:16:59 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Sat, 06 Jul 2019 22:46:46 GMT]]></title><description><![CDATA[<p dir="auto">So the easiest way to get started is using our crossbuilder tool, <a href="https://github.com/ubports/crossbuilder" rel="nofollow ugc">https://github.com/ubports/crossbuilder</a> this will setup an lxc container that you can with all the tools to do the cross compiling of the binaries.</p>
<p dir="auto">To start with, install anbox on you device and make sure it's working before starting, this way we know that it works before you start <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">First clone <a href="https://github.com/ubports/anbox" rel="nofollow ugc">https://github.com/ubports/anbox</a> and cd into it.</p>
<p dir="auto">Then to setup container i do:</p>
<pre><code>crossbuilder dependencies
</code></pre>
<p dir="auto">Then i just do</p>
<pre><code>crossbuilder shell
cd anbox
mkdir build-armhf
cd build-armhf
cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_WAYLAND=OFF -DENABLE_MIR=ON -DENABLE_TOUCH_INPUT=ON
make -j10
</code></pre>
<p dir="auto">crossbuilder will bind mount to you current working folder</p>
<p dir="auto">Then with another shell (thats outside of crossbuilder) i push the binaries from the folder to the phone using adb.</p>
<p dir="auto">Now you have two options, use upstart or start the binaries manually,</p>
<p dir="auto"><strong>For upstart do:</strong></p>
<p dir="auto">Then adb shell into you device and replace it with the binary you just make</p>
<pre><code>sudo mount -o rw,remount /
sudo mv anbox /usr/bin
stop anbox-session
sudo stop anbox-container
sudo start anbox-container
start anbox-session
</code></pre>
<p dir="auto"><strong>For raw binary start:</strong></p>
<p dir="auto">First stop the upstart session</p>
<pre><code>stop anbox-session
sudo stop anbox-container
</code></pre>
<p dir="auto">Then to start anbox you need two services: container (root) and session (user)</p>
<p dir="auto">So you need to open two adb shells since there are blocking</p>
<pre><code>sudo ./anbox container-manager --data-path=/home/phablet/anbox-data --privileged
</code></pre>
<p dir="auto">and</p>
<pre><code>export ANBOX_NO_SDL_WINDOW_HIT_TEST=1
export ANBOX_NO_DESKTOP_SUBDIR=1
./anbox session-manager --desktop_file_hint=/usr/share/applications/anbox.desktop --mir-rootless
</code></pre>
<p dir="auto"><em>Please not these where mostly written from memory, so might be a bit rusty <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></em></p>
]]></description><link>https://forums.ubports.com/post/21154</link><guid isPermaLink="true">https://forums.ubports.com/post/21154</guid><dc:creator><![CDATA[mariogrip]]></dc:creator><pubDate>Sat, 06 Jul 2019 22:46:46 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Thu, 04 Jul 2019 08:55:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jld3103" aria-label="Profile: jld3103">@<bdi>jld3103</bdi></a> I don't know the answer for that, sorry. Maybe you can ask in that main Anbox thread I've linked.</p>
<p dir="auto">Anyway, if you want to take a look at the code, the repo is <a href="https://github.com/ubports/anbox/" rel="nofollow ugc">https://github.com/ubports/anbox/</a></p>
]]></description><link>https://forums.ubports.com/post/21025</link><guid isPermaLink="true">https://forums.ubports.com/post/21025</guid><dc:creator><![CDATA[advocatux]]></dc:creator><pubDate>Thu, 04 Jul 2019 08:55:58 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Thu, 04 Jul 2019 08:51:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/advocatux" aria-label="Profile: advocatux">@<bdi>advocatux</bdi></a> So I don't have to build the image?<br />
But then how do I modify my Anbox installation on UT?</p>
]]></description><link>https://forums.ubports.com/post/21020</link><guid isPermaLink="true">https://forums.ubports.com/post/21020</guid><dc:creator><![CDATA[jld3103]]></dc:creator><pubDate>Thu, 04 Jul 2019 08:51:43 GMT</pubDate></item><item><title><![CDATA[Reply to Anbox development on Wed, 03 Jul 2019 21:04:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jld3103" aria-label="Profile: jld3103">@<bdi>jld3103</bdi></a> we are waiting for new the Unity8 and Mir to be in place before doing any Anbox development, so that project is on stand-by mode now.</p>
<p dir="auto">You have the images for testing here <a href="https://forums.ubports.com/topic/1676/development-testers-for-anbox">https://forums.ubports.com/topic/1676/development-testers-for-anbox</a></p>
]]></description><link>https://forums.ubports.com/post/21015</link><guid isPermaLink="true">https://forums.ubports.com/post/21015</guid><dc:creator><![CDATA[advocatux]]></dc:creator><pubDate>Wed, 03 Jul 2019 21:04:29 GMT</pubDate></item></channel></rss>