Re: Z5 compact not asking for Network Unlock Code.
Thank you for your quick response. I know you can't help, though I needed to talk about the issue since you had the same situation. I'm happy you were able to unlock your phone, it gives a hope that I can do some day! Maybe I will try few SIM from different providers, and hopfully one of them will work. Thank you again.
That sounds very strange that it didn't work with the EE SIM but it worked fine with the SIM card from O2. I'm not from the UK myself, but I think that EE, O2 and Vodafone have their own networks and they don't "loan" it from someone else either.
In the end, I'm glad to hear that you were able to remove the lock, even though it took a bit longer than it had to.
@Zaineb, sorry to hear that you aren't able to remove the network lock on your device.
Could you please check so you have any remaining unlocking attempts left? If you don't any attempts left, you will not be asked to enter the code. Follow the instructions below and let me know what is shown in your device.
Remove any SIM card from the Xperia device.
Turn on the device.
Dial*#*#7378423#*#*to access the service menu.
TapService info>SIM lock.
Look for the 'X' mark.
If 'X' is on Network and the value is different than 0, you can remove your device's operator lock.