I was a big fan of modded playstation portables back in the day, to do it you would take a particular model of battery and remove one terminal or something similar which would activate a debug mode that let you flash it.
They fixed that with the newer batteries as I recall but was a pretty big hole at release