So i added these blobs:
# Citsensorservice
vendor/bin/hw/vendor.xiaomi.hardware.citsensorservice@1.1-service
vendor/etc/init/vendor.xiaomi.hardware.citsensorservice@1.1-service.rc
vendor/lib/hw/vendor.xiaomi.hardware.citsensorservice@1.1-impl.so
vendor/lib/vendor.xiaomi.hardware.citsensorservice@1.0_vendor.so
vendor/lib/vendor.xiaomi.hardware.citsensorservice@1.0.so
vendor/lib/vendor.xiaomi.hardware.citsensorservice@1.1_vendor.so
vendor/lib/vendor.xiaomi.hardware.citsensorservice@1.1.so
vendor/lib/libnanopb.so
vendor/lib64/hw/vendor.xiaomi.hardware.citsensorservice@1.1-impl.so
vendor/lib64/vendor.xiaomi.hardware.citsensorservice@1.0_vendor.so
vendor/lib64/vendor.xiaomi.hardware.citsensorservice@1.0.so
vendor/lib64/vendor.xiaomi.hardware.citsensorservice@1.1_vendor.so
vendor/lib64/vendor.xiaomi.hardware.citsensorservice@1.1.so
vendor/lib64/libnanopb.so
# Displayfeature
system/bin/displayfeature
system/lib/libdisplayfeature.so
system/lib/libdisplayfeatureservice.so
system/lib/vendor.xiaomi.hardware.displayfeature@1.0.so
system/lib64/libdisplayfeature.so
system/lib64/libdisplayfeatureservice.so
system/lib64/vendor.xiaomi.hardware.displayfeature@1.0.so
vendor/bin/hw/vendor.xiaomi.hardware.displayfeature@1.0-service
vendor/etc/init/vendor.xiaomi.hardware.displayfeature@1.0-service.rc
vendor/lib/hw/vendor.xiaomi.hardware.displayfeature@1.0-impl.so
vendor/lib/vendor.xiaomi.hardware.displayfeature@1.0.so
vendor/lib64/hw/vendor.xiaomi.hardware.displayfeature@1.0-impl.so
vendor/lib64/vendor.xiaomi.hardware.displayfeature@1.0.so
# Touchfeature
vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
vendor/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc
vendor/lib64/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so
vendor/lib64/vendor.xiaomi.hardware.touchfeature@1.0.so
vendor/lib/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so
vendor/lib/vendor.xiaomi.hardware.touchfeature@1.0.so
and added to the init.target.rc:
service displayfeature /system/bin/displayfeature
class late_start
user root
group root
on property:init.svc.surfaceflinger=stopped
stop displayfeature
on property:init.svc.surfaceflinger=running
start displayfeature
on property:init.svc.surfaceflinger=restarting
stop displayfeature
I used your kernel with the stock audio kernel with a few modifications so it can get compiled but the audio is not working. I tired to boot it with the kernel, build from the source from xiaomi. There the display didn't work but the audio.
Link:
https://github.com/alibei/kernel_xiaomi_tucana
With all this the device is booting up with a working display but the touchscreen is still dead and I'm getting the fake vsync warning. And it isn't crashing anymore.