summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-02-20 15:30:22 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-03-31 06:30:53 +0200
commit2f6e045eb6babccfaddfc8325dace89211d80955 (patch)
treee816c0bcba7578eb82d46c6c0c7cea0951ec14a5
parent5be3723b31d1e35b86acc2101817580c3831e495 (diff)
downloaddevice_samsung_maguro-2f6e045eb6babccfaddfc8325dace89211d80955.tar.gz
device_samsung_maguro-2f6e045eb6babccfaddfc8325dace89211d80955.tar.bz2
device_samsung_maguro-2f6e045eb6babccfaddfc8325dace89211d80955.zip
Switch back to libagl to fix bootHEADreplicant-6.0
The ro.libagl ovrride has been removed from vendor/replicant in order to enable each device to overrdide the libagl. If we don't switch back to libagl for this device, we ends up in the following boot loop: I SurfaceFlinger: SurfaceFlinger is starting [...] E ti_hwc : Composer HAL failed to load compatible Graphics HAL E SurfaceFlinger: composer device failed to initialize (Invalid argument) [...] I SurfaceFlinger: Client API: OpenGL_ES I SurfaceFlinger: EGLSurface: 5-6-5-0, config=0xb56ed740 F SurfaceFlinger: EGLContext creation failed [...] I SurfaceFlinger: SurfaceFlinger is starting Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--device.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 41554e5..28b1407 100644
--- a/device.mk
+++ b/device.mk
@@ -34,5 +34,11 @@ PRODUCT_PACKAGES += \
enable_modem.sh \
disable_modem.sh
+# See vendor/replicant/config/common.mk for more details about the ro.libagl
+# configuration parameter.
+# This device doesn't boot with llvmpipe, probably due to some
+# color format issue, so we have to use libagl for now.
+PRODUCT_PROPERTY_OVERRIDES += ro.libagl=1
+
$(call inherit-product, device/samsung/tuna/device.mk)
$(call inherit-product-if-exists, vendor/samsung/maguro/maguro-vendor.mk)