How do I downgrade firmware? - ASUS ROG Phone 3 Questions & Answers

Hi guys,
Could anyone tell me how I can downgrade .78 ww firmware to .58?

Best way to do it is by flashing the WW .58 RAW (search within https://mega.nz/folder/3zwRwYwD#9xOAreLjlhV3Mz4ms7aWcg).
Alternatively, download the WW .58 firmware .zip to your internal storage and re-name it (to a higher firmware name than your current FW of .78, but using the same naming format as Asus default) --> restart device if system update not automatically detected --> select okay to system update prompt (but will install the downgrade firmware).

elmor0 said:
Best way to do it is by flashing the WW .58 RAW (search within https://mega.nz/folder/3zwRwYwD#9xOAreLjlhV3Mz4ms7aWcg).
Alternatively, download the WW .58 firmware .zip to your internal storage and re-name it (to a higher firmware name than your current FW of .78, but using the same naming format as Asus default) --> restart device if system update not automatically detected --> select okay to system update prompt (but will install the downgrade firmware).
Click to expand...
Click to collapse
Thanks for the reply! I also forgot to mention I have the tencent version which came flashed to global rom. Would flashing the .58 RAW brick my phone?

reuben4k said:
Thanks for the reply! I also forgot to mention I have the tencent version which came flashed to global rom. Would flashing the .58 RAW brick my phone?
Click to expand...
Click to collapse
I have Tencent variant too.
Flashing RAW of either CN or WW is fine.
This is a good place to start to get all the files you need.
Before you begin, ensure that you have correct drivers installed, latest ADB & fastboot, and USB debugging toggled on in Dev options.
Also make sure USB-C cable plugged into top slot @ left side of device.
When flashing RAW, place the unzipped RAW folder on your desktop & run "zs661ks_raw_flashall.bat". Wait until process fully completed (can take several minutes) - do not unplug.
Once successful/ completed, device will automatically boot into system (in FW of flashed RAW).

elmor0 said:
I have Tencent variant too.
Flashing RAW of either CN or WW is fine.
This is a good place to start to get all the files you need.
Before you begin, ensure that you have correct drivers installed, latest ADB & fastboot, and USB debugging toggled on in Dev options.
Also make sure USB-C cable plugged into top slot @ left side of device.
When flashing RAW, place the unzipped RAW folder on your desktop & run "zs661ks_raw_flashall.bat". Wait until process fully completed (can take several minutes) - do not unplug.
Once successful/ completed, device will automatically boot into system (in FW of flashed RAW).
Click to expand...
Click to collapse
The top left usb slot does not seem to be recognised by my PC, only the one at the bottom of my phone seems to be recognised.

reuben4k said:
The top left usb slot does not seem to be recognised by my PC, only the one at the bottom of my phone seems to be recognised.
Click to expand...
Click to collapse
I assume you are using Windows (not Mac)?
Have you installed all the drivers, and fastboot & adb ("platform-tools")?
USB debugging toggled on under Dev options?
Once all installed; place "platform-tools" folder on your desktop.
Turn your phone off; hold power button & volume UP button at same time --> phone should start in "bootloader mode".
Now plug in USB-C in top left slot & connect phone to PC.
Open .CMD (Powershell command) window from within the "platform-tools" folder.
Type "fastboot devices" --> if above steps done correctly, this command should show list of devices attcahed as "L8AIKN05J7...." etc.
Now run the RAW 'flash_all' file.

I don't know what I am doing wrong. But I can get the device to show when I type adb devices with the usb cable plugged in the bottom part of the phone, but once I restart to bootloader mode and I type fastboot devices nothing shows up and its not detected by my PC (windows).

reuben4k said:
I don't know what I am doing wrong. But I can get the device to show when I type adb devices with the usb cable plugged in the bottom part of the phone, but once I restart to bootloader mode and I type fastboot devices nothing shows up and its not detected by my PC (windows).
Click to expand...
Click to collapse
Once in "bootloader mode" - connect to PC via TOP slot on left side of your phone (NOT bottom part of phone!).
Then type "fastboot devices" to see if connection is successful.

elmor0 said:
Once in "bootloader mode" - connect to PC via TOP slot on left side of your phone (NOT bottom part of phone!).
Then type "fastboot devices" to see if connection is successful.
Click to expand...
Click to collapse
Yes I did that and nothing appears when i type fastboot devices. My PC doesnt even detect the device. Could my side usb port be faulty?

reuben4k said:
Yes I did that and nothing appears when i type fastboot devices. My PC doesnt even detect the device. Could my side usb port be faulty?
Click to expand...
Click to collapse
Very unlikely that USB port is faulty.
Did you install all the relevant drivers & fastboot/ Adb? USB debugging is enabled?
You are in bootloader mode before connecting to PC?
You launched Command window from WITHIN the "platform-tools" folder?

elmor0 said:
Very unlikely that USB port is faulty.
Did you install all the relevant drivers & fastboot/ Adb? USB debugging is enabled?
You are in bootloader mode before connecting to PC?
You launched Command window from WITHIN the "platform-tools" folder?
Click to expand...
Click to collapse
ZS661KS USB Drivers installed
https://androidmtk.com/download-minimal-adb-and-fastboot-tool installed
USB debugging enabled
and yes I am in bootloader mode before connecting to PC
Would it matter if I am using a USB 3.0 port or not?

Watch this video as an initial guide - hopefully helps you set-up properly.
Use the links & tools for drivers etc from the XDA link I sent you earlier. The Tool_All_in_One is also useful.

elmor0 said:
Watch this video as an initial guide - hopefully helps you set-up properly.
Use the links & tools for drivers etc from the XDA link I sent you earlier. The Tool_All_in_One is also useful.
Click to expand...
Click to collapse
I managed to see my device under fast boot finally. After running flashall.bat file I get Failed unknown error.

reuben4k said:
I managed to see my device under fast boot finally. After running flashall.bat file I get Failed unknown error.
Click to expand...
Click to collapse
Directory of C:\adb
27/08/2020 16:08 924,308,292 WW_ZS661KS_17.0823.2007.58_M2.23.3.32-ASUS_1.1.9_Phone-user.raw
1 File(s) 924,308,292 bytes
0 Dir(s) 85,309,812,736 bytes free
"Flashing begine: 06/10/2020, 1:08:17.72]"
[FLASH_RAW] ==========================================
[FLASH_RAW] ZS661KS raw flashing program
[FLASH_RAW] Version 20200518
[FLASH_RAW] ==========================================
[FLASH_RAW] RAW file found: WW_ZS661KS_17.0823.2007.58_M2.23.3.32-ASUS_1.1.9_Phone-user.raw
[FLASH_RAW] Please connect device to host.
[FLASH_RAW] This is ZS661KS device!
[FLASH_RAW] This is FUSED device!
[FLASH_RAW] DDR type is: LPDDR5!
[FLASH_RAW] IMEI: RD
[FLASH_RAW] Device's CID is ASUS!
[FLASH_RAW] Set CID name to: ASUS
[FLASH_RAW] file size is: 924308292 bytes(902644 Kbytes)
[FLASH_RAW] WW SKU RAW image.
[FLASH_RAW][XROM] ZS661KS RAW SKU.
[FLASH_RAW] This is ZS661KS RAW file!
[FLASH_RAW] Target device is ZS661KS.
[FLASH_RAW] Raw file's xrom image name: ASUS-xrom.img
[FLASH_RAW] Folder does not exsit
[FLASH_RAW] No extracted files. Start process RAW file: WW_ZS661KS_17.0823.2007.58_M2.23.3.32-ASUS_1.1.9_Phone-user.raw
[FLASH_RAW] file size is: 924308292 bytes(902644 Kbytes)
[FLASH_RAW] WW SKU RAW image.
[FLASH_RAW] ZS661KS RAW SKU at extraction stage.
[FLASH_RAW] This is ZS661KS RAW file!
[FLASH_RAW] Target device is ZS661KS.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:0, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:1, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:2, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:3, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:4, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:5, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: partition:6, size: 45056bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: xbl, size: 3436952bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: xbl_config, size: 97744bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: xbl, size: 3466344bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: xbl_config, size: 97872bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: abl, size: 716800bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: uefisecapp, size: 125481bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: imagefv, size: 40960bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: aop, size: 201844bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: tz, size: 3305512bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: hyp, size: 445320bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: devcfg, size: 48468bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: cmnlib, size: 391824bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: cmnlib64, size: 507944bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: keymaster, size: 250799bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: qupfw, size: 53647bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: logfs, size: 16384bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: asusfw, size: 16777216bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: xrom, size: 419430400bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: vbmeta, size: 8192bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: vbmeta_system, size: 4096bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: recovery, size: 104857600bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: dtbo, size: 8388608bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: boot, size: 100663296bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: bluetooth, size: 421888bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: dsp, size: 67108864bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: multiimgoem, size: 13512bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: featenabler_a, size: 77464bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File for partition label: modem, size: 153120768bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File: rog3_crc_check.cmd.E, size: 10830bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File: partition_checksum_list.txt.E, size: 735bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] =================================================================================
[FLASH_RAW] Process File: boot-debug.img.E, size: 39895040bytes
[FLASH_RAW] =================================================================================
#[FLASH_RAW] Pass CRC32 comparsion.
##"ERRORLEVEL: 0 "
"""""""""""""""""""
"UPDATE SUCCESS !!"
"""""""""""""""""""
"UPDATE super.img"
target reported max download size of 536870912 bytes
sending sparse 'super' (523080 KB)...
OKAY [ 13.020s]
writing 'super'...
OKAY [ 0.004s]
sending sparse 'super' (522676 KB)...
OKAY [ 13.218s]
writing 'super'...
OKAY [ 0.002s]
sending sparse 'super' (523440 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 38.469s
"Reboot bootloader..."
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 5.004s
"Erase Userdata and reboot device..."
...
FAILED (command write failed (Unknown error))
finished. total time: 5.003s

Ensure you're connected in fastboot mode; extract the RAW folder on to your desktop - then run the 'zs661ks flash-all .bat' file.
Do not unplug phone cable until phone reboots into system automatically.

Thanks for your time and patience mate, I've managed to successfully flash the firmware. The reason I wanted to was I had lost widevine level 1 after updating to the latest firmware. To my dismay it is still level 3 when I check on Netflix. Do you have the same issue on your tencent phone?

You're welcome.
Glad you managed to flash the FW you wanted.
I'm not sure about Widevine - will have to check & get back to you.
Did you change the country signature from CN to WW out of interest?

elmor0 said:
You're welcome.
Glad you managed to flash the FW you wanted.
I'm not sure about Widevine - will have to check & get back to you.
Did you change the country signature from CN to WW out of interest?
Click to expand...
Click to collapse
I bought it from wondamobile they did all the flashing to global rom for me. They have asked for me to return it now and they will replace it.

reuben4k said:
I bought it from wondamobile they did all the flashing to global rom for me. They have asked for me to return it now and they will replace it.
Click to expand...
Click to collapse
Im on ww .78 with a tencent variant and i have l1 can you check using drm info app and post the screenshot ?

bouyhy01 said:
Im on ww .78 with a tencent variant and i have l1 can you check using drm info app and post the screenshot ?
Click to expand...
Click to collapse
Here you go

Related

[Q] XT1100 soft brick

Phone is staing in bootloader- i cant boot any other function like at normal boot, recovery, qcom, bp tools...nothing. Device is LOCKED!!!'Allow OEM Unlock' in developer options is UNCHEKED!!!
BL: moto-apq8084-71.08 (sha-32g8854, 2014-12-09 14:00:26)
Baseband: D4.0-9625-02.95
Product/Variant: shamu XT1100 64GB P3AO
Code:
c:\adb>Fastboot oem lock begin
...
(bootloader) fastboot oem lock currently disabled!
OKAY [ 0.002s]
finished. total time: 0.002s
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.016s
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.012s
downloading 'boot.img'...
OKAY [ 0.469s]
booting...
FAILED (remote failure)
finished. total time: 0.479s
c:\adb>fastboot format cache
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
target reported max download size of 536870912 bytes
erasing 'cache'...
OKAY [ 0.026s]
sending 'cache' (6248 KB)...
OKAY [ 0.249s]
writing 'cache'...
OKAY [ 0.141s]
finished. total time: 0.426s
c:\adb>fastboot format userdata
Creating filesystem with parameters:
Size: 59743535104
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 14585824
Block groups: 446
Reserved block group size: 1024
Created filesystem with 11/3646496 inodes and 274946/14585824 blocks
target reported max download size of 536870912 bytes
erasing 'userdata'...
OKAY [ 1.700s]
sending 'userdata' (141063 KB)...
OKAY [ 5.993s]
writing 'userdata'...
OKAY [ 3.731s]
finished. total time: 11.434s
c:\adb>
c:\adb>fastboot flash system system.img
target reported max download size of 536870912 bytes
sending sparse 'system' (522112 KB)...
OKAY [ 24.621s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 24.648s
c:\adb>fastboot flash boot boot.img
target reported max download size of 536870912 bytessending 'boot' (7681 KB)...
OKAY [ 0.299s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.315s
Seriously, do you guys not search ANYWHERE? There are tons of threads regarding bricked Nexus 6s, there's even an unbricking thread about this in this very section! http://forum.xda-developers.com/showthread.php?t=3059518
brando56894 said:
Seriously, do you guys not search ANYWHERE? There are tons of threads regarding bricked Nexus 6s, there's even an unbricking thread about this in this very section! http://forum.xda-developers.com/showthread.php?t=3059518
Click to expand...
Click to collapse
read carefully- my phone not detect like HS-USB QDLoader it is like adb bootloader interface. This happened after rewrite files into /dev/block/. Backups all those files i have. Question- how to write them back?
Duumon said:
read carefully- my phone not detect like HS-USB QDLoader it is like adb bootloader interface. This happened after rewrite files into /dev/block/. Backups all those files i have. Question- how to write them back?
Click to expand...
Click to collapse
Cannot.
rootSU said:
Cannot.
Click to expand...
Click to collapse
I found the way to connect phone as HS-USB QDloader device. All filles of blank-flash.bat flashed, but phone stil dont turn on
Duumon said:
I found the way to connect phone as HS-USB QDloader device
Click to expand...
Click to collapse
How?
rootSU said:
How?
Click to expand...
Click to collapse
testpoint
Duumon said:
testpoint
Click to expand...
Click to collapse
You created a "testpoint" cable?
That's interesting - @efrant
@Duumon - are you still following this thread? http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518
@Duumon - are you still following this thread? http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518
Click to expand...
Click to collapse
yes-all those steps passed, but phone stil in locked bootloader. I think need flash boot and sysstem by qualkomm tool but.....how?
Duumon said:
yes-all those steps passed, but phone stil in locked bootloader. I think need flash boot and sysstem by qualkomm tool but.....how?
Click to expand...
Click to collapse
Did you also read post 94 (and related posts) of that thread?
@randy6644 got it to work.
http://forum.xda-developers.com/nexus-6/general/fix-fix-qhusbbulk-cm12-t3059518/post59650346
What is a testpoint cable?
Doesn't helped. Phone have cid-dead and status unlock-not supported. In photo at attach not full the last log- system and boot .img flashed with error Preflash validation failed
still dead...any ideas?
Duumon said:
I found the way to connect phone as HS-USB QDloader device. All filles of blank-flash.bat flashed, but phone stil dont turn on
Click to expand...
Click to collapse
Same Problem. Can you explain how you create the testpoint cable?
Gesendet von meinem LG-D855 mit Tapatalk

How could I recovery my Nexus 6

Hi,
I was trying to update my Nexus 6 to Android Nougat(nbd90z) today, the system image failed to be flashed. And then I locked the device by mistake. Then I became unable to flash any images.
If I tried to flash any image, it failed and the message is below.
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
If I tried to unlock the device, it failed and the message is below.
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
And because the system image failed to flash, so I can't boot the device to check the 'Allow OEM Unlock'.
Is there any way to recovery my device? Thanks very much for the help.
Below is the text from the command terminal where I tried.
<pre>
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-all.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) flashing partition ...
(bootloader) This may take a few seconds if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Flashing backup GPT image...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
(bootloader) flashing rpm ...
(bootloader) flashing tz ...
(bootloader) flashing sdi ...
(bootloader) flashing logo ...
OKAY [ 0.528s]
finished. total time: 0.657s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) flashing modem ...
(bootloader) flashing mdm1m9kefs1 ...
(bootloader) flashing mdm1m9kefs2 ...
(bootloader) flashing mdm1m9kefs3 ...
(bootloader) flashing versions ...
OKAY [ 1.609s]
finished. total time: 5.226s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 28474998784
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6951904
Block groups: 213
Reserved block group size: 1024
Created filesystem with 11/1738080 inodes and 153124/6951904 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
--------------------------------------------
Bootloader Version...: moto-apq8084-71.21
Baseband Version.....: D4.01-9625-05.42+FSG-9625-02.113
Serial Number........: ZX1G22H7C4
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.003s]
sending 'boot' (8535 KB)...
OKAY [ 0.269s]
writing 'boot'...
OKAY [ 0.161s]
sending 'recovery' (13921 KB)...
OKAY [ 0.439s]
writing 'recovery'...
OKAY [ 0.208s]
sending sparse 'system' (508909 KB)...
OKAY [ 16.031s]
writing 'system'...
OKAY [ 7.247s]
sending sparse 'system' (524036 KB)...
FAILED (status read failed (Protocol error))
finished. total time: 28.751s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot devices
ZX1G22H7C4 fastboot
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem lock
...
^C
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem lock
...
(bootloader) Device state transition will erase userdata.
(bootloader) Are you sure you want to continue this transition?
(bootloader)
(bootloader) Press POWER key to continue.
(bootloader) Press VOL UP or VOL DOWN key to cancel state transition.
(bootloader) State transition confirmed!
(bootloader) Phone is locked successfully!
OKAY [ 24.319s]
finished. total time: 24.319s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-all.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.132s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 28474998784
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6951904
Block groups: 213
Reserved block group size: 1024
Created filesystem with 11/1738080 inodes and 153124/6951904 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
--------------------------------------------
Bootloader Version...: moto-apq8084-71.21
Baseband Version.....: D4.01-9625-05.42+FSG-9625-02.113
Serial Number........: ZX1G22H7C4
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
OKAY [ 0.002s]
checking version-baseband...
OKAY [ 0.003s]
sending 'boot' (8535 KB)...
OKAY [ 0.269s]
writing 'boot'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.288s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ geany flash-base.sh
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-base.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.132s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem --help
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.001s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot reboot
rebooting...
finished. total time: 0.151s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot flash radio radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot devices
ZX1G22H7C4 fastboot
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ cd /home/zhiming/Project/Nexus/Images/shamu-mob31e/
[email protected]:~/Project/Nexus/Images/shamu-mob31e$ ls
bootloader-shamu-moto-apq8084-71.18.img flash-all.bat flash-all.sh flash-base.sh image-shamu-mob31e.zip radio-shamu-d4.01-9625-05.34+fsg-9625-02.111.img
[email protected]:~/Project/Nexus/Images/shamu-mob31e$ ./flash-all.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (10387 KB)...
OKAY [ 0.327s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.332s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
sending 'radio' (115508 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.img'
Creating filesystem with parameters:
Size: 28474998784
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 6951904
Block groups: 213
Reserved block group size: 1024
Created filesystem with 11/1738080 inodes and 153124/6951904 blocks
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
--------------------------------------------
Bootloader Version...: moto-apq8084-71.21
Baseband Version.....: D4.01-9625-05.42+FSG-9625-02.113
Serial Number........: ZX1G22H7C4
--------------------------------------------
checking product...
OKAY [ 0.002s]
checking version-bootloader...
FAILED
Device version-bootloader is 'moto-apq8084-71.21'.
Update requires 'moto-apq8084-71.18'.
finished. total time: 2.498s
[email protected]:~/Project/Nexus/Images/shamu-mob31e$ cd /home/zhiming/Project/Nexus/Images/shamu-nbd90z/
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ls
bootloader-shamu-moto-apq8084-71.21.img flash-all.bat flash-all.sh flash-base.sh image-shamu-nbd90z.zip radio-shamu-d4.01-9625-05.42+fsg-9625-02.113.img
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ ./flash-base.sh
target reported max download size of 536870912 bytes
sending 'bootloader' (4071 KB)...
OKAY [ 0.129s]
writing 'bootloader'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 0.135s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.113s
target reported max download size of 536870912 bytes
sending 'radio' (115507 KB)...
OKAY [ 3.617s]
writing 'radio'...
(bootloader) Not allowed in LOCKED state!
FAILED (remote failure)
finished. total time: 3.622s
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.151s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$ fastboot oem unlock
...
(bootloader) Check 'Allow OEM Unlock' in Developer Options.
FAILED (remote failure)
finished. total time: 0.001s
[email protected]:~/Project/Nexus/Images/shamu-nbd90z$
</pre>
ZhimingWU said:
Is there any way to recovery my device? Thanks very much for the help.
Click to expand...
Click to collapse
Flash an OTA image. They're intended to be flashed even on locked systems.
Strephon Alkhalikoi said:
Flash an OTA image. They're intended to be flashed even on locked systems.
Click to expand...
Click to collapse
Thank you for the reply. Does flashing OTA images needs to boot system normally? My phone is unable to boot system normally due to failure of flashing system image.
Strephon Alkhalikoi, thank you very much. I got my device recovered.
I followed the instructions at https://developers.google.com/android/nexus/ota, except replacing Step 3 by below steps to boot into recovery mode.
a. Hold Volume Down key and press Power key to enter fastboot mode.
b. Press Volume Down key to navigate to "Recovery mode" and press Power key.
ZhimingWU said:
Thank you for the reply. Does flashing OTA images needs to boot system normally? My phone is unable to boot system normally due to failure of flashing system image.
Click to expand...
Click to collapse
Do you have recovery installed?
If yes and hopefully TWRP which is best option, just go to recovery, mount phone, transfer OTA image, factory reset, and flash it.
Also, if upgrading from 6.x.x to 7.0.0 you must flash the Nougat bootloader img. which in order to do it, i recommand using Nexus toolkit which you could access only via phone being on.
So what i do recommand is the next thing:
download 6.x.x ota and install it.
boot into phone, unlock developer options and usb debugging, also check the "oem unlocking".
plug the phone to the pc while using an adb program like nexus tookit, unlock bootloader.
then download the Nougat bootloader img, and radio img (not a must). into the pc, and flash it via nexus root toolkit once again.
After your'e done flashing, all you have to do is go to recovery mode and flash the Nougat rom.
And before all that, make sure you have the latest TWRK recovery.

Need Help Bad - Fastboot -W

C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot edl
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w
wiping userdata...
Creating filesystem with parameters:
Size: 122758868992
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 29970427
Block groups: 915
Reserved block group size: 1024
Created filesystem with 11/7495680 inodes and 518576/29970427 blocks
target reported max download size of 536870912 bytes
wiping cache...
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
erasing 'userdata'...
OKAY [ 0.005s]
sending 'userdata' (145110 KB)...
OKAY [ 4.174s]
writing 'userdata'...
OKAY [ 1.607s]
erasing 'cache'...
OKAY [ 0.017s]
sending 'cache' (6248 KB)...
OKAY [ 0.209s]
writing 'cache'...
OKAY [ 0.073s]
finished. total time: 6.091s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn_dcb9895fd6.tar"
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn_dcb9895fd6.tar': Invalid file
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn_dcb9895fd6.img
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn_dcb9895fd6.img': Invalid file
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn"
W/ ( 5580): Unable to open 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn': Permission denied
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn': I/O Error
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn\images\boot.img"
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn\images\boot.img': Invalid file
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn.zip"
W/ ( 1184): Unable to open 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn.zip': Permission denied
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn.zip': I/O Error
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn"
W/ ( 9664): Unable to open 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn': Permission denied
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn': I/O Error
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot update "C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn"
W/ ( 8648): Unable to open 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn': Permission denied
error: failed to open zip file 'C:\Users\Administrator\Desktop\globalrom\lithium_images_6.11.10_20161110.0000.00_6.0_cn': I/O Error
C:\Program Files (x86)\Minimal ADB and Fastboot>
I fastboot -w then proceeded to run a fastboot update and as shown receive a failed to open zip file.
I only tried "fastboot update" after having no success with the mi flash tool ( after selecting directory of .tgz file and hitting refresh the program fails to respond). I only then downloaded the MiPCSuite after the phone got bricked and now it won't connect to computer. Any ideas? Please help.
As you can see from the commands ran, I used winzip to unzip and tried flashing .img with no success.
Hi guys ended up downloading the beta mi flash tool, still didn't work. re-extracted the .tgz and saw that the first extraction did not unzip all files.
Did it again and it was able to flash.
that's fortunate.

Unbrick (?)

Hello. At some point, the phone turned off and then when you press the power button, the phone booted up to the moment with the logo prowered by android -> Asus and turned off.
If you put your phone on charge: battery logo -> powered by android -> Asus.
When using keyboard shortcuts, fastboot works.
There were attempts to flash through the fastboot to the v16 firmware and the factory one, but everything is useless, everything is going well through cmd, until the partition table is updated.
I hope for help in resuscitation.
Code:
==========================================
ZE620KL raw flashing program
Version 20180129
==========================================
erase cmd: -f
need_wipe_data: 1
Please connect device to host.
This is ZE620KL device!
This is FUSED device!
This is SDM636 CPU!
Device support check CID !!
Device's CID is ASUS!
RAW file found: OPEN_ZE620KL_15.0501.1711.46_M1.2.2.P8_Factory_Phone-userdebug.raw
file size is: 2236165676 bytes(2183755 Kbytes)
This is ZE620KL RAW file for ZE620KL device.
Folder is not exsit
Get return message:
aft_support: yes
finished. total time: 0.001s
Support AFT security.
fastboot device serial: J8AXB765A124HL4
fastboot device serial len: 15
target reported max download size of 536870912 bytes
sending 'aft' (0 KB)...
OKAY [ 0.008s]
writing 'aft'...
OKAY [ 0.003s]
finished. total time: 0.013s
Start process RAW file: OPEN_ZE620KL_15.0501.1711.46_M1.2.2.P8_Factory_Phone-userdebug.raw
file size is: 2236165676 bytes(2183755 Kbytes)
This is ZE620KL RAW file for ZE620KL device.
=================================================================================
Process File for partition label: partition, size: 262144bytes
#=================================================================================
Process File for partition label: xbl, size: 2883584bytes
#=================================================================================
Process File for partition label: abl, size: 262144bytes
#=================================================================================
Process File for partition label: pmic, size: 262144bytes
#=================================================================================
Process File for partition label: rpm, size: 262144bytes
#=================================================================================
Process File for partition label: tz, size: 2097152bytes
#=================================================================================
Process File for partition label: hyp, size: 524288bytes
#=================================================================================
Process File for partition label: devcfg, size: 262144bytes
#=================================================================================
Process File for partition label: cmnlib, size: 262144bytes
#=================================================================================
Process File for partition label: cmnlib64, size: 524288bytes
#=================================================================================
Process File for partition label: keymaster, size: 524288bytes
#=================================================================================
Process File for partition label: xblbak, size: 2883584bytes
#=================================================================================
Process File for partition label: ablbak, size: 262144bytes
#=================================================================================
Process File for partition label: pmicbak, size: 262144bytes
#=================================================================================
Process File for partition label: rpmbak, size: 262144bytes
#=================================================================================
Process File for partition label: tzbak, size: 2097152bytes
#=================================================================================
Process File for partition label: hypbak, size: 524288bytes
#=================================================================================
Process File for partition label: devcfgbak, size: 262144bytes
#=================================================================================
Process File for partition label: cmnlibbak, size: 262144bytes
#=================================================================================
Process File for partition label: cmnlib64bak, size: 524288bytes
#=================================================================================
Process File for partition label: keymasterbak, size: 524288bytes
#=================================================================================
Process File for partition label: dsp, size: 16777216bytes
#=================================================================================
Process File for partition label: modem, size: 106430464bytes
#=================================================================================
Process File for partition label: logfs, size: 16384bytes
#=================================================================================
Process File for partition label: bluetooth, size: 536576bytes
#=================================================================================
Process File for partition label: boot, size: 18087936bytes
#=================================================================================
Process File for partition label: recovery, size: 21495808bytes
#=================================================================================
Process File for partition label: asusfw, size: 67108864bytes
#=================================================================================
Process File for partition label: system, size: 1281728448bytes
###=================================================================================
Process File for partition label: vendor, size: 707982956bytes
##
========================================
Flashing gpt_both0.bin for partition begin
========================================
target reported max download size of 536870912 bytes
sending 'CRC' (0 KB)...
OKAY [ 0.009s]
writing 'CRC'...
OKAY [ 0.008s]
finished. total time: 0.019s
target reported max download size of 536870912 bytes
sending 'partition' (256 KB)...
OKAY [ 0.014s]
writing 'partition'...
FAILED (remote: Error Updating partition Table
)
finished. total time: 0.033s
!!!ERROR to flash!!!
ERROR: Flashing files!
errorlevel="1"

Error flashing WW ROM

Volume in drive C is OS
Volume Serial Number is C00C-20F3
Directory of C:\Users\karti\Desktop\RAW FILE
30-Jul-20 10:48 AM 922,620,740 WW_ZS661KS_17.0823.2007.32_M2.23.3.27-ASUS_1.1.9_Phone-user.raw
1 File(s) 922,620,740 bytes
0 Dir(s) 134,481,952,768 bytes free
"Flashing begine: 13-Dec-20, 20:49:23.00]"
[FLASH_RAW] ==========================================
[FLASH_RAW] ZS661KS raw flashing program
[FLASH_RAW] Version 20200518
[FLASH_RAW] ==========================================
[FLASH_RAW] RAW file found: WW_ZS661KS_17.0823.2007.32_M2.23.3.27-ASUS_1.1.9_Phone-user.raw
[FLASH_RAW] Please connect device to host.
[FLASH_RAW] This is ZS661KS device!
[FLASH_RAW] This is FUSED device!
[FLASH_RAW] DDR type is: LPDDR5!
[FLASH_RAW] IMEI: RD
[FLASH_RAW] Device's CID is ASUS!
[FLASH_RAW] Set CID name to: ASUS
[FLASH_RAW] file size is: 922620740 bytes(900996 Kbytes)
[FLASH_RAW] WW SKU RAW image.
[FLASH_RAW][XROM] ZS661KS RAW SKU.
[FLASH_RAW] This is ZS661KS RAW file!
[FLASH_RAW] Target device is ZS661KS.
[FLASH_RAW] Raw file's xrom image name: ASUS-xrom.img
[FLASH_RAW] Folder exsits
[FLASH_RAW] === start raw file integrity check ==
[FLASH_RAW] file size is: 922620740 bytes(900996 Kbytes)
[FLASH_RAW] WW SKU RAW image.
[FLASH_RAW] ZS661KS RAW SKU.
[FLASH_RAW] RAW image Version: 2
[FLASH_RAW] This is ZS661KS RAW file!
[FLASH_RAW] Target device is ZS661KS.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both0.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both1.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both2.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both3.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both4.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both5.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: gpt_both6.bin.E, size: 45056bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: xbl_lp4.elf.E, size: 3436952bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: xbl_config_lp4.elf.E, size: 97744bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: xbl_lp5.elf.E, size: 3466344bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: xbl_config_lp5.elf.E, size: 97872bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: abl.elf.E, size: 716800bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: uefi_sec.mbn.E, size: 125481bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: imagefv.elf.E, size: 40960bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: aop.mbn.E, size: 201844bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: tz.mbn.E, size: 3305512bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: hyp.mbn.E, size: 445320bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: devcfg.mbn.E, size: 48468bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: cmnlib.mbn.E, size: 391824bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: cmnlib64.mbn.E, size: 507944bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: km4.mbn.E, size: 250799bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: qupv3fw.elf.E, size: 53647bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: logfs_ufs_8mb.bin.E, size: 16384bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: asusfw.img.E, size: 16777216bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: ASUS-xrom.img.E, size: 419430400bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: vbmeta.img.E, size: 8192bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ========================================================Erasing 'mdmddr' OKAY [ 0.019s]
Finished. Total time: 0.030s
Erasing 'ddr' OKAY [ 0.014s]
Finished. Total time: 0.023s
==================
[FLASH_RAW] Checking File: vbmeta_system.img.E, size: 4096bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: recovery.img.E, size: 104857600bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: dtbo.img.E, size: 8388608bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: boot.img.E, size: 100663296bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: BTFM.bin.E, size: 421888bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: dspso.bin.E, size: 67108864bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: multi_image.mbn.E, size: 13512bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: featenabler.mbn.E, size: 77464bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: NON-HLOS.bin.E, size: 151433216bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: rog3_crc_check.cmd.E, size: 10830bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: partition_checksum_list.txt.E, size: 735bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Checking File: boot-debug.img.E, size: 39895040bytes
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Pass CRC32 comparsion.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Start flashing
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Support flashing security.
[FLASH_RAW] Grant flashing permission.
[FLASH_RAW] Set active slot to a before flashing images.
[FLASH_RAW] Erase mdmddr
[FLASH_RAW] Erase ddr
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Flashing Bootloader
[FLASH_RAW] ==========================================================================
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing xbl_lp5.elf for: xbl begin
[FLASH_RAW] -----------------------------------------------------
Sending 'xbl' (3385 KB) OKAY [ 0.076s]
Writing 'xbl' OKAY [ 0.048s]
Finished. Total time: 0.140s
[FLASH_RAW] Flashing image for: xbl done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing xbl_config_lp5.elf for: xbl_config begin
[FLASH_RAW] -----------------------------------------------------
Sending 'xbl_config' (95 KB) OKAY [ 0.009s]
Writing 'xbl_config' OKAY [ 0.009s]
Finished. Total time: 0.036s
[FLASH_RAW] Flashing image for: xbl_config done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing abl.elf for: abl begin
[FLASH_RAW] -----------------------------------------------------
Sending 'abl' (700 KB) OKAY [ 0.022s]
Writing 'abl' OKAY [ 0.006s]
Finished. Total time: 0.046s
[FLASH_RAW] Flashing image for: abl done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing uefi_sec.mbn for: uefisecapp begin
[FLASH_RAW] -----------------------------------------------------
Sending 'uefisecapp' (122 KB) OKAY [ 0.012s]
Writing 'uefisecapp' OKAY [ 0.005s]
Finished. Total time: 0.035s
[FLASH_RAW] Flashing image for: uefisecapp done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing imagefv.elf for: imagefv begin
[FLASH_RAW] -----------------------------------------------------
Sending 'imagefv' (40 KB) OKAY [ 0.003s]
Writing 'imagefv' OKAY [ 0.004s]
Finished. Total time: 0.024s
[FLASH_RAW] Flashing image for: imagefv done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing aop.mbn for: aop begin
[FLASH_RAW] -----------------------------------------------------
Sending 'aop' (197 KB) OKAY [ 0.010s]
Writing 'aop' OKAY [ 0.005s]
Finished. Total time: 0.032s
[FLASH_RAW] Flashing image for: aop done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing tz.mbn for: tz begin
[FLASH_RAW] -----------------------------------------------------
Sending 'tz' (3228 KB) OKAY [ 0.079s]
Writing 'tz' OKAY [ 0.016s]
Finished. Total time: 0.119s
[FLASH_RAW] Flashing image for: tz done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing hyp.mbn for: hyp begin
[FLASH_RAW] -----------------------------------------------------
Sending 'hyp' (434 KB) OKAY [ 0.012s]
Writing 'hyp' OKAY [ 0.006s]
Finished. Total time: 0.033s
[FLASH_RAW] Flashing image for: hyp done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing devcfg.mbn for: devcfg begin
[FLASH_RAW] -----------------------------------------------------
Sending 'devcfg' (47 KB) OKAY [ 0.004s]
Writing 'devcfg' OKAY [ 0.005s]
Finished. Total time: 0.025s
[FLASH_RAW] Flashing image for: devcfg done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing cmnlib.mbn for: cmnlib begin
[FLASH_RAW] -----------------------------------------------------
Sending 'cmnlib' (382 KB) OKAY [ 0.013s]
Writing 'cmnlib' OKAY [ 0.006s]
Finished. Total time: 0.034s
[FLASH_RAW] Flashing image for: cmnlib done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing cmnlib64.mbn for: cmnlib64 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'cmnlib64' (496 KB) OKAY [ 0.014s]
Writing 'cmnlib64' OKAY [ 0.006s]
Finished. Total time: 0.037s
[FLASH_RAW] Flashing image for: cmnlib64 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing km4.mbn for: keymaster begin
[FLASH_RAW] -----------------------------------------------------
Sending 'keymaster' (244 KB) OKAY [ 0.007s]
Writing 'keymaster' OKAY [ 0.005s]
Finished. Total time: 0.029s
[FLASH_RAW] Flashing image for: keymaster done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing qupv3fw.elf for: qupfw begin
[FLASH_RAW] -----------------------------------------------------
Sending 'qupfw' (52 KB) OKAY [ 0.007s]
Writing 'qupfw' OKAY [ 0.004s]
Finished. Total time: 0.026s
[FLASH_RAW] Flashing image for: qupfw done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Reboot bootloader
[FLASH_RAW] -----------------------------------------------------
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.002s
[FLASH_RAW] This is ZS661KS device!
[FLASH_RAW] This is FUSED device!
[FLASH_RAW] Support flashing security.
[FLASH_RAW] Grant flashing permission.
[FLASH_RAW] good H.
[FLASH_RAW] Support signature check.
[FLASH_RAW] The RAW image is signed.
[FLASH_RAW] IMEI: RD
[FLASH_RAW] WW SKU RAW image.
[FLASH_RAW] Device is for RD.
[FLASH_RAW] Set active slot to a before flashing images.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Flashing GPT table
[FLASH_RAW] ==========================================================================
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both0.bin for: partition:0 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:0' (44 KB) OKAY [ 0.005s]
Writing 'partition:0' OKAY [ 0.197s]
Finished. Total time: 0.219s
[FLASH_RAW] Flashing image for: partition:0 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both1.bin for: partition:1 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:1' (44 KB) OKAY [ 0.010s]
Writing 'partition:1' OKAY [ 0.220s]
Finished. Total time: 0.246s
[FLASH_RAW] Flashing image for: partition:1 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both2.bin for: partition:2 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:2' (44 KB) OKAY [ 0.008s]
Writing 'partition:2' OKAY [ 0.518s]
Finished. Total time: 0.543s
[FLASH_RAW] Flashing image for: partition:2 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both3.bin for: partition:3 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:3' (44 KB) OKAY [ 0.010s]
Writing 'partition:3' OKAY [ 1.420s]
Finished. Total time: 1.447s
[FLASH_RAW] Flashing image for: partition:3 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both4.bin for: partition:4 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:4' (44 KB) OKAY [ 0.007s]
Writing 'partition:4' OKAY [ 1.714s]
Finished. Total time: 1.739s
[FLASH_RAW] Flashing image for: partition:4 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both5.bin for: partition:5 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:5' (44 KB) OKAY [ 0.004s]
Writing 'partition:5' OKAY [ 1.520s]
Finished. Total time: 1.543s
[FLASH_RAW] Flashing image for: partition:5 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing gpt_both6.bin for: partition:6 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'partition:6' (44 KB) OKAY [ 0.008s]
Writing 'partition:6' OKAY [ 1.542s]
Finished. Total time: 1.567s
[FLASH_RAW] Flashing image for: partition:6 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing xbl_lp5.elf for: xbl begin
[FLASH_RAW] -----------------------------------------------------
Sending 'xbl' (3385 KB) OKAY [ 0.080s]
Writing 'xbl' OKAY [ 0.122s]
Finished. Total time: 0.218s
[FLASH_RAW] Flashing image for: xbl done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing xbl_config_lp5.elf for: xbl_config begin
[FLASH_RAW] -----------------------------------------------------
Sending 'xbl_config' (95 KB) OKAY [ 0.010s]
Writing 'xbl_config' OKAY [ 0.009s]
Finished. Total time: 0.036s
[FLASH_RAW] Flashing image for: xbl_config done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing abl.elf for: abl begin
[FLASH_RAW] -----------------------------------------------------
Sending 'abl' (700 KB) OKAY [ 0.022s]
Writing 'abl' OKAY [ 0.004s]
Finished. Total time: 0.043s
[FLASH_RAW] Flashing image for: abl done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing uefi_sec.mbn for: uefisecapp begin
[FLASH_RAW] -----------------------------------------------------
Sending 'uefisecapp' (122 KB) OKAY [ 0.004s]
Writing 'uefisecapp' OKAY [ 0.005s]
Finished. Total time: 0.023s
[FLASH_RAW] Flashing image for: uefisecapp done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing imagefv.elf for: imagefv begin
[FLASH_RAW] -----------------------------------------------------
Sending 'imagefv' (40 KB) OKAY [ 0.008s]
Writing 'imagefv' OKAY [ 0.004s]
Finished. Total time: 0.027s
[FLASH_RAW] Flashing image for: imagefv done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing aop.mbn for: aop begin
[FLASH_RAW] -----------------------------------------------------
Sending 'aop' (197 KB) OKAY [ 0.007s]
Writing 'aop' OKAY [ 0.005s]
Finished. Total time: 0.028s
[FLASH_RAW] Flashing image for: aop done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing tz.mbn for: tz begin
[FLASH_RAW] -----------------------------------------------------
Sending 'tz' (3228 KB) OKAY [ 0.077s]
Writing 'tz' OKAY [ 0.012s]
Finished. Total time: 0.105s
[FLASH_RAW] Flashing image for: tz done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing hyp.mbn for: hyp begin
[FLASH_RAW] -----------------------------------------------------
Sending 'hyp' (434 KB) OKAY [ 0.011s]
Writing 'hyp' OKAY [ 0.006s]
Finished. Total time: 0.041s
[FLASH_RAW] Flashing image for: hyp done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing devcfg.mbn for: devcfg begin
[FLASH_RAW] -----------------------------------------------------
Sending 'devcfg' (47 KB) OKAY [ 0.006s]
Writing 'devcfg' OKAY [ 0.006s]
Finished. Total time: 0.028s
[FLASH_RAW] Flashing image for: devcfg done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing cmnlib.mbn for: cmnlib begin
[FLASH_RAW] -----------------------------------------------------
Sending 'cmnlib' (382 KB) OKAY [ 0.015s]
Writing 'cmnlib' OKAY [ 0.006s]
Finished. Total time: 0.038s
[FLASH_RAW] Flashing image for: cmnlib done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing cmnlib64.mbn for: cmnlib64 begin
[FLASH_RAW] -----------------------------------------------------
Sending 'cmnlib64' (496 KB) OKAY [ 0.012s]
Writing 'cmnlib64' OKAY [ 0.006s]
Finished. Total time: 0.035s
[FLASH_RAW] Flashing image for: cmnlib64 done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing km4.mbn for: keymaster begin
[FLASH_RAW] -----------------------------------------------------
Sending 'keymaster' (244 KB) OKAY [ 0.015s]
Writing 'keymaster' OKAY [ 0.005s]
Finished. Total time: 0.037s
[FLASH_RAW] Flashing image for: keymaster done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Flashing qupv3fw.elf for: qupfw begin
[FLASH_RAW] -----------------------------------------------------
Sending 'qupfw' (52 KB) OKAY [ 0.004s]
Writing 'qupfw' OKAY [ 0.004s]
Finished. Total time: 0.026s
[FLASH_RAW] Flashing image for: qupfw done
[FLASH_RAW] ----------------------------------------------------
[FLASH_RAW] Reboot bootloader
[FLASH_RAW] -----------------------------------------------------
Rebooting into bootloader OKAY [ 0.001s]
Finished. Total time: 0.007s
[FLASH_RAW] This is ZS661KS device!
[FLASH_RAW] This is FUSED device!
[FLASH_RAW] Support flashing security.
[FLASH_RAW] Grant flashing permission.
[FLASH_RAW] IMEI: RD
[FLASH_RAW] WW SKU RAW image.
[FLASH_RAW] Device is for RD.
[FLASH_RAW] Set active slot to a before flashing images.
[FLASH_RAW] ==========================================================================
[FLASH_RAW] Flashing All
[FLASH_RAW] ==========================================================================
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing logfs_ufs_8mb.bin for: logfs begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'logfs' (16 KB) OKAY [ 0.011s]
Writing 'logfs' OKAY [ 0.004s]
Finished. Total time: 0.036s
[FLASH_RAW] Flashing image for: logfs done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing asusfw.img for: asusfw begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'asusfw' (16384 KB) OKAY [ 0.360s]
Writing 'asusfw' OKAY [ 0.045s]
Finished. Total time: 0.429s
[FLASH_RAW] Flashing image for: asusfw done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing ASUS-xrom.img for: xrom begin
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Erase xrom partition.
******** Did you mean to fastboot format this ext4 partition?
Erasing 'xrom' OKAY [ 0.018s]
Finished. Total time: 0.029s
[FLASH_RAW] Erase xrom partiton done.
Sending 'xrom' (409600 KB) OKAY [ 8.736s]
Writing 'xrom' OKAY [ 1.166s]
Finished. Total time: 9.920s
[FLASH_RAW] Flashing image for: xrom done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing vbmeta.img for: vbmeta begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'vbmeta' (8 KB) OKAY [ 0.009s]
Writing 'vbmeta' OKAY [ 0.004s]
Finished. Total time: 0.026s
[FLASH_RAW] Flashing image for: vbmeta done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing vbmeta_system.img for: vbmeta_system begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'vbmeta_system' (4 KB) OKAY [ 0.008s]
Writing 'vbmeta_system' OKAY [ 0.003s]
Finished. Total time: 0.027s
[FLASH_RAW] Flashing image for: vbmeta_system done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing recovery.img for: recovery begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'recovery' (102400 KB) OKAY [ 2.187s]
Writing 'recovery' OKAY [ 0.267s]
Finished. Total time: 2.472s
[FLASH_RAW] Flashing image for: recovery done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing dtbo.img for: dtbo begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'dtbo' (8192 KB) OKAY [ 0.184s]
Writing 'dtbo' OKAY [ 0.028s]
Finished. Total time: 0.230s
[FLASH_RAW] Flashing image for: dtbo done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing boot.img for: boot begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'boot_a' (98304 KB) OKAY [ 2.100s]
Writing 'boot_a' OKAY [ 0.316s]
Finished. Total time: 2.439s
[FLASH_RAW] Flashing image for: boot done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing BTFM.bin for: bluetooth begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'bluetooth' (412 KB) OKAY [ 0.018s]
Writing 'bluetooth' OKAY [ 0.005s]
Finished. Total time: 0.042s
[FLASH_RAW] Flashing image for: bluetooth done
[FLASH_RAW] -----------------------------------------------------------------------------
[FLASH_RAW] Flashing dspso.bin for: dsp begin
[FLASH_RAW] -----------------------------------------------------------------------------
Sending 'dsp' (65536 KB) FAILED (Write to device failed in SendBuffer() (no link))
fastboot: error: Command failed
[FLASH_RAW][ERROR] to flash!!!
[FLASH_RAW][ERROR] Flashing files!
I am unable to flash my device and it gives me the following error, how can I flash my device successfully? It's currently on bootloader mode and bricked. I have been using these files and following this tutorial from YouTube,
Any HELP is greatly appreciated!

Categories

Resources