<?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[Encypt userdata]]></title><description><![CDATA[<p dir="auto">Did anybody encrypt user data?<br />
I tried, but it was failed.<br />
My steps:<br />
0 - install ubuntu, turn on, select country -&gt; wifi -&gt; device name -&gt; password<br />
1 - reboot recovery<br />
2 - connect via adb<br />
3 - umount /cache<br />
4 - e2fsck -f /dev/block/bootdevice/by-name/userdata<br />
5 - tune2fs -O encrypt /dev/block/bootdevice/by-name/userdata<br />
6 - reboot, connect via adb<br />
7 - sudo mount -o remount,rw /<br />
8 - sudo apt update<br />
9 - sudo apt install fscrypt libpam-fscrypt -y<br />
10 - sudo fscrypt setup<br />
11 - run "sudo nano /etc/deviceinfo/devices/surya.yaml" and add "FilesystemEncryption: true" to end of file<br />
12 - reboot, in UI I go to System Settings -&gt; Security -&gt; Filesystem Encryption -&gt; enable and enter current password<br />
13 - phone reboots during encrypting<br />
14 - then I see boot screen -&gt; enter password -&gt; I see boot screen one more time -&gt; then looks like a new system, I need to select country -&gt; setup wifi -&gt; set device name, but a keyboard doesn't work, and swype doesn't work. And I only can reboot to recovery and do factory reset.<br />
As e result I have no encrypted device.<br />
Do I do something wrong? or I need to do next "If your device uses kernel version 4.14 or 4.19, then you can backport policy version 2 support from the Android Common Kernel repository."? Does any body have an instruction?<br />
Thank you</p>
]]></description><link>https://forums.ubports.com/topic/12266/encypt-userdata</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 13:48:23 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/12266.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 May 2026 09:45:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Encypt userdata on Thu, 14 May 2026 11:12:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pleoni" aria-label="Profile: pleoni">@<bdi>pleoni</bdi></a></p>
<p dir="auto">Hello</p>
<p dir="auto">while I don't use encryption myself I can only wonder why you did not use the option 'Encryption' in  'security and privacy' tab of general settings ?</p>
<p dir="auto">it's marked as 'experimental', but it can't be worse than hacking around the rootfs, an action about which you can read literally dozen of warnings while browsing this forum - in short, if you want to break your device, there is no better way than turning the rootfs r/w.</p>
]]></description><link>https://forums.ubports.com/post/95695</link><guid isPermaLink="true">https://forums.ubports.com/post/95695</guid><dc:creator><![CDATA[gpatel-fr]]></dc:creator><pubDate>Thu, 14 May 2026 11:12:47 GMT</pubDate></item></channel></rss>