From 445570fdcd68e7e02c668c05ebfa54b2bf5d385f Mon Sep 17 00:00:00 2001
From: st s <s-gitlab@hilft.net>
Date: Sun, 11 Apr 2021 18:56:51 +0200
Subject: [PATCH] Revert "samsung-zeroltexx: Fix display colors (blue and red
 were swapped). Copied from device-samsung-herolte." (Although at first it
 seemed that the commands from the patch fixed the color swap when used on the
 command line, it doesn't work as initrd hook - screen layout and colors were
 still messed up.)

This reverts commit f6f843e71c6dc8bcdee751dfac7fac53ae9e453d.
---
 device/testing/device-samsung-zeroltexx/APKBUILD       | 4 +---
 device/testing/device-samsung-zeroltexx/initfs-hook.sh | 8 --------
 2 files changed, 1 insertion(+), 11 deletions(-)
 delete mode 100644 device/testing/device-samsung-zeroltexx/initfs-hook.sh

diff --git a/device/testing/device-samsung-zeroltexx/APKBUILD b/device/testing/device-samsung-zeroltexx/APKBUILD
index 6ef07b1b7f8..300427a2c2f 100644
--- a/device/testing/device-samsung-zeroltexx/APKBUILD
+++ b/device/testing/device-samsung-zeroltexx/APKBUILD
@@ -11,7 +11,6 @@ depends="postmarketos-base linux-samsung-zeroltexx mkbootimg mesa-dri-gallium ms
 makedepends="devicepkg-dev"
 source="deviceinfo
 	udev/60-persistent-v4l.rules
-	initfs-hook.sh
 	"
 
 subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
@@ -40,5 +39,4 @@ nonfree_firmware() {
 
 
 sha512sums="b5721c282caab7fe02795a0fa10eddbec01cd487bf1a494335e72a5dc4fb0e6f04b409016d5c2a0b1cbeb003c19c05aa6f25a6fe2d26d025b52f024994d10bfe  deviceinfo
-b8bf2e3ec166af6acbbfaaa2b57b053473c0b12df007090eecf7a885aee2e3cd5d982819e2ee73e2817e5266b9875dc9240389bca409d5523f3cfa8037fa7870  60-persistent-v4l.rules
-5a7be3cb8835ffb3783fcd4539de04f7f006c726ac9aea35cdca9e90b2877dc36cf4e314851bf9078f4b2dac061b7265866792d92a79f5232c56a0e17f7910b1  initfs-hook.sh"
+b8bf2e3ec166af6acbbfaaa2b57b053473c0b12df007090eecf7a885aee2e3cd5d982819e2ee73e2817e5266b9875dc9240389bca409d5523f3cfa8037fa7870  60-persistent-v4l.rules"
diff --git a/device/testing/device-samsung-zeroltexx/initfs-hook.sh b/device/testing/device-samsung-zeroltexx/initfs-hook.sh
deleted file mode 100644
index 32ef9b6d586..00000000000
--- a/device/testing/device-samsung-zeroltexx/initfs-hook.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-# Set 16bpp fb mode and ensure size is set
-echo 16 > /sys/class/graphics/fb0/bits_per_pixel
-echo 1440,2560 > /sys/class/graphics/fb0/virtual_size
-
-# Blank and unblank
-echo 1 > /sys/class/graphics/fb0/blank
-echo 0 > /sys/class/graphics/fb0/blank
-
-- 
GitLab