This is where Fastgsm Bcm came into play. It was designed to automate this complex process, communicating with the Broadcom drivers to read the unlock codes or directly reset the SIM lock status.
Provide your phone's (find it by dialing *#06# ). -FULL- Fastgsm Bcm 1.0.0.7