hi
i just wanted to clarify that the entering of APN settings to make data connections to work are required with both unlocking methods code or sim
This is a tutorial on how to add APN settings to HTC phones for your network providers. Example phone used is a HTC Hero but process is same for all HTC models.
Android APN and Data Settings Change for HTC Phones
Go to settings -> wireless controls
Go to Mobile Networks -> Access Point Names
Click Menu and select New APN
All you need to add for most networks is just the APN setting which can be obtained from your simcards network provider
Press Menu and Save
You are ready and have configured data connection settings.
here is a link to a video how to enter the APN settings in a HTC hero