yashsingh1/xdaforums huggingface dataset:
[HTC Inspire 4G] Gene Poole:
You are correct. Odd. The sqlite3 on my windows machine shows nothing in your db, but does show tables in the one I pulled from the phone. My linux machine shows data in both. They are supposedly both the same version of sqlite3.
[HTC Inspire 4G] id10terrordfw:
What radio/ROM/ril were you running when you started?
[HTC Inspire 4G] mj0528:
rcmixhd 6.1.0.1, I was using the new radio when I started.

Edit: after testing mulitple times, speeds are actually slower for me
[HTC Inspire 4G] id10terrordfw:
Hmm, now that is odd. I am also running that exact ROM right now and with these settings am hitting speeds that an Inspire running the exact same ROM minus these changes could only dream about. After making these changes, the speeds on that Inspire immediately went up.

Odd. Since you are now using the Radio/RIL proper combo, signal should in theory be better. If you could be so kind, check your -dBm's, Nandroid your current setup with these mods, then restore your back up and check your -dBm's and let me know if there is a difference.

Either way, if this radio/RIL combo doesn't work for you, feel free to try any other combo's. I would just make sure they match.
[HTC Inspire 4G] mj0528:
I should have mentioned that once I got outside, my -db was about 10 better than it usually is. Flashing nandroid back to normal now. I didn't take a back of the changed rom. One thing though, i didn't get prop editor when I flashed the .zip. I manually edited mine from root explorer. I flashed it again to see if it would make a difference, it didn't
[HTC Inspire 4G] BillTheCat:
Understood, if it weren't for the fact that others are reporting the same thing. I find it highly improbable that my troubles with signal strength correspond almost to the hour that AT&T rolled out their update. One day my signal is pegged at 4 bars, now it's in the crapper. Not saying that you're wrong and that it can't be a bad antenna, but I just don't think so. And the other member here running the same ROM is experiencing the same thing.

Again, from where do we get the 'telephony.db', or if I have the correct settings in my (single) APN, do I not need it?
[HTC Inspire 4G] id10terrordfw:
Ah, I think I know the problem. In my very first upload of the flashable zip, I had a bad update-script in there that actually did... Nothing. So you never had the updated RIL.

That oversight has since been fixed.

BillTheCat,

I honestly don't know what else to try. If you were here I would take a look, but it may be worth a swap out to just get back to a stock unflashed phone, if it is feasible.
[HTC Inspire 4G] id10terrordfw:
In the /zip you download, there are three files. One is the flashable .zip file. One is the telephony.db, and one is the pd98img.zip(Radio file). That is where it is.
[HTC Inspire 4G] entropism:
You updated the first post to mention that CM versions only work if they support HTC rils. Any idea when this support was added? IE, if using the latest stable 7.0.2 will be fine?
[HTC Inspire 4G] id10terrordfw:
7.0.2 should be fine.
[HTC Inspire 4G] id10terrordfw:
After testing I will upload a new package that auto installs the telephony.db.
[HTC Inspire 4G] henrybravo:
Thanks for making this thread. Looks like my speeds were already maxed out at 6-7 Mb/s. For the last few days, I've been running CM7.0.2 on the original build.prop settings, my APN fix, the new stock radio and the matching RIL file (.0079HM), and I was getting occasional 6-7 Mb/s. Replacing the .db file and changing the build.prop settings to match your OP didn't make my downloads any better, but I will run a few more tests throughout the evening.

I am curious about this line:

media.a1026.enableA1026=1

On other phones, media.a1026.enableA1026 is what enables/disables the dual mic noise cancellation feature. Since this line isn't in the stock build.prop, I'm wondering if the stock Inspire is using this feature, or if they've left it out because the noise cancellation is buggy, or if this line is even needed to enable it on the Inspire. CM7 has this line set to 0 by default.
[HTC Inspire 4G] mj0528:
just installed the latest radio 12.54.....m2 and the matching ril and am now getting close to 4mb down

Just FYI

signal strength is lower but speeds are 3 times I was getting with stock
[HTC Inspire 4G] djzikario:
Thanks, might try this later, good job op
[HTC Inspire 4G] ryanmfraser:
How do I set my permissions in Root Explorer?

I tap & hold the new telephony file & select permissions. It brings up the permissions chooser.

Looks like this:

Read Write Execute

Owner:

Group: x x x

Others: x x

and then special permissions below that.

EDIT: added screenshot of it.
[HTC Inspire 4G] mallikg:
dagnabit

Followed all instructions to the letter and no change in either download or upload speeds. I was getting .8 to 1.8 download speeds and .8 to 1.6 upload and I still see the same. Anyone else from St.Louis, MO that applied this fix in this thread and seeing better results? <whine> I want 4 to 6 mbps downloads </whine>.
[HTC Inspire 4G] id10terrordfw:
In your case Henry, it probably won't make much of a difference. However, as for the a1026 line, it does turn on the audience chip, you are correct. In my bone stock pull of build.prop from the updated ROM, it iS set to 1, so I put it in here.

This whole thing in theory should optimize our custom eurpoean and asian based ROMs for AT&T's network. :D
[HTC Inspire 4G] id10terrordfw:
It should be Group and Owner R and W.
[HTC Inspire 4G] id10terrordfw:
If they haven't deployed the HSPA+ combined with the backhaul you won't see much improvement until they do. I know they have deployed it here.
[HTC Inspire 4G] 9646gt:
Quick question, I am doing this guide now and am curious what is the fastest and easiesr way to reapply the build.prop changes evrytime I flash a new from? Thanks!
[HTC Inspire 4G] rob1216:
I have these twice in my prop build the ones down near bottom say "ace RF team request" should I delete those

ro.ril.hsdpa.category=14

ro.ril.hsupa.category=7

ro.ril.hsxpa=3
[HTC Inspire 4G] henrybravo:
OK, thanks for that info. The build.prop file that I pulled from the updated stock rooted ROM floating around the forum didn't have this line in it. :confused: It did have "media.a1026.nsForVoiceRec=0" but not your line. There must be some subtle differences between the various versions.
[HTC Inspire 4G] id10terrordfw:
If they match you are fine.
[HTC Inspire 4G] 9646gt:
You rock! I am using RC mix 6.1.0.1 and was seeing less than .5 down and .5 up. Now at almost 3 down and over 1.5 up on a ****ty signal.
[HTC Inspire 4G] id10terrordfw:
There's the rub, each different build has a different build.prop. The only way would be to open the ROM in 7zip (NOT EXTRACT) and edit it in there.
[HTC Inspire 4G] id10terrordfw:
FINALLY! Good news! :D
[HTC Inspire 4G] 9646gt:
I'm thrilled. The com.android telephony thing kept crashing and I lost signal. Fixing permissions corrected it. Good to know I can edit the prop file on a computer before flashing. Data speeds almost made me go back to stock but now I will wait and see how this goes on my inspire :)
[HTC Inspire 4G] ben.kank:
I installed the latest nightly (61) shortly before installing this patch. When I reboot after installing the speed boost patch I get the anticipated phone crash. However, fixing permissions doesn't see to resolve the problem. Is it possible that the bump to 2.3.4 is causing a problem ?
[HTC Inspire 4G] rob1216:
How do you go about adding a line I don't have using, manually I've tried but it it won't add it
[HTC Inspire 4G] id10terrordfw:
Menu key, add property, scroll al the way down to the bottom and choose manual entry.
[HTC Inspire 4G] id10terrordfw:
That is a possibility, I have downloaded 61, I will pull the telephony.DB and check for differences. If not, I will add the proper info from the stock inspirr telephony and test the results.
[HTC Inspire 4G] rob1216:
I have a line that says media.a1026nsForVoiceRec=0 do I edit that to your suggestion media.a1026.enableA1026=1 or just add this line thanks
[HTC Inspire 4G] legendindisguise:
I'm in the Build Prop right now and am wondering if it depends on what ROM you are running to determine how many changes/adds you have to do. I am running CoreDroid 5.4 and right now I would have to add almost all the lines you posted that needs to be changed or added.

Any info/help would be appreciated. Thanks
[HTC Inspire 4G] id10terrordfw:
Add the line. If it is not exactly how I posted, it is a different line. These lines hold true to any build.prop for the Ace line.
[HTC Inspire 4G] id10terrordfw:
Add them. As long as you made the backup your can always revert if needed. These lines are all in the stock updated rom in this way for a reason.
[HTC Inspire 4G] legendindisguise:
Thanks for the quick reply, much appreciated. Will be trying this in a few minutes.
[HTC Inspire 4G] ptulluri:
download speed have improved greatly but the upload speed are being affected

Before Change

1.8 mb DL and 1.1 mb UPL

After Change

3.1 mb DL and .3 mb UPL
[HTC Inspire 4G] substance12:
i'm curious if it's this line:

ro.ril.hsupa.category=7

i've read that setting this value too high has a negative effect. I have personally experienced this. I have the best upload speeds when this is set to 6.
[HTC Inspire 4G] rob1216:
Ya my uploads were over 1mb before doing this now there at 200 to 300k , I had hsupa set to 6 prior to this now its at 7, im gonna try changing it back to 6 and see what happens

Edit hsupa 7 gets me same speed as 6
[HTC Inspire 4G] substance12:
I just applied this. a few notes.

- 4 apns were listed. medianet had 2. so i just deleted one.

- the apn thread says for UD/cm7 you don't need entitlement but that was on there.

- Per the APN thread, the wap.cingular apn was missing "default" in the APN type. I was getting consistently low speed tests. all hovering around 1mb down. I tested this many times using fcc, speedtest, and speakeasy/web. when I added "default", my speeds started to push beyond 1mb. I finally saw results near 1.7-2. in my home that seems to be the norm. i'll see what this yields near my work where i know I can hit 3.5

-also per the apn thread, fota was missing from the medianet apn. adding this back in yielded faster results

-per apn thread I deleted the entitlement apn... just to see what happens.

- i left hsupa at 6. my uploads were fine.
[HTC Inspire 4G] id10terrordfw:
If 7 doesn't work for your uploads 6 is fine. 7 works here, but it makes no difference over 6. As for the entitlement apn, it is still there, just hidden like it is by default. :)
[HTC Inspire 4G] id10terrordfw:
Ok, so the telephony.db does NOT work with CM7 right now, I am working on merging the info into its telephony.db.
[HTC Inspire 4G] bclark:
Good to know although I have had no issues with it. When I ran through all the steps I ended with 4 APNS. I reset to default and may have gotten slightly better speeds but nothing crazy.
[HTC Inspire 4G] jaredcg:
All has worked grate for me was 1.3down and 500k up and now 3.5down and 1.6 up thanks for your hard work

Had one prob at first telephone.db did that and the phone.apk crashed like u said went to clockworke and fixed permissions like u said all I got was HTC white screen nanroied back and started over and used your new tool that flashes the telephone.db for u and worked grate thanks.
[HTC Inspire 4G] 9646gt:
My apns are missing default and fota as well. But they are locked and I can't edit them. Any ideas?
[HTC Inspire 4G] DeathmonkeyGTX:
Is anybody else unable to manually switch to edge after doing this? I've tried different find and loads of wipes to resolve to no avail. The first time this happened I returned to stock and rooted again to fix it but that's not working this time.

edit, nevermind; flashing the latest att radio again cleared that right up. It's been 10 minutes without switching back to UMTS/HSPA.
[HTC Inspire 4G] anit77:
I used "This" and after finishing I had problems with the phone FC'ing. I fixed permissions in CWM but is had no effect.

I also edited the code alpha numerically so it'll be easier to scan through using prop editor. Don't know if you want to update the op or not. ;)

htc.audio.hac.enable=1

media.a1026.enableA1026=1

ro.ril.att.feature=1

ro.ril.disable.fd.plmn.prefix=23402,23410,23411

ro.ril.ecc.HTC-ELL=92,93,94

ro.ril.ecc.HTC-GCC=999,112,997

ro.ril.ecc.HTC-WWE=999

ro.ril.enable.a52=0

ro.ril.enable.a52.HTC-ITA=1

ro.ril.enable.a53=1

ro.ril.enable.a53.HTC-ITA=1

ro.ril.enable.amr.wideband=0

ro.ril.enable.gea3=1

ro.ril.enable.prl.recognition=1

ro.ril.enable.sdr=0

ro.ril.enable.ucsq=2

ro.ril.hsdpa.category=14

ro.ril.hsupa.category=7

ro.ril.hsxpa=3

ro.ril.radio.svn=3
[HTC Inspire 4G] rotchcrocket04:
My experiences with this:

Prior I was pretty solid around .85 Down and

never

any higher than .25 Up.

After applying this fix I've definitely gained better speeds and achieved higher Up speeds. I am now averaging around 1.0-1.7 Down and my Up has seriously fluctuated from .25 all the way up to 1.5!

I'm unsure as to why it fluctuates sooooo much?! I can literally sit here and run a test with the same server and one test get .40 Down/.13 Up and then immediately run another and get 1.76 Down/1.4 Up?! Is this normal?

I'm happy with faster speeds but I'm hoping to get a little more consistency if anything. Regardless, all your work is greatly appreciated, and as many others have stated - thank you very much!
[HTC Inspire 4G] henrybravo:
Just a heads up guys. I've got a user in my APN thread saying that starting with CM7 nightly 61 there are new settings in the APNs for Internet Protocol: IPv4, IPv4/IPv6, and IPv6. Just letting you know in case copying over the telephony.db file into the new nightlies dorks something up, in case these new CM7 builds are expecting this field in the APNs (the stock telephony.db doesn't appear to have this protocol setting). Haven't tested this yet.
[HTC Inspire 4G] id10terrordfw:
You are correct, and I have already updated the telephony.db for CM7b61. I will be uploading shortly. Using the stock Inspire telephony.db will leave you WITHOUT any data connection, and no ability to manually add an APN.
[HTC Inspire 4G] id10terrordfw:
Yeah, I think I need to add the setperm to the updater script for it to work right.

If you are on CM7 build 61, the telephony.db in the OP will NOT work, either.
[HTC Inspire 4G] id10terrordfw:
It seems that it did not pull the APN's correctly from the telephony.db, which ROM are you running?
[HTC Inspire 4G] anit77:
I just applied the settings on a fresh flash of Inspired Ace using the 3 step, less flashing of the radio as I already have it.

After replacing the telephony.db and rebooting I get a continuous FC of Android Phone. Fixing the permissions has no effect on this just as in the 2 step I tried earlier. So I swapped back to the original telephony.db and no more FC's. But no change in speed either. 3~4 D & 1.3 U.
[HTC Inspire 4G] substance12:
ud. my speeds seem to be comparable to what I had before. when I start seeing 5+ down, I'll be convinced :-)
[HTC Inspire 4G] tribalartgod:
Ok, so I followed the instructions to the T. No FC's or anything of the such. Once all was said and done, and all permissions set, etc... My speeds actually decreased an average of about 25%.

I was previously hitting 1.36Mbps Upload and 2.34Mbps Download. After running all of this, I am consistently hitting .88Mbps upload and 1.55Mbps Download.

Gonna revert back, and just wait out the storm. :-(
[HTC Inspire 4G] shawn1224:
Same here, I was hoping to see 7-8Mbits but my speeds are the same after applying this. I usually get around 3.5-4.9Mbits down and 1.2 up. Sometimes I hit 5+ during non-peak hours.

Houston, TX running TPC's stock optimized.

I think this works for the OP because the DFW area is AT&Ts headquarters (better infrastructure, towers etc)
[HTC Inspire 4G] mj0528:
Tried it twice with bad results such as slower dl and ul speeds. Just switched to ACE with the new radio (.54) and now I am getting 5mb dl speeds
[HTC Inspire 4G] id10terrordfw:
CM7 base. Makes sense, I am having some trouble with the telephony.db on later builds. I'm going to look further into it.

As for others speeds, I did put it may not work for you with good reason, the deployed backhaul is what makes a difference for 5 and up, I think. If you don't have it, there are no settings on earth that will fix it, sadly. They need to hurry up and get this done, haha.
[HTC Inspire 4G] anit77:
Gtg replied to your question about the db.
[HTC Inspire 4G] id10terrordfw:
Excellent. I am updating the OP revising for his ROM.
[HTC Inspire 4G] anit77:
"Radio version info, Updated download again"

Do I just use the db from the update?
[HTC Inspire 4G] shawn1224:
What's the differences in the radio?
[HTC Inspire 4G] id10terrordfw:
No, discard it. It is not needed. Nor is the RIL, actually. Just the build.prop, most likely. I am downloading the ROM itself to see what changes are needed. It is entirely possible gtg's ROM is already perfectly optimized.
[HTC Inspire 4G] anit77:
The build prop isn't, I had to add about 6 entries & he's using the ril for the 4.11 radio.
[HTC Inspire 4G] rob1216:
This change didn't really do nothing for me running Android Revolution 2.2 rom, ran speedtests today at work near LAX still getting same speeds I was before changes 800k to 1.9mbs down and about 1mb up, while girlfriends Iphone 4 will get 4mbs sometimes even 5mbs down this really sucks. Any other suggestions?
[HTC Inspire 4G] id10terrordfw:
OK good, my download hadn't finished yet. I always will recommend using the same RIL as radio, and the build.prop entries made a large difference on RCMix 6.1.0.1. At the very least, with propeditor, that is an easy restore to make if it doesn't work.
[HTC Inspire 4G] Chillyw:
Using di11i's rom, when I fixed permissions with cwm, my phone started hanging on the HTC screen.
[HTC Inspire 4G] gtg465x:
But did you actually see a speed increase from adding the build prop entries?
[HTC Inspire 4G] id10terrordfw:
That is the question at hand, or more stable speeds even.
[HTC Inspire 4G] mattmiller:
My speeds are slower. I flashed the ril files over stock radio and hit over 4.5mbps. And I'm using the fort worth towers.
[HTC Inspire 4G] 9646gt:
So can anyone tell me how to edit a locked apn so I can add a couple of missing items?
[HTC Inspire 4G] mattmiller:
What are the permissions that I need to assign the PD98IMG.ZIP??
[HTC Inspire 4G] id10terrordfw:
None, it should run from the bootloader.
[HTC Inspire 4G] id10terrordfw:
You don't have to. They should be OK the way they are.
[HTC Inspire 4G] id10terrordfw:
Dilligafs ROM is inspire based, I need to add it to the list as such. This process is meant more for euro developed sense roms at the moment.
[HTC Inspire 4G] anit77:
In a word, no.

I get the best and most consistent speeds after changing to GSM auto (PRL).

What I can say is so far it didn't make anything worse.

I'm about a half mile from a set of towers and looking at full bars. But it is still rush hour here and I'm right off PIB...
[HTC Inspire 4G] Duffman14:
Have you fixed the telephony.db issues with CM7 based ROMs yet?

I am still getting FC's with the com.android.phone after trying both methods of replacing it. After using the two step method, I also lost my copy of stock telephony.db for my rom.

Does anyone have the stock CM7 telephony.db file on hand?
[HTC Inspire 4G] id10terrordfw:
I'm still testing it, but I think the tower i, was working off of today at work was jacked because no settings worked. I will upload the alpha version of the db tomorrow for those brave enough to test it, lol.
[HTC Inspire 4G] mattmiller:
I flashed that radio and I got piss poor reception and low low speeds. Flashed stock radio
[HTC Inspire 4G] id10terrordfw:
Did you flash the RIL too?

Also, this IS a stock Inspire radio. This is not a Desire HD radio.

Edit: fort worth in general has had piss poor speeds today, there was something wrong with the network. I verified on multiple att phones.
[HTC Inspire 4G] cwimer:
Im running cognition.

I followed your steps and using speedtest.net my download speeds went from 0.35mbps to 1.78mbps!!!

Thanks so much I'm finally getting better download speeds than my girlfriends iPhone 3gs. It's been frustrating that I have a "4G" phone but a 3G phone was getting the same download speeds... Anyways sorry for the rant but it helped me a lot and again thanks!
[HTC Inspire 4G] mattmiller:
Ah so I'm better off flashing a gingerbread radio? That new one released and flash the appropirate ril files?
[HTC Inspire 4G] ranjo65:
So, then, do you recommend running the radio/RIL from the OTA update with Desire HD ROM's like gtg's Ace?
[HTC Inspire 4G] id10terrordfw:
Yes, matching the radio and ril is always the best bet, and the radio and ril from the OTA update is designed specifically for the Inspire. For instance, my initial cold start gps status lock on a gingerbread DHD radio/ril was always about 3-4 minutes, and fairly inaccurate. With rcmix 6.1 and this setup, outdoors with a clear sky cold start is 35 seconds and hot starts of 2-3 with accuracy at about 10 feet or even less.
[HTC Inspire 4G] id10terrordfw:
Quite the opposite based on my testing. The DHD based RILs and Radios have always had issues, like crappy GPS. Howrver, if another radio ril combo works better for you, then by all means. Just make sure to match them for optimal use.
[HTC Inspire 4G] mattmiller:
Well like u mentioned in your pm,if I'm using a gingerbread rom,why flash a radio meant for stock 2.2.1 based OS. I mean it would make more sense to use the attached radio you provided for roms such as di11,leedroid and older 2.2.1 roms. And using the new gingerbread radios for the newly ported 2.3.4 OS. I'm not trying to cause conflict,just making SENSE
[HTC Inspire 4G] ranjo65:
I've been running Ace with it's shipping radio/ril for the past day or two, but I'm getting ready to try out the OTA radio/ril. We'll see how it goes.
[HTC Inspire 4G] henrybravo:
On the Inspire, the stock radios work just fine in GB ROMs. Especially if you flash the matching RIL. Can't speak for the Desire, although I imagine it's the same.
[HTC Inspire 4G] Sdobron:
Data and signal are very inconsistent since performing this on CM7...any fixes? It wasn't due to the new radio.
[HTC Inspire 4G] mattmiller:
Can u please post just the ril files needed for the new radio?
[HTC Inspire 4G] BlownFuze:
Here's the RIL for the latest radio. Just flash this zip in recovery without wiping anything.
[HTC Inspire 4G] mattmiller:
Thank you bud. Why is the size of the files you uploaded,bigger in size that what the OP posted? Kinda odd
[HTC Inspire 4G] id10terrordfw:
Because that includes two files(out of three) that weren't updated on the stock ROM. They will be included in my next update, coming later today.
[HTC Inspire 4G] mattmiller:
Dude it fluxuates between 3-4mbps. Guess where your in fort worth,ur getting a strong signal
[HTC Inspire 4G] cstayton:
data seems good still slow but my area doesnt have the best coverage as of yet. so we will se how it goes.
[HTC Inspire 4G] mattmiller:
So OP would u recommend flashing the full RIL package? Or just what u posted? And if flashing newer RIL files,anymore build.prop configuration?
[HTC Inspire 4G] Chillyw:
Just tried this on Inspired Ace in Austin, Texas. My speed went from .91Mbps/1.23Mbps to 4.51Mbps/1.20Mbps.
[HTC Inspire 4G] mattmiller:
Are y'all getting these speeds outside or in yalls homes? Cuz here in Dallas I'm getting 4.2mbps. I've been sick so I haven't gone many places since doing all this
[HTC Inspire 4G] mattmiller:
Chillyw send pics
[HTC Inspire 4G] id10terrordfw:
Right now I am in downtown, I live near alliance airport. I get the best speeds up there for sure, but unfortunately have been hitting 5-6 in downtown.
[HTC Inspire 4G] mattmiller:
Well I've done your whole process and can't higher than 4mbps and right now its crap. It seems when I flash radios then reflash the gingerbread radio,speeds differ and GPS seems to fluxuate majorly.
[HTC Inspire 4G] Mr Kyle:
Worked well for me, upload speeds are ~1.25Mbps they were ~0.30Mbps. Downloads are 4-4.5Mbps, which is slower than before but not by much.