Trying to replace a modem but encountering errors
Okay solved myself. Solution:

1) Flash stock ROM through Odin on PC. Lost all SD content but retained external SD content.

2) This resulted in a weird encryption thing, so I flashed PhilZ recovery and then flashed a third-party ROM from my external SD.

3) Bootable, and modem is updated because I flashed the newer stock.