The guide I linked offers an offline method. You can click through it and read through the entire procedure.
"Will the guide connect me to a botnet?
No. Every linked tool in this guide is open-source. Check it yourself."
I'd imagine you could download all the bits from github and install everything from pristine github sources after a thorough code review, knowing that factory reset returns you back to stock if need be. Just think of it this way: the odds of anything getting past that level of scrutiny can't be worse than stock firmware.