<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lineage on Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/lineage/</link>
    <description>Recent content in Lineage on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 03 Apr 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/lineage/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LineageOS 17.1 in Xiaomi A2 Lite (Daisy)</title>
      <link>https://jose.castrillo.eu/post/lineageos17-xiaomi/</link>
      <pubDate>Fri, 03 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/lineageos17-xiaomi/</guid>
      <description>&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://castrillo.gitlab.io/figaro/LineageOS-17.png&#34; alt=&#34;&#34;  /&gt;
&lt;/p&gt;
&lt;p&gt;LineageOS17.1 in Xiaomi A2 Lite (Daisy)&lt;/p&gt;
&lt;p&gt;The follow instructions are done by adb and twrp commands line.&lt;/p&gt;
&lt;p&gt;OS used: Windows 10&lt;/p&gt;
&lt;p&gt;Requirement:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;adb fastboot tool&lt;/li&gt;
&lt;li&gt;USB drivers&lt;/li&gt;
&lt;li&gt;Xiaomi driver&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Set into your android device:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;USB debugging option enable.&lt;/li&gt;
&lt;li&gt;Disable Encryption on the phone (DisableForceEncryption.zip)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Packages(download and leave the installation packages into your mobile SD):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;LineageOS 17.1 for Xiaomi &amp;ldquo;Daisy&amp;rdquo;&lt;/li&gt;
&lt;li&gt;TWRP&lt;/li&gt;
&lt;li&gt;GApps&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;Press the dlower button + power button to boot in&lt;/li&gt;
&lt;li&gt;Plug the mobile on your pc.&lt;/li&gt;
&lt;li&gt;Open adb terminal tool (C:\Program Files (x86)\Minimal ADB and Fastboot\cmd-here.exe) and test it by: adb devices&lt;/li&gt;
&lt;li&gt;Fastboot boot twrp.img &amp;ndash;&amp;gt; in my case I use: &lt;strong&gt;twrp-daisy-3.3.1-0-offain.img&lt;/strong&gt; it worked for my device :)&lt;/li&gt;
&lt;li&gt;Make sure to create a backup (System, Data and Boot).&lt;/li&gt;
&lt;li&gt;Then wipe the data partition, cache partition and the system partition (on this step you will lose all your data).&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;adb shell

twrp wipe data
twrp wipe cache
twrp wipe system
&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;7&#34;&gt;
&lt;li&gt;Install LineageOS17 image by TWRP commands and restart to TWRP mode again.&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;twrp install /external_sd/LineageOS17/lineage-17.1-20200413-UNOFFICIAL-daisy.zip
exit
adb reboot bootloader
&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;8&#34;&gt;
&lt;li&gt;Install Gapps (google play market)&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;adb shell
twrp install /external_sd/LineageOS17/BiTGApps-arm64-10.0.0-v0.6_signed.zip
exit
&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;9&#34;&gt;
&lt;li&gt;switch to slot if you are been in the A slot now switch boot onto B&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;fastboot getvar current-slot  --to know which slot you are
fastboot set_active b  -- If you were at A slot so switch to B
adb reboot
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Below I left a couple of links were useful for me; I strong recommended to backup all your data before to start, as well as count with other phone in case you get in trouble with the installation.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
