<?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[UBport new device porting problem]]></title><description><![CDATA[<p dir="auto">I have</p>
<p dir="auto">25019.271313] audit: type=1107 audit(1568197260.187:772): pid=1080 uid=103 auid=4294967295 ses=4294967295 <strong>msg='apparmor="DENIED"</strong> operation="dbus_signal"  bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.NetworkManager" <strong>bolded text</strong>member="DeviceAdded" name=":1.12" mask="receive" pid=18156 label="snap.telegram-desktop.telegram-desktop" peer_pid=1081 peer_label="unconfined"</p>
<p dir="auto">details:<br />
I am porting halium and ubports ubuntu touch to my phone <strong>oneplus x onyx</strong><br />
it has <strong>kernel 3.4</strong> and i have successfully generated system image boot image and have boot into Ubuntu touch loading screen (with 4-5 dots as animation). It gets stuck there nothing happens after that .<br />
<img src="/assets/uploads/files/1568198700036-2019-09-11-133001.jpg" alt="2019-09-11-133001.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I asked in halium telegram groups and they have mentioned it is better to askUbports .<br />
<strong>How to solve Apparmour =denied ?</strong><br />
I am also adding full dmesg logs here<br />
<a href="https://pastebin.com/Dn6h5gAx" target="_blank" rel="noopener noreferrer nofollow ugc">dmesg log</a><br />
<a href="https://pastebin.com/RJhPXHK4" target="_blank" rel="noopener noreferrer nofollow ugc">logcat</a><br />
(Is anyone having any apparmor related patches for kernel 3.4 to work please share)</p>
<ol>
<li>how to patch for this to work?</li>
</ol>
<p dir="auto">update1;<br />
<strong>unity8.log</strong> <a href="https://pastebin.com/a5RMr5Fc" target="_blank" rel="noopener noreferrer nofollow ugc">link</a></p>
<pre><code>Dynamic exception type: boost::exception_detail::clone_impl&lt;boost::exception_detail::error_info_injector&lt;std::runtime_error&gt; &gt;
std::exception::what: could not select EGL config for use with framebuffer
  
[1971-04-04:15:32:35.724] ERROR: QMirServer - Mir failed to start
</code></pre>
<p dir="auto"><strong>TEST_EGL_CONFIGS</strong><br />
<a href="https://pastebin.com/CPHRTWqK" target="_blank" rel="noopener noreferrer nofollow ugc">output</a></p>
<p dir="auto"><strong>TEST_EGL</strong></p>
<pre><code>root@ubuntu-phablet:~# test_egl
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
Segmentation fault  
</code></pre>
<p dir="auto"><strong>update 2 :</strong><br />
So i have understood the main problem here Mir doesnt start unity8 because EGL thows exception at</p>
<pre><code>select_egl_config_with_format() 
</code></pre>
<p dir="auto">function<br />
as given in logs<br />
<strong>previous errors were caused by ownership as well as permission problem</strong><br />
<strong>update 3</strong><br />
sudo chown -R $USER /dev/input<br />
$ QML_BAD_GUI_RENDER_LOOP=1 QT_QPA_PLATFORM=mirserver unity8<br />
should start unity8 successfully once accidentally but was just flickering although i will have to fix the screen resolution.<br />
problem seems to  be 1. ownership<br />
2.environment variables not set properly<br />
3.Dbus errors</p>
]]></description><link>https://forums.ubports.com/topic/3112/ubport-new-device-porting-problem</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 17:03:06 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/3112.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Sep 2019 10:40:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UBport new device porting problem on Fri, 25 Sep 2020 22:45:20 GMT]]></title><description><![CDATA[<p dir="auto">Did anyone ever look into an OnePlus X (onyx) port again?<br />
I found this which points to a possibly working port:<br />
<a href="https://forum.xda-developers.com/oneplus-x/general/rom-ubuntu-touch-oneplusx-t4048635" target="_blank" rel="noopener noreferrer nofollow ugc">https://forum.xda-developers.com/oneplus-x/general/rom-ubuntu-touch-oneplusx-t4048635</a><br />
<a href="https://github.com/ubports-onyx/ubports-ci" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ubports-onyx/ubports-ci</a></p>
]]></description><link>https://forums.ubports.com/post/40716</link><guid isPermaLink="true">https://forums.ubports.com/post/40716</guid><dc:creator><![CDATA[poVoq]]></dc:creator><pubDate>Fri, 25 Sep 2020 22:45:20 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Tue, 17 Sep 2019 13:08:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> said in <a href="/post/22847">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22701">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">update1;<br />
<strong>unity8.log</strong> <a href="https://pastebin.com/a5RMr5Fc" target="_blank" rel="noopener noreferrer nofollow ugc">link</a></p>
<pre><code>Dynamic exception type: boost::exception_detail::clone_impl&lt;boost::exception_detail::error_info_injector&lt;std::runtime_error&gt; &gt;
std::exception::what: could not select EGL config for use with framebuffer
  
[1971-04-04:15:32:35.724] ERROR: QMirServer - Mir failed to start
</code></pre>
</blockquote>
<p dir="auto">Is this now still your latest status? I'm a bit lost between the verious posts and updates. I don't know this error.</p>
<p dir="auto">Are you aware that ubports has their own telegram group focused on porting? Maybe try there.</p>
</blockquote>
<p dir="auto">found this issue <a href="https://github.com/ubports/ubuntu-touch/issues/494" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/ubports/ubuntu-touch/issues/494</a></p>
]]></description><link>https://forums.ubports.com/post/22854</link><guid isPermaLink="true">https://forums.ubports.com/post/22854</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Tue, 17 Sep 2019 13:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Tue, 17 Sep 2019 12:11:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> yes and i saw your logs and i see your last update was no gui being loaded and unity-compositor stopped working. i have the exact same problem .<br />
Do you remember what you did to solve the issue?<br />
I did ask but no one has any answer .<br />
can you point me to your git?</p>
]]></description><link>https://forums.ubports.com/post/22852</link><guid isPermaLink="true">https://forums.ubports.com/post/22852</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Tue, 17 Sep 2019 12:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Tue, 17 Sep 2019 06:28:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22701">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">update1;<br />
<strong>unity8.log</strong> <a href="https://pastebin.com/a5RMr5Fc" target="_blank" rel="noopener noreferrer nofollow ugc">link</a></p>
<pre><code>Dynamic exception type: boost::exception_detail::clone_impl&lt;boost::exception_detail::error_info_injector&lt;std::runtime_error&gt; &gt;
std::exception::what: could not select EGL config for use with framebuffer
  
[1971-04-04:15:32:35.724] ERROR: QMirServer - Mir failed to start
</code></pre>
</blockquote>
<p dir="auto">Is this now still your latest status? I'm a bit lost between the verious posts and updates. I don't know this error.</p>
<p dir="auto">Are you aware that ubports has their own telegram group focused on porting? Maybe try there.</p>
]]></description><link>https://forums.ubports.com/post/22847</link><guid isPermaLink="true">https://forums.ubports.com/post/22847</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Tue, 17 Sep 2019 06:28:40 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sun, 15 Sep 2019 16:14:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> maybe <a class="plugin-mentions-user plugin-mentions-a" href="/user/vince1171" aria-label="Profile: vince1171">@<bdi>vince1171</bdi></a> can help me</p>
]]></description><link>https://forums.ubports.com/post/22810</link><guid isPermaLink="true">https://forums.ubports.com/post/22810</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Sun, 15 Sep 2019 16:14:32 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sun, 15 Sep 2019 05:16:15 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> its ok i got the log. MIR has problem starting i have added logs</p>
]]></description><link>https://forums.ubports.com/post/22797</link><guid isPermaLink="true">https://forums.ubports.com/post/22797</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Sun, 15 Sep 2019 05:16:15 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 16:08:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> said in <a href="/post/22779">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">I think it's in ~/.cache/upstart/</p>
</blockquote>
<p dir="auto">Oops, yes it is. sorry. <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=56a73af4c47" 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/22783</link><guid isPermaLink="true">https://forums.ubports.com/post/22783</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Sat, 14 Sep 2019 16:08:01 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 14:15:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22767">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">Is there a way to see  console messages instead of ubuntu loading screen?</p>
</blockquote>
<p dir="auto">Search for syslog in the pad</p>
]]></description><link>https://forums.ubports.com/post/22781</link><guid isPermaLink="true">https://forums.ubports.com/post/22781</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Sat, 14 Sep 2019 14:15:48 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 14:12:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22769">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> checked it just now  file already exits</p>
</blockquote>
<p dir="auto">Correct owner and permission? Maybe the dbus fix right below it? Otherwise the unity logs as per docs</p>
]]></description><link>https://forums.ubports.com/post/22780</link><guid isPermaLink="true">https://forums.ubports.com/post/22780</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Sat, 14 Sep 2019 14:12:24 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 14:08:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22771">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dobey" aria-label="Profile: dobey">@<bdi>dobey</bdi></a> /home/phablet/.cache/unity8.log  dives error: file does not exist</p>
</blockquote>
<p dir="auto">I think it's in ~/.cache/upstart/</p>
]]></description><link>https://forums.ubports.com/post/22779</link><guid isPermaLink="true">https://forums.ubports.com/post/22779</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Sat, 14 Sep 2019 14:08:18 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 12:36:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> Contact this guy <a href="https://github.com/Vince1171" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Vince1171</a></p>
<p dir="auto">Find him on Telegram @Vince or here <a class="plugin-mentions-user plugin-mentions-a" href="/user/vince1171" aria-label="Profile: vince1171">@<bdi>vince1171</bdi></a></p>
<p dir="auto">He is porting for Op2, Op3/t, Op5 , so he might be able to help as he said those devices has similar issues.</p>
]]></description><link>https://forums.ubports.com/post/22775</link><guid isPermaLink="true">https://forums.ubports.com/post/22775</guid><dc:creator><![CDATA[Stefano]]></dc:creator><pubDate>Sat, 14 Sep 2019 12:36:59 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 08:00:24 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> /home/phablet/.cache/unity8.log  dives error: file does not exist</p>
]]></description><link>https://forums.ubports.com/post/22771</link><guid isPermaLink="true">https://forums.ubports.com/post/22771</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Sat, 14 Sep 2019 08:00:24 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 07:59:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> checked it just now  file already exits</p>
]]></description><link>https://forums.ubports.com/post/22769</link><guid isPermaLink="true">https://forums.ubports.com/post/22769</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Sat, 14 Sep 2019 07:59:23 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 06:43:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> said in <a href="/post/22728">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">see here <a href="https://pad.ubports.com/p/porting-faq" target="_blank" rel="noopener noreferrer nofollow ugc">https://pad.ubports.com/p/porting-faq</a></p>
</blockquote>
<p dir="auto">check the /run/user/32011 fix from the pad</p>
]]></description><link>https://forums.ubports.com/post/22768</link><guid isPermaLink="true">https://forums.ubports.com/post/22768</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Sat, 14 Sep 2019 06:43:03 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 06:06:12 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> sorry i should have guessed when i saw telegram in the log. but anyway i have disabled apparmor</p>
<p dir="auto">No it just stays in the ubuntu loading screen , the animation is alive(not getting stuck or frozen).<br />
Is there a way to see  console messages instead of ubuntu loading screen?</p>
<p dir="auto">yes i will check those logs too</p>
]]></description><link>https://forums.ubports.com/post/22767</link><guid isPermaLink="true">https://forums.ubports.com/post/22767</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Sat, 14 Sep 2019 06:06:12 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Sat, 14 Sep 2019 16:07:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22701">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">25019.271313] audit: type=1107 audit(1568197260.187:772): pid=1080 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/NetworkManager" interface="org.freedesktop.NetworkManager" member="DeviceAdded" name=":1.12" mask="receive" pid=18156 label="snap.telegram-desktop.telegram-desktop" peer_pid=1081 peer_label="unconfined"</p>
</blockquote>
<p dir="auto">This is surely from your PC. Snaps cannot be used on UT.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a> said in <a href="/post/22701">UBport new device porting problem</a>:</p>
<blockquote>
<p dir="auto">I asked in halium telegram groups and they have mentioned it is better to askUbports .</p>
</blockquote>
<p dir="auto">Check the <code>/home/phablet/.cache/upstart/unity8.log</code> I think. Does this occasionally flash away and then back to the animation? Also maybe check <code>/var/log/syslog</code>.</p>
]]></description><link>https://forums.ubports.com/post/22759</link><guid isPermaLink="true">https://forums.ubports.com/post/22759</guid><dc:creator><![CDATA[dobey]]></dc:creator><pubDate>Sat, 14 Sep 2019 16:07:39 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Fri, 13 Sep 2019 02:10:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> yes that disabled apparmor but still no luck</p>
]]></description><link>https://forums.ubports.com/post/22754</link><guid isPermaLink="true">https://forums.ubports.com/post/22754</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Fri, 13 Sep 2019 02:10:30 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Thu, 12 Sep 2019 04:50:20 GMT]]></title><description><![CDATA[<p dir="auto">disable with kernel param <code>apparmor=0</code></p>
<p dir="auto">properly fix with patching see here <a href="https://pad.ubports.com/p/porting-faq" target="_blank" rel="noopener noreferrer nofollow ugc">https://pad.ubports.com/p/porting-faq</a></p>
]]></description><link>https://forums.ubports.com/post/22728</link><guid isPermaLink="true">https://forums.ubports.com/post/22728</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Thu, 12 Sep 2019 04:50:20 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Thu, 12 Sep 2019 04:16:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hacker12" aria-label="Profile: hacker12">@<bdi>hacker12</bdi></a> no how to do that? i was searching yesterday for the same</p>
]]></description><link>https://forums.ubports.com/post/22727</link><guid isPermaLink="true">https://forums.ubports.com/post/22727</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Thu, 12 Sep 2019 04:16:32 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Thu, 12 Sep 2019 04:11:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aka" aria-label="Profile: Aka">@<bdi>Aka</bdi></a> yes i have</p>
]]></description><link>https://forums.ubports.com/post/22726</link><guid isPermaLink="true">https://forums.ubports.com/post/22726</guid><dc:creator><![CDATA[amrith]]></dc:creator><pubDate>Thu, 12 Sep 2019 04:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Wed, 11 Sep 2019 17:46:44 GMT]]></title><description><![CDATA[<p dir="auto">Did you disable apparmor?</p>
]]></description><link>https://forums.ubports.com/post/22710</link><guid isPermaLink="true">https://forums.ubports.com/post/22710</guid><dc:creator><![CDATA[hacker12]]></dc:creator><pubDate>Wed, 11 Sep 2019 17:46:44 GMT</pubDate></item><item><title><![CDATA[Reply to UBport new device porting problem on Wed, 11 Sep 2019 17:01:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amrith" aria-label="Profile: amrith">@<bdi>amrith</bdi></a><br />
Have you created udev rules?</p>
]]></description><link>https://forums.ubports.com/post/22707</link><guid isPermaLink="true">https://forums.ubports.com/post/22707</guid><dc:creator><![CDATA[Aka]]></dc:creator><pubDate>Wed, 11 Sep 2019 17:01:29 GMT</pubDate></item></channel></rss>