I can only advise from experience with the XA2 H3113 pioneer, twrp-3.4.0-1-pioneer.img and the accompanying twrp installation zip.
You have to be very careful to follow the twrp install instructions exactly: use the command " fastboot boot " to temporarily boot the twrp image and install the zip.
I experimented with twrp and magisk on an XA2 a while ago. See this thread…