2019-11-17-lineageos-with-microg.html (4757B) - raw


      1 <!-- title: Switching to LineageOS with microG -->
      2 <!-- slug: lineageos-with-microg -->
      3 <!-- categories: FOSS, Privacy -->
      4 <!-- date: 2019-11-17T00:00:00Z -->
      5 <!-- lastmod: 2019-11-22T00:00:00Z -->
      6 
      7 <p>
      8   One of the things I wanted to do when switching to more privacy-respecting providers was getting
      9   rid of Google Services on my phone. According to multiple articles, your Android phone gathers a
     10   lot of data and sends it to Google. It is true that my daily routine isn't a big secret, and any
     11   friend who asked me could probably get my location, but giving it away without my (explicit)
     12   consent is a completely different thing.</p>
     13 <!-- /p -->
     14 
     15 <h2>First attempt</h2>
     16 
     17 <p>
     18   I first installed LineageOS on my phone in January 2019. I tried installing it with Google Apps,
     19   but I then realized I was back with Google, so I decided to go with <a
     20   href="https://microg.org">microG</a> (a free/libre re-implementation of Google’s proprietary
     21   Android user space apps and libraries). But for some reason—unknown to me back then—, microG
     22   didn't work. As a result, the apps that required those libraries didn't work either. Apps that I
     23   wasn't willing to stop using, so I switched back to Android's stock ROM<sup id="fnref1"><a
     24   href="#fn1">1</a></sup>.</p>
     25 <!-- /p -->
     26 
     27 <h2>Finding the problem</h2>
     28 
     29 <p>For some time I used Android's stock ROM, when, by chance, I read the following:</p>
     30 
     31 <blockquote>
     32   <p>
     33     MicroG requires a patch called "signature spoofing", which allows the microG's apps to spoof
     34     themselves as Google Apps. LineageOS' developers refused (multiple times) to include the patch,
     35     forcing us to fork their project.</p>
     36   <!-- /p -->
     37 </blockquote>
     38 
     39 <p>
     40   LineageOS' developers had their reasons to refuse to do it. Luckily, the microG project has found
     41   a solution: they forked the project to add the signature spoofing patch. This way, you can get
     42   LineageOS with microG without having to worry about the patching part. They also added the
     43   "F-Droid Privileged Extension":</p>
     44 <!-- /p -->
     45 
     46 <blockquote>
     47   <p>
     48     [F-Droid Privileged Extension] allows F-Droid to install and update apps without the need of user
     49     interaction or the unsafe "Unknown sources" option.</p>
     50   <!-- /p -->
     51 </blockquote>
     52 
     53 <p>You can find more information about the fork at <a href="https://lineage.microg.org/">https://lineage.microg.org/</a>.</p>
     54 
     55 <h2>Second attempt</h2>
     56 
     57 <p>
     58   So I tried installing microG's fork. The installation process is the same, so it was very easy, as
     59   I already had all the required software installed on my computer and had already done all the
     60   steps multiple times before.</p>
     61 <!-- /p -->
     62 
     63 <p>
     64   This time everything turned out fine and microG libraries worked fine. I installed the apps I
     65   needed from <a href="https://f-droid.org">F-Droid</a> and those that weren't there, I got from the
     66   <a href="https://auroraoss.com">Aurora Store</a>, an app that allows the user to download apps
     67   from the Google Play Store without actually having it installed.</p>
     68 <!-- /p -->
     69 
     70 <h2>Performance</h2>
     71 
     72 <p>
     73   I had my doubts on whether the apps that require Google's libraries would function, but most of
     74   them did (and perfectly fine!), even the ones using Google Maps—which are now using MapBox—or the
     75   ones using location services. There was one app that didn't work, a game. I am not sure which was
     76   the problem, but I wasn't playing the game much anyway, so I just deleted the app.</p>
     77 <!-- /p -->
     78 
     79 <p>
     80   Most of the time I don't even notice that my OS doesn't have any Google proprietary code, as it
     81   behaves (nearly) the same as if it did. If you are thinking of moving to LineageOS, check out the
     82   fork, microG works very well!</p>
     83 <!-- /p -->
     84 
     85 <h2>Final comments</h2>
     86 
     87 <p>
     88   There is one alternative to microG's fork (besides LineageOS itself) that is also an "unGoogled"
     89   version of Android, <a href="https://e.foundation/">/e/</a>. Their product looks interesting,
     90   however, I didn't need the extra features they add on top of LineageOS so I went with the simpler
     91   option. If you are thinking about installing /e/, you might be interested in what the <a
     92   href="https://ewwlo.xyz/">ewwlo</a> website claims about the project.</p>
     93 <!-- /p -->
     94 
     95 <!-- footnotes -->
     96 <hr />
     97 
     98 <ol>
     99   <li id="fn1">
    100     It wasn't actually that quick. I tried to reinstall LineageOS with Gapps once again, but, for
    101     some reason, it wouldn't work and the phone stopped working (it was stuck on the boot screen, I
    102     left it for hours). I finally got help from an acquaintance (we had to go into Emergency
    103     Download Mode using the test point) and I was finally able to go back to Android's stock
    104     ROM. <a href="#fnref1" title="Jump back to footnote 1 in the text">&#8617;</a></li>
    105   <!-- /li -->
    106 </ol>