How To Guide RAW Firmware Collection and Guide

Search This thread
All fastboot / adb commands require using the side USB-C port


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:



Asus firmware and Unlock App (2023)



Bootloader Unlock App



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



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



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)



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
 
Last edited:
If attempting to flash the device fails instantly, please see this thread:
Note: This does not trigger true EDL mode. Try before attempting a true EDL restore.

It is recommended that platform tools is extracted to the root directory (C:\) on Windows or the home folder (~/) on Mac / Linux. Replace PLATFORM_TOOLS_FOLDER with the full path below.

Adding platform tools to PATH (Windows courtesy of LifeHacker):
  1. Open the Start menu and search for “advanced system settings.”
  2. Click “View advanced system settings.”
  3. Click the box that says “Environment Variables.”
  4. Under “System variables” click on the variable named “Path”.
  5. Click “Edit...”
  6. (Windows 7,8): Add ;[PLATFORM_TOOLS_FOLDER] to the end of the “Variable value” box. Do not forget the semicolon.

    (Windows 10): Click “New” and paste the folder path where you extracted the Platform Tools. Hit Enter and click OK.
Adding platform tools to PATH (Mac / Linux):
  1. Add the following line to ~/.bash_profile (or .profile)
    PATH=$PATH:[PLATFORM_TOOLS_FOLDER]
  2. Open a terminal window and enter this command
    source ~/.bash_profile (or .profile, is used above)
 
Last edited:

aimsjahan

Senior Member
Sep 20, 2013
191
88
OnePlus X
OnePlus 5
OK, I'm a bit confused. Help me out here please.

The EDL f/w you are talking about is missing some key files & thus non-functional.

Since my device was unlocked once & then re-locked, the official unlocking app is non-functional as well.

Is there any way, other than paying some random foreigners, to unlock the BL?
 
You are looking to flash the bootloader in EDL mode, since you can't replace the bootloader in the bootloader itself. The raw firmware does not include the firehose file required to use QPST. This is the firmware you use in EDL mode after recovering from a hard brick.

I haven't checked if the bootloader in included in the raw firmware, but since a small portion of the flash requires userspace fastboot, I would assume it is quite possible
 
Last edited:
  • Like
Reactions: yaser86100

aimsjahan

Senior Member
Sep 20, 2013
191
88
OnePlus X
OnePlus 5
You are looking to flash the bootloader in EDL mode, since you can't replace the bootloader in the bootloader itself. The raw firmware does not include the firehose file required to use QPST. This is the firmware you use in EDL mode after recovering from a hard brick.

I haven't checked if the bootloader in included in the raw firmware, but since a small portion of the flash requires userspace fastboot, I would assume it is quite possible
Will be waiting for your findings. Many gratitude for taking this into consideration..
 

bleachwind

Member
Sep 29, 2011
19
2
Auckland
If you encountered following error while executing flashall_aft, make sure check your fastboot install --> post 2.
get cpu id fail
FAILED (remote: 'Unknown variable')
get cid fail
FAILED (remote: 'Unknown variable')
get project fail
FAILED (remote: 'Unknown variable')
...
fastboot: error: project name () mapping the wrong raw id (0x33)
 
  • Like
Reactions: twistedumbrella

yaser86100

Senior Member
Jun 25, 2017
149
28
tnx for this thread
2 questions

after this i can update rom manually with copy in root folder


is there any video guide for this convert ?
 
tnx for this thread
2 questions

after this i can update rom manually with copy in root folder


is there any video guide for this convert ?

Updates will be the same as having an unlocked bootloader. Move it to /sdcard/ and reboot.

No video guides. It is harder to copy text shown in a video than from the text itself.
 
  • Like
Reactions: yaser86100

yaser86100

Senior Member
Jun 25, 2017
149
28
tnx for making this thread
one question
after conver if i modified build prob and add ww to country file fingerprint sensor works normal or could be have problem?
 

Top Liked Posts