From 0050f8a5cdab721130f95a6ccd33e86a3659348f Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Wed, 13 Oct 2021 11:00:54 -0400 Subject: [PATCH] Force disable unflattened APEX Android 12 - CAPEX relies on untested features of FS, and well, as one could expect, it's broken. Notably, it relies on O_DIRECT over FBE, which is an Android-specific feature, and which is broken on a number of devices. Notably, RedMagic 5G won't boot with CAPEX, blaming dm-verity issue on apex Thanks @c03d1 for the debug --- base.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/base.mk b/base.mk index 8d37785..3697c49 100644 --- a/base.mk +++ b/base.mk @@ -198,6 +198,7 @@ PRODUCT_PACKAGES += \ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ debug.fdsan=warn_once \ + ro.apex.updatable=false \ # AOSP overlays PRODUCT_PACKAGES += \