Exact same thing happened to me. Bought my phone off ebay here in Canada, boot loop...sent to LG, now locked again. I factory reset it a couple of times, and then restarted it. When it asks to load the previous user data, I chose no then was able to use the t-mobile unlock app to unlock. (previously when I went into the sim app it said I was permanently unlocked, even though t-mobile said I was relocked to them.) I accidentally hit temporary 30 day unlock...so hopefully it will let me do a permanent unlock after 30 days.