Locking bootloader after installing 6.2.2 on akita fails

Basic info

  • Device: Pixel 8a
  • CalyxOS version: 6.2.2

Brief description of the issue

Locking the bootloader fails, as described in my comment in #2860 (closed) already.

When trying to lock with fastboot manually:

[norbert@magellan platform-tools]$ sudo ./fastboot flashing lock
FAILED (remote: 'invalid android images, skip locking')
fastboot: error: Command failed

Steps to reproduce

Flash Pixel 8a with device-flasher 1.0.10.

Expected result

Locking works.

Actual result

Locking does not work.

Logs (if available, they make fixing much easier)

Android Factory Image Flasher version 1.0.10
Extracting akita-factory-24602020.zip
Verifying platform-tools_r33.0.3-linux.zip
Extracting platform-tools_r33.0.3-linux.zip
1. Connect to a wifi network and ensure that no SIM cards are installed
2. Enable Developer Options on device (Settings -> About Phone -> tap "Build number" 7 times)
3. Enable USB debugging on device (Settings -> System -> Advanced -> Developer Options) and allow the computer to debug (hit "OK" on the popup when USB is connected)
4. Enable OEM Unlocking (in the same Developer Options menu)

Press ENTER to continue

Detected akita SERIAL

Devices to be flashed: 
akita SERIAL

Press ENTER to continue
Unlocking akita SERIAL bootloader...
5. Please use the volume and power keys on the device to unlock the bootloader
Flashing akita SERIAL bootloader...
Sending 'bootloader_b' (20077 KB)                  OKAY [  0.667s]
Writing 'bootloader_b'                             (bootloader) Flashing pack version akita-15.1-12474670
(bootloader) flashing platform zuma
(bootloader) Validating partition ufs
(bootloader) Validating partition ufs
(bootloader) Validating partition partition:0
(bootloader) Validating partition partition:1
(bootloader) Validating partition partition:2
(bootloader) Validating partition partition:3
(bootloader) Validating partition bl1_b
(bootloader) Validating partition pbl_b
(bootloader) Validating partition bl2_b
(bootloader) Validating partition abl_b
(bootloader) Validating partition bl31_b
(bootloader) Validating partition tzsw_b
(bootloader) Validating partition gsa_b
(bootloader) Validating partition gsa_bl1_b
(bootloader) Validating partition ldfw_b
(bootloader) Validating partition gcf_b
(bootloader) Flashing partition ufs
(bootloader) Flashing partition ufs
(bootloader) Flashing partition partition:0
(bootloader) Flashing partition partition:1
(bootloader) Flashing partition partition:2
(bootloader) Flashing partition partition:3
(bootloader) Flashing partition bl1_b
(bootloader) Flashing partition pbl_b
(bootloader) Flashing partition bl2_b
(bootloader) Flashing partition abl_b
(bootloader) Flashing partition bl31_b
(bootloader) Flashing partition tzsw_b
(bootloader) Flashing partition gsa_b
(bootloader) Flashing partition gsa_bl1_b
(bootloader) Flashing partition ldfw_b
(bootloader) Flashing partition gcf_b
(bootloader) Loading sideload ufsfwupdate
OKAY [  0.172s]
Finished. Total time: 0.841s
Setting current slot to 'b'                        OKAY [  0.086s]
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.137s
< waiting for SERIAL >
Sending 'bootloader_a' (20077 KB)                  OKAY [  0.777s]
Writing 'bootloader_a'                             (bootloader) Flashing pack version akita-15.1-12474670
(bootloader) flashing platform zuma
(bootloader) Validating partition ufs
(bootloader) Validating partition ufs
(bootloader) Validating partition partition:0
(bootloader) Validating partition partition:1
(bootloader) Validating partition partition:2
(bootloader) Validating partition partition:3
(bootloader) Validating partition bl1_a
(bootloader) Validating partition pbl_a
(bootloader) Validating partition bl2_a
(bootloader) Validating partition abl_a
(bootloader) Validating partition bl31_a
(bootloader) Validating partition tzsw_a
(bootloader) Validating partition gsa_a
(bootloader) Validating partition gsa_bl1_a
(bootloader) Validating partition ldfw_a
(bootloader) Validating partition gcf_a
(bootloader) Flashing partition ufs
(bootloader) Flashing partition ufs
(bootloader) Flashing partition partition:0
(bootloader) Flashing partition partition:1
(bootloader) Flashing partition partition:2
(bootloader) Flashing partition partition:3
(bootloader) Flashing partition bl1_a
(bootloader) Flashing partition pbl_a
(bootloader) Flashing partition bl2_a
(bootloader) Flashing partition abl_a
(bootloader) Flashing partition bl31_a
(bootloader) Flashing partition tzsw_a
(bootloader) Flashing partition gsa_a
(bootloader) Flashing partition gsa_bl1_a
(bootloader) Flashing partition ldfw_a
(bootloader) Flashing partition gcf_a
(bootloader) Loading sideload ufsfwupdate
OKAY [  0.169s]
Finished. Total time: 0.951s
Setting current slot to 'a'                        OKAY [  0.071s]
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.123s
< waiting for SERIAL >
Sending 'radio_b' (99852 KB)                       OKAY [  3.046s]
Writing 'radio_b'                                  (bootloader) Flashing pack version g5300o-240919-241106-M-12612898
(bootloader) Flashing partition modem_b
OKAY [  0.141s]
Finished. Total time: 3.191s
Setting current slot to 'b'                        OKAY [  0.072s]
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.123s
< waiting for SERIAL >
Sending 'radio_a' (99852 KB)                       OKAY [  3.873s]
Writing 'radio_a'                                  (bootloader) Flashing pack version g5300o-240919-241106-M-12612898
(bootloader) Flashing partition modem_a
OKAY [  0.143s]
Finished. Total time: 4.021s
Setting current slot to 'a'                        OKAY [  0.080s]
Rebooting into bootloader                          OKAY [  0.000s]
Finished. Total time: 0.131s
< waiting for SERIAL >
Erasing 'avb_custom_key'                           (bootloader) avb custom key: erase done
OKAY [  0.023s]
Finished. Total time: 0.027s
Sending 'avb_custom_key' (1 KB)                    OKAY [  0.001s]
Writing 'avb_custom_key'                           (bootloader) avb custom key: flash done
OKAY [  0.040s]
Finished. Total time: 0.042s
--------------------------------------------
Bootloader Version...: akita-15.1-12474670
Baseband Version.....: g5300o-240919-241106-B-12612898
Serial Number........: SERIAL
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'version-baseband'                        OKAY [  0.001s]
Checking 'product'                                 OKAY [  0.000s]
Checking 'version-bootloader'                      OKAY [  0.000s]
Setting current slot to 'a'                        OKAY [  0.074s]
extracting boot.img (64 MB) to disk... took 0.072s
archive does not contain 'boot.sig'
Sending 'boot_a' (65536 KB)                        OKAY [  2.390s]
Writing 'boot_a'                                   OKAY [  0.097s]
extracting init_boot.img (8 MB) to disk... took 0.043s
archive does not contain 'init_boot.sig'
Sending 'init_boot_a' (8192 KB)                    OKAY [  0.259s]
Writing 'init_boot_a'                              OKAY [  0.018s]
extracting dtbo.img (16 MB) to disk... took 0.067s
archive does not contain 'dtbo.sig'
Sending 'dtbo_a' (16384 KB)                        OKAY [  0.609s]
Writing 'dtbo_a'                                   OKAY [  0.030s]
archive does not contain 'dt.img'
extracting pvmfw.img (1 MB) to disk... took 0.006s
archive does not contain 'pvmfw.sig'
Sending 'pvmfw_a' (1024 KB)                        OKAY [  0.035s]
Writing 'pvmfw_a'                                  OKAY [  0.010s]
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.001s]
Writing 'vbmeta_a'                                 OKAY [  0.005s]
extracting vbmeta_system.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta_system.sig'
Sending 'vbmeta_system_a' (8 KB)                   OKAY [  0.001s]
Writing 'vbmeta_system_a'                          OKAY [  0.005s]
extracting vbmeta_vendor.img (0 MB) to disk... took 0.000s
archive does not contain 'vbmeta_vendor.sig'
Sending 'vbmeta_vendor_a' (4 KB)                   OKAY [  0.001s]
Writing 'vbmeta_vendor_a'                          OKAY [  0.005s]
extracting vendor_boot.img (64 MB) to disk... took 0.425s
archive does not contain 'vendor_boot.sig'
Sending 'vendor_boot_a' (65536 KB)                 OKAY [  2.542s]
Writing 'vendor_boot_a'                            OKAY [  0.099s]
extracting vendor_kernel_boot.img (64 MB) to disk... took 0.292s
archive does not contain 'vendor_kernel_boot.sig'
Sending 'vendor_kernel_boot_a' (65536 KB)          OKAY [  2.513s]
Writing 'vendor_kernel_boot_a'                     OKAY [  0.102s]
extracting super_empty.img (0 MB) to disk... took 0.000s
Rebooting into fastboot                            OKAY [  0.000s]
< waiting for SERIAL >
Sending 'super' (5 KB)                             OKAY [  0.006s]
Updating super partition                           OKAY [  0.039s]
Resizing 'product_a'                               OKAY [  0.012s]
Resizing 'system_a'                                OKAY [  0.015s]
Resizing 'system_dlkm_a'                           OKAY [  0.015s]
Resizing 'system_ext_a'                            OKAY [  0.016s]
Resizing 'system_b'                                OKAY [  0.021s]
Resizing 'vendor_a'                                OKAY [  0.019s]
Resizing 'vendor_dlkm_a'                           OKAY [  0.023s]
Resizing 'vendor_b'                                OKAY [  0.018s]
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'odm_dlkm.img'
extracting product.img (1564 MB) to disk... took 7.477s
archive does not contain 'product.sig'
Resizing 'product_a'                               OKAY [  0.018s]
Sending sparse 'product_a' 1/7 (262120 KB)         OKAY [ 10.799s]
Writing 'product_a'                                OKAY [  0.716s]
Sending sparse 'product_a' 2/7 (262128 KB)         OKAY [ 10.089s]
Writing 'product_a'                                OKAY [  0.652s]
Sending sparse 'product_a' 3/7 (262116 KB)         OKAY [  8.198s]
Writing 'product_a'                                OKAY [  0.671s]
Sending sparse 'product_a' 4/7 (262120 KB)         OKAY [ 10.280s]
Writing 'product_a'                                OKAY [  0.591s]
Sending sparse 'product_a' 5/7 (262120 KB)         OKAY [ 10.694s]
Writing 'product_a'                                OKAY [  0.794s]
Sending sparse 'product_a' 6/7 (261496 KB)         OKAY [ 10.755s]
Writing 'product_a'                                OKAY [  0.671s]
Sending sparse 'product_a' 7/7 (25004 KB)          OKAY [  1.036s]
Writing 'product_a'                                OKAY [  0.176s]
extracting system.img (863 MB) to disk... took 5.093s
archive does not contain 'system.sig'
Resizing 'system_a'                                OKAY [  0.033s]
Sending sparse 'system_a' 1/4 (262112 KB)          OKAY [ 10.817s]
Writing 'system_a'                                 OKAY [  0.666s]
Sending sparse 'system_a' 2/4 (262116 KB)          OKAY [ 10.665s]
Writing 'system_a'                                 OKAY [  0.768s]
Sending sparse 'system_a' 3/4 (262140 KB)          OKAY [ 10.916s]
Writing 'system_a'                                 OKAY [  0.771s]
Sending sparse 'system_a' 4/4 (94752 KB)           OKAY [  3.855s]
Writing 'system_a'                                 OKAY [  0.346s]
extracting system_dlkm.img (10 MB) to disk... took 0.039s
archive does not contain 'system_dlkm.sig'
Resizing 'system_dlkm_a'                           OKAY [  0.028s]
Sending 'system_dlkm_a' (10728 KB)                 OKAY [  0.435s]
Writing 'system_dlkm_a'                            OKAY [  0.120s]
extracting system_ext.img (306 MB) to disk... took 1.799s
archive does not contain 'system_ext.sig'
Resizing 'system_ext_a'                            OKAY [  0.018s]
Sending sparse 'system_ext_a' 1/2 (243420 KB)      OKAY [  9.975s]
Writing 'system_ext_a'                             OKAY [  0.645s]
Sending sparse 'system_ext_a' 2/2 (69804 KB)       OKAY [  2.916s]
Writing 'system_ext_a'                             OKAY [  0.309s]
extracting system_other.img (58 MB) to disk... took 0.364s
archive does not contain 'system.sig'
Resizing 'system_b'                                OKAY [  0.030s]
Sending 'system_b' (59824 KB)                      OKAY [  2.480s]
Writing 'system_b'                                 OKAY [  0.229s]
extracting vendor.img (682 MB) to disk... took 3.676s
archive does not contain 'vendor.sig'
Resizing 'vendor_a'                                OKAY [  0.016s]
Sending sparse 'vendor_a' 1/3 (262116 KB)          OKAY [ 10.764s]
Writing 'vendor_a'                                 OKAY [  0.668s]
Sending sparse 'vendor_a' 2/3 (262124 KB)          OKAY [ 10.967s]
Writing 'vendor_a'                                 OKAY [  0.807s]
Sending sparse 'vendor_a' 3/3 (172456 KB)          OKAY [  5.646s]
Writing 'vendor_a'                                 OKAY [  0.512s]
extracting vendor_dlkm.img (26 MB) to disk... took 0.111s
archive does not contain 'vendor_dlkm.sig'
Resizing 'vendor_dlkm_a'                           OKAY [  0.038s]
Sending 'vendor_dlkm_a' (26908 KB)                 OKAY [  0.866s]
Writing 'vendor_dlkm_a'                            OKAY [  0.137s]
archive does not contain 'vendor_other.img'
Erasing 'userdata'                                 OKAY [  1.585s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata'                                 OKAY [  0.027s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 208.347s
Rebooting into bootloader                          OKAY [  0.001s]
Finished. Total time: 0.051s
Locking akita SERIAL bootloader...
6. Please use the volume and power keys on the device to lock the bootloader
Failed to lock akita SERIAL bootloader

Flashing complete

Any other info

Edited by Norbert Tretkowski