If your ROM developer does it, you can just
fastboot update rom.zip
Where rom.zip
contains android-info.txt
and at least boot
, system
, product
, vendor
, vbmeta
, and dtbo
img files.
If necessary, unzip and rezip creating an empty android-info.txt
.
IMG files contain an exact replica of the partition which is copied exactly onto the device.
While it may have been a requirement before, for Android 10-based Google Pixel, only boot
, system
, and vendor
were flashed.
extracting android-info.txt (0 MB) to RAM...
Checking 'product' OKAY [ 0.050s]
Setting current slot to 'b' OKAY [ 0.447s]
extracting boot.img (29 MB) to disk... took 0.132s
archive does not contain 'boot.sig'
Sending 'boot_b' (29825 KB) OKAY [ 0.801s]
Writing 'boot_b' OKAY [ 0.706s]
archive does not contain 'dtbo.img'
archive does not contain 'dt.img'
archive does not contain 'recovery.img'
archive does not contain 'vbmeta.img'
archive does not contain 'vbmeta_system.img'
archive does not contain 'super_empty.img'
archive does not contain 'boot_other.img'
archive does not contain 'odm.img'
archive does not contain 'product.img'
archive does not contain 'product_services.img'
extracting system.img (1949 MB) to disk... took 7.095s
archive does not contain 'system.sig'
Sending sparse 'system_b' 1/4 (524284 KB) OKAY [ 13.063s]
Writing 'system_b' OKAY [ 4.652s]
Sending sparse 'system_b' 2/4 (524284 KB) OKAY [ 13.006s]
Writing 'system_b' OKAY [ 4.006s]
Sending sparse 'system_b' 3/4 (524284 KB) OKAY [ 13.052s]
Writing 'system_b' OKAY [ 4.255s]
Sending sparse 'system_b' 4/4 (423068 KB) OKAY [ 10.459s]
Writing 'system_b' OKAY [ 3.348s]
extracting system_other.img (313 MB) to disk... took 1.306s
archive does not contain 'system.sig'
Sending 'system_a' (320532 KB) OKAY [ 7.964s]
Writing 'system_a' OKAY [ 3.700s]
extracting vendor.img (259 MB) to disk... took 1.012s
archive does not contain 'vendor.sig'
Sending 'vendor_b' (265808 KB) OKAY [ 6.615s]
Writing 'vendor_b' OKAY [ 2.748s]
archive does not contain 'vendor_other.img'
Rebooting OKAY [ 0.041s]
fastboot
stock ROMs are usually meant to fix bricked devices, they include all partitions, even those not getting frequent updates from OEM. Under normal circumstances you don't need to flash critical partitions like those related to SoC, modem, bootloaders, TEE etc. which may render your device unbootable if flashing goes wrong. // 3.--disable-verity
disablesdm-verity
(Android's Verified Boot).