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

Question Repair ROG Phone 5 ZS673KS through edl firmware, no need to unlock Bootloader to modify COUNTRY CN to WW

Search This thread

johnny886

Senior Member
Sep 21, 2018
100
110
These materials can only be used for ROG Phone 5_ZS673KS, and ROG Phone 5S_ZS676KS cannot be used.

ROG Phone 5S ZS676KS Please see here:https://forum.xda-developers.com/t/...ootloader-to-modify-country-cn-to-ww.4353339/

If your ROG Phone 5 ZS673KS only has edl mode (port 9008), then this tool can help you repair your phone through edl mode.

Or if you want to modify COUNTRY, flash the firmware of WW, you don't need to apply to unlock the Bootloader,

you don't need ROOT, just follow me.

1.Connect the phone to the computer through the USB port on the left, enter the fastboot mode,

and then open "Reboot-to-edl.bat" to enter the edl mode. Or enter fastboot oem enter-dload in cmd.


2.You must flash in the ENG firmware that I modified. If you find the firmware online,

you may lose your fingerprint and IMEI after flashing.

Method 1: The phone enters edl mode, and when you see port 9008 in the device manager,

open the ENG folder--open "0-update_image_EDL.bat"

Method 2: The phone enters edl mode, and after you see port 9008 in the device manager, use the XiaoMiFlash tool to flash in.

Method 3: The phone enters edl mode, and after you see port 9008 in the device manager,flash in through the QPST tool.


3.After flashing in the firmware and successfully booting up, be sure to back up your phone partition files. If your phone's fingerprint is lost or IMEI is lost,

it can be restored to normal. If you don't have a backup, it will be very troublesome.

Double-click to open "Backup.bat", it will automatically back up your phone partition files, you need to save these files, follow-up will definitely help you.

Include these Eight files:“persist.img factory.img modemst1 modemst2 asuskey4 fsg fsgCA fsc”

Normally, you don’t need to restore these files. If your fingerprint or imei is lost and you need to restore these files to your phone,

please flash the ENG firmware, then put these Eight files into the ROG 5 folder, and double-click to open " Restore.bat" can be restored to your phone.

4.If your machine is an global version, after backing up and saving Eight files, directly enter the fastboot mode, open the WW folder-open "flash_raw_and_wipe_data.cmd" to flash the WW firmware,

and successfully repair your ROG 5.

If you cannot flash the firmware in fastboot mode, the prompt: fastboot error CID () Mapping wrong Xrom!

You can Double click to open"Open-Cmd.bat",Then enter the commands, enter fastboot -v flash all xx.raw

xx.raw is the firmware on your computer, for example: fastboot -v flash all C:\Users\johnny\Desktop\ROG5\WW\WW_ZS673KS_18.0810.2101.95_M2.13.24.9-ASUS_1.1.46_Phone-user.raw

ASUS:
version display asus fastboot version and list support project.
-v flash all : disable asus raw id checking.
-g flash all : disable repartition.
-C flash all : disable CRC_<partition>.

If your machine is the CN version, and you want to flash into the WW Firmware, but don’t want to unlock the BootLoader, you can use WinHex to open the persist.img you just backed up,

find COUNTRY, change CN to WW and save it, and you can directly restore it to your phone through the dd command Inside, there is no need to unlock or install magisk.

Double click to open"Open-Cmd.bat",Then enter the commands one by one

adb push persist.img /sdcard/

adb shell

su

dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist

Then enter the fastboot mode, open the WW folder-open "flash_raw_and_wipe_data.cmd" to flash the WW firmware.

File Downlaod Link:https://drive.google.com/file/d/1SyvQTp4lNw9-54k12EPOooQjdvSuCLyk/view?usp=sharing
YouTube:

I have also studied Hardwaresub Services for a long time, ROG1/ROG2/ROG3 only need to modify COUNTRY, CN to WW, and then flash into the global version,

there will be no such prompt. In addition to modifying COUNTRY, ROG 5 also needs to modify asuskey4.

In this partition, clear the imei, then there is no prompt. But I can’t do anything with ROG 5S.

This machine verifies modemst1 and modemst2. I tried it for a long time, but I couldn’t get rid of the prompt except for the whitelist.

If your ROG3/ROG5/ROG5S is the CN version, but you have flashed the WW firmware, you cannot unlock the Bootloader, or you are prompted to unlock successfully, but the Bootloader is still not unlocked after restarting, you can write the correct SSN and ISN of the phone Go to asuskey4, then restore to the phone partition, and then use the official unlocking tool to unlock it.
 
Last edited:
Nice job putting together what james(whatever) abused the community to accomplish and never cared enough to document for anyone else.

Might want to change the label to "How to Guide" instead of "Question" (contrary to most that label a question as a guide) and consider rewording the title a bit, though. It reads "convert your phone if you are stuck in EDL", but "restore from EDL or convert without unlocking bootloader" is what you explain and that's a much larger audience.
 
Last edited:

yaser86100

Senior Member
Jun 25, 2017
145
23
@johnny886 tnx for ur complete tutorial
can u make tutorial video with phone for convert to ww. im noob about asus and many user want convert but worried about brick phone or lose fingerprint and imei
and after convert we able manual update phone ?
 

sherks

New member
Dec 30, 2013
4
2
special thanks . I followed your instructions to change CN to WW and success with no error, even fingerprint , amazing! Just one problem still exist is The Hardwarestub warning : how could we deal with it beside disable this app ?
For PC not show EDL device in Device manager --> Change OEM cable , some cable just have 4 wire , not enough for fastboot.
For PC show EDL devices but with yellow caution . Use driver below . still now show 9008 port --> change different usb port (3.0, 2.0...)
 

Attachments

  • Qualcomm driver QHSUSB_DLOAD.rar
    356.9 KB · Views: 60
Last edited:

sherks

New member
Dec 30, 2013
4
2
@johnny886 tnx for ur complete tutorial
can u make tutorial video with phone for convert to ww. im noob about asus and many user want convert but worried about brick phone or lose fingerprint and imei
and after convert we able manual update phone ?
IMEI and Fingerprint work with no error, afterall you have to update manually(copy new FW to your root storage) , OTA will not work. His instruction very clear even for newbie . just need to read carefully
 
  • Like
Reactions: yaser86100

yaser86100

Senior Member
Jun 25, 2017
145
23
IMEI and Fingerprint work with no error, afterall you have to update manually(copy new FW to your root storage) , OTA will not work. His instruction very clear even for newbie . just need to read carefully
i know
cz in my region i can't find asus service center i worried i do some mistake and my phone get brick or something like that
 

3rehaan

Senior Member
Nov 16, 2019
53
2
ASUS ROG Phone 5

Attachments

  • Screenshot_20211102-173611034.jpg
    Screenshot_20211102-173611034.jpg
    102.4 KB · Views: 58

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    These materials can only be used for ROG Phone 5_ZS673KS, and ROG Phone 5S_ZS676KS cannot be used.

    ROG Phone 5S ZS676KS Please see here:https://forum.xda-developers.com/t/...ootloader-to-modify-country-cn-to-ww.4353339/

    If your ROG Phone 5 ZS673KS only has edl mode (port 9008), then this tool can help you repair your phone through edl mode.

    Or if you want to modify COUNTRY, flash the firmware of WW, you don't need to apply to unlock the Bootloader,

    you don't need ROOT, just follow me.

    1.Connect the phone to the computer through the USB port on the left, enter the fastboot mode,

    and then open "Reboot-to-edl.bat" to enter the edl mode. Or enter fastboot oem enter-dload in cmd.


    2.You must flash in the ENG firmware that I modified. If you find the firmware online,

    you may lose your fingerprint and IMEI after flashing.

    Method 1: The phone enters edl mode, and when you see port 9008 in the device manager,

    open the ENG folder--open "0-update_image_EDL.bat"

    Method 2: The phone enters edl mode, and after you see port 9008 in the device manager, use the XiaoMiFlash tool to flash in.

    Method 3: The phone enters edl mode, and after you see port 9008 in the device manager,flash in through the QPST tool.


    3.After flashing in the firmware and successfully booting up, be sure to back up your phone partition files. If your phone's fingerprint is lost or IMEI is lost,

    it can be restored to normal. If you don't have a backup, it will be very troublesome.

    Double-click to open "Backup.bat", it will automatically back up your phone partition files, you need to save these files, follow-up will definitely help you.

    Include these Eight files:“persist.img factory.img modemst1 modemst2 asuskey4 fsg fsgCA fsc”

    Normally, you don’t need to restore these files. If your fingerprint or imei is lost and you need to restore these files to your phone,

    please flash the ENG firmware, then put these Eight files into the ROG 5 folder, and double-click to open " Restore.bat" can be restored to your phone.

    4.If your machine is an global version, after backing up and saving Eight files, directly enter the fastboot mode, open the WW folder-open "flash_raw_and_wipe_data.cmd" to flash the WW firmware,

    and successfully repair your ROG 5.

    If you cannot flash the firmware in fastboot mode, the prompt: fastboot error CID () Mapping wrong Xrom!

    You can Double click to open"Open-Cmd.bat",Then enter the commands, enter fastboot -v flash all xx.raw

    xx.raw is the firmware on your computer, for example: fastboot -v flash all C:\Users\johnny\Desktop\ROG5\WW\WW_ZS673KS_18.0810.2101.95_M2.13.24.9-ASUS_1.1.46_Phone-user.raw

    ASUS:
    version display asus fastboot version and list support project.
    -v flash all : disable asus raw id checking.
    -g flash all : disable repartition.
    -C flash all : disable CRC_<partition>.

    If your machine is the CN version, and you want to flash into the WW Firmware, but don’t want to unlock the BootLoader, you can use WinHex to open the persist.img you just backed up,

    find COUNTRY, change CN to WW and save it, and you can directly restore it to your phone through the dd command Inside, there is no need to unlock or install magisk.

    Double click to open"Open-Cmd.bat",Then enter the commands one by one

    adb push persist.img /sdcard/

    adb shell

    su

    dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist

    Then enter the fastboot mode, open the WW folder-open "flash_raw_and_wipe_data.cmd" to flash the WW firmware.

    File Downlaod Link:https://drive.google.com/file/d/1SyvQTp4lNw9-54k12EPOooQjdvSuCLyk/view?usp=sharing
    YouTube:

    I have also studied Hardwaresub Services for a long time, ROG1/ROG2/ROG3 only need to modify COUNTRY, CN to WW, and then flash into the global version,

    there will be no such prompt. In addition to modifying COUNTRY, ROG 5 also needs to modify asuskey4.

    In this partition, clear the imei, then there is no prompt. But I can’t do anything with ROG 5S.

    This machine verifies modemst1 and modemst2. I tried it for a long time, but I couldn’t get rid of the prompt except for the whitelist.

    If your ROG3/ROG5/ROG5S is the CN version, but you have flashed the WW firmware, you cannot unlock the Bootloader, or you are prompted to unlock successfully, but the Bootloader is still not unlocked after restarting, you can write the correct SSN and ISN of the phone Go to asuskey4, then restore to the phone partition, and then use the official unlocking tool to unlock it.
    2
    Nice job putting together what james(whatever) abused the community to accomplish and never cared enough to document for anyone else.

    Might want to change the label to "How to Guide" instead of "Question" (contrary to most that label a question as a guide) and consider rewording the title a bit, though. It reads "convert your phone if you are stuck in EDL", but "restore from EDL or convert without unlocking bootloader" is what you explain and that's a much larger audience.
    2
    Is it possible to unlock a locked bootloader using EDL? I have a tencent version already with ww installed and bootloader locked. The unlock app does not work obviously but I can access EDL mode, would it be possible to unlock it somehow?
    If your ROG3/ROG5/ROG5S is the CN version, but you have flashed the WW firmware, you cannot unlock the Bootloader, or you are prompted to unlock successfully, but the Bootloader is still not unlocked after restarting, you can write the correct SSN and ISN of the phone Go to asuskey4, then restore to the phone partition, and then use the official unlocking tool to unlock it.Unable to unlock in edl mode.
    1
    @johnny886 tnx for ur complete tutorial
    can u make tutorial video with phone for convert to ww. im noob about asus and many user want convert but worried about brick phone or lose fingerprint and imei
    and after convert we able manual update phone ?
    IMEI and Fingerprint work with no error, afterall you have to update manually(copy new FW to your root storage) , OTA will not work. His instruction very clear even for newbie . just need to read carefully
    1
    i know
    cz in my region i can't find asus service center i worried i do some mistake and my phone get brick or something like that
    Then i think you should stop right here . In his video about 5s also very clear. 5 is the same