It's more simple: Flash the baseband via odin (MODEM=PHONE=baseband).
Whatever you do with twrp/cwm is not relevant for this. That's the meaning of the word "independent".
Whatever you do with twrp/cwm is not relevant for this. That's the meaning of the word "independent".