<?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>Linux - Xiaomi Firmware</title>
	<atom:link href="https://xiaomifirmware.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://xiaomifirmware.com/tag/linux/</link>
	<description>MIUI Android Devices Tips &#38; Guides</description>
	<lastBuildDate>Wed, 07 Feb 2018 22:16:50 +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>Linux - Xiaomi Firmware</title>
	<link>https://xiaomifirmware.com/tag/linux/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to flash TWRP Recovery with Linux Ubuntu</title>
		<link>https://xiaomifirmware.com/guides-and-tips/flash-twrp-recovery-linux-ubuntu/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/flash-twrp-recovery-linux-ubuntu/#comments</comments>
		
		<dc:creator><![CDATA[Frederick Jerome]]></dc:creator>
		<pubDate>Wed, 07 Feb 2018 22:16:50 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[twrp]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=8166</guid>

					<description><![CDATA[<p>I&#8217;d like to welcome fellow Linux user here. In this short tutorial we&#8217;ll show you on how you can flash TWRP Custom Recovery on your Xiaomi smartphone using the Ubuntu, Linux Mint, elementary OS or any other Linux distro. TWRP Installation Tutorial for Linux Mint and Ubuntu users This method will work for every Xiaomi device model and every TWRP Custom Recovery version. Basically steps are always identical. The only thing you must consider is that you should have unlocked [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/flash-twrp-recovery-linux-ubuntu/">How to flash TWRP Recovery with Linux Ubuntu</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;d like to welcome fellow Linux user here. In this short tutorial we&#8217;ll show you on how you can flash TWRP Custom Recovery on your Xiaomi smartphone using the Ubuntu, Linux Mint, elementary OS or any other Linux distro.</p>
<h2>TWRP Installation Tutorial for Linux Mint and Ubuntu users</h2>
<p>This method will work for every Xiaomi device model and every TWRP Custom Recovery version. Basically steps are always identical. The only thing you must consider is that you should have unlocked bootloader on your device before starting with TWRP installation.</p>
<ol>
<li>Download the required TWRP .img file for your device model. <span style="color: #ff0000;">Do not try to flash TWRP for different device.</span></li>
<li>Open the folder with previously downloaded <strong>recovery.img</strong> and use right mouse button to open the terminal window.</li>
<li>Start your device in <span style="color: #0000ff;">fastboot mode</span>. If you don&#8217;t know how to do to, please browse our website, you&#8217;ll find a tutorial here.</li>
<li>Now use the terminal window and enter the following commands in the right order:
<pre>sudo add-apt-repository ppa:phablet-team/tools
sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot</pre>
</li>
<li>Connect your device to PC, next command should display your device unique ID number:
<pre>sudo fastboot devices</pre>
</li>
<li>Now we&#8217;re going to flash TWRP with the following command<em> (where &#8220;recovery.img&#8221; is the name of recovery file you&#8217;ve downloaded)</em>:
<pre>sudo fastboot flash recovery.img</pre>
</li>
<li>Flashing process will take around 10 seconds.</li>
<li>After installation is completed disconnect your device from PC and hold &#8220;Power&#8221; button to exit fastboot mode.</li>
<li>Now you&#8217;ve TWRP Custom Recovery installed on your device. You can proceed with Custom ROM installation and other experiments.</li>
</ol>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/flash-twrp-recovery-linux-ubuntu/">How to flash TWRP Recovery with Linux Ubuntu</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/flash-twrp-recovery-linux-ubuntu/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>How to flash recovery.img and install ADB on Linux OS</title>
		<link>https://xiaomifirmware.com/guides-and-tips/flash-recovery-img-install-adb-linux-os/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/flash-recovery-img-install-adb-linux-os/#comments</comments>
		
		<dc:creator><![CDATA[Frederick Jerome]]></dc:creator>
		<pubDate>Sat, 25 Nov 2017 21:42:58 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redmi Note 4 MTK]]></category>
		<category><![CDATA[twrp]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=6687</guid>

					<description><![CDATA[<p>This guide was tested on Redmi Note 4 MTK (Nikel) device, but most probably will work fine on other smartphones. We&#8217;ve used Linux Mint, but there&#8217;s any difference with other Linux distro. So, let&#8217;s continue and find out about how you can flash TWRP Recovery &#8220;recovery.img&#8221; file as well as install required ADB (Android Debug Bridge) drivers on Linux OS. Flash TWRP Custom Recovery on install ADB drivers on Linux OS First of all, we&#8217;ll need to install ADB drivers [&#8230;]</p>
<p>The post <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> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This guide was tested on Redmi Note 4 MTK (Nikel) device, but most probably will work fine on other smartphones. We&#8217;ve used Linux Mint, but there&#8217;s any difference with other Linux distro. So, let&#8217;s continue and find out about how you can flash TWRP Recovery &#8220;recovery.img&#8221; file as well as install required ADB (Android Debug Bridge) drivers on Linux OS.</p>
<h2>Flash TWRP Custom Recovery on install ADB drivers on Linux OS</h2>
<p>First of all, we&#8217;ll need to install ADB drivers on our Linux system. Follow the steps below:</p>
<ol>
<li>Open Terminal <em>(Just in case, hotkey combination is Ctrl + Alt + T)</em>.</li>
<li>Enter the following commands one by one:
<pre>sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot</pre>
</li>
<li>New check if ADB driver was installed correctly. Type the following commands to reboot ADB and send USB debugging request on your phone<span style="color: #ff0000;"><em> (don&#8217;t forget to enable USB-debugging on your phone first)</em></span>:
<pre>sudo adb kill-server
sudo adb start-server</pre>
</li>
<li>Connect your phone and check the connection by typing in Terminal:
<pre>adb devices</pre>
</li>
<li>If you see your device unique ID number, that means everything was done correctly. Now type the two following commands one-by-one <em>(where twrp.img is the name of TWRP Custom Recovery image)</em>:
<pre>adb reboot bootloader
sudo fastboot devices
sudo fastboot flash recovery trwp.img</pre>
</li>
<li>Wait until flashing process is completed, disconnect from PC and turn off your phone.</li>
<li>Now you can boot into TWRP Custom Recovery or continue using your phone.</li>
</ol>
<p>The post <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> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/flash-recovery-img-install-adb-linux-os/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to flash Redmi Note 4 MTK on Linux OS</title>
		<link>https://xiaomifirmware.com/guides-and-tips/flash-redmi-note-4-mtk-linux-os/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/flash-redmi-note-4-mtk-linux-os/#respond</comments>
		
		<dc:creator><![CDATA[Frederick Jerome]]></dc:creator>
		<pubDate>Sat, 25 Nov 2017 18:08:52 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NIKEL]]></category>
		<category><![CDATA[Redmi Note 4 MTK]]></category>
		<category><![CDATA[sp flash tool]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=6679</guid>

					<description><![CDATA[<p>Here&#8217;s a small tutorial on how you can flash your Redmi Note 4 MTK device on Linux PC using the SP Flash Tool for Linux. How to use SPFlashTool on Linux and flash Redmi Note 4 MTK (Nikel) Download SPFlashTool for Linux from this link: SP_Flash_Tool_Linux_v5.1520.00.100.tar.gz Open a terminal window and type the following commands one-by-one: sudo apt-get install libusb-dev cd (go to the path where you've downloaded the SpFlashTool) tar -xvzf SP_Flash_Tool_Linux_v5.1520.00.100.tar.gz cd SP_Flash_Tool_Linux_v5.1520.00.100 chmod +x flash_tool.sh chmod +x flash_tool [&#8230;]</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/flash-redmi-note-4-mtk-linux-os/">How to flash Redmi Note 4 MTK on Linux OS</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Here&#8217;s a small tutorial on how you can flash your Redmi Note 4 MTK device on Linux PC using the SP Flash Tool for Linux.</p>
<h2>How to use SPFlashTool on Linux and flash Redmi Note 4 MTK (Nikel)</h2>
<ol>
<li>Download SPFlashTool for Linux from this link: <a href="https://xiaomifirmware.com/download/6681/"><strong>SP_Flash_Tool_Linux_v5.1520.00.100.tar.gz</strong></a></li>
<li>Open a terminal window and type the following commands one-by-one:
<pre>sudo apt-get install libusb-dev
cd (go to the path where you've downloaded the SpFlashTool)
tar -xvzf SP_Flash_Tool_Linux_v5.1520.00.100.tar.gz
cd SP_Flash_Tool_Linux_v5.1520.00.100
chmod +x flash_tool.sh
chmod +x flash_tool
sudo ./flash_tool</pre>
</li>
<li>After you&#8217;ve entered all the commands, SPFlashTool should be installed on your PC and the shortcut should appear in the list of all applications.
<ol>
<li>Now let&#8217;s prepare your PC before connecting a Redmi Note 4 MTK device to it.
<ol>
<li>Open terminal and enter the following commands:</li>
<li>Disable USB connection security:
<pre>sudo apt remove modemmanager</pre>
</li>
<li>Check by typing:
<pre>lsmod | grep cdc_acm</pre>
</li>
<li>In case nothing happened after the previous line, try entering:
<pre>sudo modprobe cdc_acm</pre>
</li>
<li>Now add the user account to &#8220;dialout&#8221; and &#8220;uucp&#8221; groups:
<pre>sudo adduser "user_name" uucp
sudo adduser "user_name" dialout</pre>
</li>
<li>Now we will need to create <strong>&#8220;51-android.rules&#8221;</strong> file. To do this turn off your phone first, then connect it to PC via USB and type the following command in terminal:
<pre>dmesg | grep usb</pre>
</li>
<li>You should see &#8220;New USB device found idVendor=0e8d, idProduct=2000&#8221; and few other lines as well. Pay attention to &#8220;idVendor=0e8d, idProduct=2000&#8221; line.</li>
<li>Now create the new text file on your PC and name it &#8220;51-android.rules&#8221;, open with text editor and add this line, where <strong>idVendor</strong> and <strong>idProduct </strong>values are taken from the ones in terminal.
<pre>SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="2000"</pre>
</li>
<li>Save changes and copy &#8220;51-android.rules&#8221; file to etc/udev/rules.d/, use the following command to do this:
<pre>sudo cp 51-android.rules /etc/udev/rules.d/</pre>
</li>
<li>Reboot permissions to confirm changes:
<pre>sudo udevadm control --reload-rules</pre>
</li>
</ol>
</li>
<li>Now we want to check if everything was done correctly and check if the device is recognized successfully. Turn off your phone and connect to PC via USB-cable.</li>
<li>Type the following command in terminal:
<pre>dmesg</pre>
</li>
<li>You should see <strong>&#8220;ttyACMO: USB ACM device&#8221;</strong> line in terminal. That means everything was done correctly and you can finally start with flashing your smartphone.</li>
</ol>
</li>
<li>Open SP Flash Tool.</li>
<li>Select all required option, in Download enable &#8220;DA DL All with Checksum&#8221; option.</li>
<li>Select scatter file for required ROM, press &#8220;Download&#8221; and connect turned off device to PC.</li>
<li>Wait until flashing process is completed.</li>
</ol>
<p>Hope this tutorial will be helpful! Remember to backup all your personal and important data from your phone.</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/flash-redmi-note-4-mtk-linux-os/">How to flash Redmi Note 4 MTK on Linux OS</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/flash-redmi-note-4-mtk-linux-os/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
