# Restore to stock firmware **Restore to stock firmware...** removes aftermarket firmware and returns the miner to the manufacturer's firmware it keeps on board. Nothing is uploaded. The miner reboots, and some firmwares come back on a new address. It is offered when the selection includes a supported firmware, and asks for confirmation with the list of miners first. | Firmware | How it is removed | Login used | |---|---|---| | VNish (and builds based on it) | web API: unlock, then remove firmware; reboots in seconds | the VNish row in Credentials, else `admin` | | LuxOS | miner API: log on, then uninstall | none | | Braiins OS | SSH: runs the firmware's own `uninstall.sh` | the SSH row in Credentials (see [Settings](06-settings.md#ssh-login)) | Miners are restored one at a time. A dropped connection after the command is sent counts as success, because that is the reboot. A refused login counts as a failure and leaves the miner unchanged.