Use lz4 compression instead of gz.

Given the benefits of lz4 with respect
to install and merge times as well
as reduce in CPU usage, it is worth
to switch to lz4

Test: OTA
Change-Id: I0a6b164432e16f531c0cc1157814411960915539
Signed-off-by: Akilesh Kailash <>
diff --git a/ b/
index 36c63f4..3b7da76 100644
--- a/
+++ b/
@@ -575,7 +575,7 @@
 $(call inherit-product, $(SRC_TARGET_DIR)/product/
 $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/
 # Enforce generic ramdisk allow list
 $(call inherit-product, $(SRC_TARGET_DIR)/product/