<?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>Qualcomm Product Support Tools - Xiaomi Firmware</title>
	<atom:link href="https://xiaomifirmware.com/tag/qualcomm-product-support-tools/feed/" rel="self" type="application/rss+xml" />
	<link>https://xiaomifirmware.com/tag/qualcomm-product-support-tools/</link>
	<description>HyperOS ROMs, Drivers &#38; Guides</description>
	<lastBuildDate>Fri, 13 Nov 2026 11:27:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://xiaomifirmware.com/wp-content/uploads/2016/09/cropped-Untitled-design-32x32.png</url>
	<title>Qualcomm Product Support Tools - Xiaomi Firmware</title>
	<link>https://xiaomifirmware.com/tag/qualcomm-product-support-tools/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Backup &#038; Restore IMEI (QCN) on Xiaomi with QPST: Diag Mode Guide (2026)</title>
		<link>https://xiaomifirmware.com/guides-and-tips/enter-diag-mode-backup-imei-using-qpst/</link>
					<comments>https://xiaomifirmware.com/guides-and-tips/enter-diag-mode-backup-imei-using-qpst/#comments</comments>
		
		<dc:creator><![CDATA[Frederick Jerome]]></dc:creator>
		<pubDate>Sun, 05 Mar 2017 16:05:36 +0000</pubDate>
				<category><![CDATA[Guides and Tips]]></category>
		<category><![CDATA[DIAG Mode]]></category>
		<category><![CDATA[IMEI Backup]]></category>
		<category><![CDATA[QPST]]></category>
		<category><![CDATA[Qualcomm Diagnostic]]></category>
		<category><![CDATA[Qualcomm Product Support Tools]]></category>
		<category><![CDATA[xqcn]]></category>
		<guid isPermaLink="false">https://xiaomifirmware.com/?p=1328</guid>

					<description><![CDATA[<p>Back up and restore IMEI (QCN) on Snapdragon Xiaomi, Redmi and POCO phones with QPST. Enable Diag mode on MIUI and HyperOS, downloads, fixes for common errors.</p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/enter-diag-mode-backup-imei-using-qpst/">How to Backup &#038; Restore IMEI (QCN) on Xiaomi with QPST: Diag Mode Guide (2026)</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Last updated: November 8, 2026.</strong> A broken modem partition can leave your Xiaomi phone with <strong>no IMEI, no signal and &#8220;Invalid IMEI&#8221;</strong> after a bad flash, especially if you skipped a backup before installing a custom ROM. On Snapdragon-based Xiaomi, Redmi and POCO phones, you can avoid that with Qualcomm&#8217;s <strong>QPST</strong> tools: boot the phone in <strong>Diag mode</strong> and save a <strong>QCN backup</strong>, which contains your IMEI and radio calibration.</p>



<p class="wp-block-paragraph">This guide shows how to enter Diag mode on older MIUI and newer HyperOS phones, how to back up and restore the QCN file with QPST, and what doesn&#8217;t work anymore.</p>



<p class="wp-block-paragraph"><strong>Legal note:</strong> only restore the original IMEI of your own phone. Changing an IMEI to a different number is illegal in many countries.</p>



<h2 class="wp-block-heading">Downloads</h2>



<figure class="wp-block-table"><table>
<thead><tr><th>File</th><th>What it is</th><th>Download</th></tr></thead>
<tbody>
<tr><td>QPST 2.7 (build 425) installer, unofficial copy (Qualcomm doesn&#8217;t offer a public download)</td><td>Qualcomm Product Support Tools: QPST Configuration and Software Download (QCN backup/restore)</td><td><a href="https://xiaomifirmware.com/download/2904/">Download QPST</a></td></tr>
<tr><td>qualcomm_diag_driver.rar</td><td>Diagnostics port driver for Windows</td><td><a href="https://xiaomifirmware.com/download/2913/">Download Diag driver</a></td></tr>
<tr><td>Qualcomm HS-USB driver</td><td>Full Qualcomm USB driver package (also includes Diag and 9008)</td><td><a href="https://xiaomifirmware.com/downloads/qualcomm-hs-usb-qdloader-9008/">Qualcomm driver page</a></td></tr>
</tbody>
</table></figure>



<p class="wp-block-paragraph">QPST runs on Windows 10 and 11 (64-bit). Install it as administrator.</p>



<h2 class="wp-block-heading">Which Phones Does This Work On?</h2>



<ul class="wp-block-list">
<li><strong>Qualcomm Snapdragon</strong> Xiaomi, Redmi and POCO phones only. MediaTek models (many Redmi and POCO C/M series) use different tools: for their IMEI use <a href="https://xiaomifirmware.com/downloads/download-mauimeta-v9-1635-23/">Maui META</a>.</li>
<li><strong>Older phones (MIUI 9–12):</strong> Diag mode can usually be enabled with a dialer code or ADB.</li>
<li><strong>Newer phones (MIUI 13–14, HyperOS):</strong> the dialer code usually no longer works. 4PDA&#8217;s Xiaomi FAQ switches on the Diag port from a normal ADB shell without root (see Method B). On some newer firmware the command is refused, and then it only works with root.</li>
<li>A QCN backup contains your phone&#8217;s IMEI and belongs to that one phone. Restore it only to the same phone, and don&#8217;t share the file.</li>
</ul>



<h2 class="wp-block-heading">Step 1: Install QPST and the Drivers</h2>



<ol class="wp-block-list">
<li>Extract the QPST archive and run the installer as administrator. Keep the default options.</li>
<li>Install the Qualcomm driver package (or extract the Diag driver for manual installation).</li>
<li>Restart Windows. On Windows 11, if the driver is rejected, disable driver signature enforcement once, as described on our <a href="https://xiaomifirmware.com/downloads/qualcomm-hs-usb-qdloader-9008/">QDLoader 9008 driver page</a>.</li>
</ol>



<h2 class="wp-block-heading">Step 2: Enable Diag Mode on the Phone</h2>



<h3 class="wp-block-heading">Method A: Dialer code (older MIUI phones)</h3>



<p class="wp-block-paragraph">Open the Phone app and type <code>*#*#717717#*#*</code>. On supported models, a message confirms that the Diag USB port is enabled. Connect the phone to the PC. Type the same code again later to turn it off.</p>



<h3 class="wp-block-heading">Method B: ADB command (newer phones)</h3>



<ol class="wp-block-list">
<li>Enable <strong>USB debugging</strong> and connect the phone (see our <a href="https://xiaomifirmware.com/downloads/download-adb-fastboot-platform-tools-r34-0-5-usb-drivers/">ADB guide</a>).</li>
<li>Open a command prompt in the platform-tools folder and run:</li>
</ol>



<pre class="wp-block-code"><code>adb shell
setprop sys.usb.config diag,adb</code></pre>



<p class="wp-block-paragraph">If the shell answers with a permission error, your firmware needs root: run <code>su</code> first.</p>



<p class="wp-block-paragraph">If nothing changes, try <code>setprop sys.usb.config rndis,diag,adb</code>. Reboot the phone when you&#8217;re done to leave Diag mode.</p>



<h3 class="wp-block-heading">Check that it worked</h3>



<p class="wp-block-paragraph">Open <strong>Device Manager</strong>. Under <em>Ports (COM &amp; LPT)</em> you should see <strong>Qualcomm HS-USB Diagnostics 901D</strong> (the number after &#8220;Diagnostics&#8221; varies by model) with a COM number. If it shows as an unknown device, install the Diag driver manually through <em>Update driver → Have Disk</em>.</p>



<h2 class="wp-block-heading">Step 3: Back Up the QCN File (IMEI Backup)</h2>



<ol class="wp-block-list">
<li>Open <strong>QPST Configuration</strong>. Under <em>Ports</em>, your phone should appear with its COM port. If not, click <em>Add New Port</em>, untick <em>Show Serial and USB/QC Diagnostic ports only</em>, type your COM port number in both fields and click OK.</li>
<li>Open <strong>Start Clients → Software Download</strong>.</li>
<li>Go to the <strong>Backup</strong> tab, select the phone&#8217;s port and click Browse, choose a folder and the file type (<code>.xqcn</code> or <code>.qcn</code>).</li>
<li>Click <strong>Start</strong> and wait for <em>Memory Backup Completed</em>. If you are asked for an SPC code, the default is <code>000000</code>.</li>
<li>Copy the QCN file to cloud storage or a USB stick. It is your only way back if the modem partition gets damaged.</li>
</ol>



<p class="wp-block-paragraph">Also back up the <code>persist</code>, <code>modemst1</code>, <code>modemst2</code> and <code>fsg</code> partitions if you have root or TWRP. On many newer phones, these partitions matter more than the QCN file.</p>



<h2 class="wp-block-heading">Step 4: Restore the QCN File</h2>



<ol class="wp-block-list">
<li>Enable Diag mode again (Step 2) and open <strong>QPST Software Download</strong>.</li>
<li>Go to the <strong>Restore</strong> tab, select the port and your <code>.qcn</code> backup.</li>
<li>Click <strong>Start</strong>. After it finishes, reboot the phone and dial <code>*#06#</code> to check the IMEI.</li>
</ol>



<h2 class="wp-block-heading">Common Problems</h2>



<h3 class="wp-block-heading">QPST shows &#8220;No phone&#8221; or the port stays grey</h3>



<p class="wp-block-paragraph">The phone is not in Diag mode, or Windows is using the wrong driver. Re-check Device Manager for the <em>Diagnostics 901D</em> port, reinstall the Qualcomm driver and try another USB port.</p>



<h3 class="wp-block-heading">The dialer code does nothing</h3>



<p class="wp-block-paragraph">Your model or firmware doesn&#8217;t support it. Use Method B (root) instead.</p>



<h3 class="wp-block-heading">Backup fails or the QCN file is tiny (a few KB)</h3>



<p class="wp-block-paragraph">Don&#8217;t rely on that file. Back up the <code>modemst1</code>, <code>modemst2</code>, <code>fsg</code> and <code>persist</code> partitions with root or TWRP instead.</p>



<h3 class="wp-block-heading">IMEI is &#8220;null&#8221; after restoring</h3>



<p class="wp-block-paragraph">The QCN came from a different firmware version or a different phone. Restore the stock Fastboot ROM with Mi Flash, then restore your own backup again. If you have no backup of your own, only an authorized Xiaomi service center can repair the IMEI legally.</p>



<h2 class="wp-block-heading">FAQ</h2>



<h3 class="wp-block-heading">Does a factory reset or a ROM flash delete my IMEI?</h3>



<p class="wp-block-paragraph">Normally no. The IMEI lives in protected partitions that stock ROMs don&#8217;t touch. The risk comes from custom ROMs, &#8220;Clean all&#8221; flashes with wrong files, and formatting <code>persist</code> or modem partitions by mistake.</p>



<h3 class="wp-block-heading">Can I use QPST on a locked bootloader?</h3>



<p class="wp-block-paragraph">On older phones with the dialer code, yes. On newer phones often yes too: 4PDA&#8217;s method uses only ADB. Some newer firmware refuses the command without root.</p>



<h3 class="wp-block-heading">Is QFIL the same as QPST?</h3>



<p class="wp-block-paragraph">QFIL is installed together with QPST, but it is a flashing tool for EDL mode (9008). QPST Software Download is the part you use for QCN backup and restore.</p>




<p class="wp-block-paragraph"><em>Sources: 4PDA Xiaomi FAQ, <a href="https://4pda.to/forum/index.php?showtopic=949619&amp;view=findpost&amp;p=84938251" rel="nofollow">QPST IMEI (QCN) backup and restore by Dima_Apatity</a>; Redmi Note 7 thread, <a href="https://4pda.to/forum/index.php?showtopic=939693&amp;view=findpost&amp;p=85552885" rel="nofollow">EFS/persist backup by ZerG_MOS</a>.</em></p>
<p>The post <a href="https://xiaomifirmware.com/guides-and-tips/enter-diag-mode-backup-imei-using-qpst/">How to Backup &#038; Restore IMEI (QCN) on Xiaomi with QPST: Diag Mode Guide (2026)</a> appeared first on <a href="https://xiaomifirmware.com">Xiaomi Firmware</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://xiaomifirmware.com/guides-and-tips/enter-diag-mode-backup-imei-using-qpst/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
