<?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[Apparmor weird bug: ubports doesn&#x27;t reboot unless the apparmor cache is deleted.]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">I'm trying to port Ubports to Xiaomi Redmi Note 9/Pro/S and I'm encountering a strange bug with AppArmor:</p>
<p dir="auto">The first boot works fine but after I try to reboot the phone it gets stuck at the Redmi logo and the only way to make it boot is by deleting the <code>apparmor</code> folder from <code>/var/cache/</code>.</p>
<p dir="auto">I've spend 2 days going back and forward and I still haven't found a fix or a reason why this happens.</p>
<p dir="auto">Did anyone encountered this problem while porting ubports to their device?</p>
<p dir="auto">Halium branch: halium10<br />
Kernel sources: <a href="https://github.com/nitanmarcel/kernel_xiaomi_sm6250" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nitanmarcel/kernel_xiaomi_sm6250</a><br />
Ubports gitlab repo: <a href="https://gitlab.com/nitanmarcel/miatool-halium" target="_blank" rel="noopener noreferrer nofollow ugc">https://gitlab.com/nitanmarcel/miatool-halium</a></p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forums.ubports.com/topic/6678/apparmor-weird-bug-ubports-doesn-t-reboot-unless-the-apparmor-cache-is-deleted</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 23:33:39 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/6678.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Sep 2021 16:54:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Apparmor weird bug: ubports doesn&#x27;t reboot unless the apparmor cache is deleted. on Fri, 10 Sep 2021 11:05:22 GMT]]></title><description><![CDATA[<p dir="auto">After a few days I decided to try another <code>vendor.img</code> and out of nowhere reboots worked just fine. I still have no idea why the vendor messed up apparmor but anyway, if someone happens to have the same problem he could try using different vendor images.</p>
]]></description><link>https://forums.ubports.com/post/55033</link><guid isPermaLink="true">https://forums.ubports.com/post/55033</guid><dc:creator><![CDATA[nitanmarcel]]></dc:creator><pubDate>Fri, 10 Sep 2021 11:05:22 GMT</pubDate></item><item><title><![CDATA[Reply to Apparmor weird bug: ubports doesn&#x27;t reboot unless the apparmor cache is deleted. on Tue, 07 Sep 2021 20:45:22 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/nitanmarcel" aria-label="Profile: nitanmarcel">@<bdi>nitanmarcel</bdi></a> Coming with an update about the bug, it's not required to delete the whole folder to boot into in ubports. just the file named <code>click_com.ubuntu.ubports_ubports_1.9.1</code></s></p>
<p dir="auto"><s>Edit: False alarm. it looks like it didn't boot this time even after deleting that file</s></p>
<p dir="auto">Edit: Again. It booted but after I deleted the folder, booted and then started all over but just by deleting the file</p>
]]></description><link>https://forums.ubports.com/post/54953</link><guid isPermaLink="true">https://forums.ubports.com/post/54953</guid><dc:creator><![CDATA[nitanmarcel]]></dc:creator><pubDate>Tue, 07 Sep 2021 20:45:22 GMT</pubDate></item></channel></rss>