summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-11-28 23:14:46 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-11-28 23:21:37 +0100
commit3c73bbf5ad4928f0be545c7e99d6e2f75adcd949 (patch)
tree1035629804d41671e4b9ac1d890302037b2130d1
parentd44383e36d51eca828efb1a0ef7cc49681d96662 (diff)
downloaddevice_samsung_midas_common-3c73bbf5ad4928f0be545c7e99d6e2f75adcd949.tar.gz
device_samsung_midas_common-3c73bbf5ad4928f0be545c7e99d6e2f75adcd949.tar.bz2
device_samsung_midas_common-3c73bbf5ad4928f0be545c7e99d6e2f75adcd949.zip
Remove bootanimation zip
For some reason, the bootanimation program runs during boot but it doesn't display anything on the screen. I've tried to run it at very early boot by using init=/path/to/bash. While it's possible to use a bash built with Guix, we then end up being unable to run Android utilities because for some reason apexd refuses to run (it probably need to be able to get/set properties to run). And without apexd we can't run most binaries (including /system/bin/sh, /system/xbin/bash or bootanimation). As bootanimation seems to require surfaceflinger, I've tried to disable the com.android.systemui after boot but I didn't manage to do it in a way that enabled me to launch bootanimation. Remains the debug through prints or LOG statements, but would probably take a long time to do. At the end it was easier to do in the kernel than trying to debug why the bootanimation program does not display anything. The downside of that approach is that it takes up some precious space in Linux. It would also be interesting to look if Linux can select the image that is best suited to the display resolution or if we only need to add only one image in Linux. In the later case we would need a kernel image for each native display resolution. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--midas.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/midas.mk b/midas.mk
index 1705ab8..5f046c4 100644
--- a/midas.mk
+++ b/midas.mk
@@ -65,8 +65,7 @@ PRODUCT_COPY_FILES += \
# Boot #
########
PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/init.midas.rc:root/init.midas.rc \
- vendor/replicant/artwork/tests/bootanimation/vertical-720x1280.zip:system/media/bootanimation.zip \
+ $(LOCAL_PATH)/init.midas.rc:root/init.midas.rc
############################
# Codecs (audio and video) #