yashsingh1/xdaforums huggingface dataset:
[HTC Inspire 4G] henrybravo:
It's hard to tell what benefits "hipri" is netting us, or what its requirements are regarding radio/RIL, if any. Now that I've used it for several days, I haven't noticed any tangible difference. I still see slowdowns during peak hours, and speeds go up to the same levels at night, but there's no major difference than before.
[HTC Inspire 4G] monkeyrasta.702:
It gives me more stability I'm using the ota radio
[HTC Inspire 4G] henrybravo:
Good to know. Is it just me, or does your phone seem to toggle less between 4G and 3G with hipri? I wasn't going to say anything yet in case it was just placebo effect, but are you seeing the same thing?
[HTC Inspire 4G] monkeyrasta.702:
It depends were I am but yeah especially at work I get great service but sucky speeds so it toggles a lot
[HTC Inspire 4G] dyliho:
Ok, I appreciate it. I just flashed RumRunner and am going to give this a shot. I believe my radio and ril have had enough time to settle and what not, and after a few more runs gonna see if the new setting can net me any significant boost....

-MyPocketWizard-
[HTC Inspire 4G] AUSTIN3:16:
I'm on a stock rooted GB Rom and I used the app APN Backup to delete my stock apns. I made the 3 apn's from here and I changed my build prop settings to hspda 112, hsupa 12 and dtm 1and now I have hit peak at 7.93 Mbps down/ 1.09 Mbps up. I average 5.3-6.3 down and 1.09 up. This from hitting the server here in San Diego.:D
[HTC Inspire 4G] nymikey:
no save option when adding 3rd APN???????
[HTC Inspire 4G] henrybravo:
You don't need to worry about saving it; there is no need for anyone to be adding the 3rd "entitlement" APN anymore. Those old posts are no longer valid. This third APN was only needed for people who couldn't get the selection to "stick" on the Phone APN. The new method in the OP negates the needs for the 3rd APN.
[HTC Inspire 4G] homescrub:
Well, I'm still having issues not being able to send MMS out with these settings.

lol, makes me want to revert back to Sense.
[HTC Inspire 4G] g3ismeee:
I can't say that. On average my speeds are up since the OTA. Not sure what to attribute it to tho. ... Actually I believe its the Telus radio with 160 RIL that I installed around the same time if I go by intuition...as you know henrybravo, the network is so inherently variable it makes it hard to test over time....and maybe they are just backhauling more...the tower one coonects to is a huge variable
[HTC Inspire 4G] henrybravo:
Good deal, thanks for the input. Glad to hear the network seems to be getting faster; that will benefit everyone. :D
[HTC Inspire 4G] henrybravo:
I know of another user (using an AOSP ROM) that can't send MMS while on wi-fi, because the ROM doesn't seem intelligent enough to switch to cell data for a few seconds to send the MMS. Is your problem of the same nature? Or you just can't send MMS period, regardless of whether you're on wi-fi or normal cell data connection?
[HTC Inspire 4G] MrMickeyMoose:
WOAH!

I'm not seeing a speed increase as far as the speed test app goes. BUT, Android Market Pages, Web pages, and anything else requiring a connection seems to draw a lot faster, so I'm Happy. :D:D:D:D
[HTC Inspire 4G] henrybravo:
Good deal. Your latency may be lower than before.
[HTC Inspire 4G] rasroygbiv:
Hey, that user was me! Lol. The issue seems to be fixed with the newest ninja, and any of the newer nightlies. I believe that some of these issues can be caused by different kernels, and third party mms apps as well.

PS. I think hipri does help speeds.:-)
[HTC Inspire 4G] henrybravo:
Ha ha, indeed it was you! So, with your post, that's another vote for hipri=better. Noted. So far, hipri=better is winning. :)

Glad to hear that MMS bug has been squashed once and for all hopefully.
[HTC Inspire 4G] rasroygbiv:
Me too! Thanks for keeping this up to date... hipri= winning! Lol
[HTC Inspire 4G] allenrb2:
Thx, used this on CD V8, and Bindroid, and my d/l go from 1.5 to 3.6 after this fix.
[HTC Inspire 4G] 39FarmallM:
Thanks for the APNs. I have used this dual APN setup on the newest Virtuous Unity ROMs and on the ClearDroid ROMs with fantastic results. My before numbers were 1.5M down and 1.0 up and now I am getting 4.0 down and the same 1.0 up.

I am now on ClearDroid 1.2.2 and have found a problem. I receive MMS and can download the info but all I get is the text portion. I do not get pictures, etc. If I restore the default APN the MMS works as it is supposed to. I have not tested the default APN for download speed, yet. The dual APNs had worked so well in the past that I did not think to test the default.

Has anyone tried the setup that I am using and did you get the same result?
[HTC Inspire 4G] henrybravo:
Since the default APN is allowing MMS to work properly, then just keep it as is. Add a second APN with these settings:

Name: MEdia Net (or something unique that doesn't match the 1st APN's name)

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>

Once you've got this 2nd APN input, save it and select it (via the radio button on the right side). Now you've got 2 APNs; the default one that works with MMS, and the fast "Phone" APN - so hopefully it's the best of both worlds for you. Let me know your results.
[HTC Inspire 4G] 39FarmallM:
Thank You. I am trying a few different setups. This one will be included. I'll post the details if anything conclusive comes out.
[HTC Inspire 4G] jpcdeux:
tried and went back to stock. CM7 nightly honestly seemed faster the way it was.
[HTC Inspire 4G] henrybravo:
Yep, some markets don't benefit from this APN fix.
[HTC Inspire 4G] 39FarmallM:
Oh, but some markets do!

Still tallying the results. Another run or two.
[HTC Inspire 4G] henrybravo:
Indeed! In my market, download speeds quadruple. :)
[HTC Inspire 4G] 39FarmallM:
@henrybravo: I have a blizzard of data and a roughly equal amount of conjecture, but to save time and bandwidth - the dual APN setup is worth trying.

My best example was with Virtuous Unity 2.35. It uses the 131 ril and I used the 03 radio. Before d/l was around 1.5 Mbs after was over 4.

The latest is ClearDroid 1.2.2 It uses the 160 ril and 03 radio. By the numbers, there is a slight increase in d/l speed but the best thing was that the graphs climbed up quicker and were a lot flatter with the added APN from a few posts back. Upload did not vary a lot in any case. I think we are speed limited because all of the best d/l graphs appeared to be "bouncing" off of a ceiling.

All of this is based on Speedtest.net data. Whether it is accurate is not as big of a deal as the ability to compare data from run to run.

A little conjecture, it sure seemed that I got faster GPS locks on dual APNs. I did not time them, but perception plays a big roll in how "good" or "bad" something is whether we are willing to admit it to ourselves or not.

Sent to a tower near you using XDA App
[HTC Inspire 4G] wjsturgis3:
I find it interesting that your suggested APNs in the OP are EXACTLY the same as the stock APNs that were installed when I got my Inspire 4G from AT&T EXCEPT for the APN type setting where fota is replaced by hipri.
[HTC Inspire 4G] henrybravo:
Maybe you missed it, but I already mentioned your point in the OP:

"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."

I used the phrase, "

similar

to the stock ROM" because, as you said, I've removed "fota" from the APN type - explanation further below.

This thread came to be because almost all custom ROMs on this forum don't contain the stock APN configuration, which is needed in many markets to achieve full speeds. To this day, almost all custom ROMs still only come with a single APN.

Regarding the APN types, "fota" is an acronym for Firmware Over The Air, which is what the stock ROM uses to receive OTA updates. Obviously on our custom rooted ROMs we don't need or want any updates from HTC or AT&T, which is why I've left it off. "hipri" is a new APN type that was released with the recent AT&T Gingerbread OTA update. A few users noticed improved performance, which is why I've incorporated it into the settings.
[HTC Inspire 4G] Bzow:
Would/should this have any impact on battery life?
[HTC Inspire 4G] henrybravo:
Not that I'm aware of. Definitely haven't experienced any ill effects, nor any gain (battery wise).
[HTC Inspire 4G] henrybravo:
@FarmallM - thanks for the feedback!
[HTC Inspire 4G] dog77k:
CM7 has updated the ATT APN settings with the new changes shown here. It looks like they are adding a second apn for MMS only. It is similar to the OP settings, but I don't see the magic "hipri" in apn type anywhere.

I tested the new CM7 settings out and I don't seem to be having the "my data drops momentarily when I start gps when using two apns" problem anymore. To soon to tell for sure though.
[HTC Inspire 4G] henrybravo:
Wow thanks for letting us know. This is good news...now nightly 180 and later will perform at full speeds without having to modify the APN config. It is about time we've got a custom ROM with the proper APN settings. The key to getting good speeds in all markets is the "phone" APN, which they're going to include now.

I am curious about some of the APN types they're going to be using:

default,supl,agps,fota,dun,tether

I'm surprised they're including "fota" since this is needed for Firmware Over The Air updates from AT&T/HTC. I would think this APN type is not needed in CM7, although it doesn't hurt anything to have it in there. And, as you noted, "hipri" is not there, even though this APN type was added in the OTA Ginberbread update at the end of July.

Since CyanogenMod is used on several different AT&T phones, it looks like they're grabbing many of the possible APN configs from the stock ROMs of these phones and combining them into one long APN type string - "hipri" being the exception for some reason.
[HTC Inspire 4G] henrybravo:
Ha ha, well the new APN config was only in CM7 for about 6 hours. :p After nightly 200 came out, they quickly released 201 just 6 hours later, the only change being the APN changes were reverted. Guess it caused problems.
[HTC Inspire 4G] badmfmike:
I have been using this speed boost with LeeDrOiD 3.3.3 to great success, and have it running on 4.0 Beta currently. LeeDrOiD 4.0 is Android 2.3.5 with Sense 3.0, Kernel 2.6.35.14-LeeLrOiD-Ace-GB-3.2.0-BFS-g14a52b4.

This has greatly increased my speeds while in 4G coverage areas. Thank you for doing the research.
[HTC Inspire 4G] henrybravo:
Thanks for posting your results. :)
[HTC Inspire 4G] michaelnel:
Thanks for your work on this. I tried it though and couldn't get the data connection to come on at all.

I think the problem is that I am not a contract customer of AT&T, I am a GoPhone / Pay As You Go customer. If I use a single APN that looks like this it works fine though:

Name: AT&T

APN: wap.cingular

Proxy: wireless.cingular.com

Port: 80

Username:WAP@CINGULARGPRS.COM

Password:CINGULAR1

Server: (blank)

MMSC: http://mmsc.cingular.com

MMS Proxy: 66.209.11.32

mms protocol: wap 2.0

MMS Port: 80

MCC:310

MNC:410

APN Type: (blank)

It's not very fast (1-2 mbps down), but I think AT&T restricts prepaid customers like me to not be able to access 4G.
[HTC Inspire 4G] poppabman:
These dual apn settings are working great I have nearly doubled my speeds. Great work!!!
[HTC Inspire 4G] dowenprs:
I have the same problem, I can create 2 new apns, but when I select the "Phone" APN i never get a data connection. I've tried a couple of the different methods and apns listed in here, but nothing everytime when the "Phone" apn is selected.

Peace

Dan
[HTC Inspire 4G] vikdmon:
If you didn't buy the Inspire 4G from ATT, then call their tech support and have them add your IMEI number to your account.
[HTC Inspire 4G] henrybravo:
That brings up a good point, thanks vikdmon. For the 2 of you having problems using the Phone APN, did you buy your phone from AT&T, and/or what type of data plan are you on? This may not work on the Go plans, or you may need to call support to have your account modified as v said.
[HTC Inspire 4G] dirtyscout:
anytime its the least i could do is give back to the commuinty! after all i leech alot lol :D:D
[HTC Inspire 4G] Doo Doo:
how do you push telephony.db with adb i never used it before any help is appreciated
[HTC Inspire 4G] henrybravo:
Copy the telephony.db file to the same folder that adb is located. Open a command prompt, change to your adb directory and run this command:

adb push telephony.db /data/data/com.android.providers.telephony/databases/

Then you can reboot the phone via adb with this command:

adb reboot
[HTC Inspire 4G] Doo Doo:
i don't even know where adb is located sorry im a noob with adb as i have never used it
[HTC Inspire 4G] ajdrausal:
I made a bat file with the commands in it and included the .db file in it

just unzip and run the telephony.bat
[HTC Inspire 4G] henrybravo:
No worries. One place to get it is from the Ace Hack Kit, located here. Once you extract the kit, the adb executable is located in the tools folder.

By the way, I'm assuming you know that your phone needs to be rooted before you can do any of the steps in the first post of this thread. If your phone isn't rooted, the Hack Kit thread tells you how to do it.
[HTC Inspire 4G] XAviierG:
Nice Nice this will help!
[HTC Inspire 4G] Doo Doo:
yeah i already have my phone rooted but like i said i never used adb before & still don't really understand how to use it sorry :o
[HTC Inspire 4G] metaldood:
For adb push you have to be in Fastboot right?
[HTC Inspire 4G] XAviierG:
No you do not just have it plugged in and set to charge only.
[HTC Inspire 4G] XAviierG:
Seemed like nobody tried this with CoreDroid. Downloading it as we speak and will try this. Will post back what I discover.
[HTC Inspire 4G] ajdrausal:
Results

On gtg's Insipred Saga 1.0.1 with radio 26.08.03.0_M

I get the same results (3.5 - 4 Down and 1.3 Up)

But upon reboot after pushing the telephony.db i had to reselect my apn under the settings as it didn't connect to the network automatically :/ not a big deal just odd.
[HTC Inspire 4G] ajdrausal:
on post 45 i have a zip file to do the commands for you, i also included the .db file :)
[HTC Inspire 4G] henrybravo:
Judging by your speeds you didn't need to do this update anyway. :D This is more for people like me who were getting under 1 Mb/s.
[HTC Inspire 4G] ajdrausal:
It was worth a shot as someone claimed that the upload was above 2 :eek: lucky them!!

But it works on it
[HTC Inspire 4G] henrybravo:
Very good, thanks! I will add Inspired Saga 1.0.1 to the list of known working.
[HTC Inspire 4G] ajdrausal:
with a side note that you have to reselect APN under settings ;)
[HTC Inspire 4G] henrybravo:
Ah yes, thanks for that reminder. OP updated. Do you mind if I post your zip in the OP also?
[HTC Inspire 4G] ajdrausal:
32816 is where the setting work
[HTC Inspire 4G] XAviierG:
What problems are people having in ROM manager?
[HTC Inspire 4G] michaelnel:
Yes, as I said, I am on a Pay As You Go plan, and buy a separate data package when I need it. My Inspire 4G is an unlocked one I bought on Amazon.

It's OK, I can live with the data speeds I am getting.
[HTC Inspire 4G] dowenprs:
I actually bought mine right from atts online store, off contract, and actually when I got it in did have apn issues right away, I had to manually enter mine. I'll try giving them a call, thanks.
[HTC Inspire 4G] substance12:
did cm7 change their apn settings in n212-213?

Can someone post what their cm7 apn settings are and what nightly they are on?

I'm having this issue where I lost data connectivity and it's only fixed by a hard reboot. I did notice when I go into apn settings, do nothing, exit... that my signal bars go white and I lose connectivity to google servers.
[HTC Inspire 4G] henrybravo:
Nightly 200 had an APN change, which was quickly reversed in 201 because of problems. I'm not aware of any APN change since then (the change logs don't mention anything about it). I'm on nightly 211 using the dual APN config in this thread and everything's working normally.

It sounds like either something is jacked with your ROM or APN config, or you've stumbled upon a bug in the recent nightlies. However, I haven't read of your problem in the DHD/Inspire CM7 support threads, so this issue may be specific to your situation.
[HTC Inspire 4G] substance12:
I posted my issue in bbmod flap's ROM. He was having similar issues.
[HTC Inspire 4G] henrybravo:
Oh I see. Just curious, are these issues strictly related to flapjaxxx's ROM, or CM7 in general?
[HTC Inspire 4G] substance12:
Hard to say. Flap says it's cm7. I believe him. He's not modding it that much. I doubt this is kernel related.
[HTC Inspire 4G] S.Reno9:
If I set up the dual apn settings in the OP....will that kill my wifi mobile hotspot?
[HTC Inspire 4G] henrybravo:
Try it and let us know.
[HTC Inspire 4G] anudist:
My first attempt with this. I'm currently running CM7 nightly 218 which just came out, but reading above, this issue may have been apparent in 212 and 213 builds. I followed instructions word for word and case for case, but when I select the new APN (MEdia Net/Phone), nothing happens. The data connection never restores, even after disabling data and enabling again or after a reboot, so I restored to default connections which of course brought back the data connection.

Any suggestions, or should this be considered a bug for current CM7 ROMs?
[HTC Inspire 4G] substance12:
If I read your statement correctly, then default works best. Nothing wrong with that. I don't think my issue was APN related anyways.
[HTC Inspire 4G] henrybravo:
I'm unable to recreate any of these recent issues with the newest CM7 nightly. I just did a fresh install of nightly 218, deleted the default APN, then put in the dual APN config via the method in the OP. The connection dropped for several seconds and then came back (which is normal). The data connection is working normally. So I'm not sure what to tell you guys. I did a fresh install with no MODs, so I don't know if that matters.

There is an alternate method if any of you wants to try it. This is the older method that was in the OP up until the end of July until I modified it. Using this method, you don't delete the default APN; you merely update it and then add a second one, then switch your connection to the second one.

First, you'll have to revert to the stock APN config if you haven't done so already.

You will see the default APN called "ATT". We are going to modify this APN. Several parameters are unset and need to be updated.

Tap on the ATT APN and make sure the fields are populated exactly like this. Be careful and don't mistype anything - everything is case sensitive

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

MCC: xxx (Don't change this number)

MNC: xxx (Don't change this number)

APN type: mms,supl (no spaces between the words and the comma)

APN protocol: IPv4

Everything else: <Not set>

Once you have the settings above entered, Press menu, save. You are now back at the APN selection screen. Your data connection will be dead at this point.

Now add a new APN. Menu --> New APN

Create the new APN with the following settings:

Name: MediaNet

APN: Phone

MCC: xxx (Don't change this number)

MNC: xxx (Don't change this number)

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

APN protocol: 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 we need to select the MediaNet APN you just created; press on the little round radio button on the right side of MediaNet to switch your connection to it (it might already be selected for you). Your phone's data connection will drop for several seconds as it switches to the new APN. Important: after selecting the new APN, wait 5-10 seconds to make sure it stays selected. 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.
[HTC Inspire 4G] anudist:
Thanks for posting the older method for us. I just ran through and attempted it that way, again following everything to the letter and ensuring that I used appropriate case; no dice.

Last night I was using TalonACE kernel and switched to LordModUE today but still didn't work. I'm wondering if it's just my area. Utah isn't always the best place for cell phone usage, so it may be that these settings just won't work here. I'm going to try a fresh install of just vanilla CM7 with no kernel mods and I'll report back my results.

If that doesn't work, I'm heading out of town next week to Nevada, I'll give it a try there as well to test my theory.

---------- Post added at 10:05 PM ---------- Previous post was at 10:01 PM ----------

You're probably right. But I hate that, because on the default connection my speeds just plain suck. There are very FEW spots in this valley that actually have speeds I would consider normal for this connection type. Everywhere else is just abismal. Like barely on par with my old iPhone's 3G connection.
[HTC Inspire 4G] Diesel321:
What are some of your guys average speeds? Mine just seem like they huld be fasdterbut i amfairly new to all of this so im just curious... i barelybreak 2 Mb/s D, and 1Mb/s U, and ping round 150ms Just wondering if thats normal and if not what else can i do??? (Im running HoneyWonder Pyramid 1.1)

Lexingon, KY is my location if that helps with any given info/tips... Thanks
[HTC Inspire 4G] henrybravo:
Speeds vary widely in my area. Sometimes the downloads speeds are 500k (!!!) but usually they're in the 1.5 - 2.5 MB/s range. After midnight I can sometimes hit up to 6 Mb/s. My record is 7 Mb/s that I've hit only once. With the single APN config that comes on custom ROMs, in my area I can never hit above 1 - 1.5 no matter what. Regarding upload speeds, I've never hit above 1.2, which seems to be an HSUPA limit put in place by AT&T in several markets.

The moral of the story is YMMV big time on AT&T's network.
[HTC Inspire 4G] anudist:
Just wiped my phone and installed a fresh copy of CM7, still no change. Guess I'll be sticking with the default APN settings. Thanks for the help anyway!
[HTC Inspire 4G] henrybravo:
Oh well, at least you gave it a shot. I wonder what the problem is....
[HTC Inspire 4G] anudist:
I do as well. When I do the fresh install I install gapps at the same time, but that's it. I don't know what else it could be. I've tried two different radios now as well to see if that would work and 3 different kernels. I could try restoring my MIUI backup or my Virtuous Unity backup to see if I could do something in either of those, it would help eliminate a couple of things I guess. I'm up all night and at work, so I guess I have a project to keep me busy in the down time.

Weeeeee!