Skip to content

Instantly share code, notes, and snippets.

@gmankab
Created April 22, 2025 06:07
Show Gist options
  • Select an option

  • Save gmankab/6d13fb0f9de1ba7e2a67bf346d2c61f3 to your computer and use it in GitHub Desktop.

Select an option

Save gmankab/6d13fb0f9de1ba7e2a67bf346d2c61f3 to your computer and use it in GitHub Desktop.
> ./flash_all.sh
product: nabu
Erasing 'boot_ab' (bootloader) Partition boot_a erase successfully
(bootloader) Partition boot_b erase successfully
OKAY [ 0.063s]
Finished. Total time: 0.072s
Warning: skip copying crclist image avb footer (crclist partition size: 0, crclist image size: 722).
Sending 'crclist' (0 KB) OKAY [ 0.012s]
Writing 'crclist' OKAY [ 0.006s]
Finished. Total time: 0.052s
Sending 'sparsecrclist' (0 KB) OKAY [ 0.009s]
Writing 'sparsecrclist' OKAY [ 0.002s]
Finished. Total time: 0.026s
Warning: skip copying xbl_ab image avb footer (xbl_ab partition size: 0, xbl_ab image size: 4152234).
Sending 'xbl_ab' (4054 KB) OKAY [ 0.106s]
Writing 'xbl_ab' (bootloader) Partition xbl_a flashed successfully
(bootloader) Partition xbl_b flashed successfully
OKAY [ 0.677s]
Finished. Total time: 0.815s
Warning: skip copying xbl_config_ab image avb footer (xbl_config_ab partition size: 0, xbl_config_ab image size: 123536).
Sending 'xbl_config_ab' (120 KB) OKAY [ 0.016s]
Writing 'xbl_config_ab' (bootloader) Partition xbl_config_a flashed successfully
(bootloader) Partition xbl_config_b flashed successfully
OKAY [ 0.028s]
Finished. Total time: 0.072s
Warning: skip copying abl_ab image avb footer (abl_ab partition size: 0, abl_ab image size: 208896).
Sending 'abl_ab' (204 KB) OKAY [ 0.011s]
Writing 'abl_ab' (bootloader) Partition abl_a flashed successfully
(bootloader) Partition abl_b flashed successfully
OKAY [ 0.021s]
Finished. Total time: 0.063s
Warning: skip copying tz_ab image avb footer (tz_ab partition size: 0, tz_ab image size: 3190382).
Sending 'tz_ab' (3115 KB) OKAY [ 0.076s]
Writing 'tz_ab' (bootloader) Partition tz_a flashed successfully
(bootloader) Partition tz_b flashed successfully
OKAY [ 0.200s]
Finished. Total time: 0.310s
Warning: skip copying hyp_ab image avb footer (hyp_ab partition size: 0, hyp_ab image size: 488328).
Sending 'hyp_ab' (476 KB) OKAY [ 0.024s]
Writing 'hyp_ab' (bootloader) Partition hyp_a flashed successfully
(bootloader) Partition hyp_b flashed successfully
OKAY [ 0.041s]
Finished. Total time: 0.092s
Warning: skip copying devcfg_ab image avb footer (devcfg_ab partition size: 0, devcfg_ab image size: 54304).
Sending 'devcfg_ab' (53 KB) OKAY [ 0.012s]
Writing 'devcfg_ab' (bootloader) Partition devcfg_a flashed successfully
(bootloader) Partition devcfg_b flashed successfully
OKAY [ 0.007s]
Finished. Total time: 0.047s
Sending 'storsec' (20 KB) OKAY [ 0.013s]
Writing 'storsec' OKAY [ 0.012s]
Finished. Total time: 0.045s
Warning: skip copying bluetooth_ab image avb footer (bluetooth_ab partition size: 0, bluetooth_ab image size: 1044480).
Sending 'bluetooth_ab' (1020 KB) OKAY [ 0.030s]
Writing 'bluetooth_ab' (bootloader) Partition bluetooth_a flashed successfully
(bootloader) Partition bluetooth_b flashed successfully
OKAY [ 0.069s]
Finished. Total time: 0.127s
Warning: skip copying cmnlib_ab image avb footer (cmnlib_ab partition size: 0, cmnlib_ab image size: 395006).
Sending 'cmnlib_ab' (385 KB) OKAY [ 0.020s]
Writing 'cmnlib_ab' (bootloader) Partition cmnlib_a flashed successfully
(bootloader) Partition cmnlib_b flashed successfully
OKAY [ 0.030s]
Finished. Total time: 0.081s
Warning: skip copying cmnlib64_ab image avb footer (cmnlib64_ab partition size: 0, cmnlib64_ab image size: 515694).
Sending 'cmnlib64_ab' (503 KB) OKAY [ 0.023s]
Writing 'cmnlib64_ab' (bootloader) Partition cmnlib64_a flashed successfully
(bootloader) Partition cmnlib64_b flashed successfully
OKAY [ 0.051s]
Finished. Total time: 0.102s
Warning: skip copying modem_ab image avb footer (modem_ab partition size: 0, modem_ab image size: 110817280).
Sending 'modem_ab' (108220 KB) OKAY [ 2.510s]
Writing 'modem_ab' (bootloader) Partition modem_a flashed successfully
(bootloader) Partition modem_b flashed successfully
OKAY [ 1.104s]
Finished. Total time: 3.645s
Warning: skip copying dsp_ab image avb footer (dsp_ab partition size: 0, dsp_ab image size: 67108864).
Sending 'dsp_ab' (65536 KB) OKAY [ 1.509s]
Writing 'dsp_ab' (bootloader) Partition dsp_a flashed successfully
(bootloader) Partition dsp_b flashed successfully
OKAY [ 0.534s]
Finished. Total time: 2.069s
Warning: skip copying keymaster_ab image avb footer (keymaster_ab partition size: 0, keymaster_ab image size: 280231).
Sending 'keymaster_ab' (273 KB) OKAY [ 0.018s]
Writing 'keymaster_ab' (bootloader) Partition keymaster_a flashed successfully
(bootloader) Partition keymaster_b flashed successfully
OKAY [ 0.009s]
Finished. Total time: 0.055s
Warning: skip copying aop_ab image avb footer (aop_ab partition size: 0, aop_ab image size: 200712).
Sending 'aop_ab' (196 KB) OKAY [ 0.011s]
Writing 'aop_ab' (bootloader) Partition aop_a flashed successfully
(bootloader) Partition aop_b flashed successfully
OKAY [ 0.010s]
Finished. Total time: 0.051s
Warning: skip copying qupfw_ab image avb footer (qupfw_ab partition size: 0, qupfw_ab image size: 70730).
Sending 'qupfw_ab' (69 KB) OKAY [ 0.007s]
Writing 'qupfw_ab' (bootloader) Partition qupfw_a flashed successfully
(bootloader) Partition qupfw_b flashed successfully
OKAY [ 0.007s]
Finished. Total time: 0.048s
Erasing 'imagefv_ab' (bootloader) Partition imagefv_a erase successfully
(bootloader) Partition imagefv_b erase successfully
OKAY [ 0.012s]
Finished. Total time: 0.025s
Warning: skip copying imagefv_ab image avb footer (imagefv_ab partition size: 0, imagefv_ab image size: 2109440).
Sending 'imagefv_ab' (2060 KB) OKAY [ 0.063s]
Writing 'imagefv_ab' (bootloader) Partition imagefv_a flashed successfully
(bootloader) Partition imagefv_b flashed successfully
OKAY [ 0.024s]
Finished. Total time: 0.116s
Warning: skip copying uefisecapp_ab image avb footer (uefisecapp_ab partition size: 0, uefisecapp_ab image size: 125559).
Sending 'uefisecapp_ab' (122 KB) OKAY [ 0.018s]
Writing 'uefisecapp_ab' (bootloader) Partition uefisecapp_a flashed successfully
(bootloader) Partition uefisecapp_b flashed successfully
OKAY [ 0.009s]
Finished. Total time: 0.055s
Warning: skip copying multiimgoem_ab image avb footer (multiimgoem_ab partition size: 0, multiimgoem_ab image size: 32768).
Sending 'multiimgoem_ab' (32 KB) OKAY [ 0.013s]
Writing 'multiimgoem_ab' (bootloader) Partition multiimgoem_a flashed successfully
(bootloader) Partition multiimgoem_b flashed successfully
OKAY [ 0.009s]
Finished. Total time: 0.050s
Sending sparse 'super' 1/8 (768504 KB) OKAY [ 17.705s]
Writing 'super' OKAY [ 0.002s]
Sending sparse 'super' 2/8 (782120 KB) OKAY [ 42.750s]
Writing 'super' OKAY [ 0.002s]
Sending sparse 'super' 3/8 (743540 KB) OKAY [ 37.920s]
Writing 'super' OKAY [ 0.002s]
Sending sparse 'super' 4/8 (775212 KB) OKAY [ 34.550s]
Writing 'super' OKAY [ 0.002s]
Sending sparse 'super' 5/8 (739916 KB) OKAY [ 39.921s]
Writing 'super' OKAY [ 0.003s]
Sending sparse 'super' 6/8 (786428 KB) OKAY [ 34.410s]
Writing 'super' OKAY [ 0.002s]
Sending sparse 'super' 7/8 (780340 KB) OKAY [ 36.680s]
Writing 'super' OKAY [ 0.002s]
Sending sparse 'super' 8/8 (564740 KB) OKAY [ 32.670s]
Writing 'super' OKAY [ 0.002s]
Finished. Total time: 276.659s
Erasing 'metadata' OKAY [ 0.005s]
Finished. Total time: 27.388s
Warning: skip copying metadata image avb footer due to sparse image.
Sending 'metadata' (48 KB) OKAY [ 0.015s]
Writing 'metadata' OKAY [ 0.006s]
Finished. Total time: 0.044s
Warning: skip copying vbmeta_system_ab image avb footer (vbmeta_system_ab partition size: 0, vbmeta_system_ab image size: 4096).
Sending 'vbmeta_system_ab' (4 KB) OKAY [ 0.011s]
Writing 'vbmeta_system_ab' (bootloader) Partition vbmeta_system_a flashed successfully
(bootloader) Partition vbmeta_system_b flashed successfully
OKAY [ 0.005s]
Finished. Total time: 0.050s
Warning: skip copying vbmeta_ab image avb footer (vbmeta_ab partition size: 0, vbmeta_ab image size: 8192).
Sending 'vbmeta_ab' (8 KB) OKAY [ 0.012s]
Writing 'vbmeta_ab' (bootloader) Partition vbmeta_a flashed successfully
(bootloader) Partition vbmeta_b flashed successfully
OKAY [ 0.006s]
Finished. Total time: 0.051s
Warning: skip copying dtbo_ab image avb footer (dtbo_ab partition size: 0, dtbo_ab image size: 33554432).
Sending 'dtbo_ab' (32768 KB) OKAY [ 0.758s]
Writing 'dtbo_ab' (bootloader) Partition dtbo_a flashed successfully
(bootloader) Partition dtbo_b flashed successfully
OKAY [ 0.632s]
Finished. Total time: 1.417s
Warning: skip copying userdata image avb footer due to sparse image.
Sending 'userdata' (10308 KB) OKAY [ 0.248s]
Writing 'userdata' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
Flash userdata error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment