How To Guide Repair ROG Phone 5S through edl firmware, no need to unlock Bootloader to modify COUNTRY CN to WW

Search This thread

tania9423

Member
Sep 22, 2010
49
5
Yes You Have To Go In Manual
Use Edl Cable .

If You Have Not This Type Cable
Thee Make DIY Edl Cable see In Video

5S.JPG

HI Bro
Successfully 9008 to brush ww firmware, this error occurs, and it fails to try many times
 

tania9423

Member
Sep 22, 2010
49
5
These materials can only be used for ROG Phone 5S_ZS676KS, and ROG Phone 5_ZS673KS cannot be used. I will release the materials for ROG 5 separately.

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

If your ROG Phone 5S ZS676KS 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 10 files:“persist.img factory.img modemst1 modemst2 asuskey4 fsg fsgCA fsc fsgCA2 fsgCA3”

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 10 files into the ROG 5S 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 10 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 5S.

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/1XiPOy4UyAK7VJNygvVJuq16IRy3V6Wmr/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.
I have no way to enter FASTBOOT only 9008

I found it but 9008 is not supported
66699.JPG

There is no file that can be imported in QFIL opened to WW data
-
How to operate the file guide brother
123213.JPG

2313123.JPG

thanks Bro
 

3rehaan

Senior Member
Nov 16, 2019
59
3
ASUS ROG Phone 5

I have no way to enter FASTBOOT only 9008

I found it but 9008 is not supported
View attachment 5518253
There is no file that can be imported in QFIL opened to WW data
-
How to operate the file guide brother
View attachment 5518257
View attachment 5518259
thanks Bro

I have no way to enter FASTBOOT only 9008

I found it but 9008 is not supported
View attachment 5518253
There is no file that can be imported in QFIL opened to WW data
-
How to operate the file guide brother
View attachment 5518257
View attachment 5518259
thanks Bro
Download This Firmware from The Link It Has QFIL Files

 
  • Like
Reactions: tania9423

ChrisMills83

Senior Member
Jul 2, 2013
53
9
Sedro Woolley
I'm going to start by saying that I think I'm just screwed and have to figure out how to send in my phone to be serviced.

I had successfully followed the guide on reinstalling firmware found here, but I noticed my headphone jack wasn't working, so I tried a factory reset, but still no joy.

I decided to give this guide a try, but immediately noticed I didn't have a fastboot option any more in the bootloader, but I went ahead anyway (like an idiot). As soon as I issued the ADB command to enter fastboot the phone went black and will now not reboot or do anything other than be recognized by my computer's device manager as "Other devices > QUSB_BULK_CID:xxxx_SN:xxxxxxxx" (not sure if the x'ed strings are sensitive info or not).

My best guess is the firmware I flashed originally didn't have a fastboot built in it and now I've killed my phone.

Any ideas?
 

Andrologic

Senior Member
Apr 29, 2016
361
1
137
Huawei Nexus 6P
Huawei Mate 20 X
I'm going to start by saying that I think I'm just screwed and have to figure out how to send in my phone to be serviced.

I had successfully followed the guide on reinstalling firmware found here, but I noticed my headphone jack wasn't working, so I tried a factory reset, but still no joy.

I decided to give this guide a try, but immediately noticed I didn't have a fastboot option any more in the bootloader, but I went ahead anyway (like an idiot). As soon as I issued the ADB command to enter fastboot the phone went black and will now not reboot or do anything other than be recognized by my computer's device manager as "Other devices > QUSB_BULK_CID:xxxx_SN:xxxxxxxx" (not sure if the x'ed strings are sensitive info or not).

My best guess is the firmware I flashed originally didn't have a fastboot built in it and now I've killed my phone.

Any ideas?

The "QUSB_BULK..." indicates that your device is falling into EDL mode but is not recognized by your pc because you don't have the Qualcom drivers installed. Once sorted, you should see your device identified in 9008 mode showing something like "Qualcomm HS-USB QDLoader 9008 (Com X)". You need to be in this mode for firehose access. However, before going the EDL route, I'd try to boot it into normal bootloader mode. You don't want to mess around in EDL mode if you can avoid it.
 

ChrisMills83

Senior Member
Jul 2, 2013
53
9
Sedro Woolley
The "QUSB_BULK..." indicates that your device is falling into EDL mode but is not recognized by your pc because you don't have the Qualcom drivers installed. Once sorted, you should see your device identified in 9008 mode showing something like "Qualcomm HS-USB QDLoader 9008 (Com X)". You need to be in this mode for firehose access. However, before going the EDL route, I'd try to boot it into normal bootloader mode. You don't want to mess around in EDL mode if you can avoid it.
Any specific things you can recommend? I think I have to mess with EDL because the phone seems I'm seems unresponsive with any of the buttons of the buttons and ADB sees no connected devices ('adb devices").
 

fenderstrc

New member
Apr 10, 2015
4
2
johnny886 Hello! I did everything following your guide, changed COUNTRY to WW in persist and factory file. Even changed CN line in asuskey4 to WW. But safetynet check failed "СTS profile match fail" Is there any workaround? Thank you!
 
Last edited:

LinhBT

Senior Member
Apr 21, 2020
319
90
VietNam
Xiaomi Mi 5X
Redmi K20 Pro
It seems like I am always finding something new, even when I have access to my phone now.

My storage is only 64 gb out of the 256 gb it normally has. Any idea how to fix this issue?


Edit, found the fix.

Step 1. I had to ensure that I made a back up of the 10 files stated in the instructions. This is important as not having these files will probably brick a phone.

Step 2. I deleted the extra partitions by setting the "erase all before download" and "reset after download" under "configuration" in the qfil app. Then I did the installation process using qfil.

It did not install correctly, but it was not the point of the process, the point was to delete all hidden partitions.
This deletes the 10 files from the phone as well (I think) and this is why the 10 files are important.

Step 3. I put my phone into edl mode via the reboot to edl .bat file you provided.

Step 4. I used the 0-update_image_edl.bat file to do the first part of the firmware installation process.

It rebooted and showed the page of the phones information. I thought this meant it kept all it's information, but this is a lie.

Step 5. At this point I placed all 10 files in the same folder as the restore.bat file

Step 6. I pressed the restore.bat file and it installed the 10 files.

Step 7. I then proceeded to do the second part of the installation by pressing the "flash_raw_and_wipe_data" file under "ww"

This installed the firmware and rebooted my phone. Now I have all my storage back.


//////////////////////////////
Note:

If the process above doesn't work for someone else. The thing that might have fix my phone could have been changing the setting in the "partition setting" under "configuration" in the "qfil app" that actually deleted the other partitions.
I think I set "customize physical partition" and "active partition number" to 1.

I did this right after saving my 10 files and before using the qfil app to attempt to install the first part of the firmware installation to my phone. This process would replace step 2. on this post.
Could you please share the persist image of yours? Since mince is damaged and I can't restore device's IMEI and else. Thanks in advance mate!
 

LinhBT

Senior Member
Apr 21, 2020
319
90
VietNam
Xiaomi Mi 5X
Redmi K20 Pro
These materials can only be used for ROG Phone 5S_ZS676KS, and ROG Phone 5_ZS673KS cannot be used. I will release the materials for ROG 5 separately.

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

If your ROG Phone 5S ZS676KS 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 10 files:“persist.img factory.img modemst1 modemst2 asuskey4 fsg fsgCA fsc fsgCA2 fsgCA3”

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 10 files into the ROG 5S 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 10 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 5S.

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/1XiPOy4UyAK7VJNygvVJuq16IRy3V6Wmr/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.
I followed the instructions quite strictly and successfully flashed images in ENG with 0-update_image_EDL.bat file. Then the device reboot itself but it can't boot into system or else, instead of it is a screen with green text Waiting to flash full ramdump....
Could u please help to show me out, thanks!
 

chaudhry02

New member
Mar 16, 2022
1
0
hi guys can someone helo me out with Asus Rog Phone 5s Tencent edition bought from ali express they send it flashed with ww firmware i manualy update frimware in december but now after that new update in feb or latest in march when i download from asus website and move to internal storage and restart the device and recive update available msg click on it and press start it says update fail i have try to reset the phone but still its same please help me out curuntly runing ww_18.1220.2111.164 firmware please help
 

nsd1120w

New member
Mar 4, 2022
3
0
Finally I successfully upgraded the firmware from CN modified to WW

So...Is there currently a way to manually upgrade the official ROM?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Success is disgusted by some people, and will not share any files for free in the future.
    2
    HI everyone, i have reuploaded the ROG5S edl archive and i have added driver files and CN raw firmware, nothing has been modified, you can reupload if you want, i reuploaded this because it was removed and this is useful for ROG 5s users.

    link:https://drive.google.com/file/d/18UQTS8DrVB6idZJS0-4ckXuUnXA4TN8d/view?usp=sharing
    1
    Hi,
    I don't reboot to edl
    FAILED (remote: 'Command not supported in default implementation')
    fastboot: error: Command failed

    no root,
    no unlock bl.
    CN rog5s

    Thanks

    Wrong fastboot. Reboot to the bootloader, not fastbootd
    1
    It seems like I am always finding something new, even when I have access to my phone now.

    My storage is only 64 gb out of the 256 gb it normally has. Any idea how to fix this issue?


    Edit, found the fix.

    Step 1. I had to ensure that I made a back up of the 10 files stated in the instructions. This is important as not having these files will probably brick a phone.

    Step 2. I deleted the extra partitions by setting the "erase all before download" and "reset after download" under "configuration" in the qfil app. Then I did the installation process using qfil.

    It did not install correctly, but it was not the point of the process, the point was to delete all hidden partitions.
    This deletes the 10 files from the phone as well (I think) and this is why the 10 files are important.

    Step 3. I put my phone into edl mode via the reboot to edl .bat file you provided.

    Step 4. I used the 0-update_image_edl.bat file to do the first part of the firmware installation process.

    It rebooted and showed the page of the phones information. I thought this meant it kept all it's information, but this is a lie.

    Step 5. At this point I placed all 10 files in the same folder as the restore.bat file

    Step 6. I pressed the restore.bat file and it installed the 10 files.

    Step 7. I then proceeded to do the second part of the installation by pressing the "flash_raw_and_wipe_data" file under "ww"

    This installed the firmware and rebooted my phone. Now I have all my storage back.


    //////////////////////////////
    Note:

    If the process above doesn't work for someone else. The thing that might have fix my phone could have been changing the setting in the "partition setting" under "configuration" in the "qfil app" that actually deleted the other partitions.
    I think I set "customize physical partition" and "active partition number" to 1.

    I did this right after saving my 10 files and before using the qfil app to attempt to install the first part of the firmware installation to my phone. This process would replace step 2. on this post.
    1
    Wrong fastboot. Reboot to the bootloader, not fastbootd
    Thank you very much. I successfully swiped into ww and now I am trying to change COUNTRY. thx :)