I apologize, I wasn't clear enough. The button is not (just) power-off button, it's also power ON. and for that I thought the only way was to short pins 5 and GND. I followed this guide:
https://howchoo.com/g/mwnlytk3zmm/how-t ... spberry-pi
I hoped for an easier solution. Ended up reinstalling Raspbian. Thanks.elatllat wrote:Just dd a new img.
If you have unsaved/scripted changes you can backup first and diff after to find them.