[Android General] MoHaG:
I did a diff between the /proc/config.gz from the recovery (as posted by physwizz) and the main OS (still the stock one, with rooting and bootloader unlocked) (adb works in recovery, the UI not)

--- /mnt/d/temp/u3_config 2021-11-29 19:03:52.610546100 +0200
+++ /mnt/d/temp/recovery_config 2021-11-29 19:05:42.572902200 +0200
@@ -18,8 +18,8 @@
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
-CONFIG_LOCALVERSION=""
-CONFIG_LOCALVERSION_AUTO=y
+CONFIG_LOCALVERSION="-physwizz-v4"
+# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_BUILD_SALT=""
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
@@ -467,6 +467,7 @@
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
+CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_TIMES=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
@@ -477,10 +478,10 @@
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ENERGYSTEP=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
-# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
-# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
-# CONFIG_CPU_FREQ_GOV_ONDEMAND is not set
-# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_CPU_FREQ_GOV_ENERGYSTEP=y

@@ -563,7 +564,7 @@
CONFIG_HAVE_STACKPROTECTOR=y
CONFIG_CC_HAS_STACKPROTECTOR_NONE=y
CONFIG_STACKPROTECTOR=y
-CONFIG_STACKPROTECTOR_STRONG=y
+# CONFIG_STACKPROTECTOR_STRONG is not set
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
CONFIG_ARCH_SUPPORTS_THINLTO=y
CONFIG_LTO_NONE=y
@@ -880,7 +881,6 @@
CONFIG_NETFILTER_NETLINK_LOG=y
# CONFIG_NETFILTER_NETLINK_OSF is not set
CONFIG_NF_CONNTRACK=y
-CONFIG_NF_LOG_COMMON=y
# CONFIG_NF_LOG_NETDEV is not set
CONFIG_NETFILTER_CONNCOUNT=y
CONFIG_NF_CONNTRACK_MARK=y
@@ -941,7 +941,7 @@
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=y
# CONFIG_NETFILTER_XT_TARGET_LED is not set
-CONFIG_NETFILTER_XT_TARGET_LOG=y
+# CONFIG_NETFILTER_XT_TARGET_LOG is not set
CONFIG_NETFILTER_XT_TARGET_MARK=y
CONFIG_NETFILTER_XT_NAT=y
CONFIG_NETFILTER_XT_TARGET_NETMAP=y
@@ -1017,7 +1017,7 @@
CONFIG_NF_TPROXY_IPV4=y
# CONFIG_NF_DUP_IPV4 is not set
# CONFIG_NF_LOG_ARP is not set
-CONFIG_NF_LOG_IPV4=y
+# CONFIG_NF_LOG_IPV4 is not set
CONFIG_NF_REJECT_IPV4=y
CONFIG_NF_NAT_IPV4=y
CONFIG_NF_NAT_MASQUERADE_IPV4=y
@@ -1053,7 +1053,7 @@
CONFIG_NF_TPROXY_IPV6=y
# CONFIG_NF_DUP_IPV6 is not set
CONFIG_NF_REJECT_IPV6=y
-CONFIG_NF_LOG_IPV6=y
+# CONFIG_NF_LOG_IPV6 is not set
# CONFIG_NF_NAT_IPV6 is not set
CONFIG_IP6_NF_IPTABLES=y
# CONFIG_IP6_NF_MATCH_AH is not set
@@ -1241,14 +1241,11 @@
# CONFIG_NFC_P61 is not set
# CONFIG_NFC_PN547_ESE_SUPPORT is not set
# CONFIG_NFC_PN547_LDO_CONTROL is not set
-# CONFIG_NFC_PVDD_LATE_ENABLE is not set
# CONFIG_ESE_SECURE is not set
CONFIG_SEC_NFC_LOGGER=y
# CONFIG_SEC_STAR is not set
# CONFIG_STAR_MEMORY_LEAK is not set
# CONFIG_STAR_K250A is not set
-# CONFIG_NFC_QTI_I2C is not set
-# CONFIG_SEC_NFC_COMPAT_IOCTL is not set
# CONFIG_PSAMPLE is not set
# CONFIG_NET_IFE is not set
# CONFIG_LWTUNNEL is not set
@@ -1336,7 +1333,6 @@
CONFIG_ZRAM=y
CONFIG_ZRAM_WRITEBACK=y
CONFIG_ZRAM_LRU_WRITEBACK=y
-CONFIG_ZRAM_LRU_WRITEBACK_LIMIT=5120
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
@@ -1463,6 +1459,7 @@
CONFIG_SCSC_COMMON_HCF=y
# CONFIG_SCSC_WLBT_AUTORECOVERY_PERMANENT_DISABLE is not set
# CONFIG_SCSC_MX450_GDB_SUPPORT is not set
+CONFIG_SCSC_WLAN_FAST_RECOVERY=y
# CONFIG_SCSC_LAST_PANIC_IN_DRAM is not set
# CONFIG_SCSC_WLBT_CFG_REQ_WQ is not set
CONFIG_SCSC_BT=y
@@ -1568,10 +1565,7 @@
# CONFIG_DM_DELAY is not set
CONFIG_DM_UEVENT=y
# CONFIG_DM_FLAKEY is not set
-CONFIG_DM_VERITY=y
-# CONFIG_DM_VERITY_AVB is not set
-CONFIG_DM_VERITY_FEC=y
-CONFIG_DM_ANDROID_VERITY_AT_MOST_ONCE_DEFAULT_ENABLED=y
+# CONFIG_DM_VERITY is not set
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
# CONFIG_DM_INTEGRITY is not set
@@ -3176,10 +3170,6 @@
CONFIG_EXYNOS_DECON_LCD_NT36525B_SHARP_A12S=y
CONFIG_EXYNOS_DECON_LCD_NT36525B_DTC_A12S=y
CONFIG_EXYNOS_DECON_LCD_TD4150_BOE_A12S=y
-CONFIG_EXYNOS_DECON_LCD_TD4375_BOE_A12S=y
-CONFIG_EXYNOS_DECON_LCD_ILI7807S_A12S=y
-CONFIG_EXYNOS_DECON_LCD_TD4160_BOE_A12S=y
-CONFIG_EXYNOS_DECON_LCD_A12S_BLIC_DUAL=y
# CONFIG_FB_SSD1307 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
@@ -4238,7 +4228,6 @@
# CONFIG_KS7010 is not set
# CONFIG_GREYBUS is not set
# CONFIG_PI433 is not set
-# CONFIG_MTK_MMC is not set

#
# Gasket devices
@@ -4998,8 +4987,6 @@
#
CONFIG_KPERFMON=y
CONFIG_DRV_SAMSUNG_PMIC=y
-CONFIG_ICD=y
-CONFIG_ICD_USE_TZDEV=y
CONFIG_SENSORS_SSP=y
# CONFIG_SSP_ENG_DEBUG is not set
CONFIG_SENSORS_SSP_FIRMWARE_DOWNLOAD=y
@@ -5014,10 +5001,6 @@
CONFIG_SEC_VIB_NOTIFIER=y

#
-# Samsung LABO Options
-#
-
-#
# Samsung NAD Options
#

@@ -5048,11 +5031,6 @@
#
# Samsung BPS Classifier information
#
-CONFIG_FIVE_TEE_DRIVER=y
-# CONFIG_FIVE_USE_EMULATOR is not set
-CONFIG_FIVE_USE_TZDEV=y
-# CONFIG_TEE_DRIVER_DEBUG is not set
-# CONFIG_FIVE_EARLY_LOAD_TRUSTED_APP is not set

#
# Samsung ABC Options
@@ -5112,7 +5090,6 @@
# CONFIG_USE_DEDICATED_MUIC is not set
# CONFIG_MUIC_AFC_RETRY is not set
# CONFIG_MUIC_COMMON_SYSFS is not set
-# CONFIG_MUIC_USE_MODULE_PARAM is not set

#
# Samsung STI Options
@@ -5141,7 +5118,6 @@
CONFIG_SENSORS_FINGERPRINT_LSI=y
# CONFIG_SENSORS_FINGERPRINT_QCOM is not set
# CONFIG_SENSORS_FINGERPRINT_MTK is not set
-# CONFIG_SENSORS_FINGERPRINT_NORMALSPI is not set
# CONFIG_SENSORS_QBT2000 is not set
# CONFIG_SENSORS_ET5XX is not set
# CONFIG_SENSORS_ET7XX is not set
@@ -5160,7 +5136,6 @@
CONFIG_PDIC_NOTIFIER=y
# CONFIG_PDIC_POLICY is not set
# CONFIG_USB_ARCH_EXYNOS is not set
-# CONFIG_PDIC_USE_MODULE_PARAM is not set
CONFIG_SENSORS_SSP_ACCELOMETER=y
# CONFIG_SENSORS_SSP_ACCELOMETER_ICM42605M is not set
# CONFIG_SENSORS_SSP_ACCELOMETER_ICM42632M is not set
@@ -5265,7 +5240,7 @@
# CONFIG_F2FS_FAULT_INJECTION is not set
CONFIG_F2FS_SEC_BLOCK_OPERATIONS_DEBUG=y
CONFIG_F2FS_FS_COMPRESSION=y
-CONFIG_F2FS_FS_LZO=y
+# CONFIG_F2FS_FS_LZO is not set
CONFIG_F2FS_FS_LZ4=y
# CONFIG_FS_DAX is not set
CONFIG_FS_POSIX_ACL=y
@@ -5351,7 +5326,6 @@
# CONFIG_PROC_KCORE is not set
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
-CONFIG_PROC_AVC=y
# CONFIG_PROC_CHILDREN is not set
CONFIG_PROC_FSLOG=y
CONFIG_PROC_STLOG=y
@@ -5478,7 +5452,7 @@
CONFIG_SECURITY_NETWORK=y
# CONFIG_SECURITY_NETWORK_XFRM is not set
# CONFIG_SECURITY_PATH is not set
-CONFIG_LSM_MMAP_MIN_ADDR=4096
+CONFIG_LSM_MMAP_MIN_ADDR=32768
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
CONFIG_HARDENED_USERCOPY=y
CONFIG_HARDENED_USERCOPY_FALLBACK=y
@@ -5498,13 +5472,7 @@
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
# CONFIG_SECURITY_YAMA is not set
-CONFIG_INTEGRITY=y
-CONFIG_INTEGRITY_SIGNATURE=y
-CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
-CONFIG_INTEGRITY_TRUSTED_KEYRING=y
-CONFIG_INTEGRITY_AUDIT=y
-# CONFIG_IMA is not set
-# CONFIG_EVM is not set
+# CONFIG_INTEGRITY is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y
# CONFIG_DEFAULT_SECURITY_DAC is not set
CONFIG_DEFAULT_SECURITY="selinux"
@@ -5524,24 +5492,12 @@
# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set
# CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
# CONFIG_SECURITY_DEFEX is not set
-CONFIG_PROCA=y
-# CONFIG_PROCA_GKI_10 is not set
CONFIG_GAF=y
# CONFIG_GAF_V3 is not set
# CONFIG_GAF_V4 is not set
# CONFIG_GAF_V5 is not set
CONFIG_GAF_V6=y
CONFIG_SECURITY_DSMS=y
-CONFIG_FIVE=y
-# CONFIG_FIVE_GKI_10 is not set
-# CONFIG_FIVE_GKI_20 is not set
-# CONFIG_FIVE_DEBUG is not set
-CONFIG_FIVE_CERT_USER="x509_five_user.der"
-CONFIG_FIVE_DEFAULT_HASH_SHA1=y
-# CONFIG_FIVE_DEFAULT_HASH_SHA256 is not set
-# CONFIG_FIVE_DEFAULT_HASH_SHA512 is not set
-CONFIG_FIVE_DEFAULT_HASH="sha1"
-CONFIG_FIVE_TRUSTED_KEYRING=y
CONFIG_CRYPTO=y

#
@@ -5668,7 +5624,7 @@
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_LZO=y
# CONFIG_CRYPTO_842 is not set
-# CONFIG_CRYPTO_LZ4 is not set
+CONFIG_CRYPTO_LZ4=y
# CONFIG_CRYPTO_LZ4HC is not set
# CONFIG_CRYPTO_ZSTD is not set

@@ -5796,7 +5752,6 @@
# CONFIG_DDR is not set
# CONFIG_IRQ_POLL is not set
CONFIG_MPILIB=y
-CONFIG_SIGNATURE=y
CONFIG_LIBFDT=y
CONFIG_OID_REGISTRY=y
CONFIG_SG_POOL=y

(I'm mainly guessing what might be relevant here. I ran Gentoo and Arch at a time, but I'm not particularly knowledgeable on Android internals, so all my guesses are speculation)

The CONFIG_EXYNOS_DECON_LCD_* driver entries that is present in the stock(?) kernel looks like the obvious candidates to me.

(I also wonder if the mount failures in the dmesg might be related to LZO on F2FS being disabled)

(If it works with a bootloader downgrade, which I should probably try, missing drivers won't make sense as the reason for the black screen though...)