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

Search This thread

johnny886

Senior Member
Sep 21, 2018
100
115
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.
 
Last edited:

3rehaan

Senior Member
Nov 16, 2019
56
3
ASUS ROG Phone 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.

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 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/10kp_87NukXt1XnTJ819I3Y0lH7vIB5T2/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.
Sir Please Make For Rog 5 Im Stuck On this
 

Attachments

  • IMG_20210926_184326.jpg
    IMG_20210926_184326.jpg
    1.8 MB · Views: 366
  • IMG_20211009_141828.jpg
    IMG_20211009_141828.jpg
    1.7 MB · Views: 373

aimsjahan

Member
Sep 20, 2013
38
5
OnePlus X
OnePlus 5
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.
All of us, unfortunate owners of the tencent relocked ROG5, would be grateful if you could elaborate the following bits-

- Writing down SSN & ISN
- Going to asuskey4
- Restoring phone partition

Much appreciate your contribution here pal!
 

BirtyAs

New member
Feb 6, 2017
4
1
ASUS ROG Phone 5
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
 

Trash.umu

Member
Nov 3, 2021
40
5
I am having some issues getting it to work.
I currently have it bricked to the point of only showing up as a Qualcomm HS-USB QDLoader 9008 port .

I keep getting a sahara error after the program tries to run the firehose program.

Can you please help me with this problem.

Thank you.
 

Attachments

  • Issues.png
    Issues.png
    285.5 KB · Views: 229

Trash.umu

Member
Nov 3, 2021
40
5
So I managed to download the program via the 0_update_image_edl.bat file with my phone in EDL mode. However, my phone restarted and it is stuck on the republic of gamers logo.

I wonder why it isn't working. Is there something I am missing or does it take a long while to actually load everything during the first reboot after installation?

Edit:

It was my specific phone acting up and nothing to do with your firmware. I am not sure why I had to keep switching between the bottom and side port to get it to work but I eventually got my phone working using the files you provided. Thank you so much for these files, if not for you, my phone would still be bricked.
 
Last edited:

Trash.umu

Member
Nov 3, 2021
40
5
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.
 
Last edited:
  • Like
Reactions: LinhBT

Donlavon1

Member
May 3, 2012
29
3
What Winhex version are you using? I can't find the Country in the one im using. just showing the offset with a bunch of numbers.
 

MG4711

Member
Nov 16, 2021
13
0
No more booting possible, only the android logo flashes briefly, also no restart bootloader or recovery mode possible! what can I do?? thanks
 

Trash.umu

Member
Nov 3, 2021
40
5
No more booting possible, only the android logo flashes briefly, also no restart bootloader or recovery mode possible! what can I do?? thanks
I had something similar happen.
Does the computer register it as a device that can be seen or connected? If it DOES NOT CONNECT TO THE PC AT ALL, let it sit on the android logo while it is connected to the computer. In about 15 to 20 minutes it should reboot into a recovery mode like state and the PC will pick it up, something that didn't work when you attempted to use the androids power and volume buttons. It should say a few things and have about 2 options that say

1. delete files
2. reattempt

DO NOT SELECT ANY OF THOSE OPTIONS!!!

Instead, keep the phone plugged in and do not turn off the phone. Place it back into edl mode using adb or the "Reboot-to-edl.bat" file and attempt to reinstall the first portion of the firmware using the "0-update_image_EDL.bat" file.

(Note: You might need to mess with the device manager settings on your PC for the phone. The phone needs to have the ADB Driver to reboot to edl. After your phone gets into EDL mode, you may need to then set your phone to run with the qualcomm driver on your PC's device manager setting to allow you update the image edl. )

then after that fully installs, go to the next step which is the backing up the 10 files. This is the "Backup.bat" file.
This is important. If you fail to do this, you could end up bricking your phone as installing new firmware has a possibility of deleting your phones identity "IEMI" and without this info, your phone will not work. Make sure you keep this file even after you fully installed your software.

After downloading those 10 files. Go to the next step which is. pressing the "flash_raw_and_wipe_data.cmd" file in the WW folder.

(NOTE:

If this doesn't work, it probably means the IEMI information was deleted. Do not pay attention to what is shown on the android screen itself, the battery life and all the info on the screen is incorrect!! It might say something like you have 6000 mah of battery when in actuality you have 5 mah of battery. You will probably have to redo the installation and press the " Restore.bat" file after fully installing using the "0-update_image_EDL.bat" file. If you already have the 10 files, you do not have to resave the 10 files, as you already have them all.

In order to use the restore bat file. All 10 files have to be in the same folder as the "restore.bat" file, prior to pressing the "restore.bat" file.)
 
Last edited:
  • Like
Reactions: MG4711

MG4711

Member
Nov 16, 2021
13
0
I had something similar happen.
Does the computer register it as a device that can be seen or connected? If it DOES NOT CONNECT TO THE PC AT ALL, let it sit on the android logo while it is connected to the computer. In about 15 to 20 minutes it should reboot into a recovery mode like state and the PC will pick it up, something that didn't work when you attempted to use the androids power and volume buttons. It should say a few things and have about 2 options that say

1. delete files
2. reattempt

DO NOT SELECT ANY OF THOSE OPTIONS!!!

Instead, keep the phone plugged in and do not turn off the phone. Place it back into edl mode using adb or the "Reboot-to-edl.bat" file and attempt to reinstall the first portion of the firmware using the "0-update_image_EDL.bat" file.

(Note: You might need to mess with the device manager settings on your PC for the phone. The phone needs to have the ADB Driver to reboot to edl. After your phone gets into EDL mode, you may need to then set your phone to run with the qualcomm driver on your PC's device manager setting to allow you update the image edl. )

then after that fully installs, go to the next step which is the backing up the 10 files. This is the "Backup.bat" file.
This is important. If you fail to do this, you could end up bricking your phone as installing new firmware has a possibility of deleting your phones identity "IEMI" and without this info, your phone will not work. Make sure you keep this file even after you fully installed your software.

After downloading those 10 files. Go to the next step which is. pressing the "flash_raw_and_wipe_data.cmd" file in the WW folder.

(NOTE:

If this doesn't work, it probably means the IEMI information was deleted. Do not pay attention to what is shown on the android screen itself, the battery life and all the info on the screen is incorrect!! It might say something like you have 6000 mah of battery when in actuality you have 5 mah of battery. You will probably have to redo the installation and press the " Restore.bat" file after fully installing using the "0-update_image_EDL.bat" file. If you already have the 10 files, you do not have to resave the 10 files, as you already have them all.

In order to use the restore bat file. All 10 files have to be in the same folder as the "restore.bat" file, prior to pressing the "restore.bat" file.)
I have now sent the device back, now I get the rog 5 s and would like to flash it in German? are there any good instructions? Thank you for your help!!
 

Trash.umu

Member
Nov 3, 2021
40
5
I have now sent the device back, now I get the rog 5 s and would like to flash it in German? are there any good instructions? Thank you for your help!!
One of the languages for the ROG 5s WW version is Deutsch (Deutschland) or what we normally call german in the US.
There seems to be other forms of Deutsch as well. When initiating the phone, select Duetsch (Deutschland) to run it in the German language or go to settings - accessibility - Language - Duetsch (Duetschland)
 

MG4711

Member
Nov 16, 2021
13
0
One of the languages for the ROG 5s WW version is Deutsch (Deutschland) or what we normally call german in the US.
There seems to be other forms of Deutsch as well. When initiating the phone, select Duetsch (Deutschland) to run it in the German language or go to settings - accessibility - Language - Duetsch (Duetschland)
I have to flash a ww version first, the original firmware is china and english
 

SirFreshSpawn

Member
Nov 30, 2021
18
1
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/10kp_87NukXt1XnTJ819I3Y0lH7vIB5T2/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.
If i do this am i able to update my firmware from Asus or am i stuck with the modified one?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    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.
    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 :)
    1
    No more booting possible, only the android logo flashes briefly, also no restart bootloader or recovery mode possible! what can I do?? thanks
    I had something similar happen.
    Does the computer register it as a device that can be seen or connected? If it DOES NOT CONNECT TO THE PC AT ALL, let it sit on the android logo while it is connected to the computer. In about 15 to 20 minutes it should reboot into a recovery mode like state and the PC will pick it up, something that didn't work when you attempted to use the androids power and volume buttons. It should say a few things and have about 2 options that say

    1. delete files
    2. reattempt

    DO NOT SELECT ANY OF THOSE OPTIONS!!!

    Instead, keep the phone plugged in and do not turn off the phone. Place it back into edl mode using adb or the "Reboot-to-edl.bat" file and attempt to reinstall the first portion of the firmware using the "0-update_image_EDL.bat" file.

    (Note: You might need to mess with the device manager settings on your PC for the phone. The phone needs to have the ADB Driver to reboot to edl. After your phone gets into EDL mode, you may need to then set your phone to run with the qualcomm driver on your PC's device manager setting to allow you update the image edl. )

    then after that fully installs, go to the next step which is the backing up the 10 files. This is the "Backup.bat" file.
    This is important. If you fail to do this, you could end up bricking your phone as installing new firmware has a possibility of deleting your phones identity "IEMI" and without this info, your phone will not work. Make sure you keep this file even after you fully installed your software.

    After downloading those 10 files. Go to the next step which is. pressing the "flash_raw_and_wipe_data.cmd" file in the WW folder.

    (NOTE:

    If this doesn't work, it probably means the IEMI information was deleted. Do not pay attention to what is shown on the android screen itself, the battery life and all the info on the screen is incorrect!! It might say something like you have 6000 mah of battery when in actuality you have 5 mah of battery. You will probably have to redo the installation and press the " Restore.bat" file after fully installing using the "0-update_image_EDL.bat" file. If you already have the 10 files, you do not have to resave the 10 files, as you already have them all.

    In order to use the restore bat file. All 10 files have to be in the same folder as the "restore.bat" file, prior to pressing the "restore.bat" file.)