<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hiram K., Author at Xiaomi Firmware</title>
	<atom:link href="https://xiaomifirmware.com/author/hiram-k/feed/" rel="self" type="application/rss+xml" />
	<link>https://xiaomifirmware.com/author/hiram-k/</link>
	<description>MIUI Android Devices Tips &#38; Guides</description>
	<lastBuildDate>Wed, 29 Aug 2018 06:33:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>

<image>
	<url>https://xiaomifirmware.com/wp-content/uploads/2016/09/cropped-Untitled-design-32x32.png</url>
	<title>Hiram K., Author at Xiaomi Firmware</title>
	<link>https://xiaomifirmware.com/author/hiram-k/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Android 9 Pie GSI on Xiaomi Mi A1: Workarounds</title>
		<link>https://xiaomifirmware.com/guides-and-tips/android-9-pie-gsi-xiaomi-mi-a1-workarounds/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/android-9-pie-gsi-xiaomi-mi-a1-workarounds/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Tue, 28 Aug 2018 20:37:03 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Android 9 Pie GSI]]></category>
		<category><![CDATA[Mi A1]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=10019</guid>

					<description><![CDATA[<p>The expected release of Android Pie continues to elicit a lot of excitement. That&#8217;s because it would be the most advanced OS from Google to date. And like most people, we were too eager to wait for an OTA update. So, in a previous post, we tried out an unofficial port of Android 9 Pie GSI on Xiaomi Mi A1. Some things in that port worked fine, while others didn&#8217;t. Stuff like VoLTE, Wi-Fi, and Bluetooth&#8211;for example&#8211;are working okay. But, [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/android-9-pie-gsi-xiaomi-mi-a1-workarounds/">Android 9 Pie GSI on Xiaomi Mi A1: Workarounds</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The expected release of Android Pie continues to elicit a lot of excitement. That&#8217;s because it would be the most advanced OS from Google to date. And like most people, we were too eager to wait for an OTA update. So, <a href="https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/">in a previous post</a>, we tried out an unofficial port of Android 9 Pie GSI on Xiaomi Mi A1.</p>
<p>Some things in that port worked fine, while others didn&#8217;t. Stuff like VoLTE, Wi-Fi, and Bluetooth&#8211;for example&#8211;are working okay. But, excessive battery drain remains a problem. And the way OK Google functions is choppy at best.</p>
<p>Still, the Android 9 Pie GSI installation offered improvements that impressed us.</p>
<h2>New Android 9 Pie Features</h2>
<p>You&#8217;d have to install the Android 9 port first to understand why we love it so much. All the same, here are the enhancements that we couldn&#8217;t get enough of.</p>
<h3>Enhanced Messaging</h3>
<p>The messaging experience is way better on the Android Pie than on previous releases. The most notable feature is the use of avatars. Messages now include both the name and picture of the sender. And notifications can even display thumbnails of attached images from the message body.</p>
<p>If you&#8217;re a coder, these are the methods that now help you exploit the new messaging features listed above.</p>
<p>Create a sender with an avatar:</p>
<pre>Person sender = new Person()
.setName(name)
.setUri(uri)
.setIcon(null)
.build();</pre>
<figure id="attachment_10056" aria-describedby="caption-attachment-10056" style="width: 218px" class="wp-caption aligncenter"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/p-replies.jpg"><img fetchpriority="high" decoding="async" class="wp-image-10056 size-medium" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/p-replies-218x300.jpg" alt="Android 9 pie GSI quick reply avatars" width="218" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/p-replies-218x300.jpg 218w, https://xiaomifirmware.com/wp-content/uploads/2018/08/p-replies.jpg 530w" sizes="(max-width: 218px) 100vw, 218px" /></a><figcaption id="caption-attachment-10056" class="wp-caption-text">Android Pie messaging showing the use of images in avatars. It also shows the quick reply feature. Source <a href="https://developer.android.com/about/versions/pie/android-9.0#enhanced_messaging_experience">Android Developers</a></figcaption></figure>
<p>Create a message notification that includes an image:</p>
<pre>Message message = new Message("Picture", time, sender)
.setData("image/", imageUri);</pre>
<figure id="attachment_10058" aria-describedby="caption-attachment-10058" style="width: 218px" class="wp-caption aligncenter"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/p-messaging.jpg"><img decoding="async" class="size-medium wp-image-10058" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/p-messaging-218x300.jpg" alt="Android Pie message notifications image thumbnails" width="218" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/p-messaging-218x300.jpg 218w, https://xiaomifirmware.com/wp-content/uploads/2018/08/p-messaging.jpg 530w" sizes="(max-width: 218px) 100vw, 218px" /></a><figcaption id="caption-attachment-10058" class="wp-caption-text">Android Pie message notifications that can display image thumbnails. Source: <a href="https://developer.android.com/about/versions/pie/android-9.0#enhanced_messaging_experience">Android Developers</a></figcaption></figure>
<h3>Lockable Rotation Modes</h3>
<p>I know you&#8217;ll love this one: you can now set the rotation to not change. Say you&#8217;re viewing something on your display and you&#8217;ve rotated it to landscape mode. In previous OSes, that would change back to portrait mode when you turned the display again. And that was quite irksome if the change in orientation was unintentional.</p>
<p>But thanks to Android Pie, we now have a button that pins the orientation to the mode you&#8217;re using at any given moment.</p>
<figure style="width: 640px" class="wp-caption aligncenter"><img decoding="async" class="size-medium" src="https://developer.android.com/images/about/versions/pie/rotate-changes.gif" alt="Enhanced display rotation on Android 9 Pie GSI" width="640" height="360" /><figcaption class="wp-caption-text">Enhanced display rotation modes on Android 9 Pie. Source: <a href="https://developer.android.com/about/versions/pie/android-9.0#rotation">Android Developers</a></figcaption></figure>
<h3>Enhanced Battery Usage</h3>
<p>The Mi A1 used to disappoint us with the way it squandered its battery charge. Thus, it forced us to look for <a href="https://xiaomifirmware.com/guides-and-tips/excessive-battery-drain-xiaomi-mi-a1/">ways to deal with its wakelocks</a>, for example, in an attempt to remedy the problem.</p>
<p>The good thing with the Android 9 Pie GSI port is that it handles battery usage out of the box.</p>
<p>Its Adaptive Battery feature extends battery life by limiting errant, background apps. Using <a href="https://developer.android.com/about/versions/pie/power">app standby buckets</a>, it allows the active apps to work without interruption. But the idle ones face restrictions, which reduces their battery usage.</p>
<h3>Brightness that Adapts to Ambient Lighting</h3>
<p>It seems the Android Pie release seeks to solve all the problems the Mi A1 suffers from. And the lack of proper brightness control was one of the most bothersome among these. See, it cascaded into issues like <a href="https://xiaomifirmware.com/guides-and-tips/screen-burn-in-fixes-xiaomi-mi-a1-redmi-note-4/">image retention and screen burn-in</a>. But with the <a href="https://www.android.com/versions/pie-9-0/"><strong>Adaptive Brightness</strong></a> feature on Android 9, these may well be a thing of the past.</p>
<p>The enhancement works so well because it learns your brightness preferences. It learns how you set levels and combines that with sensors&#8217; data to try to match the ambient lighting. This means that a user may spend less time tinkering with the display. And this could save the display from premature deterioration.</p>
<h3>Installation Recap</h3>
<p>Remember, if you followed the previous post on how to install Android 9 Pie GSI on Mi A1, these are the files you flashed:</p>
<figure>
<table style="height: 528px" width="578">
<thead>
<tr>
<th style="text-align: left">File Type</th>
<th style="text-align: left">File Name and Link</th>
</tr>
</thead>
<tbody>
<tr>
<td>Vendor/drivers files</td>
<td>
<ul>
<li><a href="https://www.androidfilehost.com/?fid=5862345805528040887"><strong>vendor-20180705.img </strong></a>by XDA senior member, <a href="https://forum.xda-developers.com/member.php?u=5393309">ghpranav</a></li>
</ul>
</td>
</tr>
<tr>
<td>System/Android OS files</td>
<td>
<ol>
<li><a href="https://androidfilehost.com/?fid=5862345805528067642"><strong>P-PR1-sGSI-AB.img</strong></a> by XDA recognized developer, <a href="https://forum.xda-developers.com/member.php?u=6298645">erfanoabdi</a>; and</li>
<li><a href="https://androidfilehost.com/?fid=3700668719832238401"><strong>POST-sGSI_1_v0.14_Pie_Tissot.zip </strong></a>(Update: You may now use the latest version: <a href="https://androidfilehost.com/?fid=1322778262903986345"><strong>POST-sGSI_1_v0.22_Pie_GSI_Tissot.zip</strong></a>) by XDA senior member, <a href="https://forum.xda-developers.com/member.php?u=4936496">joeyhaub</a>; and</li>
<li><a href="https://androidfilehost.com/?fid=5862345805528067654"><strong>POST-sGSI_2_v0.17_Pie_Tissot.zip </strong></a>by joeyhaub<strong><br />
</strong></li>
</ol>
</td>
</tr>
<tr>
<td>Boot/kernel files</td>
<td>
<ul>
<li><a href="https://github.com/mountaser/Moun_Kernel_Tissot/releases/download/5.4/Moun_Kernel_V5.4-TissotTreble.zip"><strong>Moun_Kernel_V5.4-TissotTreble.zip</strong></a>; or</li>
<li><a href="https://drive.google.com/drive/folders/1uggmuoo0m7n_47WOT3FHxScjQCMdhm6x"><strong>ProjectK-r17.zip</strong></a>; or</li>
<li><a href="https://github.com/kdrag0n/velocity_tissot/releases/download/r8/velocity_kernel-tissot-r8-20180619.zip"><strong>velocity_kernel-tissot-r8-20180619.zip</strong></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
</figure>
<p>Using these, the hardware below works as it should. (But, some bugs <em>do</em> creep in too.)</p>
<h3>What Works</h3>
<ul>
<li>3.5mm audio jack</li>
<li>Bluetooth</li>
<li>SIM, mobile data, and voice calls (both incoming and outgoing)</li>
<li>VoLTE</li>
<li>Wi-Fi</li>
<li>Fingerprint Reader</li>
</ul>
<p>Still, the ones below do work but users have noted that they are not perfect:</p>
<ul>
<li><strong>Camera</strong>: If you have installed the Xiaomi Mi A2, it may crash often</li>
<li><strong>Microphone</strong>: Mic recording seems to fail sometimes. Thus, it affects apps like OK Google.</li>
</ul>
<h3>Reported Bugs</h3>
<p>With that said, you would have noted that the Android 9 Pie GSI installation has a few bugs. These may include:</p>
<ul>
<li>SELinux remains <strong>permissive</strong></li>
<li>Double tap to wake doesn&#8217;t work as expected</li>
<li>Fingerprint and capacitive navigation keys may have very weak haptic feedback</li>
<li>The Mi A2 camera (we prefer this over the one for Mi A1) crashes often</li>
</ul>
<p>So, in a second we&#8217;ll see how you can fix most of these issues.</p>
<h2>How to Fix an Installation of Android 9 Pie GSI on Xiaomi Mi A1</h2>
<ul>
<li>Before you continue, you&#8217;ll need ADB that is compatible with your new installation.
<ul>
<li>So, flash this <strong>boot image ADB patcher</strong> using TWRP recovery: <a href="https://github.com/AdrianDC/bootimage_adb_patcher/raw/master/release/bootimage_adb_unsecure.zip"><strong>bootimage_adb_unsecure.zip</strong></a>. (<em>Credits: XDA recognized developer, <a href="https://forum.xda-developers.com/member.php?u=2233641">AdrianDC</a></em>.)</li>
</ul>
</li>
<li>Make sure you have ADB drivers installed on your computer too.</li>
<li>Remember to use the TWRP by, XDA senior member, <a href="https://forum.xda-developers.com/member.php?u=1844875">CosmicDan</a>.
<ul>
<li><strong>TWRP installe</strong>r: <a href="https://github.com/CosmicDan-Android/android_device_xiaomi_tissot/releases/download/2.4/TWRP-Installer-3.2.1-with-Tissot-Manager-2.4.zip"><strong>TWRP-Installer-3.2.1-with-Tissot-Manager-2.4.zip</strong></a></li>
</ul>
</li>
<li>You&#8217;ll also need to have root access on your Mi A1.
<ul>
<li>For this, flash XDA recognized developer <a href="https://forum.xda-developers.com/member.php?u=4470081">topjohnwu</a>&#8216;s <strong>Magisk v16.7</strong>: <a href="https://github.com/topjohnwu/Magisk/releases/download/v16.7/Magisk-v16.7.zip"><strong>Magisk-v16.7.zip</strong></a></li>
</ul>
</li>
</ul>
<p>With that out of the way, you can now start addressing the issues below.</p>
<h3>Google Backup Stuck on &#8220;Waiting to Sync&#8221;</h3>
<ul>
<li>Enable <code>USB debugging</code> on your Mi A1</li>
<li>Connect the device to a computer using a USB cable</li>
<li>Force device to sync to Google using these commands:</li>
</ul>
<pre>adb shell
bmgr run
bmgr backupnow --all</pre>
<ul>
<li>Reboot</li>
</ul>
<h3>MTP not Working</h3>
<ul>
<li>Turn on <code>Developer settings</code> (tap <code>Build Number</code> four times)</li>
<li>Go to <code>Default USB configuration</code></li>
<li>Press <code>File transfer</code></li>
</ul>
<h3>Want to use Substratum Themes</h3>
<ul>
<li>Install Substratum theme engine:
<ul>
<li><strong>Substratum</strong> by <a href="https://androidfilehost.com/?w=profile&amp;uid=23269279319198777">R3Ds</a>: <a href="https://androidfilehost.com/?fid=1322778262903987410"><strong>Substratum_998-Pie.apk</strong></a></li>
</ul>
</li>
<li>Find a theme that supports Android 9 Pie. Examples include:
<ul>
<li><a href="https://play.google.com/store/apps/details?id=com.schnettler.outline"><strong>Outline for Substratum</strong></a><strong> </strong><strong><!-- WP-Appbox (Version: 4.5.5 // Store: googleplay // ID: com.schnettler.outline) --><p><a target="_blank" rel="nofollow" href="https://play.google.com/store/apps/details?id=com.schnettler.outline" title="Outline for Substratum">Outline for Substratum (Free, Google Play) →</a></p><!-- /WP-Appbox --></strong></li>
<li><a href="https://play.google.com/store/apps/details?id=com.subs.compound"><strong>Compound for Substratum</strong></a><strong> </strong><strong><!-- WP-Appbox (Version: 4.5.5 // Store: googleplay // ID: com.subs.compound) --><p><a target="_blank" rel="nofollow" href="https://play.google.com/store/apps/details?id=com.subs.compound" title="Compound for Substratum (Android Pie/Oreo/Nougat)">Compound for Substratum (Android Pie/Oreo/Nougat) (1,69 €, Google Play) →</a></p><!-- /WP-Appbox --></strong></li>
<li><a href="https://play.google.com/store/apps/details?id=com.schnettler.ethereal&amp;hl=en_US"><strong>Ethereal for Substratum</strong></a> <strong><!-- WP-Appbox (Version: 4.5.5 // Store: googleplay // ID: com.schnettler.ethereal) --><p><a target="_blank" rel="nofollow" href="https://play.google.com/store/apps/details?id=com.schnettler.ethereal" title="Ethereal for Substratum">Ethereal for Substratum (Free, Google Play) →</a></p><!-- /WP-Appbox --></strong></li>
</ul>
</li>
<li>Choose the overlays that suit your purposes</li>
<li>From the floating action bar, select <code>Build &amp; Enable</code></li>
</ul>
<h3>Experiencing Excessive Battery Drain</h3>
<p>Android Pie promises better battery performance than previous OSes. So, if you still find that your battery discharges fast, you will have to <strong>disable USB debugging</strong>.</p>
<h3>Mi A2 Camera Crashes: Use GCam Instead</h3>
<ul>
<li>Install the Pixel 2 camera mod by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=4860033">Arnova8G2</a>. Find the link below.
<ul>
<li><strong>Pixel2Mod</strong>: <a href="https://www.celsoazevedo.com/files/android/google-camera/f/GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk"><strong>GoogleCamera-Pixel2Mod-Arnova8G2-V8.2.apk</strong></a></li>
</ul>
</li>
<li>But, if you want support for dual camera, install the camera mod by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=2712580">cstark27</a> instead. Find the link below.
<ul>
<li><strong>Cstark27 GCam v5.1</strong>: <a href="http://cstark27_GCam_5.1.018_24_tele_v0.1a.apk"><strong>cstark27_GCam_5.1.018_24_tele_v0.1a.apk</strong></a></li>
</ul>
</li>
<li>You could also try out other GCam mods.
<ul>
<li>Find them here: <a href="https://www.celsoazevedo.com/files/android/google-camera/">Google Camera Port page</a></li>
</ul>
</li>
</ul>
<p><em>Don&#8217;t forget to share whether there is a mod that works better than the ones I&#8217;ve listed above. Head on to the comments section for that.</em></p>
<h3>GCam Settings Force Closes</h3>
<ul>
<li>Use TWRP recovery to flash this Magisk mod:
<ul>
<li><strong>GCam Magisk Fix</strong> by joeyhuab: <a href="https://androidfilehost.com/?fid=5862345805528067781"><strong>Pie_GCamFix_Magisk_Tissot.zip</strong></a></li>
</ul>
</li>
<li>Reboot</li>
</ul>
<h3>Need an Alternative to Google Photos</h3>
<ul>
<li>Install a gallery app from LineageOS. Find the link below.
<ul>
<li><strong>LineageOS gallery app</strong>: <a href="https://drive.google.com/open?id=1I642K2_rqpgttoTwLzXVIft4qC8oL2W0"><strong>gallery_port_los.apk</strong></a></li>
</ul>
</li>
</ul>
<h3>Need a Boot Logo Alternative</h3>
<ul>
<li>Using TWRP recovery, flash this file by joeyhuab:
<ul>
<li><strong>Pixel 2 boot logo</strong>: <a href="https://androidfilehost.com/?fid=818222786056035410"><strong>Pixel2Bootlogo_tissot.zip</strong></a></li>
</ul>
</li>
<li>Reboot</li>
</ul>
<h3>Need Nav Bar Gestures</h3>
<ul>
<li>Flash this Magisk mod by joeyhaub using TWRP:
<ul>
<li><strong>Enable nav bar</strong>: <a href="https://androidfilehost.com/?fid=5862345805528067777"><strong>Pie_NavBarEnabler_Magisk_Tissot.zip</strong></a></li>
</ul>
</li>
<li>Reboot</li>
<li>Go to <code>Settings</code>, <code>System</code>, then <code>Gestures</code></li>
<li>Select <code>Swipe Up on Home Button</code></li>
</ul>
<p><strong>Note</strong>: <em>Your Mi A1&#8217;s capacitive keys <strong>will no longer work</strong> after this process.</em></p>
<h3>Want to Tweak the Launcher</h3>
<ul>
<li>If you want to use custom icon packs, change labels, and more then install the app below.
<ul>
<li><strong>Pixel Launcher Mods</strong> by XDA recognized developer <a href="https://forum.xda-developers.com/member.php?u=3563640">Quinny899</a>: <a href="https://mega.nz/#!UmAmgKyK!N8FGlgLSHtHDzJS-juIeIZ_AIwSVLrQs45RFPsjJhi8"><strong>pixel_launcher_mods_v1.2.apk</strong></a></li>
<li><em>You can also download the app from its official page. But, you&#8217;ll need XDA membership for that</em>.</li>
</ul>
</li>
</ul>
<h3>OK Google Does not Work as it Should</h3>
<ul>
<li>Using TWRP recovery, flash the latest modem file by joeyhaub. Find the link below.
<ul>
<li><strong>8.1 July 1 Modem</strong>: <a href="https://androidfilehost.com/?fid=5862345805528051654"><strong>Tissot_8.1_July_1_Modem.zip</strong></a></li>
</ul>
</li>
<li>Reboot</li>
</ul>
<p>With these tweaks, your Android Pie installation should work smoothly.</p>
<p><em>But, what if you want to go back to stock ROM? And you want to &#8220;un-</em>trebelize<em>&#8221; your Mi A1?</em></p>
<p>The steps below will show you how to remove this Android 9 Pie GSI port from your phone.</p>
<h2>How to go back to Stock ROM from Android 9 Pie GSI</h2>
<p><strong>Note</strong>: <em>The process below will wipe your device clean, so remember to make a backup of your files</em>.</p>
<h3>Prerequisites:</h3>
<ul>
<li>Download the latest, stable ROM. Find the link below.
<ul>
<li><strong>Stock ROM/firmware</strong>: <a href="http://en.miui.com/download-333.html"><strong>tissot_images_V9.6.4.0.ODHMIFE_20180712.0000.00_8.0_735823083f.tgz</strong></a></li>
<li>Save the file to a computer and decompress it. Rename the extracted file by adding a .zip suffix.</li>
<li>Decompress the renamed file. You should end up with a folder named: <code>tissot_images_V9.6.4.0.ODHMIFE_8.0</code></li>
</ul>
</li>
<li>Download the MiFlash tool and install it. Find the link below.
<ul>
<li><strong>MiFlash v7.4.25</strong>: <a href="http://en.miui.com/thread-593524-1-1.html"><strong>MiFlashSetup_eng.msi</strong></a></li>
</ul>
</li>
</ul>
<h3>Steps:</h3>
<ol>
<li>Boot into TWRP recovery. For that, you should restart the phone by holding down the power and volume up buttons.</li>
<li>On the main TWRP screen press <code>Advanced</code> then <code>Tissot Manager</code></li>
<li>TWRP will display a <strong>Disclaimer</strong> notice. Click <code>Next</code> after reading it.</li>
<li>On the <strong>Tissot Manager</strong> screen, press <code>Repartition</code></li>
<li>The manager will present you with a <strong>Repartition for Treble</strong> notice. Select the option <code>I wish to repartition this device</code> after reading it. Then, press <code>Repartition</code></li>
<li>The repartitioning may take a minute. Wait for it to finish then press <code>Reboot TWRP</code>.
<ul>
<li><strong>Note</strong>: <em>The repartitioning removes Treble support from your Mi A1&#8211;it &#8220;un-</em>trebelizes<em>&#8221; the phone</em>.</li>
</ul>
</li>
<li>Once TWRP restarts, press <code>Reboot</code> on the main screen.</li>
<li>Then press <code>Bootloader</code> on the <strong>Reboot</strong> screen</li>
<li>The device will switch to fastboot mode. Now, connect your Mi A1 to a computer.</li>
<li>Run <strong>MiFlash v7.4.25</strong> as an administrator on the computer</li>
<li>Select the stock ROM by browsing to where you saved the firmware folder</li>
<li>Press <code>refresh</code> on the MiFlash tool. (Your Mi A1 should now show up on the flash tool.)</li>
<li>Select <code>clean</code> at the bottom of the flash tool&#8217;s screen if you want to remain with an unlocked bootloader. Otherwise, choose: <code>clean all</code>.</li>
<li>Press <code>flash</code> at the top of the flash tool&#8217;s screen to start the installation of the stock ROM</li>
<li>Wait for the flashing process to finish. Your phone will then reboot into stock ROM</li>
</ol>
<h2>Final Thoughts</h2>
<p>Android Pie is Google&#8217;s most advanced mobile OS. And we got a chance to try out an Android 9 Pie GSI port on Xiaomi Mi A1. But, the installation had a few issues. So, in this post, I suggested a few tweaks. Using these, Android Pie should be usable smoothly.</p>
<p>Still, for those who would want to go back to stock ROM, I added a guide on how to do so. The process removes Treble support on the Mi A1 completely.</p>
<p>Well, I know this might have been a bit of lengthy post. But, I hope that you got some useful tips from it.</p>
<p><em>If you have any suggestions or need further help, don&#8217;t hesitate to share in the comments section.</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/android-9-pie-gsi-xiaomi-mi-a1-workarounds/">Android 9 Pie GSI on Xiaomi Mi A1: Workarounds</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/android-9-pie-gsi-xiaomi-mi-a1-workarounds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Screen Burn-in Fixes: Xiaomi Mi A1 and Redmi Note 4</title>
		<link>https://xiaomifirmware.com/guides-and-tips/screen-burn-in-fixes-xiaomi-mi-a1-redmi-note-4/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/screen-burn-in-fixes-xiaomi-mi-a1-redmi-note-4/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Sun, 26 Aug 2018 17:13:20 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Mi A1]]></category>
		<category><![CDATA[Screen Burn-in]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9958</guid>

					<description><![CDATA[<p>Xiaomi devices excel at packing powerful specs in affordable packages. But there&#8217;s something about their LCD screens that&#8217;s a bit disappointing. People have complained about the way they suffer from screen burn-in issues. When you use an app for long on the Xiaomi Mi A1 or Redmi Note 4, for example, the screen retains images even after you exit. True, this doesn&#8217;t affect the phone&#8217;s usage in a significant way. But it definitely makes the experience less enjoyable. The debate [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/screen-burn-in-fixes-xiaomi-mi-a1-redmi-note-4/">Screen Burn-in Fixes: Xiaomi Mi A1 and Redmi Note 4</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Xiaomi devices excel at packing powerful specs in affordable packages. But there&#8217;s something about their LCD screens that&#8217;s a bit disappointing. People have complained about the way they suffer from screen burn-in issues.</p>
<p>When you use an app for long on the Xiaomi Mi A1 or Redmi Note 4, for example, <a href="https://www.reddit.com/r/Xiaomi/comments/7btcv8/question_screen_burnin_image_retention_fix_on_miui/">the screen retains images even after you exit</a>.</p>
<p>True, this doesn&#8217;t affect the phone&#8217;s usage in a significant way. But it definitely makes the experience less enjoyable.</p>
<p>The debate is on whether screen burn-in is a software- or hardware-related issue. Well, it can&#8217;t be a hardware issue. See, many devices use LCD screens. But not all suffer from image retention. Plus, modders have come up with ways of reducing the problem using software tweaks. It thus shows that the issue is a matter of how manufacturers calibrate their screens.</p>
<p>The Mi A1s featuring Tianma LCD screens are susceptible to ghosting. By contrast, it is rare to hear of the same from those using BOE panels.</p>
<p><strong>How would you know the LCD variant your phone uses?</strong></p>
<ol>
<li>Open <code>Settings</code> then <code>About phone</code></li>
<li>Tap <code>Kernel version</code> five times</li>
<li>Choose option <code>1</code></li>
</ol>
<p>If you see something like <strong>mdss_dsi_nt35532</strong>, then your phone uses a BOE LCD. Those reading <strong>mdss_dsi_nt35596</strong> are by Tianma.</p>
<p><em>If you have the guts, there&#8217;s also a way of identifying LCD variants by <a href="https://www.linkedin.com/pulse/how-identify-tianmalongteng-jingdongfangboe-lcd-eileen-wang">opening up a phone&#8217;s internals</a>.</em></p>
<p>All the same, the problem seems to mostly affect the notification area.</p>
<p>See the shot below.</p>
<figure id="attachment_9979" aria-describedby="caption-attachment-9979" style="width: 300px" class="wp-caption aligncenter"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/screen-burn-note-4.jpg"><img decoding="async" class="size-medium wp-image-9979" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/screen-burn-note-4-300x225.jpg" alt="Screen Burn-in on the Redmi Note 4" width="300" height="225" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/screen-burn-note-4-300x225.jpg 300w, https://xiaomifirmware.com/wp-content/uploads/2018/08/screen-burn-note-4.jpg 443w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-9979" class="wp-caption-text">Screen Burn-in on the Redmi Note 4. Note how the screen retains the image of the notification area while showing another UI element. Source: <a href="http://in.c.mi.com/in/thread-893977-1-0.html">Mi Community</a></figcaption></figure>
<p>Screen ghosting isn&#8217;t limited to Xiaomi devices alone. Google&#8217;s own Pixel phones have been displaying these issues too. Pixel 2 XL users, for instance, have reported that <a href="https://productforums.google.com/forum/#!topic/phone-by-google/FRyoLZZjXvo">their devices suffer from ghosting</a>.</p>
<h2>What Causes Screen Burn-in?</h2>
<p>Leaving an image displaying on the panel for an extended period of time is usually the main cause. Yet that&#8217;s unavoidable in some cases. Take the notification area, for example. This element shows regardless of what app you&#8217;ve opened. So it&#8217;s hard to avoid having this area burning-in to the display.</p>
<p>Granted, Android has ways of changing the hue of the notification area. Still, if you ask users, the OS&#8217; approach hasn&#8217;t made the problem go away.</p>
<p>Static UI elements continue to be a common feature in both the pure Android experience and MIUI. These increase the possibility of services leaving ghost images on the screen.</p>
<p>But as the points below show, there are ways of preventing the issue in the first place.</p>
<h3>How to Prevent Screen Burn-in</h3>
<p>Preventing screen ghosting boils down to reducing the time any UI element displays. Reducing the brightness of the entire panel also seems to help.</p>
<h3>1. Deal with Brightness</h3>
<p>Mi A1 users have the<strong> Adaptive Brightness</strong> option for setting auto brightness. And the Redmi Note 4 has the <strong>Automatic mode</strong> in the display settings.</p>
<p>These two promise to change panel brightness according to ambient lighting. Yet, some users have found them ineffective at best.</p>
<p>So, a viable option would be to install apps to replace the native offerings. See examples below.</p>
<ul>
<li><strong>Lux Lite</strong>: <a href="https://mega.nz/#!YzwlERrQ!M7_zutaLoxtR-es6inZAGN97Uz0E7sqPMBu5KVxQCWk"><strong>com.vitocassisi.luxlite.apk</strong></a> or from <a href="https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite&amp;hl=en"><strong>Play Store link</strong></a></li>
<li><strong>Velis Auto Brightness</strong>: <strong><a href="https://mega.nz/#!kv4XSZhB!5rXZNCX3o2YrpJqoUDjCOn5xA9WjIokapR-5DnzpPBU">com.velis.auto.brightness.apk</a></strong> or from <a href="https://play.google.com/store/apps/details?id=com.velis.auto.brightness"><strong>Play Store link</strong></a></li>
</ul>
<h3>2. Reduce Screen Timeout</h3>
<p>It is even better to make the screen stay on for as short a time as possible. When you use this option with the auto brightness feature, you reduce the stress on the device&#8217;s panel considerably.</p>
<p>The option is somewhat straightforward on the Mi A1. But, as you&#8217;ll see in a second, it takes a bit more work on the Redmi Note 4.</p>
<h4>On the Redmi Note 4 (MIUI)</h4>
<ol>
<li>Go to  <code>Settings</code>, <code>System &amp; Device</code>, then <code>Lock screen &amp; password</code></li>
<li>Press <code>Sleep</code></li>
<li>Change it to a faster timeout value, say, sleep after 2 minutes</li>
</ol>
<h4>On the Mi A1 (Android One)</h4>
<ol>
<li>Go to <code>Display</code>, then <code>Sleep</code></li>
<li>Change the <code>Sleep</code> setting to the desired value</li>
</ol>
<p><em>But what if you want to get the Screen timeout option on the quick tiles?</em></p>
<p>You&#8217;d have to install an app that exposes <a href="https://stacktips.com/tutorials/android/quick-settings-tile-api-example-in-android-n"><strong>Quick Settings Tile API</strong></a>. One such app is <strong>Quick Settings</strong>. Download or find it in the links below.</p>
<ul>
<li><strong>Quick Settings</strong>: <a href="https://mega.nz/#!dnoVRLqB!7uwJvb6GP8xOJzfByKIibIj9E_L37j2R0AGG3lsnlcA"><strong>it.simonesestito.ntiles.apk</strong></a> or from its <a href="https://play.google.com/store/apps/details?id=it.simonesestito.ntiles"><strong>Play Store link</strong></a></li>
</ul>
<h3>3. Disable Navigation Bar on Redmi Note 4</h3>
<p>Whereas the navigation bar on the Mi A1 is physical, the one on the Redmi Note 4 shows on the screen.</p>
<p>So, since the bar is prone to leaving artifacts on the panel, you&#8217;d have to make it show when you want it to. Here&#8217;s how to do it:</p>
<p>First, find the <code>Buttons</code> option on the quick settings/toggle panel.</p>
<p><em>What if it&#8217;s not on that panel already?</em></p>
<ol>
<li>Go to <code>Settings</code>, <code>Notifications &amp; status bar</code>, then <code>Toggle positions</code></li>
<li>Drag the <code>Buttons</code> toggle button to the quick settings bar</li>
</ol>
<p>Otherwise, you can also set when you want the navigation buttons to show. For this you&#8217;ll need to:</p>
<ul>
<li>Go to <code>Additional settings</code>, <code>Buttons</code>, then <code>Automatically disable navigation buttons</code></li>
</ul>
<p>Once there, you can set the apps you&#8217;d want the navigation bar to show.</p>
<p>Well, these tips work when your screen doesn&#8217;t have burn-in showing in the first place. But what if you&#8217;re LCD has image retention issues already? Read on to see how you can fix it.</p>
<h2>How to Fix Screen Burn-in</h2>
<p>Users have reported varying levels of success when remedying screen burn-in. It all depends on how bad the problem is on your device. If it&#8217;s a trivial matter, apps could reduce ghosting for you.</p>
<p>But, when the issue is persistent you may have to consider installing a custom ROM. The good thing about this approach is that it gives you more control over how your screen behaves.</p>
<h3>Using Apps</h3>
<p>Using apps is only a matter of installing a given option and testing it out on your device. Here are some options:</p>
<ul>
<li><strong>LCD Burn-in Wiper</strong>: <a href="https://mega.nz/#!g7ghnbhb!b9xMa8teUre4srVo8eihFpXz3TH6Ezx0ozDxstgAFCk"><strong>appinventor.ai_avaworks00.LCDBurnInWiper.apk</strong></a> or from its <a href="https://play.google.com/store/apps/details?id=appinventor.ai_avaworks00.LCDBurnInWiper"><strong>Play Store link</strong></a></li>
<li><strong>Display Tester</strong>: <a href="https://mega.nz/#!k3h3wLTB!Sp1Au-kGve40ILG44iyhmUYd0-0GlzDm1YK2Y2SOMq0"><strong>com.gombosdev.displaytester.apk</strong></a> or from its <a href="https://play.google.com/store/apps/details?id=com.gombosdev.displaytester"><strong>Play Store link</strong></a></li>
</ul>
<h3>Using Custom ROMs</h3>
<p>Custom ROMs are excellent at using tweaks to deal with issues that users complain about.</p>
<p>Take <a href="https://lineageos.org/">LineageOS</a>, for example. It has inbuilt protection against screen burn-in. See the pertinent code below.</p>
<pre>&lt;dimen name="burnin_protection_horizontal_shift"&gt;3dp&lt;/dimen&gt;
&lt;dimen name="burnin_protection_vertical_shift"&gt;1dp&lt;/dimen&gt;</pre>
<p>So, if you have LineageOS running on your device, you&#8217;re in luck.</p>
<p>When the problem is nonetheless evident, you may have to resort to color calibration.</p>
<h4>How to Calibrate Color on the LineageOS ROM (and other AOSP-based ROMs)</h4>
<ol>
<li>Go to <code>Settings</code>, then <code>Color calibration</code></li>
<li>Increase the RGB values to a value higher than 90%. See the screenshot below.</li>
</ol>
<p><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/color-calibration-95-percent-cropped.jpg"><img decoding="async" class="aligncenter wp-image-9998 size-medium" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/color-calibration-95-percent-cropped-300x244.jpg" alt="Setting RGB values" width="300" height="244" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/color-calibration-95-percent-cropped-300x244.jpg 300w, https://xiaomifirmware.com/wp-content/uploads/2018/08/color-calibration-95-percent-cropped-768x626.jpg 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/color-calibration-95-percent-cropped.jpg 935w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<h4>How to Calibrate Color on the <a href="http://www.resurrectionremix.com/">Resurrection Remix</a> ROM</h4>
<p>1. Go to <code>Settings</code> then <code>Display</code></p>
<p><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/1-display.png"><img decoding="async" class="aligncenter wp-image-9981 size-medium" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/1-display-169x300.png" alt="Display Settings on ResurrectionRemix" width="169" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/1-display-169x300.png 169w, https://xiaomifirmware.com/wp-content/uploads/2018/08/1-display-768x1365.png 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/1-display-576x1024.png 576w, https://xiaomifirmware.com/wp-content/uploads/2018/08/1-display.png 1080w" sizes="(max-width: 169px) 100vw, 169px" /></a></p>
<p>2. Press <code>LiveDisplay,</code> then <code>Color calibration</code><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/2-livedisplay.png"><img decoding="async" class="aligncenter wp-image-9982 size-medium" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/2-livedisplay-169x300.png" alt="LiveDisplay Settings on ResurrectionRemix" width="169" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/2-livedisplay-169x300.png 169w, https://xiaomifirmware.com/wp-content/uploads/2018/08/2-livedisplay-768x1365.png 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/2-livedisplay-576x1024.png 576w, https://xiaomifirmware.com/wp-content/uploads/2018/08/2-livedisplay.png 1080w" sizes="(max-width: 169px) 100vw, 169px" /></a>3. Set the all the RGB values to anything higher than 90%</p>
<p style="text-align: right"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/3-color-calibration.png"><img decoding="async" class="aligncenter size-medium wp-image-9984" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/3-color-calibration-169x300.png" alt="" width="169" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/3-color-calibration-169x300.png 169w, https://xiaomifirmware.com/wp-content/uploads/2018/08/3-color-calibration-768x1365.png 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/3-color-calibration-576x1024.png 576w, https://xiaomifirmware.com/wp-content/uploads/2018/08/3-color-calibration.png 1080w" sizes="(max-width: 169px) 100vw, 169px" /></a><em>Thanks: Reddit user <a href="https://www.reddit.com/user/IuliusDeBlobbis">IuliusDeBlobbis</a></em></p>
<h4>Using a kernel tweaking tool</h4>
<p>If your Mi A1 or Redmi Note 4 has root access, this method may work for you.</p>
<p><strong>Related: <a href="https://xiaomifirmware.com/guides-and-tips/guide-root-xiaomi-mi-a1/">[Guide] How to Root Xiaomi Mi A1</a></strong></p>
<ol>
<li>Install a kernel tweak tool. An excellent app is the <strong>Kernel Adiutor</strong>. (And yes, &#8220;Adiutor&#8221; is the correct spelling.) See links below.
<ul>
<li><strong>Kernel Adiutor</strong>: <a href="https://mega.nz/#!B6pTVDzY!CzMc-84hi03OIp-GlxoAzMJnXMtycsLjbc5bPTCC7ns"><strong>com.grarak.kerneladiutor.apk </strong></a>or from its <a href="https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor"><strong>Play Store link</strong></a></li>
</ul>
</li>
<li>After installation, open the app and navigate to <code>Screen (Color Calibration [RGB])</code></li>
<li>Set the RGB values to something higher than 230. (This is equal to 90% of the max RGB value of 255<span class="ILfuVd yZ8quc">—</span>see screenshot below.)</li>
<li>Reboot to apply the changes</li>
</ol>
<figure id="attachment_9986" aria-describedby="caption-attachment-9986" style="width: 169px" class="wp-caption aligncenter"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/kernel-auditor.png"><img decoding="async" class="size-medium wp-image-9986" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/kernel-auditor-169x300.png" alt="Setting the RGB values using Kernel Adiutor" width="169" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/kernel-auditor-169x300.png 169w, https://xiaomifirmware.com/wp-content/uploads/2018/08/kernel-auditor-768x1365.png 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/kernel-auditor-576x1024.png 576w, https://xiaomifirmware.com/wp-content/uploads/2018/08/kernel-auditor.png 1080w" sizes="(max-width: 169px) 100vw, 169px" /></a><figcaption id="caption-attachment-9986" class="wp-caption-text">Setting the RGB values using Kernel Adiutor. Source: <a href="https://forum.xda-developers.com/showpost.php?p=74667569&amp;postcount=295">XDA</a></figcaption></figure>
<h3>Final Thoughts</h3>
<p>Screen burn-in affects how you enjoy a device&#8217;s usage. Some people may not be as keen to note it. But, in a high-res panel, ghost images are usually annoying.</p>
<p>Luckily, there are ways of reducing the chances of a screen ever showing ghosting. They include reducing the brightness and making screens to timeout faster.</p>
<p>If your device suffers from screen burn-in already, some apps may help you solve such an issue.</p>
<p>But, it&#8217;s recommended to install a custom ROM if you want greater control over how a panel behaves. And for those with root access, kernel auditors may remedy ghosting issues better.</p>
<p><em><strong>Over to you</strong>: What steps are you taking to prevent screen burn-in? Have these tips worked for you? Share your experiences and suggestions in the comments below.</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/screen-burn-in-fixes-xiaomi-mi-a1-redmi-note-4/">Screen Burn-in Fixes: Xiaomi Mi A1 and Redmi Note 4</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/screen-burn-in-fixes-xiaomi-mi-a1-redmi-note-4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Excessive Battery Drain on Xiaomi Mi A1? Deal with Wakelocks</title>
		<link>https://xiaomifirmware.com/guides-and-tips/excessive-battery-drain-xiaomi-mi-a1/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/excessive-battery-drain-xiaomi-mi-a1/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Mon, 20 Aug 2018 20:23:05 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Mi A1]]></category>
		<category><![CDATA[Wakelock]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9935</guid>

					<description><![CDATA[<p>The Xiaomi Mi A1 has the chops to run multimedia content like a perfect, budget phone. It packs a Snapdragon 625 chipset, 4GB RAM, and 1080p screen combination. These give it the power to run most content with ease. Yet, users have complained about the excessive battery drain on Xiaomi Mi A1. Is excessive battery drain on Xiaomi Mi A1 such an issue? Many people are displeased about how fast their Mi A1s are losing battery power. For example, XDA member [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/excessive-battery-drain-xiaomi-mi-a1/">Excessive Battery Drain on Xiaomi Mi A1? Deal with Wakelocks</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The Xiaomi Mi A1 has the chops to run multimedia content like a perfect, budget phone. It packs a Snapdragon 625 chipset, 4GB RAM, and 1080p screen combination. These give it the power to run most content with ease. Yet, users have complained about the excessive battery drain on Xiaomi Mi A1.</p>
<h2>Is excessive battery drain on Xiaomi Mi A1 such an issue?</h2>
<p>Many people are displeased about how fast their Mi A1s are losing battery power.</p>
<p>For example, XDA member <a href="https://forum.xda-developers.com/member.php?u=6858416">felipovicc</a> complained that his device didn&#8217;t go into deep sleep when it was idle. As the screenshot below shows, a kernel service named <code>7000000.ssusb</code> used up to 59% of the battery power.</p>
<figure id="attachment_9936" aria-describedby="caption-attachment-9936" style="width: 169px" class="wp-caption aligncenter"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/Screenshot_BetterBatteryStats_20180708-145253.png"><img decoding="async" class="wp-image-9936 size-medium" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/Screenshot_BetterBatteryStats_20180708-145253-169x300.png" alt="Kernel wakelocks causing excessive battery drain" width="169" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/Screenshot_BetterBatteryStats_20180708-145253-169x300.png 169w, https://xiaomifirmware.com/wp-content/uploads/2018/08/Screenshot_BetterBatteryStats_20180708-145253-768x1365.png 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/Screenshot_BetterBatteryStats_20180708-145253-576x1024.png 576w, https://xiaomifirmware.com/wp-content/uploads/2018/08/Screenshot_BetterBatteryStats_20180708-145253.png 1080w" sizes="(max-width: 169px) 100vw, 169px" /></a><figcaption id="caption-attachment-9936" class="wp-caption-text">Kernel services consuming battery power on an idle Mi A1. Source: <a href="https://forum.xda-developers.com/mi-a1/help/help-wakelocks-t3814378">XDA</a></figcaption></figure>
<p>MIUI senior member <a href="http://en.miui.com/space-uid-2245764833.html">Kintsugi</a> also complained about <code>7000000.ssusb</code>. He found out that it used about half of his Mi A1&#8217;s idle battery power. See the screenshot below.</p>
<figure id="attachment_9937" aria-describedby="caption-attachment-9937" style="width: 169px" class="wp-caption aligncenter"><a href="https://xiaomifirmware.com/wp-content/uploads/2018/08/y5YRyJX.png"><img decoding="async" class="wp-image-9937 size-medium" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/y5YRyJX-169x300.png" alt="View kernel wakelocks" width="169" height="300" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/y5YRyJX-169x300.png 169w, https://xiaomifirmware.com/wp-content/uploads/2018/08/y5YRyJX-768x1365.png 768w, https://xiaomifirmware.com/wp-content/uploads/2018/08/y5YRyJX-576x1024.png 576w, https://xiaomifirmware.com/wp-content/uploads/2018/08/y5YRyJX.png 1080w" sizes="(max-width: 169px) 100vw, 169px" /></a><figcaption id="caption-attachment-9937" class="wp-caption-text">Kernel wakelocks. Source: <a href="http://en.miui.com/thread-2133819-1-1.html">Xiaomi MIUI Official Forum</a></figcaption></figure>
<p>XDA member <a href="https://forum.xda-developers.com/member.php?u=9232387">AkCullen</a> tried out a few things to reduce the excessive battery drain. Yet, despite <a href="https://forum.xda-developers.com/mi-a1/help/huge-battery-drain-t3803602">stopping background apps and calibrating the battery</a> his device lost about 80% of its power while in idle mode.</p>
<h3>What are wakelocks?</h3>
<p>Smartphones have smaller battery sizes than, say, laptops or PCs. Battery life is thus a key concern for most phone users. Besides, most manufacturers market their devices by claiming that they can last a full day on a single charge.</p>
<p>Android 7 introduced the <a href="https://source.android.com/devices/tech/power/platform_mgmt#doze">Doze mode</a> to force devices to go into deep sleep. So, in ideal situations, a Xiaomi Mi A1 phone should activate Doze when its screen is off and a user has not touched it for some time.</p>
<p>Still, at times, apps need to <a href="https://developer.android.com/training/scheduling/wakelock">wake up the CPU or screen</a> to complete some tasks. These apps use wakelocks, which prevent devices from going into deep sleep fully.</p>
<h3>Android power management</h3>
<p>Android&#8217;s <code>PowerManager</code> APIs expose wakelocks to apps. Using wakelocks, apps can then prevent devices from entering suspend mode. These APIs assume that wakelocks would work for short periods of time. So, once background services have completed their tasks, they are supposed to release them. Otherwise, wakelocks that linger on may drain battery power quickly.</p>
<p><strong>Examples wakelocks&#8217; states</strong></p>
<p>The Android <code>PowerManager</code> API defines several wakelock states. See below.</p>
<ul>
<li><code>PARTIAL_WAKE_LOCK</code>:
<ul>
<li>Wakes up the CPU</li>
</ul>
</li>
<li><code>SCREEN_DIM_WAKE_LOCK</code>:
<ul>
<li>Wakes up the CPU</li>
<li>Activates the screen in <em>dim</em> mode</li>
</ul>
</li>
<li><code>SCREEN_BRIGHT_WAKE_LOCK</code>:
<ul>
<li>Wakes up the CPU</li>
<li>Activates the screen in <em>bright</em> mode</li>
</ul>
</li>
<li><code>FULL_WAKE_LOCK</code>:
<ul>
<li>Wakes up the CPU</li>
<li>Activates the screen in <em>bright</em> mode</li>
<li>Lights up the keyboard</li>
</ul>
</li>
</ul>
<h4>Power management on Android 9 pie</h4>
<p>Android Pie has introduced new ways of improving battery performance. The OS tries to give resources to those apps that need them the most. It uses two major features:</p>
<ol>
<li><strong>Restricting resource usage when battery saver is on</strong>: It applies the limits on all apps.</li>
<li><strong>App standby buckets</strong>: The system monitors app usage patterns. Then, it limits the use of resources, like CPU, depending on the apps&#8217; needs.</li>
</ol>
<p>Thus, a simple method of improving the battery performance on Xiaomi Mi A1 is to install Android Pie.</p>
<blockquote><p><strong>Related</strong>: <a href="https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/">Install Android 9 Pie on Xiaomi Mi A1</a></p></blockquote>
<h3>Wakelocks vs. wakeups</h3>
<p>Some apps can wake up devices at a specific time. They use the <code><a href="https://developer.android.com/reference/android/app/AlarmManager.html">AlarmManager</a></code> API to force a device to come out of sleep mode. Using the <code>PARTIAL_WAKE_LOCK</code> flag, they can run given tasks by activating the <code>AlarmManager</code> API.</p>
<p>Yet, poor app design causes some services to make excessive wakeup calls. Such applications may lead to quick battery drainage.</p>
<h2>How to deal with rogue wakelocks on Xiaomi Mi A1</h2>
<p>An earlier post shared tips on <a href="https://xiaomifirmware.com/guides-and-tips/optimize-battery-performance-xiaomi-mi-a1/">how to make the Xiaomi Mi A1&#8217;s last longer</a>. It listed tactics like turning off Google Sync and disabling unused services. It also advised users to install apps like <a href="https://play.google.com/store/apps/details?id=com.oasisfeng.greenify">Greenify</a>, <a href="https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats">BetterBatteryStats</a>, and <a href="https://play.google.com/store/apps/details?id=com.gsamlabs.bbm">GSam Battery Monitor</a>.</p>
<p>Likewise, today I&#8217;ll share three <em>working</em> methods of dealing with excessive battery drain on Xiaomi Mi A1. The first one requires root while the last two don&#8217;t.</p>
<h3>How to stop wakelocks on Xiaomi Mi A1 <em>with</em> root</h3>
<p>This method uses the <strong><a href="https://play.google.com/store/apps/details?id=com.ryansteckler.nlpunbounce">Amplify</a></strong> app.</p>
<p>It also needs two things to work:</p>
<ol>
<li><strong>Root access</strong>: See the guide on <a href="https://xiaomifirmware.com/guides-and-tips/guide-root-xiaomi-mi-a1/">how to root Xiaomi Mi A1</a></li>
<li><strong>Xposed Framework</strong>: See steps for installation below</li>
</ol>
<h4>Installing the Xposed Framework on Xiaomi Mi A1</h4>
<ul>
<li>Download the Xposed Framework for your OS&#8217;s variant below:
<ul>
<li><strong>Android 7.1</strong>: <strong><a href="https://dl-xda.xposed.info/framework/sdk25/arm64/xposed-v89-sdk25-arm64.zip">xposed-v89-sdk25-arm64.zip</a></strong></li>
<li><strong>Android 8.0</strong>: <strong><a href="https://dl-xda.xposed.info/framework/sdk26/arm64/xposed-v90-sdk26-arm64-beta3.zip">xposed-v90-sdk26-arm64-beta3.zip</a></strong></li>
<li><strong>Android 8.1</strong>: <strong><a href="https://dl-xda.xposed.info/framework/sdk27/arm64/xposed-v90-sdk27-arm64-beta3.zip">xposed-v90-sdk27-arm64-beta3.zip</a></strong></li>
</ul>
</li>
<li>Flash the right .zip file using, say, TWRP custom recovery</li>
</ul>
<blockquote><p><strong>Related</strong>: <a href="https://xiaomifirmware.com/guides-and-tips/download-twrp-custom-recovery-xiaomi-mi-a1/">Download TWRP custom recovery for Xiaomi Mi A1</a></p></blockquote>
<ul>
<li>Install the Xposed installer. Using the .apk file below
<ul>
<li><strong>Xposed installer</strong>: <strong><a href="https://dw.uptodown.com/dwn/LdQiUxoEobYmjqYCye9PWChLBidcuddBIDKG_NheFbaDkUF4Ym6_jNilxh0Os5c1HiGCNoyoRc_RHu8t0G2jitgHw5-e1hLSQ140rCtbvSGy-oQ_kx1d27CT4NpSa5IF/HynW6bXUQZPN7MNgRErLlXymrgcYeU0jr7BwsleJNYna40vHaCXZGAbFnSYeT0dk8PnzvFEWuEsGwIoqdpBIp6AsozVbsAfA6h_YVKoAiq1Cm065S0Zcg-buxKhXxzuM/DZLhaK0oN9vjzqPMZ6YoIfi29-JWFyoc0B3tCxB6lgLXDvA7nixgwlYtAy32w3G-geCGQcmR16poQ1eRioEL4prgZPwQLEb6hJi1uACatAi1ztQqKhfYJJSjQ3FcFYzE/_kJjHzuFwyyH5N1H7MahYvPPkgwT6JoA6Q_S4hIuzD1HIGofSO1rtREdoR4aKBhl/">xposed-installer-3-1-5.apk</a></strong></li>
</ul>
</li>
</ul>
<p>With that out of the way, go ahead and install the <strong>Amplify</strong> app. Find the Play Store link above.</p>
<p>Use the app&#8217;s recommended defaults if you&#8217;re unsure of how to proceed. Otherwise, the app has ways of customizing the behavior of all services, alarms, and wakelocks running on your device.</p>
<h3>How to stop wakelocks on Xiaomi Mi A1 <em>without</em> root</h3>
<p><a href="https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector.noroot"><strong>Wakelock Detector Lite</strong></a> and <strong>BetterBatteryStats</strong> <em>do not require root access</em> to manage wakelocks. Still, you&#8217;ll need to set up ADB drivers for the two to work.</p>
<blockquote><p><strong>Related</strong>:</p>
<p><a href="https://xiaomifirmware.com/guides-and-tips/guide-install-adb-fastboot-drivers-pc/">How to install ADB/Fastboot drivers on PC</a><br />
<a href="https://xiaomifirmware.com/guides-and-tips/install-adb-fastboot-driver-mac-os/">How to install ADB and Fastboot Drivers on Mac OS</a><br />
<a href="https://xiaomifirmware.com/guides-and-tips/flash-recovery-img-install-adb-linux-os/">How to flash recovery.img and install ADB on Linux OS</a></p></blockquote>
<h4>Using the Wakelock Detector</h4>
<p>You can use the <strong>Wakelock Detector</strong> method in two ways. One, where you install a chrome extension. And two, where you pass permissions to the app using the terminal/command line.</p>
<h5>Using a chrome browser extension</h5>
<blockquote><p>The app&#8217;s browser extension works <strong>on Google Chrome only</strong>. Thus, you&#8217;ll have to install the browser if you don&#8217;t have it on your PC already.</p></blockquote>
<p><strong>Prerequisites</strong>:</p>
<ol>
<li>Download and install<strong> Wakelock Detector Lite</strong> on your Mi A1</li>
<li>Install the Google Chrome extension for<strong> Wakelock Detector</strong>: <strong><a href="https://chrome.google.com/webstore/detail/unlocker-for-wakelockdete/bgeplmmblegmdackkcemjkpngngocgjp">Unlocker for WakeLockDetector</a></strong></li>
<li>Enable USB debugging mode on your device</li>
</ol>
<p><strong>Steps</strong>:</p>
<ol>
<li>Connect your device to PC using USB</li>
<li>Connect the phone&#8217;s as a media device. Go to <code>Storage/USB computer connection</code>, then, select connect as <code>Media device (MTP)</code>.</li>
<li>Run the <strong>Wakelock Detector Lite</strong> app on your phone</li>
<li>Run the <strong>Unlocker for WakelockDetector</strong> extension on Chrome browser. You should get a screen like the one below.</li>
<li>Press the USB icon named <code>Connection mode</code> on the extension</li>
<li>The extension will make your phone to bring up a dialog asking for RSA confirmation. Select <code>Allow from this computer</code>, then press <code>OK</code></li>
<li>As another option, the <code>Grant Battery stats</code> button may turn to a thumbs up icon. If this happens, press it instead of the USB icon to give the app the required permissions</li>
</ol>
<figure id="attachment_9938" aria-describedby="caption-attachment-9938" style="width: 362px" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-9938" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/wld-unlocker.png" alt="WLD Unlock for Chrome" width="362" height="399" srcset="https://xiaomifirmware.com/wp-content/uploads/2018/08/wld-unlocker.png 362w, https://xiaomifirmware.com/wp-content/uploads/2018/08/wld-unlocker-272x300.png 272w" sizes="(max-width: 362px) 100vw, 362px" /><figcaption id="caption-attachment-9938" class="wp-caption-text">Xiaomi Mi A1 connected to <strong>Unlocker for WakelockDetector</strong> Chrome extension</figcaption></figure>
<h5>Using the terminal/command line</h5>
<ol>
<li>Connect your device to a computer using a USB cable</li>
<li>Type the commands below on the terminal or command line</li>
</ol>
<pre><code>$ adb tcpip 5555

$ adb shell pm grant com.uzumapps.wakelockdetector.noroot android.permission.BATTERY_STATS</code></pre>
<p>After that, you may use the app to stop rogue wakelocks by:</p>
<ol>
<li>Charging your device to full charge</li>
<li>Disconnecting the charger and using the phone for about one to two hours</li>
<li>Opening the app and noting the services or apps showing excessive wakelock usage</li>
<li>Stopping the offending apps from draining your device&#8217;s battery</li>
</ol>
<h4>Using BetterBatteryStats</h4>
<p>The <strong>BetterBatteryStats</strong> method is very similar to the one by the <strong>Wakelock Detector</strong> app. The key difference is that with <strong>BetterBatteryStats, </strong>you will use the command line alone.</p>
<p>If you have the ADB drivers all set up, you should thus start managing wakelocks using the steps below.</p>
<ol>
<li>Download and install the <a href="https://play.google.com/store/apps/details?id=com.csdroid.pkg"><strong>Package Name Viewer</strong></a> app from Play Store. You&#8217;ll see in a second how the application comes in handy when you need to stop specific wakelocks.</li>
<li>Enable USB debugging on your device</li>
<li>Connect it to a computer using a USB cable</li>
<li>Run the command: <code>adb devices</code></li>
<li>If the terminal responds with the name of your device (or, if using Linux, it returns: <code>no permissions</code>), you can proceed to the next step. If this step fails, it means that your ADB drivers&#8217; installation has a problem.</li>
<li>Give the <code>BATTERY_STATS</code> permission to the <strong>BetterBatteryStats</strong> app using the commands below:</li>
</ol>
<pre><code>$ adb -d shell pm grant com.asksven.betterbatterystats android.permission.BATTERY_STATS

$ adb -d shell pm grant com.asksven.betterbatterystats android.permission.DUMP

$ adb -d shell pm grant com.asksven.betterbatterystats android.permission.PACKAGE_USAGE_STATS</code></pre>
<p>After that, you may run the app on your phone to see which services are running excessive wakelocks.</p>
<p>If you&#8217;ve noticed an offending app/service or two, use the steps below to stop their wakelocks.</p>
<ol>
<li>Run <strong>Package Name Viewer</strong> to find out the package name of the culprit. Note that package name somewhere. So, let&#8217;s say the app draining your battery is <strong>Facebook Lite</strong>. Its package name is <code>com.facebook.lite</code></li>
<li>Then, connect your phone to a computer using USB, then run the <code>adb devices</code> command</li>
<li>If successful, run the command: <code>adb shell</code></li>
<li>Then: <code>cmd appops set com.facebook.lite WAKE_LOCK ignore</code></li>
</ol>
<p><em>That&#8217;s it! You&#8217;ve managed to force your device to turn down all unruly wakelock requests.</em></p>
<h3>Over to you</h3>
<p>In this post, we&#8217;ve seen that wakelocks may cause your smartphone to drain its battery power quickly. Remember, some Xiaomi Mi A1 users claim that the problem is so bad that they lose up to 80% of their charge in only two hours of idle time.</p>
<p>Remember, wakelock requests are not bad things <em>per se</em>. Still, if your device seems to lose its battery power without reason, you may have to install apps like the ones we&#8217;ve seen above. These will help you kill services or apps that misbehave.</p>
<p><em>So, these are just but some of the ways that may deal with wakelocks on an Android device. If you&#8217;ve tried them out, please share your experience in the comments section. Also, don&#8217;t hesitate to point out new, better ways of handling excessive battery drain.</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/excessive-battery-drain-xiaomi-mi-a1/">Excessive Battery Drain on Xiaomi Mi A1? Deal with Wakelocks</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/excessive-battery-drain-xiaomi-mi-a1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Xiaomi Mi A2 Camera App on Xiaomi Mi A1 and Redmi Note 5 Pro</title>
		<link>https://xiaomifirmware.com/guides-and-tips/install-xiaomi-mi-a2-camera-app/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/install-xiaomi-mi-a2-camera-app/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Wed, 15 Aug 2018 18:53:48 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Mi A1]]></category>
		<category><![CDATA[Mi A2]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9838</guid>

					<description><![CDATA[<p>The new Xiaomi Mi A2 is the second Android One device after Xiaomi Mi A1. The Mi A2 features a Snapdragon 660 processor and 4GB or 6GB of RAM. Yet, the phone&#8217;s key selling point is its dual-camera configuration. It sports a 12MP+20MP camera setup at the rear and a 20MP at the front. Despite promising a stock-like Android Oreo experience, the Mi A2 favors a custom camera app over Google Camera. And for good reason too. The Mi A2 [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/install-xiaomi-mi-a2-camera-app/">Install Xiaomi Mi A2 Camera App on Xiaomi Mi A1 and Redmi Note 5 Pro</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The new Xiaomi Mi A2 is the second Android One device after Xiaomi Mi A1. The Mi A2 features a Snapdragon 660 processor and 4GB or 6GB of RAM. Yet, the phone&#8217;s key selling point is its dual-camera configuration. It sports a 12MP+20MP camera setup at the rear and a 20MP at the front.</p>
<p>Despite promising a stock-like Android Oreo experience, the Mi A2 favors a custom camera app over Google Camera. And for good reason too. The Mi A2 camera contains a few software tricks. It shoots in portrait mode, for example, using an intelligent system for choosing sensors. Its shots are some of the best for midrange devices.</p>
<p>The Mi A2 camera app is thus an excellent addition to any Xiaomi device. So, it was a welcome development to hear that ports of the app have made their way to the Xiaomi Mi A1 and Xiaomi Redmi Note 5 Pro.</p>
<p>Thanks to XDA member <a href="https://forum.xda-developers.com/member.php?u=7527059">Dipesh17</a>, you can now try out the Mi A2 camera on the Mi A1. Also, XDA senior member <a href="https://forum.xda-developers.com/member.php?u=4904853">carlosggb</a> has created a port of the camera for the Redmi Note 5 Pro.</p>
<h2>How to use Xiaomi Mi A2 camera app on other models</h2>
<p>You&#8217;ll need to do a few things first before you can install the Mi A2 camera. See below.</p>
<p><strong>Prerequisites:</strong></p>
<ul>
<li>Root permissions</li>
</ul>
<blockquote><p><strong>Related: <a href="https://xiaomifirmware.com/guides-and-tips/guide-root-xiaomi-mi-a1/">How to root Xiaomi Mi A1</a></strong></p></blockquote>
<ul>
<li>Install TWRP custom recovery</li>
</ul>
<blockquote><p><strong>Related: <a href="https://xiaomifirmware.com/guides-and-tips/download-twrp-custom-recovery-xiaomi-mi-a1/">Download TWRP custom recovery for Xiaomi Mi A1</a></strong></p></blockquote>
<p>If you&#8217;ve done the above, you may now proceed with the installation.</p>
<p><strong>Installation:</strong></p>
<ul>
<li>Download these two files first:
<ul>
<li><strong>Mi A2 Camera for Mi A1</strong> by Dipesh17: <a href="https://xiaomifirmware.com/download/9846/"><strong>MiA2Cam-v10.zip</strong></a></li>
<li><strong>Camera A2 Experimental</strong> by Dipesh17: <a href="https://xiaomifirmware.com/download/9848/"><strong>Camera_A2_Experimental2.zip</strong></a></li>
</ul>
</li>
<li>Boot into TWRP and flash the <strong>Mi A2 Camera for Mi A1</strong> zip file.</li>
<li>Restart the device</li>
<li>Boot into TWRP again and flash the <strong>Camera A2 Experimental</strong> zip file</li>
<li>Restart the device to test out the Mi A2 camera on your Mi A1</li>
</ul>
<p><strong>Troubleshooting</strong></p>
<ul>
<li>Some users have reported ending up with an app named <strong>60</strong> in place of the Mi A2 camera. This app crashes on opening. If you face such a problem try out this mod by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=4936496">joeyhuab</a>:
<ul>
<li><strong>Xiaomi Mi A2 Camera: <a href="https://github.com/Magisk-Modules-Repo/Xiaomi-Mi-A2-Stock-Camera/releases/download/v8/Xiaomi-Mi-A2-Stock-Camera-v8.zip">Xiaomi-Mi-A2-Stock-Camera-v8.zip</a></strong></li>
</ul>
</li>
<li>Download and flash it to replace the <strong>Mi A2 Camera</strong> by Dipesh17</li>
<li>Also, if you&#8217;re using an Android Pie ROM, use this mod by joeyhaub instead:
<ul>
<li><strong>Xiaomi Mi A2 Camera for Pie GSI: <a href="https://github.com/Magisk-Modules-Repo/Xiaomi-Mi-A2-Camera-for-Pie/releases/download/v3/Pie_MiA2Cam_Magisk_Tissot_v3_INSTALL_IN_TWRP.zip">Pie_MiA2Cam_Magisk_Tissot_v3_INSTALL_IN_TWRP.zip</a></strong></li>
</ul>
</li>
</ul>
<h3>How to install Xiaomi Mi A2 camera on Xiaomi Redmi Note 5 Pro</h3>
<p>Before you consider this mod, you should note that:</p>
<p><strong>The Mi A2 camera port for Redmi Note 5 Pro doesn&#8217;t work on MIUI-based ROMs.</strong></p>
<p><strong>Prerequisites:</strong></p>
<ul>
<li>TWRP custom recovery for Redmi Note 5 Pro
<ul>
<li><strong>TWRP 3.2.3: <a href="https://eu.dl.twrp.me/whyred/twrp-3.2.3-0-whyred.img">twrp-3.2.3-0-whyred.img</a></strong></li>
</ul>
</li>
<li>Remove/uninstall Google Camera (if you have it on your Redmi Note 5 Pro, that is). It may cause some conflicts with the Mi A2 camera</li>
<li>Enable <strong>Camera2API</strong>
<ul>
<li>Flash this file using TWRP to enable Camera2API: <strong><a href="https://forum.xda-developers.com/attachment.php?attachmentid=4431945&amp;d=1519687895">Camera_2API.zip</a></strong></li>
</ul>
</li>
</ul>
<p><strong>Installation:</strong></p>
<ul>
<li>Download the <strong>Mi A2 camera for Redmi Note 5 Pro by carlosggb: <a href="https://androidfilehost.com/?fid=5862345805528063887">MiA2Cam-v10.zip</a></strong></li>
<li>Flash the camera mod using TWRP</li>
<li>Restart device</li>
</ul>
<p><strong>Possible bugs:</strong></p>
<ul>
<li>The Mi A2 camera may crash when you activate slow motion</li>
<li>HD (1080p) video lacks image stabilization</li>
<li>Auto HDR mode doesn&#8217;t work</li>
<li>You may see some lag when switching between the front and back camera</li>
</ul>
<p>These aside, the Mi A2 camera produces beautiful shots.</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/install-xiaomi-mi-a2-camera-app/">Install Xiaomi Mi A2 Camera App on Xiaomi Mi A1 and Redmi Note 5 Pro</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/install-xiaomi-mi-a2-camera-app/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>[Unofficial] Android 9 Pie GSI on Xiaomi Mi A1</title>
		<link>https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Mon, 13 Aug 2018 21:38:28 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Android 9]]></category>
		<category><![CDATA[Mi A1]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9835</guid>

					<description><![CDATA[<p>Xiaomi Mi A1 can now run an unofficial, Android Pie port. The Android 9 release promises many new features. Some include: Enhanced notifications Support for several, physical cameras Enhanced forms autofill But officially, the Mi A1 doesn&#8217;t support project Treble. Yet thanks to senior XDA member joeyhuab, you can &#8220;Treble-ize&#8221; the Android One device. How to install Android 9 on Mi A1 (tissot) Related: Check if your device supports Treble using a terminal app, like Termux. Download, install, and open [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/">[Unofficial] Android 9 Pie GSI on Xiaomi Mi A1</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Xiaomi Mi A1 can now run an unofficial, Android Pie port. The Android 9 release promises <a title="See What's New in Android 9 Pie" href="https://developer.android.com/about/versions/pie/#androidnbsp9-features">many new features</a>. Some include:</p>
<ul>
<li>Enhanced notifications</li>
<li>Support for several, physical cameras</li>
<li>Enhanced forms autofill</li>
</ul>
<p>But officially, the Mi A1 doesn&#8217;t support project Treble. Yet thanks to senior XDA member <a href="https://forum.xda-developers.com/member.php?u=4936496">joeyhuab</a>, you can &#8220;Treble-ize&#8221; the Android One device.</p>
<h2>How to install Android 9 on Mi A1 (tissot)</h2>
<blockquote><p><strong>Related:</strong></p>
<p>Check if your device supports Treble using a terminal app, like <a title="Install Termux from Play Store" href="https://play.google.com/store/apps/details?id=com.termux">Termux</a>.</p>
<p>Download, install, and open the app.</p>
<p>Run the command: <code>getprop ro.treble.enabled</code></p>
<p>You&#8217;ll get either <code>true</code> or <code>false</code></p>
<p>If you get <code>true</code>, then your device supports Treble.</p></blockquote>
<h2>How to Install Android Pie on Xiaomi Mi A1</h2>
<p>You&#8217;ll need to note a few, important things first:</p>
<ul>
<li>The Android 9 Pie GSI (Generic System Image) ROM is <strong>unstable/experimental</strong>. Don&#8217;t expect to use it as a daily driver.</li>
<li>This guide will <strong>repartition your device&#8217;s userdata partition</strong>. So, remember to backup your files.</li>
<li>You&#8217;ll need an <strong>unlocked bootloader</strong>.</li>
</ul>
<blockquote><p><strong>Related:</strong> <a title="Guide to Unlock the Xiaomi Mi A1 Bootloader" href="https://xiaomifirmware.com/guides-and-tips/unlock-bootloader-xiaomi-mi-a1/">how to unlock bootloader on Xiaomi Mi A1</a>.</p></blockquote>
<ul>
<li>This guide works for only Mi A1 devices that run <strong>stock ROM</strong>.</li>
</ul>
<h3>Required files:</h3>
<p>You&#8217;ll need a few files for the exercise. Download these first. See links below.</p>
<ul>
<li><strong>TWRP with Tissot Manager installer</strong> by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=1844875">CosmicDan</a>: <strong><a href="https://github.com/CosmicDan-Android/android_device_xiaomi_tissot/releases/download/2.4/TWRP-Installer-3.2.1-with-Tissot-Manager-2.4.zip">TWRP-Installer-3.2.1-with-Tissot-Manager-2.4.zip</a></strong></li>
<li><strong>Vendor image</strong> by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=5393309">ghpranav</a>: <strong><a href="https://androidfilehost.com/?fid=5862345805528040887">vendor-20180705.img</a></strong></li>
<li><strong>Android 9 GSI:</strong>
<ul>
<li><strong>A/B system</strong>: by XDA-recognized developer <a href="https://forum.xda-developers.com/member.php?u=6298645">erfanoabdi</a>: <strong><a href="https://androidfilehost.com/?fid=5862345805528067642">P-PR1-sGSI-AB.zip</a></strong>. Extract the .zip archive to get the .img file named <strong>P_PR1_AB.img</strong>.</li>
<li><strong>POST-sGSI 1</strong> by joeyhuab: <strong><a href="https://androidfilehost.com/?fid=3700668719832238401">POST-sGSI_1_v0.14_Pie_Tissot.zip</a></strong></li>
<li><strong>POST-sGSI 2</strong> by joeyhuab: <strong><a href="https://androidfilehost.com/?fid=5862345805528067654">POST-sGSI_2_v0.17_Pie_Tissot.zip</a></strong></li>
</ul>
<blockquote><p><strong>Hint:</strong></p>
<p>Collect these three files in a new folder. Give the folder a simple name like &#8220;android9.&#8221; Avoid any spaces in the filename.</p></blockquote>
</li>
<li>A <strong>treble-compatible kernel</strong> (any among these three would do):
<ul>
<li><strong>Moun Kernel 5.4</strong> by XDA-recognized developer <a href="https://forum.xda-developers.com/member.php?u=7210959">mountaser halak</a>: <strong><a href="https://github.com/mountaser/Moun_Kernel_Tissot/releases/download/5.4/Moun_Kernel_V5.4-TissotTreble.zip">Moun_Kernel_V5.4-TissotTreble.zip</a></strong></li>
<li><strong>ProjectK r17</strong> by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=5123347">khusika</a>: <strong><a href="https://drive.google.com/drive/folders/1uggmuoo0m7n_47WOT3FHxScjQCMdhm6x">ProjectK-r17.zip</a></strong></li>
<li><strong>Velocity r8</strong> by XDA senior member <a href="https://forum.xda-developers.com/member.php?u=7291478">kdragon</a>: <strong><a href="https://github.com/kdrag0n/velocity_tissot/releases/download/r8/velocity_kernel-tissot-r8-20180619.zip">velocity_kernel-tissot-r8-20180619.zip</a></strong></li>
</ul>
</li>
<li><strong>Magisk v16.7</strong> by XDA-recognized developer <a href="https://forum.xda-developers.com/member.php?u=4470081">topjohnwu</a>: <strong><a href="https://github.com/topjohnwu/Magisk/releases/download/v16.7/Magisk-v16.7.zip">Magisk-v16.7.zip</a></strong></li>
</ul>
<p>After collecting these files, install Android Pie on your Xiaomi Mi A1 with these steps.</p>
<ul>
<li>Allow USB debugging in <code>Settings/System/Developer options</code></li>
<li>Flash the <strong>TWRP with Tissot Manager installer</strong> using <strong>fastboot</strong>.<br />
<blockquote><p>Related: <a href="https://xiaomifirmware.com/guides-and-tips/download-twrp-custom-recovery-xiaomi-mi-a1/">How to flash TWRP custom recovery on Xiaomi Mi A1</a></p></blockquote>
</li>
<li>Boot into <strong>TWRP custom recovery</strong></li>
<li><strong>Format userdata partition</strong>
<ul>
<li>Go to <code>Wipe/Advanced Wipe</code></li>
<li>Press <code>Format Data</code>, then <code>Yes</code></li>
</ul>
</li>
<li>After formatting, <strong>enable Treble support</strong>:
<ul>
<li>On the main TWRP screen, go to <code>Advanced/Tissot Manager</code></li>
<li>After reading the disclaimer, press <code>Next</code>, then <code>Repartition/Shrink Userdata</code></li>
<li>After this, the custom recovery will bring up the dual boot options screen. Choose <code>Single-boot</code></li>
<li>Enable Treble support by selecting the <code>Repartition</code> option</li>
<li>After repartition, press <code>Reboot TWRP</code></li>
</ul>
</li>
<li>Then, <strong>flash the vendor image</strong>:
<ul>
<li>Choose <code>Mount/Enable MTP</code> in TWRP</li>
<li>Connect your Mi A1 to a computer using USB and copy the <strong>vendor image</strong> to the phone&#8217;s internal memory</li>
<li>Install the file by choosing <code>Install Image</code> from the <code>Install</code> option in TWRP</li>
<li>Then, locate the <strong>vendor image</strong> file in memory and select it for installation</li>
<li><strong>Select the target partition</strong>.
<ul>
<li>In the <code>Select Partition to Flash Image</code> option, choose <code>Vendor Image</code></li>
<li>Then <strong>swipe to confirm flash</strong></li>
</ul>
</li>
</ul>
</li>
<li>After flashing the vendor image, you can <strong>finally install Android Pie</strong>:
<ul>
<li>In TWRP, choose <code>Mount</code> then <code>Vendor</code> partition</li>
<li>Choose <code>Mount/Enable MTP</code></li>
<li>Connect your device to PC, then <strong>copy the Android 9 GSI files</strong> (from the folder you named <strong>android9</strong> earlier) to the device&#8217;s internal storage</li>
<li>In TWRP, go to <code>Install/Install Image</code></li>
<li>Then, install the <strong>A/B system image</strong> file named <strong>P_PR1_AB.img</strong> to the <code>System partition</code></li>
<li>Go to the <code>Install</code> menu again in TWRP then flash <strong>Post-sGSI 1</strong> and <strong>Post-sGSI 2</strong> files.</li>
<li>Flash a treble-compatible kernel of your choice. (Use <strong>Moun Kernel 5.4</strong>, <strong>ProjectK r17</strong>, or <strong>Velocity r8</strong>.)</li>
<li><strong>Enable root</strong> by flashing <strong>Magisk v16.7</strong></li>
<li>Reboot your device</li>
</ul>
</li>
</ul>
<p><em>Hope this tutorial worked for you! Share your experience and thoughts in the comments below.</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/">[Unofficial] Android 9 Pie GSI on Xiaomi Mi A1</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/unofficial-android-9-pie-gsi-on-xiaomi-mi-a1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install ARCore on Xiaomi Redmi 5 Plus</title>
		<link>https://xiaomifirmware.com/guides-and-tips/how-to-install-arcore-on-xiaomi-redmi-5-plus/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/how-to-install-arcore-on-xiaomi-redmi-5-plus/#comments</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Fri, 10 Aug 2018 16:49:50 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[ARCore]]></category>
		<category><![CDATA[Redmi 5 Plus]]></category>
		<category><![CDATA[twrp]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9765</guid>

					<description><![CDATA[<p>2018 has brought new, exciting developments to Android. The most notable is Google&#8217;s decision to retire the Tango project in favor of ARCore. The two are augmented-reality implementations for mobile devices. Whereas Tango relies on specific hardware to work, ARCore is purely software-based. This is a step in the right direction because only two devices support Tango thus far: ASUS Zenfore AR and Lenovo Phab 2 Pro. A few Xiaomi phone models feature in the list of devices that ARCore [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/how-to-install-arcore-on-xiaomi-redmi-5-plus/">How to Install ARCore on Xiaomi Redmi 5 Plus</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>2018 has brought new, exciting developments to Android. The most notable is Google&#8217;s decision to retire the Tango project <a title="Augmented Reality at Android Scale" href="https://www.blog.google/products/arcore/arcore-augmented-reality-android-scale/">in favor of ARCore</a>. The two are augmented-reality implementations for mobile devices. Whereas Tango relies on specific hardware to work, ARCore is purely software-based. This is a step in the right direction because <strong>only two</strong> devices support Tango thus far: ASUS Zenfore AR and Lenovo Phab 2 Pro.</p>
<p>A few Xiaomi phone models feature in the <a title="ARCore Supported Devices" href="https://developers.google.com/ar/discover/supported-devices">list of devices that ARCore supports</a> officially. These include the Xiaomi Mi 8, Mi 8 SE, and Mi Mix 2S.</p>
<h2>What is ARCore and how to install it?</h2>
<p><strong>The three benefit from ARCore&#8217;s key functions, such as:</strong></p>
<ul>
<li><strong>Tracking motion</strong>. The API can place virtual objects in real-life images with great accuracy. It uses a phones&#8217; internal sensors and camera.</li>
<li><strong>Estimating light conditions</strong>. The API exploits ambient lighting to make virtual objects more life-like.</li>
<li><strong>Understanding the environment</strong>. ARCore detects planes (i.e., the inclination of surfaces). It helps devices plot virtual objects with precision.</li>
</ul>
<p>Want to see ARCore in action? See how the virtual Tin Man blends into the traffic in the attached image, for example.</p>
<p><img decoding="async" src="https://storage.googleapis.com/gweb-uniblog-publish-prod/original_images/ARCore_Tinman.gif" alt="Virtual Tin Man in traffic using ARCore" /></p>
<p>The ARCore API helps other mobile apps to decorate scenes with virtual objects. So, there&#8217;s a simple way of checking if your Xiaomi supports the feature. First, install the <a title="Install ARCore from Play Store" href="https://play.google.com/store/apps/details?id=com.google.ar.core">ARCore by Google</a> app from Play Store. Then, install an app like <a title="Install Just a Line - Draw Anywhere, with AR from Play Store" href="https://play.google.com/store/apps/details?id=com.arexperiments.justaline">Just a Line &#8211; Draw Anywhere</a> to check if the API works.</p>
<p>Well, using this tactic, ARCore didn&#8217;t work as expected on the Xiaomi Redmi 5 Plus.</p>
<p>But, two senior XDA members—<a href="https://forum.xda-developers.com/member.php?u=8808603">Stampyron</a> and <a href="https://forum.xda-developers.com/member.php?u=4860033">Arnova8G2</a>—have solutions for this.</p>
<p>The Stampyron workaround involves modifying some configuration files, <strong>using root access</strong>. The Arnova8G2 method will need you to use <strong>TWRP recovery</strong>.</p>
<h3>How to install ARCore on Redmi 5 Plus with root access</h3>
<ol start="">
<li>Download this file: <a href="https://xiaomifirmware.com/download/9766/"><strong>device_profile_vince.textproto</strong></a>.</li>
<li>Install <strong>ARCore by Google</strong> from Play Store—see link above.</li>
<li>Install <strong>Just a Line</strong> from Play Store—see link above. (Apps like <a title="Install Pottery Barn 3D from Play Store" href="https://play.google.com/store/apps/details?id=com.outwardinc.Outward_AR2"><strong>Pottery Barn 3D Room View</strong></a>, <a title="Install ARuler from Play Store" href="https://play.google.com/store/apps/details?id=com.grymala.aruler&amp;hl=en"><strong>ARuler</strong></a>, and <a title="Install Ikea Place from Play Store" href="https://play.google.com/store/apps/details?id=com.inter_ikea.place&amp;hl=en"><strong>Ikea Place</strong></a> will also work as well with ARCore. You could try them out too.)</li>
<li>Open the ARCore-related app you installed in the step above. The <strong>app will crash, or fail to open</strong>. That&#8217;s expected. It only shows that your device isn&#8217;t ARCore-ready yet. But, the app will do something useful, all the same. It will create the files and folders that you&#8217;ll need later on.</li>
<li>Using a file explorer with root access, move <strong>device_profile_vince.textproto</strong> to this location:
<pre><code>/data/data/com.google.ar.core/files/device_profile_database/
</code></pre>
</li>
<li>Access <strong>device_profile_vince.textproto</strong>&#8216;s <a title="SELinux concepts" href="https://source.android.com/security/selinux/concepts">SELinux context</a>. Press the hamburger menu (<img decoding="async" class="alignnone size-full wp-image-9768" style="padding: 0px 0;" src="https://xiaomifirmware.com/wp-content/uploads/2018/08/if_menu-alt_134216.png" alt="Hamburger_Menu" width="16" height="16" />) that shows when you select the file using your root file explorer. Select <strong>Restore default context</strong>.</li>
<li>Reboot. You can now run the ARCore-related app you installed in step 3.</li>
</ol>
<h3>How to install ARCore on the Redmi 5 Plus using TWRP</h3>
<ol start="">
<li>Install ARCore by Google and an ARCore-related app. (<strong>See step 2 and 3 in the workaround above that requires root.</strong>)</li>
<li>Restart your Redmi 5 Plus into TWRP recovery.</li>
<li>Flash this file: <a href="https://xiaomifirmware.com/download/9769/"><strong>twrp-Patch-ARcore-for-all-device.zip</strong></a></li>
<li>Reboot to enjoy ARCore capability.</li>
</ol>
<p><em>If any of these methods worked for you, share your augmented-reality shots with us in the comments. We would also love to hear suggestions, if you have any.</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/how-to-install-arcore-on-xiaomi-redmi-5-plus/">How to Install ARCore on Xiaomi Redmi 5 Plus</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/how-to-install-arcore-on-xiaomi-redmi-5-plus/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>[News] Fortnite Mobile on Xiaomi?</title>
		<link>https://xiaomifirmware.com/news/news-fortnite-mobile-on-xiaomi/</link>
					<comments>https://xiaomifirmware.com/news/news-fortnite-mobile-on-xiaomi/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Thu, 09 Aug 2018 21:38:32 +0000</pubDate>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Fortnite]]></category>
		<category><![CDATA[Games]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9757</guid>

					<description><![CDATA[<p>The Battle Royale title, Fortnite, is the go-to game on platforms like PS, Xbox, and PC. The publisher (Epic Games) was onto a winner when it designed Fortnite to feature the same gameplay across all the supported devices. Whereas iOS users have enjoyed it on mobile for a while now, it is exciting to hear that it will come to Android too. In the summer of 2018, Epic Games will port Fortnite to Android devices—starting with flagship Samsung phones. Make [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/news/news-fortnite-mobile-on-xiaomi/">[News] Fortnite Mobile on Xiaomi?</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The Battle Royale title, Fortnite, is the go-to game on platforms like PS, Xbox, and PC. The publisher <em>(Epic Games)</em> was onto a winner when it designed Fortnite to feature the same gameplay across all the supported devices. Whereas iOS users have enjoyed it on mobile for a while now, it is exciting to hear that it will come to Android too. In the summer of 2018, Epic Games will port Fortnite to Android devices—starting with flagship Samsung phones.</p>
<p>Make no mistake, Fortnite mobile is very demanding on GPUs. Still, powerful chipsets such as the Qualcomm Snapdragon 845 will handle the game just fine.</p>
<h2>Can you run Fortnite on Xiaomi smartphones?</h2>
<p>The game aims to offer a consistent experience across platforms. So, Epic Games listed some specs ahead of the launch for Android. It listed the requirements below as basic. (If your Xiaomi features these, you may play Fortnite mobile at some point in the future.)</p>
<p><strong>Requirements:</strong></p>
<ul>
<li>Oldest supported OS version: Android 5.0 (Lollipop)</li>
<li>Minimum RAM: 3GB</li>
<li>CPU architecture: ARM64 (64-bit)</li>
<li>Minimum OpenGL version: 3.1</li>
</ul>
<p>Another important point is to check your device for Vulkan support. Using this API, mobile devices tend to offer better gaming performance. (See tutorial on <a href="https://xiaomifirmware.com/downloads/download-vulkan-api-redmi-note-4x/">how to install Vulkan on Xiaomi Redmi Note 4X</a>.)</p>
<blockquote><p>Need to browse your device specs in detail? Install <a href="https://play.google.com/store/apps/details?id=flar2.devcheck">DevCheck Hardware and System Info</a> from Google Play.</p></blockquote>
<p><strong>For example, here&#8217;s a summary of a DevCheck report on the Xiaomi Mi 8.</strong></p>
<ul>
<li>Processor: Qualcomm Snapdragon 845</li>
<li>Hardware: SDM845</li>
<li>GPU: Adreno 630</li>
<li>OpenGL: Open GL ES 3.2</li>
<li>Architecture: aarch64 (64-bit)</li>
<li>Ram size: 6 GB</li>
<li>Android version: Android 8.1 (Oreo)</li>
</ul>
<p>See, these specs mean that the Xiaomi Mi 8 is set to run Fortnite mobile with ease.</p>
<p>In the same vein, I analyzed other Xiaomi phones to check whether Fortnite mobile may run on them. See summary below.</p>
<figure>
<table>
<thead>
<tr>
<th style="text-align: left;">Xiaomi Device</th>
<th>Processor</th>
<th>Hardware</th>
<th>GPU</th>
<th>OpenGL</th>
<th>Architecture</th>
<th>RAM</th>
<th>Android version</th>
<th style="text-align: center;">May run Fortnite mobile?</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Xiaomi Mi 6</td>
<td>Qualcomm Snapdragon 835</td>
<td>MSM8998</td>
<td>Adreno 540</td>
<td>OpenGL ES 3.2</td>
<td>aarch64 (64-bit)</td>
<td>4/6 GB</td>
<td>Android 7.1.1 (Nougat)</td>
<td style="text-align: center;">YES</td>
</tr>
<tr>
<td style="text-align: left;">Xiaomi Mi 5s</td>
<td>Qualcomm Snapdragon 821</td>
<td>MSM8996</td>
<td>Adreno 530</td>
<td>OpenGL ES 3.2</td>
<td>aarch64 (64-bit)</td>
<td>3/4 GB</td>
<td>Android 6.0 (Marshmallow)</td>
<td style="text-align: center;">YES</td>
</tr>
<tr>
<td style="text-align: left;">Xiaomi Mi 5</td>
<td>Qualcomm Snapdragon 820</td>
<td>MSM8996</td>
<td>Adreno 530</td>
<td>OpenGL ES 3.2</td>
<td>aarch64 (64-bit)</td>
<td>3/4 GB</td>
<td>Android 6.0 (Marshmallow) to 7.0 (Nougat)</td>
<td style="text-align: center;">YES</td>
</tr>
<tr>
<td style="text-align: left;">Xiaomi Mi Note Pro</td>
<td>Qualcomm Snapdragon 810</td>
<td>MSM8994</td>
<td>Adreno 430</td>
<td>OpenGL ES 3.1</td>
<td>aarch64 (64-bit)</td>
<td>4 GB</td>
<td>Android 5.0.1 (Lollipop) to 7.0 (Nougat)</td>
<td style="text-align: center;">NO</td>
</tr>
</tbody>
</table>
</figure>
<p>This list may confuse you, somewhat. See, you&#8217;d expect the Xiaomi Mi Note Pro to support Fortnite mobile, for example. Well, according to code in a leaked configuration file, the game should run on Adreno 530, 540, and 640 GPUs only—see the code snippet below. (<em>Thus, Mi Note Pro&#8217;s Adreno 430 will not support the title</em>.)</p>
<pre><code>//allow Adreno 530, 540, 630 only
condition: ((SourceType=SRC_GPUFamily, CompareType=CMP_Regex, MatchString="^Adreno \(TM\) 530")),, (unsupportedAdreno)
condition: ((SourceType=SRC_GPUFamily, CompareType=CMP_Regex, MatchString="^Adreno \(TM\) 540")),, (unsupportedAdreno)
condition: ((SourceType=SRC_GPUFamily, CompareType=CMP_Regex, MatchString="^Adreno \(TM\) 630")),, (unsupportedAdreno)
condition: ((SourceType=gpu, CompareType=CMP_Equal, MatchString="Adreno (TM) 530")),, (unsupportedAdreno)
condition: ((SourceType=gpu, CompareType=CMP_Regex, MatchString="Adreno (TM) 540")),, (unsupportedAdreno)
condition: ((SourceType=gpu, CompareType=CMP_Regex, MatchString="Adreno (TM) 630")),, (unsupportedAdreno)
    
condition: ((SourceType=unsupportedAdreno, CompareType=CMP_Equal, MatchString="true")), (error="CR_Info_unsupportedGPU")  
</code></pre>
<p>If you&#8217;re not a programmer, the code above could seem all but gibberish. But, there&#8217;s a line that you should pay particular attention to. It&#8217;s the first line starting with &#8220;//&#8221;. It says plainly that only the listed GPUs will support Fortnite mobile.</p>
<p>In summary, the <strong>Xiaomi Mi 8</strong>, <strong>Mi 6</strong>, <strong>Mi 5/5s</strong>, may handle Fortnite mobile hardware demands when it becomes available for more Android devices.</p>
<p>The post <a href="https://xiaomifirmware.com/news/news-fortnite-mobile-on-xiaomi/">[News] Fortnite Mobile on Xiaomi?</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/news/news-fortnite-mobile-on-xiaomi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ultimate Collection of the Best Google Camera Ports</title>
		<link>https://xiaomifirmware.com/downloads/ultimate-collection-of-the-best-google-camera-ports/</link>
					<comments>https://xiaomifirmware.com/downloads/ultimate-collection-of-the-best-google-camera-ports/#comments</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Thu, 09 Aug 2018 21:17:27 +0000</pubDate>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Camera]]></category>
		<category><![CDATA[Gcam]]></category>
		<category><![CDATA[Mi A1]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9715</guid>

					<description><![CDATA[<p>Ever since Google introduced the Pixel line, Android users have tried to port its Google camera (GCam) app. And for good reason too. The GCam is an excellent performer. In a previous post, for example, we saw how well it could work with the  Xiaomi Mi A1. We also learned that it could work for other Xiaomi devices too. Notable ones included the Redmi Note 5 Pro, Mi 5, and Redmi 4X. Yet, users have struggled with a myriad of [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/downloads/ultimate-collection-of-the-best-google-camera-ports/">Ultimate Collection of the Best Google Camera Ports</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Ever since Google introduced the Pixel line, Android users have tried to port its Google camera (GCam) app. And for good reason too. The GCam is an excellent performer. In a <a title="Install Google Camera HDR+ for Xiaomi Mi A1" href="https://xiaomifirmware.com/guides-and-tips/install-google-camera-hdr-xiaomi-mi-a1/">previous post</a>, for example, we saw how well it could work with the  Xiaomi Mi A1. We also learned that it could work for other Xiaomi devices too. Notable ones included the <a title="Install Gcam and Enable 4K on Redmi Note 5 Pro" href="https://xiaomifirmware.com/guides-and-tips/install-gcam-and-enable-4k-on-redmi-note-5-pro/">Redmi Note 5 Pro</a>, <a title="Camera Mods Collection for Xiaomi Mi5 (Android 7.1)" href="https://xiaomifirmware.com/downloads/camera-mods-collection-for-xiaomi-mi5-android-7-1/">Mi 5</a>, and <a title="Google HDR+ Camera and Slo-mo for Redmi 4X" href="https://xiaomifirmware.com/guides-and-tips/google-hdr-camera-slo-mo-redmi-4x/">Redmi 4X</a>.</p>
<p>Yet, users have struggled with a myriad of issues like GCams that <a title="Google Camera HDR+ Fixes for Xiaomi Mi A1" href="https://xiaomifirmware.com/guides-and-tips/google-camera-hdr-fixes-xiaomi-mi-a1/">don&#8217;t open and some that crash often</a>.</p>
<p>As luck would have it, dedicated modders continue to give us ever better GCam ports. But, the issue with these fast developments is that it&#8217;s hard to keep track of what works best. That&#8217;s why today, I&#8217;ve collected all the ports renowned for their performance in Xiaomi devices in one post. I&#8217;ll even throw in <a title="ARCore Overview" href="https://developers.google.com/ar/discover/">ARCore</a> mods that work for the Xiaomi Mi A1 and Mi 5S.</p>
<h2>Download latest GCam Ports for Xiaomi devices</h2>
<h3>Gcam for Xiaomi Mi A1</h3>
<p>As you&#8217;ll see, there&#8217;s a lot going on for the Mi A1. From running the basic GCam mods to handling augmented reality, this phone shows that it can punch above its weight. See the best ports below.</p>
<ul>
<li>Most GCam ports work without little to no issues on the Mi A1. But, the <strong>Arnova8G2 version 1.4</strong> port is the undeniable favorite. Get it: <a href="https://xiaomifirmware.com/download/9716/">GCam5.1.018-Arnova8G2-V1.4.apk</a></li>
<li>A GCam with wide, telephoto capabilities is also available. It&#8217;s the <strong>Cstark27 version 3.3</strong> port. Get it <a href="https://xiaomifirmware.com/download/9718/">cstark27_GCam_5.1.018_24_wide_v3.3.apk</a>. Still, you&#8217;ll need a few mods to help Cstark&#8217;s port to use the zoom camera and to solve WhatsApp&#8217;s crashing.
<ul>
<li>Flash the zoom mod <a href="https://xiaomifirmware.com/download/9720/">found here</a>.</li>
<li>And fix WhatsApp by flashing <a href="https://xiaomifirmware.com/download/9722/">this mod</a>.</li>
</ul>
</li>
<li>Give your GCam some ARCore functions using the mods below. (Flash both files.)
<ul>
<li><a href="https://xiaomifirmware.com/download/9724/">ARCore basic mod</a></li>
<li><a href="https://xiaomifirmware.com/download/9726/">ARCore module</a></li>
</ul>
</li>
<li>Add some AR Stickers functionality to your GCam by installing the .apk files <a href="https://xiaomifirmware.com/download/9728/">found here</a>.</li>
</ul>
<h3>Google Camera Mod for Xiaomi Mi 5/5S</h3>
<ul>
<li>The <strong>Arnova8G2 version 4</strong> GCam port works best for the <strong>Xiaomi Mi 5</strong>. Get it <a href="https://xiaomifirmware.com/download/9730/">here</a>.</li>
<li>Get the excellent <strong>Arnova8G2 version 1.5</strong> port for your <strong>Xiaomi Mi 5S</strong> <a href="https://xiaomifirmware.com/download/9732/">here</a>.</li>
<li>Flash this mod: <strong><a href="https://xiaomifirmware.com/download/9724/">arcore_apps-signed.zip</a></strong>. Then, install these mods (for Android 8.0: <a href="https://xiaomifirmware.com/download/9735/"><strong>calibration_cad_Mi5s-signed.zip</strong></a> or 8.1: <a href="https://xiaomifirmware.com/download/9737/"><strong>arcore_mod_mi5s-signed.zip</strong></a>) to get ARCore and AR Stickers working on your <strong>Mi 5S</strong>.</li>
</ul>
<h3>Other Xiaomi&#8217;s</h3>
<p>Find recommended GCam .apk file for you Xiaomi variant below.</p>
<ul>
<li><strong>Xiaomi Mi 6</strong> and <strong>Mi 8</strong>: <a href="https://xiaomifirmware.com/download/9739/">MGC_5.2.022 1.0.apk</a></li>
<li><strong>Xiaomi Mi Mix 2S</strong>: <a href="https://www.celsoazevedo.com/files/android/google-camera/#apk195">GCam-Pixel2Mod-Arnova8G2-V7beta-test-9.apk</a></li>
<li><strong>Xiaomi Mi Mix</strong>, <strong>Redmi 4 Prime</strong>, and <strong>Redmi Note 3</strong>: <a href="https://xiaomifirmware.com/download/9741/">GCam5.1.018-Arnova8G2-V1.5Beta2.apk </a>(<em>This is the port that works for the Xiaomi Mi 5S too—see above</em>.)</li>
<li><strong>Xiaomi Mi Note 3</strong>: <a href="https://xiaomifirmware.com/download/9743/">GCam5.1.018-Arnova8G2-V1.7Beta2.apk</a></li>
<li><strong>Xiaomi Redmi 3S</strong>: <a href="https://xiaomifirmware.com/download/9745/">GCam-Pixel2Mod-Arnova8G2-V2.apk</a></li>
<li><strong>Xiaomi Redmi 4X</strong> and <strong>Redmi Note 4</strong>: <a href="https://xiaomifirmware.com/download/9747/">GCam5.1.018-Arnova8G2-V1.4.apk</a> (<em>Works for the Xiaomi Mi A1 too—see above</em>.)</li>
<li><strong>Xiaomi Redmi 5A</strong>: <a href="https://xiaomifirmware.com/download/9749/">GCam-Pixel2Mod-Arnova8G2-V8.apk</a></li>
<li><strong>Xiaomi Redmi Note 5/5+</strong>: <a href="https://xiaomifirmware.com/download/9751/">GCam_5.3.015-Pixel3Mod-Arnova8G2-v4Beta2.apk</a></li>
<li><strong>Xiaomi Redmi Note 5 Pro</strong>: <a href="https://xiaomifirmware.com/download/9753/">GoogleCamera_5.2.025-Minimal-Beta-Final.apk</a></li>
</ul>
<blockquote><p>For this post, I&#8217;ve assumed that you&#8217;re already familiar with flashing using TWRP or the Magisk Manager. I also take it that you&#8217;ve tried out porting GCam to your Xiaomi before.</p></blockquote>
<p><em>What other ports work as good as these I&#8217;ve listed above? Have you encountered any problems with these recommended mods? We would love to know. Share your experiences or suggestions by commenting below.</em></p>
<p>The post <a href="https://xiaomifirmware.com/downloads/ultimate-collection-of-the-best-google-camera-ports/">Ultimate Collection of the Best Google Camera Ports</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/downloads/ultimate-collection-of-the-best-google-camera-ports/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to fastboot Xiaomi Mi Mix 2S with Android P beta</title>
		<link>https://xiaomifirmware.com/guides-and-tips/how-to-fastboot-xiaomi-mi-mix-2s-with-android-p-beta/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/how-to-fastboot-xiaomi-mi-mix-2s-with-android-p-beta/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Sat, 21 Jul 2018 19:52:06 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Android P beta]]></category>
		<category><![CDATA[Mi Mix 2S]]></category>
		<category><![CDATA[Xiaomi Mi Mix 2S]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9533</guid>

					<description><![CDATA[<p>The gorgeous Xiaomi Mi Mix 2S can run Android 9.0 (code named &#8220;P&#8221;) beta — thanks to Google’s Project Treble. The device is among the select few (such as, Mi 6, Mi A1, and Mi Mix 2) that will receive a major OS upgrade. Whereas the others may get Android P starting from the last quarter of 2018, it is now possible to flash the Mi Mix 2S with a public beta version of Android P. Some of the new [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/how-to-fastboot-xiaomi-mi-mix-2s-with-android-p-beta/">How to fastboot Xiaomi Mi Mix 2S with Android P beta</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The gorgeous Xiaomi Mi Mix 2S can run Android 9.0 (code named &#8220;P&#8221;) beta — thanks to Google’s Project Treble. The device is among the select few (such as, Mi 6, Mi A1, and Mi Mix 2) that will receive a major OS upgrade. Whereas the others may get Android P starting from the last quarter of 2018, it is now possible to flash the Mi Mix 2S with a public beta version of Android P.</p>
<p>Some of the new features Android P promises include:</p>
<ul>
<li><strong>Enhanced security</strong>: Background apps will not access a phone&#8217;s camera or microphone. Also, the OS will prevent apps from reading call logs unless you explicitly allow them to.</li>
<li><strong>Improved call features</strong>: Call blocking will become a default, better integrated feature in the OS. Phones will produce a tone when you activate call recording to support lawful call recording.</li>
<li><strong>Better management of non-responsive apps</strong>: Apps that become non-responsive will quit silently. They will no longer interrupt your usage with invasive dialogs.</li>
<li><strong>Other notable improvements</strong>: Screenshot editing, gesture controls, and support for emoji 11.0</li>
</ul>
<p>Despite participating in Project Treble, Xiaomi has hesitated to release the latest Android version over the air (OTA). Because the P beta firmware for Mi Mix 2S is available online, however, you can test it by using the fastboot method.</p>
<p>So, to install Android P, you need to grab these files first.</p>
<ol start="">
<li>Android P beta firmware: <a href="https://xiaomifirmware.com/download/9534/">global_image_8.5.3.tgz</a></li>
<li>MIUI Flashing tool: <a href="http://api.en.miui.com/url/MiFlashTool">MiFlashTool</a></li>
</ol>
<p>You&#8217;ll also need to unlock the Mi Mix 2S bootloader. If you&#8217;ve not done it yet, apply for unlock permissions <a title="Unlock your mi device" href="http://en.miui.com/unlock/">here</a>.</p>
<h2>Flash Android P beta on Xiaomi Mi Mix 2S</h2>
<p>You&#8217;ll need a PC for this exercise. So, turn it on and follow the steps below.</p>
<ol start="">
<li>Extract the Andoid firmware file (with the suffix: <code>.tgz</code>) you downloaded earlier and save it on the PC.</li>
<li>Extract the flash tool and install it on the computer.</li>
<li>Run the flash tool&#8217;s executable file called <strong>MiFlash.exe</strong></li>
<li>Go back to the folder where you extracted the firmware file and note its address path</li>
<li>Enter this path in the flash tool&#8217;s address bar</li>
<li>Reboot your phone in fastboot mode. First, switch off the phone. Then, press the power button while pressing the volume buttons to enter this mode.</li>
<li>Connect your Mi Mix 2S to the computer using a USB cable</li>
<li>Refresh the flash tool by clicking on its yellow button</li>
<li>If the tool recognizes your phone, start flashing by pressing the tool&#8217;s red button</li>
<li>Wait for the flash tool to finish installing the Android P firmware. You should see a green bar run to show the installation progress.</li>
<li>When the flashing concludes, your phone should reboot</li>
</ol>
<p>You may have noticed that I didn&#8217;t suggest the <strong>recovery method</strong> for installing Android P beta. The primary reason why the recovery approach may fail is because MIUI&#8217;s recovery mechanism needs <strong>zip files</strong> to update the ROM. Yet, the Android P firmware is in a <strong>.tgz</strong> format.</p>
<p>With that said, you need to note that Android P is still in development. You should thus not expect to use the beta OS as a daily driver. Functions like photo editing, voice search, and voicemail are buggy or unusable at times.</p>
<p><em>If you&#8217;ve managed to install Android P beta on your Mi Mix 2S, share your experiences in the comments section. What would you like to see improvements on? Which features please you the most?</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/how-to-fastboot-xiaomi-mi-mix-2s-with-android-p-beta/">How to fastboot Xiaomi Mi Mix 2S with Android P beta</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/how-to-fastboot-xiaomi-mi-mix-2s-with-android-p-beta/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to flash TWRP and root the Xiaomi Mi 8/Mi 8 SE</title>
		<link>https://xiaomifirmware.com/guides-and-tips/how-to-flash-twrp-and-root-the-xiaomi-mi-8-mi-8-se/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/how-to-flash-twrp-and-root-the-xiaomi-mi-8-mi-8-se/#respond</comments>
		
		<dc:creator><![CDATA[Hiram K.]]></dc:creator>
		<pubDate>Thu, 19 Jul 2018 20:26:07 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Mi 8]]></category>
		<category><![CDATA[Mi 8 Se]]></category>
		<category><![CDATA[Root]]></category>
		<category><![CDATA[twrp]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=9524</guid>

					<description><![CDATA[<p>TWRP custom recovery is now available for Xiaomi Mi 8 and Mi 8 SE. Besides installing custom ROMs, the custom recovery could help you root your Mi 8 or Mi 8 SE. This guide will show you how to root these two devices. But, as always, the steps that I&#8217;ll list may damage your phone beyond repair. So, you&#8217;ll should proceed if you&#8217;re willing to assume full responsibility for all eventualities. Flash TWRP recovery on Mi 8 Step 1: Grab the [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/how-to-flash-twrp-and-root-the-xiaomi-mi-8-mi-8-se/">How to flash TWRP and root the Xiaomi Mi 8/Mi 8 SE</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>TWRP custom recovery is now available for Xiaomi Mi 8 and Mi 8 SE. Besides <a title="Download official MIUI ROMs for Xiaomi Mi 8 SE" href="https://xiaomifirmware.com/roms/download-official-miui-roms-for-xiaomi-mi-8-se/">installing custom ROMs</a>, the custom recovery could help you root your Mi 8 or Mi 8 SE.</p>
<p>This guide will show you how to root these two devices. But, as always, the steps that I&#8217;ll list may damage your phone beyond repair. So, you&#8217;ll should proceed if you&#8217;re willing to assume full responsibility for all eventualities.</p>
<h2>Flash TWRP recovery on Mi 8</h2>
<p><strong>Step 1</strong>: Grab the TWRP file for your Mi 8 type from one of the following links. Choose either the <a href="https://xiaomifirmware.com/download/9528/">Mi 8 SE TWRP</a> or <a href="https://xiaomifirmware.com/download/9530/">Mi 8 TWRP</a> image file.</p>
<p><strong>Step 2</strong>: Because the recovery file will need an unlocked bootloader, <a title="Unlock your Mi device" href="https://en.miui.com/unlock/">apply for unlocking permissions first</a>.</p>
<blockquote><p>You may, however, have to wait up to 360 hours to get the go ahead to unlock your phone.</p></blockquote>
<p><strong>Step 3</strong>: Copy the correct TWRP variant to your phone. Keep another copy on your PC.</p>
<p><strong>Step 4</strong>: Activate USB debug mode.</p>
<blockquote><p>Enable USB debugging by going to:</p>
<p><strong>Settings → About phone → MIUI version → Additional settings → Developer options → USB debugging</strong></p></blockquote>
<p><strong>Step 5</strong>: Connect your Mi 8 or Mi 8 SE to the PC using a USB cable.</p>
<p><strong>Step 6</strong>: Open a command window (if using a Windows PC) or the terminal (if using Linux).</p>
<p><strong>Step 7</strong>: Point the command to the directory to where you kept the copy of the TWRP recovery file in the computer.</p>
<p><strong>Step 8</strong>: Use the ADB driver in your PC to boot your phone into fastboot mode. (See guides for installing ADB and Fastboot drivers in <a href="https://xiaomifirmware.com/guides-and-tips/guide-install-adb-fastboot-drivers-pc/">PC</a>, <a href="https://xiaomifirmware.com/guides-and-tips/flash-recovery-img-install-adb-linux-os/">Linux</a>, or <a href="https://xiaomifirmware.com/guides-and-tips/install-adb-fastboot-driver-mac-os/">Mac OS</a>.) Run the command below on the computer:</p>
<pre><code>adb reboot bootloader
</code></pre>
<p><strong>Step 9</strong>: Flash TWRP recovery by running the command below — where, <code>twrp-name</code> stands for the name of the file you downloaded in Step 1:</p>
<pre><code>fastboot boot &lt;twrp-name&gt;.img
</code></pre>
<p><strong>Step 10</strong>: Press your phone&#8217;s power button while holding down the volume keys to boot into recovery mode.</p>
<p><strong>Step 11</strong>: Choose and install the recovery file from the TWRP recovery screen.</p>
<p><strong>Step 12</strong>: Restart your phone to make the changes effective.</p>
<h2>Root Mi 8 or Mi 8 SE</h2>
<p>After installing TWRP recovery, the rooting process is easy. It will take just two steps.</p>
<p><strong>Step 1</strong>: Download this <a href="https://mega.nz/#!42gBkB6I!7hfpXamdR2pfMss57pM8ROzR5VgIBkK7Ra7l58I3_l8">Magisk root file</a>.</p>
<p><strong>Step 2</strong>: Copy the Magisk file to your phone.</p>
<p><strong>Step 3</strong>: Reboot into recovery mode (see Step 10 in the TWRP flashing section).</p>
<p><strong>Step 4</strong>: Choose and install the Magisk file from the TWRP recovery home screen.</p>
<p><strong>Step 5</strong>: Reboot your phone.</p>
<p>With that, you should have root access. You could verify using an app like <a title="Root checker app" href="https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&amp;hl=en">Root Checker</a>.</p>
<p><em>Did you get root access on your Mi 8 or Mi 8 SE using these steps? Or, did you encounter any problems? Share your questions or suggestions in the comments section below</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/how-to-flash-twrp-and-root-the-xiaomi-mi-8-mi-8-se/">How to flash TWRP and root the Xiaomi Mi 8/Mi 8 SE</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/how-to-flash-twrp-and-root-the-xiaomi-mi-8-mi-8-se/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
