There is an official release of FlymeOS 4.5 based on stock LP.
—KK Bootloader(install it the same way you do before flashing CloudyG2)
—The International(D802) variant of the G2
2.Flash the KK bootloader/D802_PATCH_GO_LP_V1.1_droidth.zip
3.Reboot the recovery(TWRP will ask you if you want to install SuperSU,say YES).
4.Flash the rom.
6.(OPTIONAL)Flash the Gapps.
I noticed,in my case,that flashing Dorimax right after the rom and gapps are flashed causes a bootloop,so just flash the rom and gapps,let the rom boot,and then install Dorimax