[ASUS ROG Phone II Guides, News, & Discussion] decrypterfixer:
OOPS!

You were following guides on XDA, and throwing random commands in ADB from the posts under the guides (DON'T DO THIS!) and now your slick new ROG phone 2 doesn't have mobile data, calls, wifi, or bluetooth. You quickly find out that flashing the phone with any firmware old or new, doesn't help you, as this issue is directly linked to your chip in your phone.

I quickly found that I needed a QCN file from someone with a rog 2 phone, however I could not get any help here on XDA except from the user Greatuser123, who did not want to give out his QCN file (understandably), but did send me some notes to try and help with other tools.

With nothing working, and no QCN file, I ordered another ROG 2 and waited for it in the mail. After it got here, I quickly extracted the QCN file, replaced the IMEI's in it, and used QPST to restore my phone.

I am simply writing this guide with the generic QCN file with my info masked out of it, so no one has to go through what I went through.

Common issue

This most commonly happens with ROG 2 Phones from the commands:

DO NOT RUN THESE COMMANDS UNLESS YOU KNOW WHAT YOU ARE DOING!

(spaced command to ensure no one runs this!)

On most phones, on a reboot, these partitions would be restored on reboot, but not on most ROG's.

Prerequisites

Rooted Phone

QPST

Qualcomm USB drivers

IMEI Converter

Platform Tools

The Fix

Follow the above root linked video, or find the root thread for your phone here on XDA, and root your phone. This will not work unless you are rooted, although I do not know how you would get into this mess without having your phone rooted already.

Install QPST tools

Install Qualcomm USB drivers

Download the attached zip "good_qcn.zip" and extract the .QCN file anywhere on your machine

Open the .QCN file with any Hex Editor (I used HxD) and search for the Hex-Values: 08 3A 85 99 99 99 99 99 99

NOTE: There will be TWO locations with this value. This is where your IMEI_1 and IMEI_2 will go. Your IMEI_2 goes into the FIRST occurrence, while your IMEI_1 goes in the second.

Download the IMEI Converter app and type in your IMEI_1 and click "Convert", place the converted hex output into a notepad or similar

Do the same for your IMEI_2 and place it in the same location

Now that you have the HEX version of both your IMEI's, paste your IMEI_2 in the FIRST occurrence of the fake IMEI in the QCN file

Paste your IMEI_1 in the last occurrence of the fake IMEI and now save your new .QCN file.

Ensure your device is in USB Debugging Mode.

Download and extract the Platform Tools if you do not have them already.

Plug your phone into your computer using either port

Navigate to your extracted Platform Tools and in a Command Line type "adb devices" to ensure your device is visible.

Run a shell with "adb shell" and elevate your permission with "su"

Now it is time to enable Diag mode by running "setprop sys.usb.config rndis,diag,adb"

At this time, if you installed the Qualcomm Drivers, your device manager should have a port similar to "Qualcomm HS-USB Diag". If not keeping trying to re-enter diag mode and ensure the drivers are correct.

Open up "QPST Configuration" which was installed earlier. You should see your phone listed under "Active Phones". Click "Start Clients" -> "Software Download"

The Port field of the QPST Software Download should list your phone, if not something is wrong.

Click "Restore", and in the xQCN field, click "Browse", change the file type from XQCN to QCN, and select your newly made QCN file

Click "Start", and once the process is done, restart your phone

Conclusion

If all went well, your phone should now have all its bells and whistles again. Sometimes it may require a Factory Reset, and this should always be the practice anyways. If you have mobile data, but only H+ or EDGE, dial *#*#4636#*#* on your phone and ensure LTE is provisioned.

Good luck guys!

Special thanks to: Greatuser123 for helping when no one else would, and HomerSp for his many useful guides that some tools and knowledge was borrowed from.