<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LineageOS 14.1 on nagg.eu</title><link>https://nagg.eu/tags/lineageos-14.1/</link><description>Recent content in LineageOS 14.1 on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 08 Jan 2017 21:11:07 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/lineageos-14.1/index.xml" rel="self" type="application/rss+xml"/><item><title>Compile LineageOS for Oneplus 3 on Fedora 25</title><link>https://nagg.eu/compile-lineageos-for-oneplus-3-on-fedora-25/</link><pubDate>Sun, 08 Jan 2017 21:11:07 +0000</pubDate><guid>https://nagg.eu/compile-lineageos-for-oneplus-3-on-fedora-25/</guid><description>&lt;p&gt;Android community is one big cancerous clusterfuck, it is no wonder that finding a decent guide on how to compile Android from source written in a somewhat comprehensible english is pretty much mission impossible.&lt;br&gt;
Cyanogenmod Inc. shutting down their wiki and services overnight surely didn&amp;rsquo;t help either.&lt;br&gt;
Required packages on Fedora 25 are (&lt;code&gt;rpmfusion&lt;/code&gt; repo must be previously installed):&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ sudo dnf install screen java-1.8.0-openjdk-devel git schedtool ncurses-devel ncurses-libs ncurses-compat-libs ImageMagick-devel libstdc++-devel bison gnupg lzma
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For some reason the compilation process stores some temporary files in &lt;code&gt;/tmp&lt;/code&gt; which, in Fedora 25, is mounted on a tmpfs ramdisk.&lt;br&gt;
In case the ramdisk runs out of space for some retarded reason the build process instead of halting will go on like nothing happens and produce borked binaries as output.&lt;br&gt;
To keep &lt;code&gt;/tmp&lt;/code&gt; mounted on HDD run:&lt;/p&gt;</description></item><item><title>Manually backup/restore Android application's data</title><link>https://nagg.eu/manually-backuprestore-android-applications-data/</link><pubDate>Sun, 08 Jan 2017 18:00:00 +0000</pubDate><guid>https://nagg.eu/manually-backuprestore-android-applications-data/</guid><description>&lt;p&gt;Android stores application&amp;rsquo;s data in /data/data directory, it can be accessed via adb only on a rooted phone.&lt;br&gt;
To make a backup copy the correspondent directory:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ adb root
$ adb pull /data/data/eu.siacs.conversations
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Application&amp;rsquo;s data can also be extracted from a full system backup made with TWRP:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ tar -xvf data.ext4.win000
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Restoring the backup is the tricky part since Android uses SELinux and every app has it&amp;rsquo;s own unix user.&lt;br&gt;
Before copying back on the phone the already backupped files reinstall the app from f-droid or whatever, then proceed as follow:&lt;/p&gt;</description></item></channel></rss>