@k2wl
In the CosmicCM (xdaforums.com/showthread.php?t=2627818&nocache=1 )post in android development section (not allowed to post there yet
) , the philz recovery 6.40.4 with f2fs support dosen't work.
I get an md5 error upon trying to flash it.
Version 6.26 works though