<?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[Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I used UBports on a Bq Aquaris E5 for a while. So, first of all: Thanks to the community. Right now, I got an OnePlus One. I am not quite experienced in this field, so it might be a rookie mistake.</p>
<p dir="auto">I am using a notebook with Debian GNU/Linux 10 (buster). In order to use the UBports Installer, I installed the stable snap 0.4.18-beta. I started it via: snap run ubports-installer Sadly, I got the error message: Failed to start adb server</p>
<ul>
<li>It might be a permission issue.</li>
<li>Or do I have to install some ADB tool?</li>
<li>Would it be much simpler to use Ubuntu on a virtual machine?</li>
</ul>
<p dir="auto">Any support would be welcome.</p>
<p dir="auto">Greetings.</p>
<pre><code>error: Error: Failed to start adb server: Error: {"error":{"killed":false,"code":255,"signal":null,"cmd":"/snap/ubports-installer/275/app/resources/app.asar.unpacked/platform-tools/linux/adb -P 5037 start-server"},"stdout":"","stderr":"* daemon not running; starting now at tcp:5037\nADB server didn't ACK\nFull server startup log: /tmp/adb.1000.log\nServer had pid: 8505\n--- adb starting (pid 8505) ---\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] Android Debug Bridge version 1.0.41\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] Version 29.0.6-6198805\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] Installed as /snap/ubports-installer/275/app/resources/app.asar.unpacked/platform-tools/linux/adb\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] \nadb F 08-08 11:09:12  8505  8505 main.cpp:144] could not install *smartsocket* listener: Operation not permitted\n\n* failed to start daemon\nerror: cannot connect to daemon"}
stack trace: Error: {"error":{"killed":false,"code":255,"signal":null,"cmd":"/snap/ubports-installer/275/app/resources/app.asar.unpacked/platform-tools/linux/adb -P 5037 start-server"},"stdout":"","stderr":"* daemon not running; starting now at tcp:5037\nADB server didn't ACK\nFull server startup log: /tmp/adb.1000.log\nServer had pid: 8505\n--- adb starting (pid 8505) ---\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] Android Debug Bridge version 1.0.41\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] Version 29.0.6-6198805\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] Installed as /snap/ubports-installer/275/app/resources/app.asar.unpacked/platform-tools/linux/adb\nadb I 08-08 11:09:12  8505  8505 main.cpp:60] \nadb F 08-08 11:09:12  8505  8505 main.cpp:144] could not install *smartsocket* listener: Operation not permitted\n\n* failed to start daemon\nerror: cannot connect to daemon"}
    at /snap/ubports-installer/275/app/resources/app.asar/node_modules/promise-android-tools/src/adb.js:66:13
    at /snap/ubports-installer/275/app/resources/app.asar/src/utils.js:282:7
    at ChildProcess.exithandler (child_process.js:319:5)
    at ChildProcess.emit (events.js:194:13)
    at maybeClose (internal/child_process.js:998:16)
    at Socket.&lt;anonymous&gt; (internal/child_process.js:403:11)
    at Socket.emit (events.js:194:13)
    at Pipe.&lt;anonymous&gt; (net.js:593:12)
</code></pre>
]]></description><link>https://forums.ubports.com/topic/4744/trying-to-use-the-ubports-installer-on-a-debian-system-with-an-oneplus-one-failed-to-start-adb-server</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 10:42:13 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/4744.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Aug 2020 09:37:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server on Sat, 08 Aug 2020 18:21:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/connochaetes" aria-label="Profile: connochaetes">@<bdi>connochaetes</bdi></a> Congrats on installing. You can mark the thread as solved using Topic Tools, Ask as Question by the way.</p>
]]></description><link>https://forums.ubports.com/post/38440</link><guid isPermaLink="true">https://forums.ubports.com/post/38440</guid><dc:creator><![CDATA[Lakotaubp]]></dc:creator><pubDate>Sat, 08 Aug 2020 18:21:29 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server on Sat, 08 Aug 2020 13:14:03 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, that 's all very kind and helpful.</p>
<ul>
<li>I installed adb and fastboot. (I 'm not sure, if this was necessary.)</li>
<li>I used the ".AppImage" file as a normal user.</li>
<li>I watched the installation video carefully: <a href="https://www.youtube.com/watch?time_continue=1&amp;v=zuLFTGkuD68&amp;feature=emb_logo" rel="nofollow ugc">https://www.youtube.com/watch?time_continue=1&amp;v=zuLFTGkuD68&amp;feature=emb_logo</a></li>
<li>I enabled the developer mode on the phone's exiting CyanogenMod operating system. (The "how to..." button shows, how it 's done.)</li>
<li>Then, it worked out just fine.</li>
</ul>
<p dir="auto">The problem is solved. Perhaps, this forum issue might encourage another newbie to check out UBports. Again, thanks to the community.</p>
]]></description><link>https://forums.ubports.com/post/38437</link><guid isPermaLink="true">https://forums.ubports.com/post/38437</guid><dc:creator><![CDATA[connochaetes]]></dc:creator><pubDate>Sat, 08 Aug 2020 13:14:03 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server on Sat, 08 Aug 2020 11:23:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ingo" aria-label="Profile: Ingo">@<bdi>Ingo</bdi></a> said in <a href="/post/38430">Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server</a>:</p>
<blockquote>
<p dir="auto">The installer comes with bundled adb and fastboot (can be seen in the output).</p>
</blockquote>
<p dir="auto">Oh, I'm really sorry, my bad !! I wrote it thinking about how <em>I</em> did it... That's because I'm on Slackware and I have to use the AppImage. But then the rest applies : if <a class="plugin-mentions-user plugin-mentions-a" href="/user/connochaetes" aria-label="Profile: connochaetes">@<bdi>connochaetes</bdi></a>  has Android on his OPO, he (or she) still has to enable developer mode on it and make it recognised by ADB. By the way, I'm realizing I forgot one step, I'll correct this right away in my first answer.</p>
]]></description><link>https://forums.ubports.com/post/38431</link><guid isPermaLink="true">https://forums.ubports.com/post/38431</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 08 Aug 2020 11:23:33 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server on Sat, 08 Aug 2020 11:20:17 GMT]]></title><description><![CDATA[<p dir="auto">@Luna said in <a href="/post/38429">Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server</a>:</p>
<blockquote>
<p dir="auto">In effect, you have to install adb and fastboot</p>
</blockquote>
<p dir="auto">Is that true? The installer comes with bundled adb and fastboot (can be seen in the output).</p>
<p dir="auto">Edit: of course it can be helpful to have access to those tools outside the installer, too. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=6722c86c489" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
]]></description><link>https://forums.ubports.com/post/38430</link><guid isPermaLink="true">https://forums.ubports.com/post/38430</guid><dc:creator><![CDATA[Ingo]]></dc:creator><pubDate>Sat, 08 Aug 2020 11:20:17 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server on Sat, 08 Aug 2020 11:26:05 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">In effect, you have to install adb and fastboot. It's a long time since I last did this, so I might have forgotten something important ! In Debian, you can type <code>sudo apt-get install adb fastboot</code>. You also need to have the <a href="https://www.janosgyerik.com/adding-udev-rules-for-usb-debugging-android-devices/" rel="nofollow ugc">proper udev rules</a> for your phone to be recognised, as it allow you to run adb and fastboot as the normal user. Is it the case for you ?</p>
<p dir="auto">You also need to activate developer mode in Android before you can install Ubuntu Touch. For this, go to Settings --&gt; About this phone, and type 7 times on the build number. Lastly, connect your phone to the computer, unlock it and type <code>adb start-server</code>, and then <code>adb devices</code>. You should have a message like this :</p>
<p dir="auto"><img src="/assets/uploads/files/1596884960068-adb-on-linux.png" alt="adb-on-linux.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Edit : I forgot to mention that on the first attempt to connect, you'll get a message on your phone asking if you want to share keys with your computer. You say yes, of course, because you need that to install UT on your phone !</p>
<p dir="auto">If this is the case, you can start the Ubports installer, and it should work (I hope it does !) <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=6722c86c489" 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/38429</link><guid isPermaLink="true">https://forums.ubports.com/post/38429</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 08 Aug 2020 11:26:05 GMT</pubDate></item><item><title><![CDATA[Reply to Trying to use the UBports Installer on a Debian system with an OnePlus One: Failed to start adb server on Sat, 08 Aug 2020 10:03:38 GMT]]></title><description><![CDATA[<p dir="auto">I'm not familiar enough with snap to help (it does say "operation not permitted").<br />
But alternatively, you could try to use the deb or AppImage packages instead.<br />
Personally I always found the AppImage most convenient (I'm on opensuse linux).</p>
]]></description><link>https://forums.ubports.com/post/38425</link><guid isPermaLink="true">https://forums.ubports.com/post/38425</guid><dc:creator><![CDATA[Ingo]]></dc:creator><pubDate>Sat, 08 Aug 2020 10:03:38 GMT</pubDate></item></channel></rss>