Devs know much more than thishttps://xdaforums.com/android/software-hacking/guide-port-64-mtk-roms-t3555933/page1
Bug fix and port QUALCOMM phones. Try to fix sensor bug. This guide may help you. I just want nougat for redmi 3s so I'm trying to help.