[Huawei P20 Pro Questions & Answers] aheadofsingularity:
ok, later.

I don't even know too. The thing before the bricked was just stop operation of ACC Daemon (Advanced Charging Controller) via AccA (It's old GUI third party client), then some time later, I shutdown my phone manually at night. Then next day I woke up the phone bricked. scared. I don't know actually what is happening.

I'll try it. When I mount, the system says the file is corrupted. Can you tell me how to use it on Cygwin-Mingw-w64 on windows? to use simg2img on windows?

Yeah I don't know much about ptable, its just copied and pasted from gsm forum without brain. I already tried before to make this thread, but they are mostly fail - except CACHE,CUST,KERNEL,RAMDISK,RECOVERY_RAMDISK,RECOVERY_VBMETA,RECOVERY_VENDOR,SYSTEM,USERDATA,VBMETA.

Other partition should corrupted.

c:\platform-tools\img\emui801145>flash

c:\platform-tools\img\emui801145>cd c:\platform-tools\img\emui801145\

c:\platform-tools\img\emui801145>fastboot flash ptable HISIUFS_GPT.img
Sending 'ptable' (196 KB) OKAY [ 0.008s]
Writing 'ptable' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash cache CACHE.img
Sending 'cache' (6200 KB) OKAY [ 0.138s]
Writing 'cache' OKAY [ 0.048s]
Finished. Total time: 0.218s

c:\platform-tools\img\emui801145>fastboot flash crc CRC.img
Sending 'crc' (316 KB) OKAY [ 0.009s]
Writing 'crc' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash curver CURVER.img
Sending 'curver' (0 KB) OKAY [ 0.005s]
Writing 'curver' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash cust CUST.img
Sending 'cust' (8796 KB) OKAY [ 0.194s]
Writing 'cust' OKAY [ 0.069s]
Finished. Total time: 0.295s

c:\platform-tools\img\emui801145>fastboot flash dto DTO.img
Sending 'dto' (5248 KB) OKAY [ 0.118s]
Writing 'dto' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash dts DTS.img
Sending 'dts' (17792 KB) OKAY [ 0.390s]
Writing 'dts' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash erecovery_kernel ERECOVERY_KERNE.img
Sending 'erecovery_kernel' (24576 KB) OKAY [ 0.537s]
Writing 'erecovery_kernel' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash erecovery_ramdisk ERECOVERY_RAMDI.img
Sending 'erecovery_ramdisk' (32768 KB) OKAY [ 0.720s]
Writing 'erecovery_ramdisk' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash erecovery_vbmeta ERECOVERY_VBMET.img
Sending 'erecovery_vbmeta' (6 KB) OKAY [ 0.005s]
Writing 'erecovery_vbmeta' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash erecovery_vendor ERECOVERY_VENDO.img
Sending 'erecovery_vendor' (16384 KB) OKAY [ 0.358s]
Writing 'erecovery_vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash fastboot FASTBOOT.img
Sending 'fastboot' (2908 KB) OKAY [ 0.066s]
Writing 'fastboot' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash fw_hifi FW_HIFI.img
Sending 'fw_hifi' (5833 KB) OKAY [ 0.129s]
Writing 'fw_hifi' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash fw_lpm3 FW_LPM3.img
Sending 'fw_lpm3' (220 KB) OKAY [ 0.009s]
Writing 'fw_lpm3' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash hdcp HDCP.img
Sending 'hdcp' (215 KB) OKAY [ 0.010s]
Writing 'hdcp' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash hhee HHEE.img
Sending 'hhee' (68 KB) OKAY [ 0.006s]
Writing 'hhee' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash hisee_fs HISEE_FS.img
Sending 'hisee_fs' (4288 KB) OKAY [ 0.097s]
Writing 'hisee_fs' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash hisee_img HISEE_IMG.img
Sending 'hisee_img' (575 KB) OKAY [ 0.019s]
Writing 'hisee_img' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash isp_firmware ISP_FIRMWARE.img
Sending 'isp_firmware' (7124 KB) OKAY [ 0.157s]
Writing 'isp_firmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash kernel KERNEL.img
Sending 'kernel' (24576 KB) OKAY [ 0.534s]
Writing 'kernel' OKAY [ 0.387s]
Finished. Total time: 0.960s

c:\platform-tools\img\emui801145>fastboot flash modem_fw MODEM_FW.img
Sending 'modem_fw' (57344 KB) OKAY [ 1.248s]
Writing 'modem_fw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash modemnvm_cust MODEMNVM_CUST.img
Sending 'modemnvm_cust' (1367 KB) OKAY [ 0.031s]
Writing 'modemnvm_cust' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash modemnvm_update MODEMNVM_UPDATE.img
Sending 'modemnvm_update' (7890 KB) OKAY [ 0.173s]
Writing 'modemnvm_update' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash odm ODM.img
Sending 'odm' (128679 KB) OKAY [ 2.831s]
Writing 'odm' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash package_type PACKAGE_TYPE.img
Sending 'package_type' (0 KB) OKAY [ 0.005s]
Writing 'package_type' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash product PRODUCT.img
Sending 'product' (171229 KB) OKAY [ 3.743s]
Writing 'product' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash ramdisk RAMDISK.img
Sending 'ramdisk' (16384 KB) OKAY [ 0.364s]
Writing 'ramdisk' OKAY [ 0.066s]
Finished. Total time: 0.475s

c:\platform-tools\img\emui801145>fastboot flash recovery_ramdisk twrp-3.7.0_9-0-charlotte.img
Sending 'recovery_ramdisk' (12780 KB) OKAY [ 0.286s]
Writing 'recovery_ramdisk' OKAY [ 0.056s]
Finished. Total time: 0.386s

c:\platform-tools\img\emui801145>fastboot flash recovery_vbmeta RECOVERY_VBMETA.img
Sending 'recovery_vbmeta' (6 KB) OKAY [ 0.005s]
Writing 'recovery_vbmeta' OKAY [ 0.026s]
Finished. Total time: 0.068s

c:\platform-tools\img\emui801145>fastboot flash recovery_vendor RECOVERY_VENDOR.img
Sending 'recovery_vendor' (16384 KB) OKAY [ 0.362s]
Writing 'recovery_vendor' OKAY [ 0.075s]
Finished. Total time: 0.484s

c:\platform-tools\img\emui801145>fastboot flash sensorhub SENSORHUB.img
Sending 'sensorhub' (1998 KB) OKAY [ 0.044s]
Writing 'sensorhub' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash sha256rsa SHA256RSA.img
Sending 'sha256rsa' (0 KB) OKAY [ 0.004s]
Writing 'sha256rsa' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash system SYSTEM.img
Sending sparse 'system' 1/9 (460797 KB) OKAY [ 10.325s]
Writing 'system' OKAY [ 2.779s]
Sending sparse 'system' 2/9 (447660 KB) OKAY [ 9.937s]
Writing 'system' OKAY [ 2.337s]
Sending sparse 'system' 3/9 (453596 KB) OKAY [ 10.738s]
Writing 'system' OKAY [ 4.156s]
Sending sparse 'system' 4/9 (449622 KB) OKAY [ 9.988s]
Writing 'system' OKAY [ 2.656s]
Sending sparse 'system' 5/9 (449209 KB) OKAY [ 10.252s]
Writing 'system' OKAY [ 3.189s]
Sending sparse 'system' 6/9 (459426 KB) OKAY [ 10.161s]
Writing 'system' OKAY [ 2.670s]
Sending sparse 'system' 7/9 (459279 KB) OKAY [ 10.036s]
Writing 'system' OKAY [ 2.430s]
Sending sparse 'system' 8/9 (441570 KB) OKAY [ 9.704s]
Writing 'system' OKAY [ 2.295s]
Sending sparse 'system' 9/9 (183413 KB) OKAY [ 4.082s]
Writing 'system' OKAY [ 0.980s]
Finished. Total time: 109.501s

c:\platform-tools\img\emui801145>fastboot flash teeos TEEOS.img
Sending 'teeos' (4833 KB) OKAY [ 0.108s]
Writing 'teeos' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash trustfirmware TRUSTFIRMWARE.img
Sending 'trustfirmware' (175 KB) OKAY [ 0.008s]
Writing 'trustfirmware' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash ufsfw UFSFW.img
Sending 'ufsfw' (8963 KB) OKAY [ 0.197s]
Writing 'ufsfw' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash userdata USERDATA.img
Sending 'userdata' (24576 KB) OKAY [ 0.546s]
Writing 'userdata' (bootloader) success to erase cryypt info in oeminfo
OKAY [ 0.732s]
Finished. Total time: 1.321s

c:\platform-tools\img\emui801145>fastboot flash vbmeta VBMETA.img
Sending 'vbmeta' (9 KB) OKAY [ 0.004s]
Writing 'vbmeta' OKAY [ 0.024s]
Finished. Total time: 0.061s

c:\platform-tools\img\emui801145>fastboot flash vector VECTOR.img
Sending 'vector' (1190 KB) OKAY [ 0.031s]
Writing 'vector' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash vendor VENDOR.img
Sending sparse 'vendor' 1/2 (459260 KB) OKAY [ 10.511s]
Writing 'vendor' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash verlist VERLIST.img
Sending 'verlist' (2 KB) OKAY [ 0.005s]
Writing 'verlist' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash version VERSION.img
Sending 'version' (4424 KB) OKAY [ 0.100s]
Writing 'version' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>fastboot flash xloader XLOADER.img
Sending 'xloader' (172 KB) OKAY [ 0.009s]
Writing 'xloader' FAILED (remote: 'Command not allowed')
fastboot: error: Command failed

c:\platform-tools\img\emui801145>