If you like to save money by going for 3rd party non-OEM displays on your Samsung phones, especially with One UI 7.0, we got bad news for you. Many users are complaining about touchscreens not working after few hours upgrading to the latest One UI 7.0.

Clearly, there is a software kill switch introduced by Samsung for non-OEM parts that is bricking a lot of phones, including Samsung Galaxy S23 Ultra, which is Samsung’s flagship 2 years back.
For other uses, non-OEM screens result in error where a firmware update of the screen driver is attempted. There are few solutions out there to reenable the screen but this requires root access to your Samsung android phone. And this also requires you to have TWRP custom recovery installed as well.
1) Install TWRP (custom recovery) on your device
2) Root the device, and install Magisk
3) Reboot to recovery – adb in recovery or from terminal in recovery copy the firmware that works with the touchscreen – for my device (S21 5G) this was /vendor/firmware/y792_o1.bin – if unsure check on normal ROM log on /proc/tsp_msg and see the firmware file name – so:
cp /vendor/firmware/y792_o1.bin /sdcard/
this is the old firmware that works and the boot process does not try to update it (see TWRP log above)
4) Boot into your rom, adb shell, switch to root, remount /vendor partition:
mount -o rw,remount /vendor
Remove the firmware of the ROM:
rm /vendor/firmware/y792_o1.bin
Copy from SDcard firmware from recovery:
cp /sdcard/y792_o1.bin /vendor/firmware/
5) create a startup script that magisk will execute:
echo $"echo 4-0048 > /sys/bus/i2c/drivers/slsi_ts/bind\n\n" > /data/adb/service.d/enable_touchscreen.sh
chmod +x /data/adb/service.d/enable_touchscreen.sh