For a first-generation Portal, unplug the device, press and hold the Volume Down and Volume Up buttons while plugging in the Portal. For a Portal+, unplug the power and USB cables, press and hold the Power button and plug the Portal+ back in at the same time. In both cases, continue to hold the buttons during the 10-second countdown to the factory reset.