<?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[Howto rebuild UBports image for specific device from sources?]]></title><description><![CDATA[<p dir="auto">Is there a guide / how to, which covers details needed to rebuild UBports image for specific device from sources?</p>
<p dir="auto">I am having troubles figuring out the following:</p>
<ul>
<li>Pre-requisites/requirements for setting up development environment, i.e. preferred OS, required tools, dependencies, versions (if relevant) etc.</li>
<li>How to setup environment?</li>
<li>How to get sources needed to build UBports image for specific device?</li>
<li>How to build, install, test?</li>
<li>...</li>
</ul>
<p dir="auto">So far, I've found  <a href="https://docs.ubports.com/en/latest/systemdev/testing-locally.html" rel="nofollow ugc">https://docs.ubports.com/en/latest/systemdev/testing-locally.html</a> but got stuck pretty fast on <code>crossbuilder setup-lxd</code> which results for me in error:</p>
<pre><code>LXD was installed but is not accessible. Please restart your computer.
</code></pre>
<p dir="auto">Note that I tried reboot and it does not help <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=6722c86c489" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">I've also seen found <a href="https://docs.ubports.com/en/latest/porting/introduction.html#" rel="nofollow ugc">porting guide</a>, but it covers initial creation of UBports image for new device, not rebuild UBports image for specific device from sources.</p>
]]></description><link>https://forums.ubports.com/topic/2119/howto-rebuild-ubports-image-for-specific-device-from-sources</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 12:57:44 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/2119.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Dec 2018 23:23:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Howto rebuild UBports image for specific device from sources? on Sat, 22 Dec 2018 15:57:25 GMT]]></title><description><![CDATA[<p dir="auto">I suppose you are on 18.10 as well, so you may want to join in on <a href="https://forums.ubports.com/topic/2140/how-to-setup-crossbuilder-in-ubuntu-18-10">https://forums.ubports.com/topic/2140/how-to-setup-crossbuilder-in-ubuntu-18-10</a> instead.</p>
]]></description><link>https://forums.ubports.com/post/15952</link><guid isPermaLink="true">https://forums.ubports.com/post/15952</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Sat, 22 Dec 2018 15:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Howto rebuild UBports image for specific device from sources? on Wed, 19 Dec 2018 22:07:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dobey" aria-label="Profile: dobey">@<bdi>dobey</bdi></a> said in <a href="/post/15771">Howto rebuild UBports image for specific device from sources?</a>:</p>
<blockquote>
<blockquote>
<p dir="auto">Well, what I am looking for is description of steps that one needs to do, if he would like to try fix something in e.g. system-settings.</p>
</blockquote>
<p dir="auto">You can just build new debs with crossbuilder,</p>
</blockquote>
<p dir="auto">Well, I can't get even through this step, since as mentioned in the first message, <code>crossbuilder</code> just does not work for me.</p>
<blockquote>
<p dir="auto">push them to the device, make the rootfs r/w, and install the new specific debs (not all the binary packages that get built are necessarily installed). Or if there's a PR, CI will build debs in a repo, and you can use the <code>ubports-qa</code> tool on your device to upgrade the packages for a specific PR, to test. There's no need to rebuild and reflash the whole rootfs to test specific fixes.</p>
</blockquote>
<p dir="auto">Thanks for the story above, but at the moment stuff that seem to be so obvious to you does not make any sense to me... Need to do the first step - build something with <code>crossbuilder</code>, then I will try to decipher the rest.</p>
]]></description><link>https://forums.ubports.com/post/15880</link><guid isPermaLink="true">https://forums.ubports.com/post/15880</guid><dc:creator><![CDATA[kwah]]></dc:creator><pubDate>Wed, 19 Dec 2018 22:07:11 GMT</pubDate></item><item><title><![CDATA[Reply to Howto rebuild UBports image for specific device from sources? on Sun, 16 Dec 2018 13:43:01 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Well, what I am looking for is description of steps that one needs to do, if he would like to try fix something in e.g. system-settings.</p>
</blockquote>
<p dir="auto">You can just build new debs with crossbuilder, push them to the device, make the rootfs r/w, and install the new specific debs (not all the binary packages that get built are necessarily installed). Or if there's a PR, CI will build debs in a repo, and you can use the <code>ubports-qa</code> tool on your device to upgrade the packages for a specific PR, to test. There's no need to rebuild and reflash the whole rootfs to test specific fixes.</p>
<blockquote>
<p dir="auto">I want to understand, full development -&gt; build -&gt; deployment -&gt; test cycle for supported device I have.</p>
</blockquote>
<p dir="auto">Basically as described above. In case of changes to kernel or recovery, those pieces would be rebuilt and flashed on. Testing against a full flashed image is done by installing the current devel or RC for a device, to validate the image for promotion. Images in devel are built automatically on a daily basis, by CI.</p>
]]></description><link>https://forums.ubports.com/post/15771</link><guid isPermaLink="true">https://forums.ubports.com/post/15771</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Sun, 16 Dec 2018 13:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to Howto rebuild UBports image for specific device from sources? on Sat, 15 Dec 2018 21:03:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dobey" aria-label="Profile: dobey">@<bdi>dobey</bdi></a> said in <a href="/post/15734">Howto rebuild UBports image for specific device from sources?</a>:</p>
<blockquote>
<p dir="auto">So, the rootfs is not specific to a device. Pretty much everything that can be built via <code>crossbuilder</code> is part of the rootfs, which you do not need to rebuild for your device. The linked "systemdev" documentation is about developing components at this level (services that run inside ubuntu, unity8 shell, system-settings, etc…).</p>
</blockquote>
<p dir="auto">Well, what I am looking for is description of steps that one needs to do, if he would like to try fix something in e.g. system-settings.</p>
<blockquote>
<p dir="auto">If what you want to build is a <em>port</em> for your device, the best place to start is <a href="https://docs.halium.org" rel="nofollow ugc">https://docs.halium.org</a> and the porting guide. They describe how to build the device-specific parts.</p>
</blockquote>
<p dir="auto">I want to understand, full development -&gt; build -&gt; deployment -&gt; test cycle for <em>supported</em> device I have.</p>
]]></description><link>https://forums.ubports.com/post/15757</link><guid isPermaLink="true">https://forums.ubports.com/post/15757</guid><dc:creator><![CDATA[kwah]]></dc:creator><pubDate>Sat, 15 Dec 2018 21:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to Howto rebuild UBports image for specific device from sources? on Sat, 15 Dec 2018 01:37:10 GMT]]></title><description><![CDATA[<p dir="auto">So, the rootfs is not specific to a device. Pretty much everything that can be built via <code>crossbuilder</code> is part of the rootfs, which you do not need to rebuild for your device. The linked "systemdev" documentation is about developing components at this level (services that run inside ubuntu, unity8 shell, system-settings, etc…).</p>
<p dir="auto">If what you want to build is a <em>port</em> for your device, the best place to start is <a href="https://docs.halium.org" rel="nofollow ugc">https://docs.halium.org</a> and the porting guide. They describe how to build the device-specific parts.</p>
]]></description><link>https://forums.ubports.com/post/15734</link><guid isPermaLink="true">https://forums.ubports.com/post/15734</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Sat, 15 Dec 2018 01:37:10 GMT</pubDate></item></channel></rss>