问题一:Partition should be flashed in fastbootd
FAILED (remote: Partition should be flashed in fastbootd)
解决:
升级到fastboot version 34.0.5-10900879
版本后发现可以使用。(建议升级至fastboot version 33.0.1-8253317
)
但是遇到了问题二:
问题二:Could not open super partition
~ ./flash-all.sh
Rebooting into fastboot OKAY [ 0.060s]
< waiting for any device >
Sending 'system_a' (4 KB) OKAY [ 0.001s]
Updating super partition OKAY [ 0.020s]
Deleting 'system_b' FAILED (remote: 'Could not open super partition')
fastboot: error: Command failed
解决:
建议降低版本,降低版本至fastboot version 33.0.1-8253317
低版本下载地址:
https://dl.google.com/android/repository/platform-tools_r33.0.1-darwin.zip
更改platform-tools_r33.0.1-darwin.zip
此处版本和系统即可。
刷机一次成功。
➜ crosshatch-sp1a.210812.016.c2 ./flash-all.sh
Sending 'bootloader' (8521 KB) OKAY [ 0.245s]
Writing 'bootloader' FAILED (remote: 'No such file or directory')
fastboot: error: Command failed
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.000s
< waiting for any device >
Sending 'radio_a' (71468 KB) OKAY [ 2.030s]
Writing 'radio_a' (bootloader) Flashing Pack version SSD:g845-00194-210812-B-7635520
(bootloader) Flashing partition modem_a
OKAY [ 0.422s]
Finished. Total time: 2.842s
Rebooting into bootloader OKAY [ 0.079s]
Finished. Total time: 0.079s
--------------------------------------------
Bootloader Version...: b1c1-0.4-7617406
Baseband Version.....: g845-00194-210812-B-7635520
Serial Number........: ******
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.060s]
Checking 'version-bootloader' OKAY [ 0.060s]
Checking 'version-baseband' OKAY [ 0.060s]
Setting current slot to 'a' OKAY [ 0.075s]
extracting boot.img (64 MB) to disk... took 0.221s
archive does not contain 'boot.sig'
Sending 'boot_a' (65536 KB) OKAY [ 1.630s]
Writing 'boot_a' OKAY [ 0.319s]
archive does not contain 'init_boot.img'
extracting dtbo.img (8 MB) to disk... took 0.019s
archive does not contain 'dtbo.sig'
Sending 'dtbo_a' (8192 KB) OKAY [ 0.300s]
Writing 'dtbo_a' OKAY [ 0.097s]
archive does not contain 'dt.img'
archive does not contain 'pvmfw.img'
archive does not contain 'recovery.img'
extracting vbmeta.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta.sig'
Sending 'vbmeta_a' (8 KB) OKAY [ 0.120s]
Writing 'vbmeta_a' OKAY [ 0.068s]
archive does not contain 'vbmeta_system.img'
archive does not contain 'vbmeta_vendor.img'
archive does not contain 'vendor_boot.img'
extracting super_empty.img (0 MB) to disk... took 0.000s
Rebooting into fastboot OKAY [ 0.060s]
< waiting for any device >
Sending 'system_a' (4 KB) OKAY [ 0.001s]
Updating super partition OKAY [ 0.020s]
Resizing 'product_a' OKAY [ 0.006s]
Resizing 'system_a' OKAY [ 0.005s]
Resizing 'system_ext_a' OKAY [ 0.006s]
Resizing 'vendor_a' OKAY [ 0.005s]
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'odm_dlkm.img'
extracting product.img (2147 MB) to disk... took 9.540s
archive does not contain 'product.sig'
Resizing 'product_a' OKAY [ 0.007s]
Sending sparse 'product_a' 1/9 (262140 KB) OKAY [ 6.916s]
Writing 'product_a' OKAY [ 1.287s]
Sending sparse 'product_a' 2/9 (262140 KB) OKAY [ 6.734s]
Writing 'product_a' OKAY [ 1.303s]
Sending sparse 'product_a' 3/9 (262140 KB) OKAY [ 6.783s]
Writing 'product_a' OKAY [ 1.300s]
Sending sparse 'product_a' 4/9 (262140 KB) OKAY [ 6.994s]
Writing 'product_a' OKAY [ 1.312s]
Sending sparse 'product_a' 5/9 (262140 KB) OKAY [ 6.810s]
Writing 'product_a' OKAY [ 1.277s]
Sending sparse 'product_a' 6/9 (262140 KB) OKAY [ 6.805s]
Writing 'product_a' OKAY [ 1.285s]
Sending sparse 'product_a' 7/9 (262140 KB) OKAY [ 7.009s]
Writing 'product_a' OKAY [ 1.287s]
Sending sparse 'product_a' 8/9 (262140 KB) OKAY [ 6.795s]
Writing 'product_a' OKAY [ 1.278s]
Sending sparse 'product_a' 9/9 (101996 KB) OKAY [ 2.725s]
Writing 'product_a' OKAY [ 0.531s]
extracting system.img (845 MB) to disk... took 3.808s
archive does not contain 'system.sig'
Resizing 'system_a' OKAY [ 0.008s]
Sending sparse 'system_a' 1/4 (262140 KB) OKAY [ 6.212s]
Writing 'system_a' OKAY [ 1.295s]
Sending sparse 'system_a' 2/4 (262140 KB) OKAY [ 6.197s]
Writing 'system_a' OKAY [ 1.333s]
Sending sparse 'system_a' 3/4 (262140 KB) OKAY [ 6.137s]
Writing 'system_a' OKAY [ 1.306s]
Sending sparse 'system_a' 4/4 (79672 KB) OKAY [ 1.857s]
Writing 'system_a' OKAY [ 0.466s]
archive does not contain 'system_dlkm.img'
extracting system_ext.img (236 MB) to disk... took 0.945s
archive does not contain 'system_ext.sig'
Resizing 'system_ext_a' OKAY [ 0.006s]
Sending 'system_ext_a' (242504 KB) OKAY [ 5.729s]
Writing 'system_ext_a' OKAY [ 1.191s]
extracting system_other.img (67 MB) to disk... took 0.231s
archive does not contain 'system.sig'
Sending 'system_b' (69440 KB) OKAY [ 1.627s]
Writing 'system_b' OKAY [ 0.336s]
extracting vendor.img (442 MB) to disk... took 1.829s
archive does not contain 'vendor.sig'
Resizing 'vendor_a' OKAY [ 0.006s]
Sending sparse 'vendor_a' 1/2 (262140 KB) OKAY [ 6.261s]
Writing 'vendor_a' OKAY [ 1.349s]
Sending sparse 'vendor_a' 2/2 (191240 KB) OKAY [ 4.510s]
Writing 'vendor_a' OKAY [ 0.949s]
archive does not contain 'vendor_dlkm.img'
archive does not contain 'vendor_other.img'
Erasing 'userdata' OKAY [ 8.289s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' OKAY [ 0.007s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting OKAY [ 0.000s]
Finished. Total time: 160.589s
其他:
Fastboot 命令报错分析篇 | 通用教程帖
这篇文章里面列举许多类似的问题,收藏备用。