I will set a WARNING! here...This currently only works on 4.0.0 - 5.1.0, and assumes you have a method of entering RCM mode, and sending payloads.
This DOES NOT works in 4.0.1 (and maybe lower)
I tested it myself and found that this works on 4.1.0 after updating from 4.1.0 using a cartridge.
ReiNX keeps in black screen after the logo in 4.0.1 and if you switch to the 3.x files (with no sig patches) it works fine.
That should be edited