[Q] (Q) Data connection is gone after firmware flashing - How to fix?? - Galaxy S II Q&A, Help & Troubleshooting

I'll try to make this post as short as possible while still including all the details. I own an unlocked samsung galaxy s 2 in the US and have ATT as my provider.
After flashing different ROMs and firmware (exynos, lite'ning, cognition and the chainfire version of my firmware to be exact), my data connection is gone. I wrestled with it yesterday to no avail, because in the end my "Mobile network state" is always disconnected. Today, however, I changed the apn settings to the old ATT "wap" settings and the internet was restored. The speeds were somewhat slow, but i didn't care so long as they remained functioning. About two hours later - the connection crapped out. Oh, and I should also mention - I got a new sim card from ATT today assuming that my issue was a messed up and card from flashing too many roms with it still inside. Needless to say, that didn't work.
So, I'm here now attempting all sorts of remedies with no luck. ATM I am on cog 5.1 with the "correct" apn settings found here on xda, which hasn't worked either.
Has anyone else has this issue of losing their data connection altogether (although keeping wifi)? Does anyone have suggestions that might bring the data back to life?
Thanks!

alias3800 said:
I'll try to make this post as short as possible while still including all the details. I own an unlocked samsung galaxy s 2 in the US and have ATT as my provider.
After flashing different ROMs and firmware (exynos, lite'ning, cognition and the chainfire version of my firmware to be exact), my data connection is gone. I wrestled with it yesterday to no avail, because in the end my "Mobile network state" is always disconnected. Today, however, I changed the apn settings to the old ATT "wap" settings and the internet was restored. The speeds were somewhat slow, but i didn't care so long as they remained functioning. About two hours later - the connection crapped out. Oh, and I should also mention - I got a new sim card from ATT today assuming that my issue was a messed up and card from flashing too many roms with it still inside. Needless to say, that didn't work.
So, I'm here now attempting all sorts of remedies with no luck. ATM I am on cog 5.1 with the "correct" apn settings found here on xda, which hasn't worked either.
Has anyone else has this issue of losing their data connection altogether (although keeping wifi)? Does anyone have suggestions that might bring the data back to life?
Thanks!
Click to expand...
Click to collapse
what correct* apn settings are you using?

I'm using "phone" for the APN and leaving the rest blank (with the exception of APN type, which is internet).
Just minutes ago I reset to default APNs one more time to see if it would work, but nothing. I'll try the wap.cingular APN now to see if it at least picks up some data.

alias3800 said:
I'm using "phone" for the APN and leaving the rest blank (with the exception of APN type, which is internet).
Just minutes ago I reset to default APNs one more time to see if it would work, but nothing. I'll try the wap.cingular APN now to see if it at least picks up some data.
Click to expand...
Click to collapse
that doesn't work...
create a new apn
Code:
name-anything you want
apn-wap.cingular
proxy-<not set>
port-8080
[email protected]
password-CINGULAR1
server-<not set>
mmsc-http://mmsc.cingular.com
mms proxy-wireless.cingular.com
mms port-80
mcc-310
mnc-410
authentication type-<not set>
apn type-internet + mms

If you are still ' Rom hunting' as such, it is always a good idea to use program like apn manager so you dont have to manually enter your settings after every flash.
As my provider has nearly every field full, it can be a very timely exercise every time you change roms - lets face it, it can take some time to find the one we love
Sent from my GT-I9100 using xda premium

Those settings, wherever they're from, WORK. I had memorized the other common one already, so as soon as I saw the differences in yours I knew it would work. Unfortunately, I (literally) couldn't thank you enough for it.
Is that apn yours personally or just dug up from elsewhere here on XDA? I'm hoping it stands the test of time and continues to work after tonight... The speeds are all over the place for some reason, but at this point it doesn't matter to me, I'm just glad I don't need a WIFI connection at all times.
Oh, and the APN manager is downloading as we speak - good call. I've followed DG's from when I had my captivate a while back, so I'm gonna continue testing Cognition out for a little longer. Maybe like another day - then back to flashing =)

alias3800 said:
Those settings, wherever they're from, WORK. I had memorized the other common one already, so as soon as I saw the differences in yours I knew it would work. Unfortunately, I (literally) couldn't thank you enough for it.
Is that apn yours personally or just dug up from elsewhere here on XDA? I'm hoping it stands the test of time and continues to work after tonight... The speeds are all over the place for some reason, but at this point it doesn't matter to me, I'm just glad I don't need a WIFI connection at all times.
Oh, and the APN manager is downloading as we speak - good call. I've followed DG's from when I had my captivate a while back, so I'm gonna continue testing Cognition out for a little longer. Maybe like another day - then back to flashing =)
Click to expand...
Click to collapse
your welcome.
there are a number of apn settings floating around here, but the ones I provided always work
I don't remember where I got them...but they are pretty standard

Related

[Q] [SOLVED] Data connection not working and no APNs

Hi all,
I've been trying different builds for a couple of weeks by now and they all have a similar blocker problem for me: data connection does not work. The list of APNs is empty and when I try to add one, it is saved but not displayed. I tried googling the problem and found some advice to play with MNC and MCC but this didn't seem to help. Any other clues? I am ready to look into the log files and even C/Java code to help fixing this if someone can explain where to look and how to get started..
EDIT: also tried flashing different radios - no luck. Everything is ok on WinMo, the device is T-Mobile RHOD210.
EDIT: solved by replacing the SIM card (see post 25 in the thread)
Does your carrier require a proxy?
Also, what do you mean when you add an APN it's saved but not displayed...? That sounds like an issue to me.
Does this happen with all builds? Lots of stuff flying around nowadays, I'd be interested to hear if it works with vanilla FRX03 (which for most data works out of the box, but not all...)
No, it does not require a proxy - just 'internet' as APN name and that's it. The MCC and MNC values are 250 and 02 respectively (as I found from Android forums).
In terms of APNs - here is what I do:
- go to APN list
- click Menu
- click New APN
- enter name=Megafon, apn = internet, mcc = 250, mnc = 02
- save it
- and it throws me back to the empty list
The weirdest thing is that there were a couple of times when it booted and worked fine with APNs and data connection (it seems it pulled APNs from the network) - but the UI was extremely slow then, it took seconds for a button to respond to touch. It was FRX03 and I don't know how to repeat that.
Now it is FRX03 and same problem - no APNs, no data.
I just format the card and start fresh.
At least try a new data.img - data should work out of the box... The slowness was probably due to the system_server bug - make a call to voicemail, it'll disappear.
arrrghhh said:
I just format the card and start fresh.
At least try a new data.img - data should work out of the box... The slowness was probably due to the system_server bug - make a call to voicemail, it'll disappear.
Click to expand...
Click to collapse
I do try with a fresh data.img all the times, so this alone doesn't seem to help. But I will try with a formatted SD card, mine one is quite full of stuff, thanks. And I wish I could repeat the slowness problem - it had data working when it was slow, but most of the time everything is fast but no data at all.
I've got exactly the same Problem with every ROM i used on my rhod100_de. In most cases data works but after some reboots my data connection stops working. Radio is OK, i can make calls but no Data, no APN and if i enter one it disappears. I started debugging the issue on FRX04. First thing: I had to connect to 3G-data in WiMo before booting android to get stable data in Android. I used it as usual until data disappears - after removing data.img data was back, so im pretty sure this is a problem in userspace, most likely related to my settings/apps.
Im currently testing my apps/settings, maybe i can narrow the problem. Things i currently suspect: Twidroyd/Remapping EndCall/Power-Widget.
Does the Menu => Reset Defaults option work to bring back one APN?
I was just doing some testing and it appears that entering anything except the default MNC wil result in the APN being removed.
rpierce99 said:
Does the Menu => Reset Defaults option work to bring back one APN?
Click to expand...
Click to collapse
In APNs? No - the settings are in the database, if i use other tools to dump all APNs the ones i added are currectly listed. I guess the system does not correctly detect the MCC/MNC and ignores my settings.
Does anyone know a tool/menu to show the MCC/MNC that the system (thinks) is associated to?
I actually thought I was stupid today(I still think I"m doing somethign wrong) First time booting to haret.exe on froyo x 01/28 and got into android. I try to set my apn for Fido in Canada and every detail and I can't see a saved apn at the moment. I have a HTC Tilt 2. Any help is appreciated.
I have to set the mcc and mnc. I can't get a saved apn(only black screen on apn) Am I doing something wrong? I have been on this for 2 hours now, I'm scratching my head cause I can't dial a call out at the moment. Someone enlighten me. Should I be able to dial a call without setting apn ?
Have you disabled the sim pin lock?
Sent from my FROYO X using XDA App
pleaseking said:
I do try with a fresh data.img all the times, so this alone doesn't seem to help. But I will try with a formatted SD card, mine one is quite full of stuff, thanks. And I wish I could repeat the slowness problem - it had data working when it was slow, but most of the time everything is fast but no data at all.
Click to expand...
Click to collapse
Ok tried re-formatting the SD card and it's still the same. Sometimes data connection works but most of times it doesn't - same issues as aichemist describes. Also ready to help debugging this.
BeFs said:
Have you disabled the sim pin lock?
Click to expand...
Click to collapse
Of course, many years ago
I actually suspect my SIM/Operator - will try with a different SIM card.
I have the same problem. No APNs can be created... the list remains always empty... Would love to use android on my rhod100, but without 3g it's rather useless...
aichemist said:
Should I be able to dial a call without setting apn ?
Click to expand...
Click to collapse
Yes - Calls should work without any APN as long as no PIN is set and you have force_cdma=0 in your startup.txt. I never had any problems with voice so far on rhod100_de...
yeah, voice and sms works like a charm... only 3g is missing mostly.
Tried with a different SIM card and it seems better - at least it entered the 'slow but 3g works' mode from the first attempt. I will try to replace my SIM at my operator's office (I have one back to 2001) and let's see what happens.
xjojo said:
I have the same problem. No APNs can be created... the list remains always empty... Would love to use android on my rhod100, but without 3g it's rather useless...
Click to expand...
Click to collapse
I thought it's only me having this issue..anyway i've been trying different builds also before, some builds were ok with the apn n' data connection but now even i tried to install those working builds..connection can't be establish..for almost a week now my concerned is to used data internet..lol for i'm so desperate of installing working builds whom i i used to know thats working i just want 3G to work..but nothing...if only my memory card can talk i'm sure it's tired of being reformatted every now and then..
Ok, even tho this should work out of the box, you might have to create the APN manually...
Everyone has tried that and it STILL doesn't work? I've had to do it before, not sure why it works automatically sometimes and others doesn't work at all until I add the APN... Always works after I add the APN tho .
arrrghhh said:
Ok, even tho this should work out of the box, you might have to create the APN manually...
Everyone has tried that and it STILL doesn't work? I've had to do it before, not sure why it works automatically sometimes and others doesn't work at all until I add the APN... Always works after I add the APN tho .
Click to expand...
Click to collapse
No, manual created APNs simply not appear in the APN list... will now try the new froyo x red build

[Q] MMS Problems

Seem to be having them on every ROM i try.
APN Settings are correct. They're automatically retrieved when installing a new ROM.
I'm on O2.
I have tried Stock messaging APP, GO SMS Etc.
The message just constantly says 'sending' Nothing more happens.
same problem here... i'm on ics
Same problem here i'm on hydrog3nICS 31.03.......
Inviato dal mio GT-I9100 usando Tapatalk
Have you tried other ICS ROMS?
What network re you both on?
Maybe a dumb question, but have you tried sending to several would-be recipients?
I ask because I had the same problem - all ROMs, all kernels - a few weeks back, or so I thought. But the problem was with my wife's phone, not mine.
Took me about 40 attempts before I thought of trying someone else...
Tried Wanams 10.4 ROM. It seemed to send earlier. Then after ive set my phone up.I tested again, and it gave me the.
Unfortunately messaging has stopped
Error again.!?
B3311 said:
Maybe a dumb question, but have you tried sending to several would-be recipients?
I ask because I had the same problem - all ROMs, all kernels - a few weeks back, or so I thought. But the problem was with my wife's phone, not mine.
Took me about 40 attempts before I thought of trying someone else...
Click to expand...
Click to collapse
Yeah, just tried sending one to myself. No-go.
I had the same issues you have, but a mate of mine who works as an O2 Guru helped me sort it out
I now have only 2 APNs, just the ones I need, as I deleted all the others myself (you probably don't have to do this yourself)
You need one for internet/3G access, and one for MMS:
Internet APN (jpg image)
MMS APN (jpg image)
Passwords should be "password" if I remember correctly
These are O2 postpay/contract settings btw, not pay as you go, those might be different.
Also, screenshots were taken on CM9, so some of the settings (like APN type) may look different. The Internet APN's type should just be Internet and the MMS APN's type should be just MMS.
According to my mate you also have to do a battery pull after saving the APN settings, but I just rebooted.
Also just to make sure you're not as dumb as I was, make sure your mobile data is turned on
I wondering for ages why my MMS wouldn't work until I was told I needed mobile data on
D3_ said:
I had the same issues you have, but a mate of mine who works as an O2 Guru helped me sort it out
I now have only 2 APNs, just the ones I need, as I deleted all the others myself (you probably don't have to do this yourself)
You need one for internet/3G access, and one for MMS:
Internet APN (jpg image)
MMS APN (jpg image)
Passwords should be "password" if I remember correctly
These are O2 postpay/contract settings btw, not pay as you go, those might be different.
Also, screenshots were taken on CM9, so some of the settings (like APN type) may look different. The Internet APN's type should just be Internet and the MMS APN's type should be just MMS.
According to my mate you also have to do a battery pull after saving the APN settings, but I just rebooted.
Also just to make sure you're not as dumb as I was, make sure your mobile data is turned on
I wondering for ages why my MMS wouldn't work until I was told I needed mobile data on
Click to expand...
Click to collapse
Pretty sure ive used these before.
I just seem to keep getting the message.' Unfortunately Messaging has stopped'
It still says the picture is sending but never does send!
I've tapped them in. gunna reboot, take battery out and try message myself as a test!
Seems to have worked!
Ive also entered the MMSC settings into GOSMS app. There is an area under the MMS bit on GOSMS.
Sent and receieved. Finally!
Thanks a lot mate, saved me alot of bother!
No problem, just passing on info that was given to me
Sent from my GT-I9100 using XDA

Cant connect to internet after root.

After i tried to root unsucessfully i went back and flashed the stock .tar from the General section. booted phone after and it would not connect to the internet. So i flashed the stock kernel via Odin. Still no internet. I cant connect to the Play store or the internet. I searched but did not find anything like this. Im on AT&T.
This has something to do with the phone. something is not flashing right. I took the sim out of my wifes SGS2 that is working fine in her phone to try the internet on mine. Still no connection. The GPS does not work nor any of the data services if im not on wifi. I have flashed back to stock and still no go. Anyone have any Ideas?
Menu>Settings>Wireless and Networks>Mobile Networks>Access Point Names>Menu> Reset to default
See if that works/helps.
Flash the GB modem.
Here: http://dl.dropbox.com/u/11462930/flappjaxxx/beta/i717-GB-Modem.zip
-Once you go NOTE, you'd say 4 inches a Joke
Tried Both. just tried the GB modem and still no connection.
I can make calls and receive texts but if i try to go to the play store or on the internet it does not work. No GPS either. Says no connection.
Found a FIX
Mods please sticky this.
There's been several threads with people saying that they are getting intermittent slow or no data connections. Some people suspected throttling.
I did some digging around and found that it is a common issue on all ATT LTE phones. I have read up on various fixes, found one that worked, and will summarize it here.
Create a new APN that is EXACTLY the same as your current one with two exceptions:
1. APN: phone
2. APN type: internet
Save the APN. You should now have 2 APNs. Make sure that the original AT&T PTA APN is the selected one with the green dot.
What we've done here is replace the APN just for internet, and left everything else the same. If you try setting the type of the new APN for everything, it breaks MMS.
There are several dead spots in my town where I get incredibly slow or no data , despite my wife's iPhone working just fine. I made this change and now it works perfectly. Same top speeds for upload and download.
The only thing I cannot test is LTE, since I am not in an LTE area. From what I've read, this is an LTW APN so it should work.
Thanks to EvoXOhio....

[Q] Straight Talk AT&T APN Settings

I cannot for the life of me get Straight Talk data or MMS working. Phone calls and text work perfectly though.
I bought it online from Swappa, completely stock and followed the Straight Talk instructions that came with the SIM. I never got anything, not even a hint of data. Browsers would immediately say no connection, pic messages would just spin and nothing would happen.
So I went online and tried every single APN that people said "This worked for me," tried them all, restart-my-phone party-2013 and still nothing no connection ever.
So I thought maybe it was the AT&T stock image that wasn't letting me connect. I just flashed to Vanilla Rootbox and have been trying APN settings for the past hour or so. Still nothing, nothing ever changes. My signal has full bars but says ROAM. Which is odd because my brother has AT&T Straight Talk and gets data just fine in the same location I am now.
Am I missing something? Mobile Data is enabled, I've tried enabling data roaming multiple times to no effect.
What could possibly be the issue?
ALSpringer said:
I cannot for the life of me get Straight Talk data or MMS working. Phone calls and text work perfectly though.
I bought it online from Swappa, completely stock and followed the Straight Talk instructions that came with the SIM. I never got anything, not even a hint of data. Browsers would immediately say no connection, pic messages would just spin and nothing would happen.
So I went online and tried every single APN that people said "This worked for me," tried them all, restart-my-phone party-2013 and still nothing no connection ever.
So I thought maybe it was the AT&T stock image that wasn't letting me connect. I just flashed to Vanilla Rootbox and have been trying APN settings for the past hour or so. Still nothing, nothing ever changes. My signal has full bars but says ROAM. Which is odd because my brother has AT&T Straight Talk and gets data just fine in the same location I am now.
Am I missing something? Mobile Data is enabled, I've tried enabling data roaming multiple times to no effect.
What could possibly be the issue?
Click to expand...
Click to collapse
Have you tried any of the settings from here:
http://forum.xda-developers.com/showthread.php?t=1856574
perrytheperson said:
Have you tried any of the settings from here:
http://forum.xda-developers.com/showthread.php?t=1856574
Click to expand...
Click to collapse
Yeah those were some of the first ones I tried on both the stock and on this ROM.
I enter them, restart my phone, when I open Chrome it just immediately says
"You are offline. Wi-Fi and mobile data are turned off."
Which is not true, because settings clearly shows Data is enabled in two different places. This is so frustrating.
Is there any way to check to make sure the radio that enables data is still working? I've thought about taking it in to the AT&T store to have them test it because I'm about out of ideas about what it could be.
ALSpringer said:
Yeah those were some of the first ones I tried on both the stock and on this ROM.
I enter them, restart my phone, when I open Chrome it just immediately says
"You are offline. Wi-Fi and mobile data are turned off."
Which is not true, because settings clearly shows Data is enabled in two different places. This is so frustrating.
Is there any way to check to make sure the radio that enables data is still working? I've thought about taking it in to the AT&T store to have them test it because I'm about out of ideas about what it could be.
Click to expand...
Click to collapse
You could try flashing another radio? But if not, I'm sure the people at AT&T could help. Down here they are pretty helpful and friendly no matter what.
Not sure if is your problem but I know with snowjb I and several others had to edit the default XML file then delete the lg one and then goop into APN settings and "reset to default" and select the added ST apn
Sent from my Optimus G using Tapatalk 2
nymica said:
Not sure if is your problem but I know with snowjb I and several others had to edit the default XML file then delete the lg one and then goop into APN settings and "reset to default" and select the added ST apn
Sent from my Optimus G using Tapatalk 2
Click to expand...
Click to collapse
I got my hands on 3 cheap optimus g, my friends have straight talk. Can you help me on a set by step? Or maybe a flashable fix? I if i cant get internet and mms to work im stuck with 4 of these. :0
bump. can't contribute to the discussion as of yet but I'm ending my contract soon and hopefully going to straight talk. would hate to have a phone with no internet
Ciloteille said:
I got my hands on 3 cheap optimus g, my friends have straight talk. Can you help me on a set by step? Or maybe a flashable fix? I if i cant get internet and mms to work im stuck with 4 of these. :0
Click to expand...
Click to collapse
I'll take one off your hands, for cheap
Sent from my Nexus 4 using xda app-developers app
Hello back everyone. I solved the issue!
It wasn't a problem with my APN settings, it ended up being a problem in the activation of my SIM card with straight talk.
I went through the port process and got my number moved to straight talk and my calls and texts were working fine so I figured it was a matter of just fiddling with the APN settings until I found some that worked. I had heard so many stories about this being the case. Unfortunately, in my case it wasn't true. I tried everything.
Good news is: I called Straight Talk and asked them what else I could do. They walked me through settings the APN settings, which was super frustrating, I literally had the correct settings memorized at this point. Then they asked me what phone I had. I told the CSR and she said "okay, I switched something on our side, restart your phone and see if it works." I was dubious because I had done this so many times but I guess she wasn't lying to me because I restarted and it has worked fine from then on.
tl;dr AT&T Optimus G works great on Straight Talk with an AT&T sim. Just call them if the provided APN doesn't work.
For anyone else with this problem:
I was having a similar issue after just switching (from a working Nokia Lumia 520) to a new LG Optimus G. In my case, the APN settings from my old phone (and the site I got them from) appeared to be out of date.
I went to the Straight Talk site, logged in, and went to Support -> HOW TO UPDATE DATA SETTINGS, entered my phone number and selected Android 4+. This gave me some different settings that are now working correctly.

Can't get Boost APNs to stick

My phone is the Boost Mobile XT1526. Running Cyanogenmod 13 by squid2. The latest build.
I've been using the Boost APN found here, and even though it works, its not ideal. I'd rather use the APN that's built into the ROM or the APN I pulled from the stock ROM.
My problem is that, for the life of me, I absolutely cannot get the APNs to stick. The APN that's built into CM13, doesn't stick. It disappears. And if I manually add the APN I pulled from the stock ROM, that disappears as soon as I hit save. I have no clue why. The only APN I can use is the one I linked to above. But that one isn't ideal. But I'll use it if I have to.
Can anyone help me with this that knows more about this then I do? I'd really love to use either the built-in APN or the APN I pulled from the stock ROM, if its even possible.
I have data so that's not my problem. I just can't send or receive MMS messages using the SMS app in Cyanogenmod.
Thanks!
If anything isn't clear then please tell me and I'll try to explain better. I suck at explaining.
Trying to get it to work too!
I'm having the exact same problems. I think it might be an issue with cellular network settings in CM13/MM roms (you'll notice clicking "Carrier Settings" in any of them causes com.android.phone to stop).
I've been playing around with various things, and I've found so far that using the Cypher rom (which doesn't have any Boost stuff baked in) I can put in the APN settings you linked to and send and receive MMS but LTE doesn't work. I then went back to Squid's CM13 rom (which is amazing, btw!) and LTE appears from install but changing any APN setting makes it fall over. Then I tried editing the Boost APN in deega/Buzbee2's flashable zip from "n.boost.ispsn" to "Boost_Mobile". I could flash that, and that does make it "stick" in the APN settings but, again, LTE disappears when I do this. Entries under the "Access Point Names" tab do seem to appear and disappear somewhat randomly whatever I do!
I've tried various other fixes suggested online, from root-deleting the telephony database to trying some SMS programs that let you put in the APN settings manually, but still nothing. I feel I'm close...but not that close I'll keep fiddling and see what happens but I'm not entirely sure whether this is a settings issue or a CM13 issue.
Thanks for replying. I'm gonna do some testing too. I had the same exact issue on CM12.1 so I don't think its a CM13 issue.
I wonder if there's a way to use adb or fastboot to force the APNs to stick?
I tried using the Boost APN I pulled from the stock ROM that Motorola or Boost put there and you'd think it'll work but no. It disappears as soon as I hit save.
I know CM13 has to be using some kind of APN because I have data, but I don't know what that APN is nor why I can't get the SMS app to use it so I can send MMS messages.
I'm confused but I'll figure it out. Maybe. :/
EDIT: I notice too that whenever I tried to get into Network Operators that com.android.phone would FC. I was able to get in there by putting my phone in airplane mode and rebooting. I can take the phone out of airplane mode while I'm in it without it force closing. But I'm not able to do anything. Kept saying "error while searching for networks" or something along those lines. So I just gave up for right now.
EDIT2: I noticed that in the file /data/data/com.android.settings/shared_prefs/com.android.settings_preferences.xml that it had APN settings in there that were blank for the most part. I tried editing that file to add my APN settings but it didn't help.
I've been testing things during the day and my hunch is there's a deeper problem with the LTE implementation in the 6.x roms (and earlier, perhaps, if you had issues with CM12 as well). It's difficult to know if this is Boost/Sprint related only - Buzbee2's flashable fix seems to be working for people on Freedompop and Virgin. I had a few issues today where my phone would be telling me I had LTE connectivity but web pages would give timing-out errors. I switched to Cypher which was solid on 3G where LTE had basically crashed. I sent MMS with manually inputted settings on Cypher again.
So I was left feeling that at the moment it's a choice between fast (patchy?) LTE speeds without MMS or solid (slow!) 3G with MMS. Hmm. It may be that current roms have a issue switching down and up between LTE and 3G...?
Looking at deega/Buzbee2's flashable zip it doesn't seem like it changes much, so it should be a settings issue, just as long as those settings can stick! Trouble is there might be multiple points of failure at present.
I dug up an interesting thread on the Moto G forum where a user who struggled with this on their phone found that Boost requires authentication for MMS over LTE but not on 3G:
Getting MMS to work on LTE made me pull my hair out. Virgin mobile(Boost) working on Sprint networks when it comes to MMS messages is an over complicated issue caused by the providers. When attempting to receive MMS on LTE networks with stock MMS or some 3rd party MMS apps it returns with a "HTTP error: Authorization Required". When trying it on 3G its no problem. Seems they required "Authorization" for MMS on LTE but not 3G - go figure. Hangouts basically works for all because the app itself doesn't use the phones APN settings. It tries (and does) to attain what carrier you are on and use its settings. In our case it will identify you are on the Sprint network and use those APN settings. Why don't we set our phones to the Sprint settings?...no LTE then.
Click to expand...
Click to collapse
Sounds eerily similar, but his fix file has disappeared into the mists of time and seems to have only worked on certain roms. Anyway, I'll keep digging and hope others might chip in.
I found a file called preferred-apn.xml in the data/data/com.android.providers.telephony/shared_prefs directory where you can set a preferred APN. Least I'm assuming that's what its for. But I need the APN id and I can't find the id for the built-in Boost APN.
I'll keep looking and testing stuff. Hopefully we can get this figured out.
I'm stuck with using 3G where I live. Boost/Sprint doesn't have LTE where I live. So LTE isn't a issue for me.
That's a good find. I think the APN ID refers to the line where you can find the details for the APN in the telephony database. There's some stuff on the Moto G forum about it here.
I'm guessing that the APN settings tab is pulling stuff from the telephony db and that your XML file is telling the phone which is the default. If so, maybe writing to the telephony.db (in the databases folder just along from shared_prefs) might make changes "stick", although if you delete that db it's recreated at reboot so it's not the originator of the data. My feeling is that there's a screwy connection between telephony.db and various other bits of CM13 right now...
Maybe taking telephony.db from a stock Boost rom and copying that in will do something.
I still have a backup of the stock ROM on my laptop. Tomorrow I'll pull the telephony.db and copy it onto my phone replacing the original one and see what happens.
Update:
I pulled the telephony.db from the stock ROM and copied it to my phone, replacing the original and I set the APNs in apns.xml to what I thought the APN should be. I wouldn't recommend it.
As soon as I rebooted CM13 stopped recognizing my sim card and the com.android.phone error popped up and wouldn't disappear. I couldn't do anything. Had no choice but to reboot into twrp and use its file manager to delete the db file. So that's a no go I guess.
I found a program for Linux (also available for Windows) called SQLiteBrowser which let's me open the telephony.db files and look through them. All of the APN IDs are stored in that db file. I'm going to use it to look through the telephony.db file for CM13 and get the APN IDs that I need. Then try to edit the preferred_apns.xml file to set it and see what happens.
EDIT: I'm looking through the telephony.db file from CM13 but there are no APNs in it for some odd reason. Wonder if we can manually add them if need be?
Finally working for me
Buzbee2 made some suggestions on his support thread so I tried them and - to my amazement - everything worked. Not immediately, I had to wait a few hours (for the APNs to be picked up from Boost?) but it did work.
So what I did was first go into airplane mode and entered the Boost_Mobile APN details that you can find everywhere online (and on Buzbee's support thread). When I switched off airplane mode those settings disappeared and those baked into Squid's CM13 (or flashed via Buzbee's zip) came back. Switched on airplane mode again, those disappeared and the Boost_Mobile one I entered and saved is there. I can't believe that's meant to happen, but there it is.
I then downloaded Google Hangouts. I'd heard it sorts out its own APN settings if you set it to be your default SMS program. I could send SMS through Hangouts but still no MMS. I gave up at this point as I had to go out.
Checked my phone a couple of hours later and my MMS sent via Hangouts had arrived. I tried a few more and they all worked. Then I tried the stock messaging app and that could send MMS too! I couldn't believe it. I uninstalled Hangouts (much prefer the simpler app) and went to bed. In the morning, no MMS. Reinstalled Hangouts, still no good. Left it a few hours and - yep! - MMS was back for all my MMS apps. I tested with and without wi-fi, knowing that Hangouts likes shortcuts , and it was all good.
So the moral of the story is...I have no idea. But either Hangouts sets the APNs for the whole rom, or some combination of the Boost_Mobile APN (even though it doesn't "stick") and Hangouts gets it going. Maybe set that up, leave it overnight, and see. It doesn't explain some of the weirdness in the carrier settings, but at least it might work.
I'll try that. ☺
Any luck, Debdude? My phone has not been perfect, with it refusing to switch down to 3G when out of LTE coverage, and MMS mostly sending but sometimes not, but acceptable for something running a cutting-edge rom. It'll hopefully improve as things mature.
davidxd said:
Any luck, Debdude? My phone has not been perfect, with it refusing to switch down to 3G when out of LTE coverage, and MMS mostly sending but sometimes not, but acceptable for something running a cutting-edge rom. It'll hopefully improve as things mature.
Click to expand...
Click to collapse
Damn. I forgot. My bad. I got busy with my new laptop and my ps2 I just completely forgot about this.
I'll mess around with it in a bit. And try the suggestions you mentioned a couple posts back.

Categories

Resources