<?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[Preview: command-line installer]]></title><description><![CDATA[<p dir="auto">Hi there!<br />
In the last few days I've been working on a command-line installer for Ubuntu Touch. The goal is not to replace the current graphical installer, but to have a piece of software written in a language (shell scripting) that is familiar to more developers, and that hopefully would be easier to modify.</p>
<p dir="auto">I've tried to write it in such a way that it should not be hard to embed it into a graphical application; it's not fully ready for that yet, but if someone familiar with the graphical installer source code wants to try embedding the command-line installer, I can support him <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=eeff4b5fc81" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
<p dir="auto">At the moment, this is in very early stages:</p>
<ul>
<li>it supports only the BQ devices <code>cooler</code>, <code>frieza</code>, <code>krilling</code> and <code>vegetahd</code></li>
<li>localization (translations) support needs to be implemented</li>
<li>need to find a way to package it (I'll most likely create a snap myself, but all contributions for other packaging formats will be welcome)</li>
<li>need to write a README file explaining how to write device config files</li>
</ul>
<p dir="auto">I would appreciate if interested people would try it and report back, but for the time being this is for advanced users only. You need to clone <a href="https://gitlab.com/mardy/ubports-flasher" rel="nofollow ugc">the repository</a> and execute the <code>flasher</code> script from there:</p>
<pre><code>$ ./flasher -h
Usage: flasher [options] [command]

If no command is given, the 'flash' command will be executed by default.

Options:
 -b, --bootstrap          Also flash the vendor firmware (this option is needed
                          if the device is currently running a different OS)
 -c, --channel &lt;channel&gt;  Uses the given channel (default is 'stable')
 -d, --device &lt;dev-id&gt;    Specifies the connected device (default: autodetect)
 -h, --help               Show this help screen
 -q, --quiet              Reduce verbosity level
 -v, --verbose            Increase verbosity level
     --wipe               Erase all user data on the device
</code></pre>
<p dir="auto">If you don't own a BQ device but would still like to try it, the existing files under the <code>device_configs/</code> directory could serve you as an example; the fact that these files are bash scripts, make it possible for the device maintainer to execute almost any type of operation in there (and it is possible to override the default actions). If you manage to write a working config file for your device, please make sure to submit it with a merge request! <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=eeff4b5fc81" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forums.ubports.com/topic/7524/preview-command-line-installer</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 21:57:28 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/7524.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Mar 2022 20:37:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Preview: command-line installer on Sat, 05 Mar 2022 07:00:30 GMT]]></title><description><![CDATA[<p dir="auto">Update: I've created a PPA with the installer:<br />
<a href="https://launchpad.net/~mardy/+archive/ubuntu/ubports-tools" rel="nofollow ugc">https://launchpad.net/~mardy/+archive/ubuntu/ubports-tools</a></p>
<p dir="auto">Now I'll slowly add more devices <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=eeff4b5fc81" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forums.ubports.com/post/62572</link><guid isPermaLink="true">https://forums.ubports.com/post/62572</guid><dc:creator><![CDATA[mardy]]></dc:creator><pubDate>Sat, 05 Mar 2022 07:00:30 GMT</pubDate></item></channel></rss>