Can't be done without the right device on the BB5 Nokias as the security is different buddy.
You need to pop it into a phone shop to reset it if it's not 12345, that's the only way for sure as I work with phones & master codes are a load of rubbish for most.
:o)
Craig
GATORS
November 2008