LG G3 D852 unlock failed

i have tried to unlock LG G3 model D852 , it gave error 2 , then it bricked the phone , imei = 0 , and on the unlock menu 2945#*852# , it gave the phone is permently locked and cannot be unlocked .

before i attemp to unlock , the phone was normal : imei was ok , unlock menu was ok .

i had to repair the imei with another machine and i got it back , but the unlock menu still says " the phone is permntly locked and cannot be unlocked" , any ideas ?