Though Android has wide open scopes for customizations, it is not everybody’s cup of tea. Often in haste, people make mistakes that cost them their device. Yes, we are talking about all the technical failures that happen due to the mistake of the user while modifying their devices. One such issue is erasing the IMEI and EFS from the smartphone.
This issue happens due to wrongful ADB commands. As a result, you are not able to use Bluetooth, WiFi, Cellular, data, etc. So, in this guide, we will tell you how to restore IMEI and EFS on ASUS ROG Phone 2. You may ask why this phone.? This is because we know that certain ADB commands can rob off the IMEI & EFS on a smartphone. On most of the phones, with a simple reboot, they do get restored. However, if we talk about ASUS ROG Phone 2, the fastboot modem partitions get erased permanently.
This guide mentions the ADB commands that you should be careful of using. Honestly saying, unless there is a requirement, do not just use any ADB command out of curiosity. Most importantly, we have explained how to restore IMEI and EFS on ASUS ROG Phone 2. We will be making use of the QCN and QPST for this process. Like any other top-end modification, you need to have root access on your ASUS ROG Phone 2. We have put up all the required tools and explained the process of IMEI restoration in detail. So, let’s jump into the guide.
Related | All in One Tool for ASUS ROG Phone 2 [Drivers| TWRP|Factory Image|Stock Recovery]
ADB Commands You Should be Careful while Using
Here are the two ADB commands you should stay away from using. On an ASUS ROG Phone, they can blow away the IMEI and EFS.
- fastboot erase modem st 1
- fastboot erase modem st 2
Do You Know | How to Convert China CN ROM on ASUS ROG Phone 2 to Global WW Variant
How to Restore IMEI and EFS on Asus ROG Phone 2
Before starting out, let me outline some basic guidelines and put up the download links for the important tools like QCN and others that we need to complete the restoration process successfully.
- This guide is exclusively for the ASUS ROG Phone 2. Do not use it on any other smartphone
- Charge the battery of your device completely before modifying
- Make sure your ASUS ROG Phone 2 is rooted.
- USB Debugging should be enabled on your ASUS ROG Phone 2
- Download and install the Qualcomm USB drivers
- Install the Android Platform Tools (ADB Fastboot)
- A PC and USB cable
Check this Out | How to Enable VoLTE/Wi-Fi on ASUS ROG Phone 2
Steps to Restore IMEI and EFS
Now, let’s begin the process of restoring the IMEI and the EFS.
- Download the QCN zip file
- Extract the .QCN file
- Now, using any hex editor, open the .QCN file
- After the file opens look for the following Hex-Values
08 3A 85 99 99 99 99 99 99
- Open the IMEI Converter App
- Type the IMEI 1 and click Convert
- Note down the Hex output to some safe word file
- Repeat the same for the 2nd IMEI
- Then paste the 2nd IMEI in the first appearance of fae IMEI in the QCN file
- Similarly, paste the 1st IMEI in the last occurrence of the fake IMEI
- Save the .QCN file
- Now connect the smartphone to the PC.
- Go to the folder where you have installed ADB
- Right-click > Open PowerShell Window
- As the command prompt opens test for the device connectivity. Give the following
- To run the shell, give this command
- To enable superuser access to execute this command
- Next, you have to enable the Diag Mode. For that use the following command.
setprop sys.usb.config rndis,diag,adb
- Go to the device manager on the PC and check for a port Qualcomm HS-USB Diag [shows after installing Qualcomm USB drivers]
- Open the QPST tool > Check the tab Active Phones. Your device should be listed
- Next, click on Start Clients > Software Download
- Check that the Port Field of QPST tool should list your phone.
- Click on Restore
- In the field xQCN click Browse > change the file type from XQCN to QCN
- Select the new .QCN file you created and saved earlier in the steps above.
- Click on Start. Wait till the process gets over
- Restart your device.
So, that’s about it. I insist that first understand the technicality, thoroughly read the guide before applying it to your device. I hope that this guide was informative. This guide was originally shared by XDA member decrypterfixer. So, thanks to him.