what model was your phone and what software youve used? (K530 or W660)
If W660, you should generate unlock patch using w660i MAIN file and vise versa