Is there a way to fix this problem?
Reflash the phone completely(MAIN, FS, custom pack), and then unlock it again.