If you struggle with the payload-dumper I’d suggest you go with the first suggestion from @hirnsushi as it doesn’t require you to run any kind of tool:
Install Magisk app on your device
Download the LOS patched boot.img
Follow these instructions: