Flash Your "Android V6 Rom" as Normal, then in TWRP, Install the Attached Zip File.
Should work with A lot of the X Series. If you do not have Twrp installed, Use SP Flash Tool to install the Twrp recovery.img
Instructions: Open SP Flash Tool, Select Your scatter File. De-Select all other options and leave recovery checked. click on the recovery line and browse to your Twrp Recovery.img. Press Download. With phone conected via USB, Reboot Android and the Process will Start..Once finished disconect Usb cable. Press Power for 3 Seconds, then quickly Press and Hold Vol-Up button to boot into Twrp.
Regards Paxster;-)