My understanding is that if you can’t connect to the internet to setup your account and update to 5.0.0.21 before reboot, you’re screwed.
But if what @lineprinter says is true and you can enable developer mode, enabling connman from the command line might save your device?
But that’s just speculation on my part.