[HTC Inspire 4G] henrybravo:
Edit: Updated 7.31.2011 to include new "hipri" APN type, and a totally new procedure to prevent APN selection problems.

Just a quick note: the discussions in posts 2 through 169 of this thread are now deprecated, as the original post was totally different at that time. Posts 170 and onward are relevant to this heavily revised original post. So any procedures/workarounds in posts 2 - 169 should be ignored or taken with a grain of salt.

BACKGROUND

The stock Inspire ROM contains 2 APNs (Access Point Names) in the mobile network configuration. One is for data, and one is for MMS. Almost all of the custom Inspire/DHD ROMs on this forum only have 1 APN, where data and MMS are combined. This single APN is sufficient to obtain maximum data speeds in some markets, however in many markets such as mine, your phone needs to be running a dual APN configuration similar to the stock ROM to obtain maximum speeds.

As always, before making any major config changes be sure to fully backup your ROM. If you mess up real bad or something goes unexpectedly wrong, then you might permanently lose your connection with no recourse other than a complete restore.

These changes are for the United States AT&T network only.

FIRST, DETERMINE IF YOUR ROM HAS A LOCKED OR UNLOCKED APN CONFIGURATION

From your home screen, press the Menu button --> Settings --> Wireless and networks --> Mobile networks --> Access Point Names. If you see a lock symbol on your APN, then you'll need to jump down the locked APN procedure further down this post. For everyone else with an unlocked APN configuration, procedure is immediately as follows.

PROCEDURE FOR ALL ROMS THAT HAVE UNLOCKED APNs:

Step 1. Delete all APNs

If you're not already at your APN screen, then from your home screen press Menu button --> Settings --> Wireless and networks --> Mobile networks --> Access Point Names

Press the left side of your 1st APN to go into the settings of this APN, then press Menu>>Delete APN.

Repeat this process for any other APNs you have. The goal is to delete

all

APNs so we can start from scratch.

Now do the next steps in the same order as below:

Step 2. Create a new APN (Menu>>New APN). Everything is case sensitive and must be entered exactly as below. This will be your 1st APN:

Name: MEdia Net

APN: Phone

MMS protocol (if applicable): WAP 2.0

MCC: (don't change this number)

MNC: (don't change this number)

APN type: default,admin,hipri (notice there is no space on either side of the commas)

APN protocol (if applicable): IPv4

everything else: <Not set>

Press Menu>>Save. You will now be back at the initial APN screen.

Step 3. Create another APN (Menu>>New APN). Everything is case sensitive and must be entered exactly as below. This will be your 2nd APN:

Name: MMS

APN: wap.cingular

Proxy: wireless.cingular.com

Port: 80

Username: WAP@CINGULARGPRS.COM

Password: CINGULAR1

MMSC: http://mmsc.cingular.com

MMS proxy: wireless.cingular.com

MMS port: 80

MMS protocol (if applicable): WAP 2.0

MCC: (don't change this number)

MNC: (don't change this number)

APN type: mms,supl (notice there is no space on either side of the comma)

APN protocol: IPv4

APN protocol (if applicable): IPv4

everything else: <Not set>

Press Menu>>Save.

You will now be back at the initial APN screen again. Make sure the 1st APN (named MEdia Net) is selected (via the round radio button on the right side). Your data connection will drop for several seconds and then come back.

We're done. If something went wrong and you need to revert back to your default APN config, from the APN selection screen just press menu and select "Reset to default". Or worst case scenario, simply restore your nandroid backup.

Proceed to TESTING section below.

PROCEDURE FOR ROMS WITH A SINGLE

LOCKED

APN:

If your APN is locked (it shows the lock symbol and you cannot change the settings), then we're just going to add a second one.

From the APN screen, press Menu>>New APN. Here are the settings for your 2nd APN. Everything is case sensitive and must be entered exactly as below.

Name: Media Net or Media Net 2 (if your 1st locked APN is named Media Net, then just name this one Media Net 2 - the name in this field isn't important; it just needs to be unique)

APN: Phone

MMS protocol: WAP 2.0 (this option might not be in your APN, so don't worry if you don't see it)

MCC: xxx (Don't change this number)

MNC: xxx (Don't change this number)

APN type: default,admin,hipri (notice there are no spaces between the words and the commas)

APN protocol (if applicable): IPv4

Everything else: <Not set>

Once you have the above settings entered, press menu and save. You will exit back out to the APN selection screen. Now you need to select the little round button for the new APN (Media Net/Phone) that you just created. Your phone's data connection will drop for several seconds as it switches to the new APN, and then come back. If you find that your connection doesn't "stick" on the 2nd APN (i.e. the selection button keeps reverting back to the 1st APN) then reboot your phone and try selecting the 2nd APN again. It is mandatory that the 2nd APN is selected to receive the speed benefit.

We're done. If something went wrong and you need to revert back to your default APN config, from the APN selection screen just press menu and select "Reset to default". Or worst case scenario, simply restore your nandroid backup.

Proceed to TESTING section immediately below.

TESTING

If you're in one of the markets that benefits from the 2nd APN, you will see an increase in download and upload speeds in a speed testing app. Also, uploads will not pause and stutter nearly as much anymore. If for some reason you notice your speeds are slower, this is likely due to the normal wide variance in AT&T network speeds, so keep testing. This APN fix is not known to slow down your speeds; they will either be the same or faster. If your average speeds are roughly the same, then your market is one of those that doesn't benefit from the dual APN configuration. For testing your speeds, I recommend the free Speedtest.net app (found in the Market). It allows you to choose from a wide variety of server locations to test against. Be sure to run multiple speed tests from different locations to different servers at different times of the day before jumping to any conclusions. With my phone sitting in the exact same spot I've seen speeds vary from 500k to 5MB/s in a 10 minute period, so keep in mind there can be a wide variance in AT&T network speeds and cellular conditions can change frequently and rapidly.

At this point, there are a few build.prop settings that might enhance your speeds even more, but that is beyond the scope of this thread.

Good luck and let us know your results. If you have any problems, post a message in this thread and I'll try to help you.