You can't upgrade to custom firmware from official firmware, you have to first go through a process of "downgrading" your psp(or use the new pandora battery if you know someone with a modded psp). There are quite a few articles about it here on DCEMU, as well as in various other places......
And so far as I know, there aren't any downgraders for 3.51 or above, you have to use Pandora(not that its bad, as you can use it to unbrick your psp as well)
Also, what PSP type do you have?
Bookmarks