-
Notifications
You must be signed in to change notification settings - Fork 25
Description
extracted vendor.img is ~2GB, system.img is ~3GB.
but the actual size should be ~700MB/~2.5GB, which are similar to the oem's img file, as fastboot recognised.
fastboot reports Invalid sparse file format at header magic and wait a long time before sending the image to the phone. and the time waited will be longer and longer. anyway to fix it?
#fastboot flash vendor_a vendor.img
Invalid sparse file format at header magic
Sending sparse 'vendor_a' 1/1 (703654 KB) OKAY [ 23.485s]
Writing 'vendor_a' OKAY [ 0.000s]
Finished. Total time: 25.689s
#fastboot flash vendor_b vendor.img
Invalid sparse file format at header magic
Sending sparse 'vendor_b' 1/1 (703654 KB) OKAY [ 21.323s]
Writing 'vendor_b' OKAY [ 0.000s]
Finished. Total time: 322.167s
#fastboot flash system_a system.img
Invalid sparse file format at header magic
Sending sparse 'system_a' 1/4 (769732 KB) OKAY [ 24.208s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 2/4 (779120 KB) OKAY [ 24.291s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 3/4 (762041 KB) OKAY [ 24.604s]
Writing 'system_a' OKAY [ 0.000s]
Sending sparse 'system_a' 4/4 (217916 KB) OKAY [ 14.090s]
Writing 'system_a' OKAY [ 0.000s]
Finished. Total time: 394.575s
#fastboot flash system_b system.img
Invalid sparse file format at header magic
Sending sparse 'system_b' 1/4 (769732 KB) OKAY [ 24.273s]
Writing 'system_b' OKAY [ 0.000s]
Sending sparse 'system_b' 2/4 (779120 KB) OKAY [ 26.313s]
Writing 'system_b' OKAY [ 0.000s]
Sending sparse 'system_b' 3/4 (762041 KB) OKAY [ 26.958s]
Writing 'system_b' OKAY [ 0.000s]
Sending sparse 'system_b' 4/4 (217916 KB) OKAY [ 16.228s]
Writing 'system_b' OKAY [ 0.000s]
Finished. Total time: 220.123s