[ASUS ROG Phone 5 / 5s] twistedumbrella:
All fastboot / adb commands require using the side USB-C port

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

Make sure you have fastboot installed

Add platform tools to PATH (post 2)​

Make a backup of anything important

Sign out of all Google accounts on device

Open settings -> accounts​

Tap the google email address​

Tap "Remove account"​

Reboot into bootloader

Connect the phone to the computer​

You must use the side USB port​

From the system (usb debugging enabled):​

adb reboot bootloader​

OR​

Boot the phone with volume up + power​

Use a 64-bit OS to flash the raw firmware

Open a command or terminal window​

"cd" to the extracted firmware folder​

Execute the flash_raw/all for your OS​

I recommend using Windows to flash the firmware. If you have Mac, using a Windows image in VMWare also works. This will NOT lock your bootloader.

Those looking to convert between CN and WW firmware:

https://xdaforums.com/t/repair-rog-...ootloader-to-modify-country-cn-to-ww.4353865/

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

Success is disgusted by some people, and will not share any files for free in the future.

xdaforums.com

Asus firmware and Unlock App (2023)

Wayback Machine

web.archive.org

Bootloader Unlock App

https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS673KS/AsusUnlock_1.0.0.7_210127_fulldpi.apk

Raw Firmware Packages (courtesy of m8822 / johnny886 / HunterTik / JazonX)

Downloads for : ASUS ROG Phone 5 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

WW_ZS673KS_18.0810.2101.95_M2.13.24.9-ASUS_1.1.46_Phone-user.raw

WW_ZS673KS_18.0830.2101.75_M2.13.24.14.1-ASUS_1.1.63_Phone-user.raw

WW_ZS673KS_18.0830.2102.88_M2.13.24.14.3-ASUS_1.1.80_Phone-user.raw

WW_ZS673KS_18.0840.2106.83_M3.13.24.40-ASUS_1.1.92_Phone-user.raw

Downloads for : ASUS ROG Phone 5 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

CN_ZS673KS_18.0830.2101.75_M2.13.24.14.1-ASUS_1.1.62_Phone-user.raw

S Series Raw Firmware (courtesy of JazonX)

Downloads for : ASUS ROG Phone 5 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

WW_ZS676KS_18.1220.2107.106_M3.13.24.43-ASUS_1.1.32_Phone-user.raw

Disclaimer:

This process will wipe your data and cannot be reversed until complete (See below).

Do not disconnect or reboot your phone during the flashing process.

I am not responsible for bricks, loops, or any other natural or man-made disasters.

Note: Newer raw firmware includes separate commands for wipe / no wipe install