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
我们所有人,不幸的腾讯重新锁定 ROG5 所有者,如果您能详细说明以下内容,将不胜感激-

- 写下 SSN 和 ISN
- 去 asuskey4
- 恢复手机分区

非常感谢你在这里的贡献!
 
  • Like
Reactions: aimsjahan

MG4711

Member
Nov 16, 2021
13
0
hello I flashed my 5s with original CN firmware on WW, OTA update does not work and bootloader unlock tool does not work either ???
thanks
sorry for my bad english (google translate)
 
Last edited:

BirtyAs

New member
Feb 6, 2017
4
1
ASUS ROG Phone 5
After modifying the CN ID, these items are still CN . I wonder whether these changes can be detected by hardwaresub
Screenshot_20211210-125453421.jpg
 

vinotux

Member
Apr 3, 2021
44
35
Hey, really dumb question here, but do you think this can fix the wifi/hotspot issue 😅? I know it's most likely to do with the motherboard but I just wanted to ask.
 

AuroNPL

Member
Nov 5, 2019
19
1
Today arrived post and unbox.

Rog 5S CN, firmware WW 18.1220.2111.160 no work :(

And cannot remove start up boot "g.co/AHB" .

Screenshot_5.png


If doesnt work, i will later sell -,-
 
Last edited:

vinotux

Member
Apr 3, 2021
44
35
Already install, still no show drive computer manager. Easy help Teamviewer, if who can.
If you can, try with another computer. If it still doesn't detect the drivers then you could wait for the next windows update, since it used to not work on my laptop running windows 11. Maybe, just maybe, it would work.
 

tania9423

Member
Sep 22, 2010
49
4
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>.

如果你的機器是CN版本,想刷入WW Firmware,又不想解鎖BootLoader,可以用WinHex打開剛剛備份的persist.img,

找到COUNTRY,把CN改成WW保存,就可以直接通過dd命令恢復到手機裡面,不需要解鎖或者安裝magisk。

雙擊打開“Open-Cmd.bat”,然後一一輸入命令

adb push persist.img /sdcard/

亞行外殼



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

然後進入fastboot模式,打開WW文件夾-打開“flash_raw_and_wipe_data.cmd”刷入WW固件。

文件下載鏈接:https://drive.google.com/file/d/1XiPOy4UyAK7VJNygvVJuq16IRy3V6Wmr/view?usp=sharing
YouTube:[媒體=youtube]qo9IDhTz7wg[/媒體]

我也研究了很久Hardwaresub Services,ROG1/ROG2/ROG3只需要修改COUNTRY,CN為WW,然後刷入全局版本,

不會有這樣的提示。ROG 5除了修改COUNTRY,還需要修改asuskey4。

在這個分區,清除imei,然後就沒有提示了。但是我不能用 ROG 5S 做任何事情。

本機驗證 modemst1 和 modemst2。試了半天,除了白名單都沒有辦法去掉提示。

如果您的ROG3/ROG5/ROG5S是CN版本,但是刷過WW固件,無法解鎖Bootloader,或者提示解鎖成功,但重啟後Bootloader仍未解鎖,您可以寫正確的SSN和手機的ISN去asuskey4,然後恢復到手機分區,然後用官方的解鎖工具解鎖。
Can't enter FASTBOOT mode
Is there any other way to enter EDL 9008?
thanks
 

MG4711

Member
Nov 16, 2021
13
0
hi people have now followed the video and executed that comes out, how does it go from now? Thank you
I want to install TWRP and for that the bootloader has to be unlocked, right? Rog phone 5s CN version flashed with WWW !! Thank you for your help!!

rog 5s (2).jpg
 

Attachments

  • fastboot (2).jpg
    fastboot (2).jpg
    94.4 KB · Views: 19
Last edited:

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.)