[Q] PA 4.5-4.6 No APN on Device - Paranoid Android Q&A

Flashed PA 4.5 Beta 4 and 4.6 Beta 3 on my XT912.
After two days of working great, error message No APN on Device started showing up.
I looked at the APN settings and tried to create a new one with the correct settings, but when I hit save, the APN vanished.
I tried a number of times to create new APN's or modify existing ones to the values I've seen posted, but every time I try to save the APN it disappears from the list.
I hit reset to default and the phone started working for a bit, then No APN on Device again.
I've read a few posts scattered all over the place about APN problems like this, but haven't come across any solutions.
Any ideas on what I should try?

Related

Please, I need your help

Hi guys.
I've been a forum lurker for months now, but I find myself in need of some serious help.
I rooted and flashed a couple ROMs today, but I've run into APN problems:
I am no longer able to enter the correct APN settings, namely the MNC number. I am unable to change the MNC number from 103, which it is currently, to 10 (which is what I need).
If I do so, the APN simply disappears, and I'm left with no data connection. Leaving the MNC on 103 doesn't help either.
I've tried reverting back to the untouched RUUs from HTC, which didn't work. I even flashed a dump from a HTC Desire that has everything correctly configured (my Dad's phone, identical in network to mine), but alas my MNC number remains 103.
I am at a loss what to do - please, XDA, help!
where did you get your phone from?
you can always try flashing apns_conf.xml located in the system/etc folder and then go through the setup wizard again
what rom are you on?

Accidentally deleted APN settings and can't connect to Data

Was toying with random toggle widgets and 3g data stopped working. I accidentally hit reset to default in the hidden APN settings and it just deleted everything?
Can anyone help me with APN settings or a simple solution? Thanks mucho.
Did you try updating your profile by going to settings -> about phones ->system updates ->update profile ?
If that doesn't work do you know specifically what settings you need? For example, do you need dsa server, mmsc, etc? I might be able to tell you the settings I have.
Updating profile doesn't work, it just gives an error. Funny enough, my 4g works fine.
Need a whole giant list of things though I was hoping their would be an easier way
Name
APN
Proxy
Port
user name
Password
Server
MMSC
MMS proxy
MMS port
MCC
MNC
Authentication type
APN type
Go back to DI18 via Odin, update Profile + PRL, then odin back to DK28, then reflash whatever ROM you were using.
Yeah, I was thinking the same thing Overstew... I'm on syndicate, so I don't have those options above. I tried looking elsewhere but couldn't find anything either regarding those"default" settings.
if you know your msl try doing a data restore, ##3282#, it should restore it back to defaults, but your device might not go through the ota programing
Does anyone know if there is a way to back up those pesky hidden settings just in case something bad happen to your phone?
riceknight said:
Updating profile doesn't work, it just gives an error. Funny enough, my 4g works fine.
Need a whole giant list of things though I was hoping their would be an easier way
Name
APN
Proxy
Port
user name
Password
Server
MMSC
MMS proxy
MMS port
MCC
MNC
Authentication type
APN type
Click to expand...
Click to collapse
I got a HTC u11 and I accidentally deleted the apn settings and it won't allow me to add anything except the apn but no other settings.

[Q] What Am I Missing - Adding A New APN to apns.xml

(Hope this is the right area to post, its more leaning towards ARHD ROM in particular but it may turn out ot be Android specific)
Im not 'new' to roms but the whole cooking/recompiling apks is a little past my comfort zone, but still learning Looong time reader, third time poster.
DesireHD, fully rooted s-off etc etc
ARHD with apaches kernal usually.
Ive just transferred to GiffGaff (GG) from Orange which runs on the O2-UK Network, on first boot of ROM HTCsetup asks to select a carrier and lists for me O2 Prepay, O2 Postpay and Tesco (again runs on O2 Network)
I have to select O2 Prepay then eventually reconfigure the APN by deleting the O2 defaults either manually, with APN B&R or using the giffgaffapn tool a fellow GG user wrote.
My goal is to add a APN to the main list so on first boot I can choose 'GiffGaff' as a carrier and have it auto configure the APN so Data is active during the initial setup.
What Ive found out so far:
Post that I found to push me in right direction.
I know CM has GG in its APN list as the two seperate entries (Data and MMS) which work fine and is needed for the San Francisco to work on GG but a single entry for both works fine.
It seems /system/etc/apns-conf.xml is redundent in 2.2.1 base and APNs are read from system/framework/framework-res.apk /res/xml/apns.xml
Adding the APN to /system/etc/apns-conf.xml AFTER initial boot could possibly work but am trying to get it to work on first boot.
I think this is the correct data to add the the list
Code:
<apn carrier="GiffGaff" apn="giffgaff.com" mcc="234" mnc="10" user="giffgaff" password="password" proxy="193.113.200.195" port="8080" server="http://mmsc.mediamessaging.co.uk:8002" mmsc="http://mmsc.mediamessaging.co.uk:8002" mmsproxy="193.113.200.195" mmsport="8080" type=""/>
I can decomplie, edit the xml, recompile then resign but thats where I stumble.
The output apk is mbs smaller then the original and gives bootloops when recompiled into the ROM.
Im obviously missing something here but cant seem to figure out what.

Unable to edit Sprint APN settings on Galaxy S9

Back on the S8 I was able to add "dun" to the end of the apn data profile for tethering but they are grayed out on the S9. I tried shortcut master and while I can get to it I just can't edit it. Anyone know of a way to do so? I'd like to have unlimited tethering and also if there's a way to turn off the throttling that would be great as well.
GrandMstrBud said:
Back on the S8 I was able to add "dun" to the end of the apn data profile for tethering but they are grayed out on the S9. I tried shortcut master and while I can get to it I just can't edit it. Anyone know of a way to do so? I'd like to have unlimited tethering and also if there's a way to turn off the throttling that would be great as well.
Click to expand...
Click to collapse
Nothing yet. As far as I know, you could flash the U firmware and that would allow it. I have been looking through some adb commands as well, trying to see if we could do it that way.
I went to add one and was finally able to select that one I added and I made sure to put the "dun" at the end and so far so good
GrandMstrBud said:
I went to add one and was finally able to select that one I added and I made sure to put the "dun" at the end and so far so good
Click to expand...
Click to collapse
How did you finally get it in add mode?
Can you try step 1-8 on this please? I know it says s7 edge but this also worked on s8 and now i'm wondering if it works on the s9. Thanks.
https://forum.xda-developers.com/sprint-s7-edge/how-to/hotspot-bypass-nougat-ok-t3563446
Chris2433 said:
Can you try step 1-8 on this please? I know it says s7 edge but this also worked on s8 and now i'm wondering if it works on the s9. Thanks.
https://forum.xda-developers.com/sprint-s7-edge/how-to/hotspot-bypass-nougat-ok-t3563446
Click to expand...
Click to collapse
Tried that. No luck
How are you trying to edit the value? I was able to change it on my Sprint S9+ using Shortcut Master Lite.
There's a thread in the 9+ forum where one person said he had to try several times (using SML) before it actually worked.
meyerweb said:
How are you trying to edit the value? I was able to change it on my Sprint S9+ using Shortcut Master Lite.
There's a thread in the 9+ forum where one person said he had to try several times (using SML) before it actually worked.
Click to expand...
Click to collapse
I have been trying with Shortcut Master...all grey.
It was editable on Day 1. But not since.
VandyCWG said:
I have been trying with Shortcut Master...all grey.
It was editable on Day 1. But not since.
Click to expand...
Click to collapse
I actually have it working now, using a modified version of the ABD command.
Gonna let it sit for a bit, it it keeps working, I'll post it.
Copying from my post in the other thread about this.
Serfrost said:
I have tried every random HiddenMenu shortcut, I have tried ADB CMD and trying to rewrite the APN by hand, I have tried going into the settings and going through Mobile Networks, I have tried mounting /system in the recovery menu, I looked into changing the CSC because it's linked to APN locking... I've literally tried it all.
PDANet+, FoxFi, EasyTether, ClockworkMod Tether ... none of them would work. They would automatically be stuck at 2mbps instead of my normal 30 to 40. Hiding tether/hotspot this way was NOT an option at all.
Specifically on my Sprint S9 and another S9+, I had to do it in this order:
1) Open the Shortcut Master Lite and open LTEFunctionalityTest
2) Open LTE APN Setting
3) Open an APN you want to change.
3) If it's greyed out, close everything and then restart from #1.
4) Edit APN Type, add ",dun" to the end.
5) When done editing, save, and you should be good to go.
If that doesn't work even after trying repeatedly (make sure Shortcut Master Lite is completely closed, etc) ... then you can try the following which allowed me to edit the APN on a sister Sprint S9+ phone:
1) Dialer App, ##3282# (DATA)
2) Edit
3) Sprint MSL for mine is 000000
4) APN Settings
5a) "APN" and "APN protocol" should be editable. Make a minor change, save your APN.
5b) Then change them back, save the APN again. Do this for each APN you want full access to.
6) Open the Shortcut Master Lite and open LTEFunctionalityTest
7) Open LTE APN Setting
8) If it's greyed out, close everything and then restart from #6.
9) Edit APN Type, add ",dun" to the end.
10) After you finish editing, save, and you should be good to go.
Note: You might want to do this for both APNs as one is for LTE & one is for Roaming.
Consider this working on a Sprint S9+ & Sprint S9 Snapdragon SM-G960U - 8.0.0 Oreo Build Feb 10th
Click to expand...
Click to collapse
I had to do this a third time after Factory Resetting my phone, the second set of steps let me do this very quickly.
Do not update your PRL or Profile in System Update, this will wipe out your changes.
This..............
1) Dialer App, ##3282# (DATA)
2) Edit
3) Sprint MSL for mine is 000000
4) APN Settings
5a) "APN" and "APN protocol" should be editable. Make a minor change, save your APN.
5b) Then change them back, save the APN again. Do this for each APN you want full access to.
6) Open the Shortcut Master Lite and open LTEFunctionalityTest
7) Open LTE APN Setting
8) If it's greyed out, close everything and then restart from #6.
9) Edit APN Type, add ",dun" to the end.
10) After you finish editing, save, and you should be good to go.
That worked for me...to a T!
Thanks!
VandyCWG said:
This..............
1) Dialer App, ##3282# (DATA)
2) Edit
3) Sprint MSL for mine is 000000
4) APN Settings
5a) "APN" and "APN protocol" should be editable. Make a minor change, save your APN.
5b) Then change them back, save the APN again. Do this for each APN you want full access to.
6) Open the Shortcut Master Lite and open LTEFunctionalityTest
7) Open LTE APN Setting
8) If it's greyed out, close everything and then restart from #6.
9) Edit APN Type, add ",dun" to the end.
10) After you finish editing, save, and you should be good to go.
That worked for me...to a T!
Thanks!
Click to expand...
Click to collapse
Using this method, APN is not editable for me. But the Shortcut Master Lite method worked fine. Maybe this would work if I hadn't already changed it via SML?
meyerweb said:
Using this method, APN is not editable for me. But the Shortcut Master Lite method worked fine. Maybe this would work if I hadn't already changed it via SML?
Click to expand...
Click to collapse
Trying to get hotspot bypass working... PDAnet works, but is spotty. I have edited my APN's successfully (I had to rename before I could edit). As well as added the ADB commands. I sort of have hotspot working...
When I disable M.data and enable hotspot AND am connected to WiFi, it enables and allows me to re-enable M.data. Hotpot will continue to work indefinately.... until I leave the WiFi connection. Then the Sprint M.data connects and tells me i am not subscribed to Hotspot service. If I am not in a WiFi area when I re-enable M.data, then it instantly goes to the hotspot subscription error.
EDIT: I just reconnected my phone to check settings in adb. The settings were reset to defaults:
tether_dun_required is '1'
tether_dun_apm is 'null'
If you turn on tethering while connected to wifi, you're not really tethering. You're just sharing the WiFi connection.
meyerweb said:
If you turn on tethering while connected to wifi, you're not really tethering. You're just sharing the WiFi connection.
Click to expand...
Click to collapse
I could not share the WiFi connection before I added dun to the APNs.
The real problem appears to be that the ADB settings edits are being reset somehow.
not working with Android 9 (PIE) update
Has any been able to figure out how to open the com.test.LTEfunctionality on Android Pie
I was able to edit the apn before using Quick Shortcut maker but now the com.test.LTEfunctionality cannot be opened.
Any update?
has anybody informed the developer of the app that it needs to be updated for PIE?
Apn settings greyed out
Turn off mobile network and connect to a wifi network(i used my printer wifi network which doesnt internet . I dont know if u can use any wifi or not) i restarted my phone a used mastershortcut and apn is editable again

Easy Tether fix working (not a magisk mod)

this is a very easy way to mod any apn in your phone.i modded apn on OnePlus 7pro this is easier . All you need is a database editor i used sqlite editor. click apps on top tab (ive included pictures) find phone and message storage (com.android.providers.telephony). then click telephony.db then select carriers. then all apns will be displayed find your carrier mines 310260(T-Mobile) put a 1 on user_visable.done. on the tethering apn also put -1 on authtype and go to your settings look at apn. if you make user_editable=1 it wont work right well didnt on 7pro it needs to be like mms apn so when plugged in it works i changed mtu but its up to you guys on what needs to be its easy. im trying to find other ways to mod the new userspace and init that boots first hope this helps everyone if anyone needs help just ask
Can you provide more info please?? Can you take a screenshot of each of your APNs?
Thank you!
apn is in database when you open you'll see the apn for your carrier I'm on 12 now still works

Categories

Resources