I have ported lineage os 14.1 rom for Coolpad note 5 sd 617 device from htc one a9 but its lots of bug how can i solve... Plz help me out

https://youtu.be/xIoTFgzQ-qA

https://forum.xda-developers.com/android/development/lineage-14-1-7-1-1-coolpad-note-5-t3825535