• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Repair your ROG2 phone with EDL mode,Official firmware!

Search This thread

dJoker420

New member
Jul 19, 2021
1
0
Sometimes boot loops after flashing are caused by the data partition being encrypted, hence the step to wipe data from the instructions. Are you sure you followed the process fully? Try wiping the data partition again using steps 11-15.
Hey I know its a bit late but i would be really grateful if you could help me. I was using my phone, 80% battery suddenly the screen went black and for about two minutes I could see the notification bar along with the notification icons. the screen was irresponsive, no sound either. then is went completely black. no response on connecting the charger either.( no led )
I've tried the above method, step by step installed drivers, successfully flashed using Mi Flash. no error whatsoever. however the phone doesn't turn on. I can only see a black screen. Not able to get into recovery/fastboot.
thanks in advance
 

gabi.ailincai

Senior Member
Mar 30, 2018
120
26
Iasi
Hey I know its a bit late but i would be really grateful if you could help me. I was using my phone, 80% battery suddenly the screen went black and for about two minutes I could see the notification bar along with the notification icons. the screen was irresponsive, no sound either. then is went completely black. no response on connecting the charger either.( no led )
I've tried the above method, step by step installed drivers, successfully flashed using Mi Flash. no error whatsoever. however the phone doesn't turn on. I can only see a black screen. Not able to get into recovery/fastboot.
thanks in advance
Try holding all 3 buttons pressed for about 10 secondary to force it to reboot. If you got no errors, I don't know what could have caused it to not respond. When you connect it to the PC do you hear a 'USB device connected' sound?
 

letzdoit

Senior Member
Oct 15, 2018
71
10
Hi there,

My phone went black when I tried to reboot it, and I realised it might be in EDL mode. On connecting with laptop it gives 2 "usb device connected sounds" and I get com 30 listed as port in device manager (under ports - Qualcomm HS-USB QDloader 9008 (COM 30).

However, while MiFlash also recognises the device, as soon as I press flash (after choosing the images folder), I get an error.

Here is the log file below. Can someone please help me troubleshoot this?

Thanks..

[10:47:08 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:08 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:08 PM]:GetScriptDevices
[10:47:08 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:08 PM]:add device COM30
[10:47:10 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:10 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:10 PM]:GetScriptDevices
[10:47:10 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:10 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:47:10 PM]:add device COM30
[10:47:10 PM]:Thread start,thread id 13,thread name COM30
[10:47:22 PM]:Thread stopped, thread id 13, thread name COM30
[10:47:31 PM]:eek:pen RegistryKey Software\XiaoMi\MiFlash\
[10:47:31 PM]:driver oem16.inf exists,uninstall,reuslt True,GetLastWin32Error
[10:47:31 PM]:install driver D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Google\Driver\android_winusb.inf to C:\WINDOWS\INF\oem34.inf,result True,GetLastWin32Error
[10:47:31 PM]:set RegistryKey value:android_winusb.inf--oem34.inf
[10:47:31 PM]:mkdir "C:\Users\anshu\.android"
[10:47:31 PM]:eek:utput:A subdirectory or file C:\Users\anshu\.android already exists.

[10:47:31 PM]: echo 0x2717 >>"C:\Users\anshu\.android\adb_usb.ini"
[10:47:31 PM]:eek:utput:
[10:47:31 PM]:eek:pen RegistryKey Software\XiaoMi\MiFlash\
[10:47:31 PM]:driver oem20.inf exists,uninstall,reuslt True,GetLastWin32Error
[10:47:32 PM]:install driver D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Nvidia\Driver\NvidiaUsb.inf to ,result False,GetLastWin32Error Unknown error (0xe000022f)
[10:47:32 PM]:eek:pen RegistryKey Software\XiaoMi\MiFlash\
[10:47:32 PM]:driver oem21.inf exists,uninstall,reuslt True,GetLastWin32Error
[10:47:32 PM]:install driver D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Microsoft\Driver\tetherxp.inf to ,result False,GetLastWin32Error Unknown error (0xe000022f)
[10:47:32 PM]:eek:pen RegistryKey Software\XiaoMi\MiFlash\
[10:47:33 PM]:driver oem23.inf exists,uninstall,reuslt True,GetLastWin32Error
[10:47:33 PM]:install driver D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Microsoft\Driver\wpdmtphw.inf to ,result False,GetLastWin32Error Unknown error (0xe000022f)
[10:47:33 PM]:eek:pen RegistryKey Software\XiaoMi\MiFlash\
[10:47:34 PM]:driver oem33.inf exists,uninstall,reuslt True,GetLastWin32Error
[10:47:34 PM]:install driver D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\Driver\qcser.inf to C:\WINDOWS\INF\oem165.inf,result True,GetLastWin32Error
[10:47:34 PM]:set RegistryKey value:qcser.inf--oem165.inf
[10:47:37 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:37 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:37 PM]:GetScriptDevices
[10:47:37 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:37 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:47:37 PM]:add device COM30
[10:47:40 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:40 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:40 PM]:GetScriptDevices
[10:47:40 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:40 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:47:40 PM]:add device COM30
[10:47:40 PM]:Thread start,thread id 19,thread name COM30
[10:47:42 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:42 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:42 PM]:GetScriptDevices
[10:47:42 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:42 PM]:Dulicate device COM30
[10:47:42 PM]:COM30 already in flashing
[10:47:47 PM]:Thread stopped, thread id 19, thread name COM30
[10:47:49 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:49 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:49 PM]:GetScriptDevices
[10:47:49 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:49 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:47:49 PM]:add device COM30
[10:47:49 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:47:50 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:47:50 PM]:GetScriptDevices
[10:47:50 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:47:50 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:47:50 PM]:add device COM30
[10:47:50 PM]:Thread start,thread id 41,thread name COM30
[10:47:57 PM]:Thread stopped, thread id 41, thread name COM30
[10:48:37 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:48:37 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:48:37 PM]:GetScriptDevices
[10:48:37 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:48:38 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:48:38 PM]:add device COM30
[10:48:38 PM]:lsusb path:"D:\ROG\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0\Source\ThirdParty\Qualcomm\fh_loader\lsusb.exe"
[10:48:38 PM]:ls ubs :Qualcomm HS-USB QDLoader 9008 (COM30)

[10:48:38 PM]:GetScriptDevices
[10:48:38 PM]:Specified cast is not valid. at XiaoMiFlash.code.Utility.UsbDevice.GetAndroidDevices(TreeViewUsbItem item, List`1& outItems)
[10:48:38 PM]:FlashingDevice.flashDeviceList.Remove COM30
[10:48:38 PM]:add device COM30
[10:48:38 PM]:Thread start,thread id 36,thread name COM30
[10:48:50 PM]:Thread stopped, thread id 36, thread name COM30
 

fmleoz

New member
Sep 8, 2021
2
1
If your phone can only enter EDL mode (9008 mode)

this firmware is glad to help you. It can be flashed in through

the QPST tool, or it can be flashed in through the Xiaomi miflash tool.

To use the QPST tool, you must change the EMMC to UFS. No matter which tool you use,

you must restore the factory settings after the phone is turned on, otherwise the storage

of the phone will recognize the error! !! !!

Factory settings must be restored after booting! !! !!

The firmware is made through the official package UL-ASUS_I001_1-ASUS-16.0631.1910.35-1.1.207-user.zip

without any modification, Suitable for repairing phones that can only enter edl mode(9008 mode).

File Downlaod link:https://mega.nz/file/LY0jXTDA#D1oj4Cd5ILx-uT-dQuMGleU3SH8sDZZ58hVaw3ictIc
Hello sir, flashing in Miflash I got error in "set boot partition failed..."
 

Attachments

  • Screenshot 2021-09-08 211649.png
    Screenshot 2021-09-08 211649.png
    60.6 KB · Views: 45
  • Screenshot 2021-09-08 211934.png
    Screenshot 2021-09-08 211934.png
    77.1 KB · Views: 42

Je5mar

Member
Jan 27, 2016
33
5
Quezon City
Hi, I've been trying to fix my Rog Phone 2 that is stuck on EDL mode. It only shows as Qualcomm 9008 on Device manager no matter button combination I use. When I'm trying to use qfil I always got Download Fail: Sahara Fail and when I'm trying to flash using Mi Flash tool I got UFS error. I installed all the prerequisite drivers and I followed the instructions thoroughly. I've tried 3 different PC but no luck.

Is there any fix with this?

Thank you so much. :)
 

Delzor

Member
May 15, 2015
16
0
Success!!!

This is awesome! Thanks much. I don't understand what you mean by "Factory setting must be restored after booting" though. Do you mean you need to go into Recovery mode and wipe the data?

Here's some instructions I put together that would have helped save me a lot of time. Please correct anything I missed:


After you have downloaded the zip file, here are the step-by-step instructions:
1. Extract the zipped folder wherever you want on your PC.
2. Open a CMD window.
3. cd /d <whatever path it is to the "\ASUS_ROG2_ZS660KL_QPST_Firmware\images" folder> e.g., "cd /d D:\RogPhoneII\ASUS_ROG2_ZS660KL_QPST_Firmware\images"
4. Make sure your PC is connected to the side port of your phone and the phone is in fastboot mode (Volume UP button + Power button).
5. Check and make sure your PC is connected properly by entering "fastboot devices" in the command window. You should see the ID of your device.
6. Then enter "fastboot oem enter-dload" in the command window. This will put the phone in emergency download mode (EDL). My phone went all black.
7. Open "\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0" folder. Launch "XiaoMiFlash.exe".
8. Click "refresh". You should see a device in the list.
9. Click "select" and navigate to the "\ASUS_ROG2_ZS660KL_QPST_Firmware\images" folder.
10. Click "flash". Wait until it says "success".
11. After it's done, you'll hold down the UP button, Down button, and Power button on the phone at the same time until it shuts down.
12. Hold Up button and Power button at same to boot into fastboot mode again. Select Recovery mode by using the Up/Down buttons on the phone. Press the Power button to select.
13. Select "wipe data" from the drop down list. Go down the list of "no" until you get to the "yes" and press the Power button.
14. Select "reboot now".
15. Done.
I am beyond grateful for this. Amazing!
 

xevex123

Member
Oct 11, 2014
10
3
Get another user persist.img (with correct 32.768 kb)
Using HEX editor or Ultra Edit to find SSN, ISN and IMEI in persist.img

Return to fastboot - then 9008 mode, use bat to write back to your phone and you will have back Asus unlock bootloader apk (working), have Serial number back.

For question: "How could i find real SSN, ISN and real IMEI?"
Please use command "fastboot oem device-info" in fastboot mode, it will show your real information.

Br,
Would you mind to share your persist.img? Because mine already broken, lost baseband, imei, wifi. Please help
 

Ev3rything

Member
Dec 22, 2019
9
0
Is there ANY way to retrieve data off of the phone in this condition? I mean like ANY way like a forensics lab or something?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    If your phone can only enter EDL mode (9008 mode)

    this firmware is glad to help you. It can be flashed in through

    the QPST tool, or it can be flashed in through the Xiaomi miflash tool.

    To use the QPST tool, you must change the EMMC to UFS. No matter which tool you use,

    you must restore the factory settings after the phone is turned on, otherwise the storage

    of the phone will recognize the error! !! !!

    Factory settings must be restored after booting! !! !!

    The firmware is made through the official package UL-ASUS_I001_1-ASUS-16.0631.1910.35-1.1.207-user.zip

    without any modification, Suitable for repairing phones that can only enter edl mode(9008 mode).

    File Downlaod link:https://mega.nz/file/LY0jXTDA#D1oj4Cd5ILx-uT-dQuMGleU3SH8sDZZ58hVaw3ictIc
    10
    Success!!!

    This is awesome! Thanks much. I don't understand what you mean by "Factory setting must be restored after booting" though. Do you mean you need to go into Recovery mode and wipe the data?

    Here's some instructions I put together that would have helped save me a lot of time. Please correct anything I missed:


    After you have downloaded the zip file, here are the step-by-step instructions:
    1. Extract the zipped folder wherever you want on your PC.
    2. Open a CMD window.
    3. cd /d <whatever path it is to the "\ASUS_ROG2_ZS660KL_QPST_Firmware\images" folder> e.g., "cd /d D:\RogPhoneII\ASUS_ROG2_ZS660KL_QPST_Firmware\images"
    4. Make sure your PC is connected to the side port of your phone and the phone is in fastboot mode (Volume UP button + Power button).
    5. Check and make sure your PC is connected properly by entering "fastboot devices" in the command window. You should see the ID of your device.
    6. Then enter "fastboot oem enter-dload" in the command window. This will put the phone in emergency download mode (EDL). My phone went all black.
    7. Open "\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0" folder. Launch "XiaoMiFlash.exe".
    8. Click "refresh". You should see a device in the list.
    9. Click "select" and navigate to the "\ASUS_ROG2_ZS660KL_QPST_Firmware\images" folder.
    10. Click "flash". Wait until it says "success".
    11. After it's done, you'll hold down the UP button, Down button, and Power button on the phone at the same time until it shuts down.
    12. Hold Up button and Power button at same to boot into fastboot mode again. Select Recovery mode by using the Up/Down buttons on the phone. Press the Power button to select.
    13. Select "wipe data" from the drop down list. Go down the list of "no" until you get to the "yes" and press the Power button.
    14. Select "reboot now".
    15. Done.
    2

    Hi, I've managed to unbrick my ROG Phone II Tencent Edition 8/128 with a locked bootloader having "slot _a" error. Provided that you can do fastboot.

    My equipment for flashing, for sure you already have ADB installed in your computer, my computer is an x64 Intel Windows 10 laptop, I used USB 2.0 not USB 3.0

    Credit to @johnny886 for the sharing the tool,
    "If your phone can only enter EDL mode (9008 mode)
    this firmware is glad to help you. It can be flashed in through
    the QPST tool, or it can be flashed in through the Xiaomi miflash tool.
    To use the QPST tool, you must change the EMMC to UFS. No matter which tool you use, -(I personally :did" not change anything, I just downloaded the file and followed grewookie's instruction below )
    you must restore the factory settings after the phone is turned on, otherwise the storage
    of the phone will recognize the error! !! !!
    Factory settings must be restored after booting! !! !!
    The firmware is made through the official package UL-ASUS_I001_1-ASUS-16.0631.1910.35-1.1.207-user.zip
    without any modification, Suitable for repairing phones that can only enter edl mode(9008 mode).
    File Downlaod link: https://drive.google.com/open?id=1Pk...Sf6cDq7SuJiBBu"


    Credits to @greywookiee for the super clear instruction:
    "Here's some instructions I put together that would have helped save me a lot of time. Please correct anything I missed:

    After you have downloaded the zip file, here are the step-by-step instructions:
    1. Extract the zipped folder wherever you want on your PC.
    2. Open a CMD window.
    3. cd /d <whatever path it is to the "\ASUS_ROG2_ZS660KL_QPST_Firmware\images" folder> e.g., "cd /d D:\RogPhoneII\ASUS_ROG2_ZS660KL_QPST_Firmware\imag es"
    4. Make sure your PC is connected to the side port of your phone and the phone is in fastboot mode (Volume UP button + Power button).
    5. Check and make sure your PC is connected properly by entering "fastboot devices" in the command window. You should see the ID of your device.
    6. Then enter "fastboot oem enter-dload" in the command window. This will put the phone in emergency download mode (EDL). My phone went all black.
    7. Open "\ASUS_ROG2_ZS660KL_QPST_Firmware\MiFlash2018-5-28-0" folder. Launch "XiaoMiFlash.exe".
    8. Click "refresh". You should see a device in the list.
    9. Click "select" and navigate to the "\ASUS_ROG2_ZS660KL_QPST_Firmware\images" folder.
    10. Click "flash". Wait until it says "success".
    11. After it's done, you'll hold down the UP button, Down button, and Power button on the phone at the same time until it shuts down.
    12. Hold Up button and Power button at same to boot into fastboot mode again. Select Recovery mode by using the Up/Down buttons on the phone. Press the Power button to select.
    13. Select "wipe data" from the drop down list. Go down the list of "no" until you get to the "yes" and press the Power button.
    14. Select "reboot now".
    15. Done."
    1
    Is the official firmware WW or CN?

    I'm just thinking this is probably an easier way for CN guys to get WW if the QPST fw is WW

    ww
    1
    Please help me. I have widevine security L3 instead of L1 (also at relock bootloader). Here is what happen to me:
    1. Unlock the bootloader and get persist.img, but wrong size of package then i have lost the serial number (C4ATAS000000). The size of persist file is 16mb instead of 32mb by default.
    2. Try to get another persist.img from another device, then use Ultra editor to find and change back to my real Serial Number. And it worked.
    3. Figure out widevine security is always stay at L3, whenever bootloader is re-locked. Also Asus unlock bootloader apk from asus homepage is not working, it said "error network".
    4. Do flash raw from all version, also factory reset...etc but no luck.
    .............................................
    Do you know what is really happened when we flash wrong persist.img and flash another persist (which is already change Serial number back to real one)?