i tried to dig into upgrade2bos.py script, and looks like it is possible to re-install it by commenting backup and prep functions:
[...]
Without getting into my reasons of why I or someone else wouldn't want particular miners on braiins (few cards hashing at 5+k TH/s... mmk). Anyways, the miner can just be restarted and bring back the gui as well as cgminer. Reinstall isn't going to help thwart off the original issue of downgrading back to bitmain firmware. I'll probably just end up going the sd card route anyways as I accidentally changed the wrong config line and bricked 3 miners... Whoops.