About APN configurations - Hero, G2 Touch Android Development

Hi to all,
I have following problem with APN configuration: when I flash a new ROM the phone get the APN configuration values from the file system\etc\apns-conf.xml (file that is in the zip used to flash the rom), depending on network operator... Since most of the time this configuration is not corresponding to my data plan (my operator is Vodafone IT and data plan is "mobile internet" using mobile.vodafone.it as APN) I use to flash another zip "Cyanogen_APN-signed.zip" that I found here on xda forum... this zip contains correct APN coerent with my data plan...
This method goes well some time and some time not... (it went well with villain 3.3 and not with behero1.3.1)... Am I missing something?? Every time this method does not work as I aspected I lose 5 euro because I connect to wrong APN... (web.omnitel.it)
Could someone explain me what is wrong in my method??
Thankou!

Related

[TO DEV's] Data-connection troubles

Hi
I've been updating my ROM whenever a new one came to my interest.
Unfortunately some of the latest updates has resulted in loss of data-connection.
After a few tests, I found out that the problem is in the ROM, so I guess you've been cleaning up, and unfortunately for me, deleted some nessecary settings for data-connection in Denmark. Dunno which, but I've been going through all of my settings, APN, radio, etc., and all are fully updated to newest versions, and my APN settings are correct. Still i get no 3g or HSDPA icon and when i go into internet browsing, it just says page can't be shown.
After doing all I could, I tried going back to SetROM 1.0, and then I got data-connection back.
I've been using Defrost since 1.8 with no problems, but around 2.0f it went bas
Now I tried:
SetROM 3.5
OpenDesire
LeeDroid
DJ Droid
and none of them seems to be working with data-connection for me, except SetROM 1.0
I dunno if there's any other way around this, but for now, I seem to be stucked with the old ROM, which works OK, but i would really like to be able to use the newest ROM's again.
Love all your work
Best regards
Lars
EDIT: SetROM 1.0, LeeDroid 1.2, Mcr r21 is tested and data connection works in these releases
I tried going into phone system settings via "dialing" *#*#INFO#*#* (*#*#4636#*#*), and got following information:
Ping IP Addr: Fail: IP addr not reachable
Ping Hostname (www.google.com): Fail: Host unreacheable
HTTP Cliet test: Fail: IOException
Signal strength: -67 dBm 23asu (But I'm in an area with 100% availability normally)
GSM service: In service
GPRS service: Disconnected - why?
Network type: (Switching between) EDGE or UMTS
GSM disconnetcs:
============DATA============
State: DcInactiveState
is connecting to Telia Internet, 7xx, 23xxx, www.internet.mtelia.dk, ,, ,,-1,*
============================
but still no dataconnection
Did you try to re-flash the radio?
Also, you could try to flash a RUU
Tried flashing the radio 3 times after i did a full wipe and then installed another ROM afterwards...
haven't thought about the RUU's yet, so I'll just try that and get back on that
Thx for heads up
EDIT: But he RUU's are 2.1 (Eclair), right? well, those which comes with RUU
solved
(NOT REALLY) SOLVED
It seems there is an error in the gsm/WCDMA-module...
Settings -> wireless and network -> mobile data
It was set to Auto, and I chose it to always use GSM, now I'm back online with the newest updates an ROM's
It seems it still get an error sometimes, where it goes back into automode, and I need to set it again... dunno if this should be looked in to
EDIT:
Okay - it falls out a lot... can't stay online for more than 10 secs max...
Doesn't seem to work anyway - it says connected, but pages still can't shown
Bummer
Furthermore I have to menu's called "mobile network", dunno if they are interfering with eachother. They are there, when on DJ Droid and LeeDroid. Tried deactivating one of them, but no luck... Trying again with DeFrost, which dont use HTC Sense, and sees if that has something to do with it, couldn't get that to work earlier either, but I seem stuck with LeeDroid, and will se what there is to do in other builds without Sense
I Have wiped data/factory reset, cache and dalvik cache, before flashing
Also, I was thinking about the auto apps recovery feature could have something to do with it... haven't been looking much into that yet, just noticed when installing a new app, all my apps where still there after wipe and flashing new ROM (from Defrost 2.0 to Defrost 2.1 etc.) and I think I got a double of some of the programs :S
I give up
I've been through everything to my knowledge and what I could find on google
Only ROM that seems to work is SetROM 1.0, then I hope a new build in the future will work with danish networks again
I have tried to get an answer on the same problem But it seems like there is no help to get. Right now im using FIRERIZN_W_1 which i think are a very good and stable rom and must important works in denmark.
i have no problems with any of those roms, currently running MCR r5 and speedtesting my mobile network to 260 kB/s
in Denmark that is
I just found the problem. I had to create my APN settings manually and now it work like a charm.
To you other danes which have the same problem as me, just contact you operator for the APN settings.
I found this link for my operatør, its not the right phone, but the settings are the same for me.
http://www.callme.dk/kundeservice/mobil/mobilopsaetninger/opsaetning-af-sony-ericsson-x10/
Hope that can help you guys which have the same problem.
Okay. Thx, will try one of those rom's instead. Setrom 1.0 works okay too, also 3g and froyo, but of course its not fully upgrade as 3.5
I allready tried putting in the apn settings manually, but no luck
Thx for the answers though. Very much appreciated
Sent from my HTC Desire using XDA App
Do you have a link for the mcr?
I just rooted for the first time a month ago, though I have had, and preordered to month before release, the first android mobile, HTC magic and never left android since... but I'm glad that I took the leap and rooted, just too bad that 3g doesn't work in all rom releases
But what I meant to say was that I dunno all releases yet. Only tried defrost, DJ Droid, leedroid, setrom and opendesire
EDIT: I'm on FireRIZN now, and everything seems to work great, so thx for that I don't like the red theme that much though, so would like to test out Mcr too, just to try it
Sent from my HTC Desire using XDA App
I have issues with data too. In Sweden though. But my problems comes and goes and persists for about a minute. I am 100% sure my problem is related to the radio file because on my HTC Magic I had this same problem with some 6.xx radio-versions also called "new radio" but not with the old series, 3.xx. on my HTC Desire however its actually the oldest version of the radio that works the best. Last I would also like to remind you of the servicemenu that you can reach by "dialing" *#*#INFO#*#*. In the first menu, phone information, you can perform a ping test and view low level network stats, and also set preferred network mode.
I don't think it's the radio which causes it, of course im not sure, but I downgraded to an older radio, without a better result. I think they have cleaned up the roms to much and perhaps deleted some settings that we need in the nordics. Of course they are not importent to them, while the ROM still fully works in their contries, and they get a cleaner and faster ROM. Unfortunate for us though.
Things you can check are the APN settings. get them from your tele-provider, and set them manually.
Otherwise, try wiping data/factory reset, wipe cache and dalvik cache before installing new ROM
And at last - which gave me success - try another ROM. I tried most of the ROMS except Modaco custom ROM (MCR - Finally found it) and FIRERIZN. FIRERIZN worked for me, and is going to try Modaco shortly, which should be close to stock ROM, but upgrade to latest builds and kernel, etc.
ivarson_swe said:
I have issues with data too. In Sweden though. But my problems comes and goes and persists for about a minute. I am 100% sure my problem is related to the radio file because on my HTC Magic I had this same problem with some 6.xx radio-versions also called "new radio" but not with the old series, 3.xx. on my HTC Desire however its actually the oldest version of the radio that works the best. Last I would also like to remind you of the servicemenu that you can reach by "dialing" *#*#INFO#*#*. In the first menu, phone information, you can perform a ping test and view low level network stats, and also set preferred network mode.
Click to expand...
Click to collapse
Okay, haven't tried "dialing" *#*#INFO#*#*
But downgraded to 4.xx.xx radio from 5.xx.xx and didn't help. But perhaps the INFO dial would help on the other ROMS i used ealier, as DeFrost etc.
QUESTION: Do I have to become Premium member at Modaco's homepage to download the Mcr? I would be sorry to pay 10-30$ and then find out that the 3g doesn't work :S
I'm on Modaco Custom ROM (Mcr) r21 now and 3g works here too.
Dunno what the difference between r5 and r21 is, but it seems r5 is a newer relase. The r5 seems to be accessable by kitchen only, which requires Premium membership (10$)
Considering bying, but need to check out the benefits at first
I guess the reason for the data connection loss must be concluded to be due to ROM updates/cleaning of ROM.
Perhaps a MOD could be made to get back the old settings for nordic, which I believe must have been cleaned away
Thanks for all the help guys. Think I'm sticking with Mcr r21 for a while, untill further info has been released in other releases
EDIT: Mcr 21 is close to stock Froyo (thumps up), on the other hand, phone storage is pretty low :S Don't think camera works either, nor video recorder, I'm sure this is fixed in r5 (payed version)
Tried running a Ping test in one of the ROMS now, when in phone system menu.
*#*#INFO#*#*
Guess this is the most important stuff
Ping IP Addr: Fail: IP addr not reachable
Ping Hostname (www.google.com): Fail: Host unreacheable
HTTP Cliet test: Fail: IOException
Signal strength: -67 dBm 23asu (But I'm in an area with 100% availability normally)
GSM service: In service
GPRS service: Disconnected - why?
Network type: UMTS
GSM disconnetcs:
============DATA============
State: DcInactiveState
is connected to Telia Internet, 7xx, 23xxx, www.internet.mtelia.dk, ,, ,,-1,*
============================
WCDMA preferred
A bit wierded out by the fact that GPRS is disconnected... how do you enable?
I got an option to update SMSC, dunno what that is, but need to fill in a line
Ciphering is ON, dunno what that do
EDIT: Changed WCDMA preferred tp GSM/CMDA auto (PRL) and got following:
Ping IP Addr: Fail: IP addr not reachable
Ping Hostname (www.google.com): Fail: Host unreacheable
HTTP Cliet test: Fail: IOException
Signal strength: -67 dBm 23asu (But I'm in an area with 100% availability normally)
GSM service: In service
GPRS service: Disconnected - why?
Network type: EDGE
GSM disconnetcs:
============DATA============
State: DcInactiveState
is connected to Telia Internet, 7xx, 23xxx, www.internet.mtelia.dk, ,, ,,-1,*
============================
but still no dataconnection
BTW - I use TELIA provider, which uses 2g/3g data connection via GSM and EDGE/GPRS (Guess this is also called WCDMA)
do you use these APN settings ?
Telia:
Fra cedeel
Internet
* APN: www.internet.mtelia.dk
* MCC: 238
* MNC: 20
* APN type: default
MMS
* APN: www.mms.mtelia.dk
* MMSC: http://mms.telia.dk
* MMS proxy: 193.209.134.131
* MMS port: 8080
* MCC: 238
* MNC: 20
* APN type: mms
CerB said:
do you use these APN settings ?
Telia:
Fra cedeel
Internet
* APN: www.internet.mtelia.dk
* MCC: 238
* MNC: 20
* APN type: default
MMS
* APN: www.mms.mtelia.dk
* MMSC: http://mms.telia.dk
* MMS proxy: 193.209.134.131
* MMS port: 8080
* MCC: 238
* MNC: 20
* APN type: mms
Click to expand...
Click to collapse
Yes! Also the settings I got. I also tried using APN TYPE for internet: Default, supl
which is was called in LeeDroid 1.2, where it worked. But got those settings as you reffer to set now
Okay. The problem IS that the gprs won't connect. I tried ping testing in working Rom and non-working Rom.
The apn settings are the exact same in both. Wcdma is set to preferred in both situations.
In working Rom the gprs connects - no problem
In non-working gprs status says connecting and then switches to disconnected after a while, when it can't get any connection
What could be the cause of this? And how do we solve it?
Tried updating to latest ROMs and radio is 5.xx.xx.008, the newest
Sent from my HTC Desire using XDA App
FINALLY SOLVED
Okay, so here is the delio
A lot of things can cause data connection trouble, so i will try to pin out the unuasual errors.
1. Flash a new radio - try updating to the newest, if you got an old. Just got a new radio and data don't work anymore? Try flash the old radio again.
2. Set APN settings manually and activate mobile network
2.1 (In my case) I had to set proxy and port number manually under APN settings. I didn't need to do this with older ROM's, and they are not normally given by the tele provider. I called them and got them, had to wait for 5 minutes when set, and then it found the network.
3. Set preferred network to WCDMA (3G) or GSM (2G) instead of Auto mode. I had to do this too, to make it work
You can also use dial pad and dial *#*#INFO#*#* (*#*#4636#*#*) and go into phone settings and make a ping test. Also, you get more settings here for preferred network type.

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?

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

p607t lte/wcdma not working

I have received a p607t tablet, it was flashed by smb. to p905 firmare (with no imei). i re-flashed it with stock P607TUVUBOI2 firmware (4 files, so-called "service" firmare), imei is back (to what is printed at the back-side) but mobile networking *still* doesn't work: no connection. I'm using not t-mo sim-card, but looks like the tablet was already unlocked
From service menu *#0011#:
SERVICE : LIMITED
NETWORK : UNBLOCK
IMEI Certi: PASS, 1
From Advanced Signal Status:
Carrier:
Network Type: Unknown
Signal info: n/a
Neighboring CID: no neighboring cells --- wtf? >> other devices work ok with this sim in lte and 3g modes<<
GSM service: emergency calls only
GPRS service: disabled
Any ideas?
OK, so, what is done with p607t to the moment:
1) reflashed CP (modem/RF??) to latest stock (P607TUVUBOI2)
2) reflashed AP/PDA (core system??) and CSC (consumer stuff??) to P605XXU1EOI5 (from p605, have one right here - it never had network-lock from factory)
3) using qpst and qxdm changed nv parameters (extended lte bands, enabled gsm rf-bands - there were none in stock at all, only wcdma)
now the tablet sees my local gsm network with this sim-card, signal is 4/5 bars, but still no internet connection - WTF??
p.s. when trying manually to register in my local network - it fails with "try again later"
p.p.s.: what is i find weird, in service menu *#0011#:
NETWORK : UNBLOCK
- this line exists only on p607 - is this the key?
Then, i insert this sim into p605 (completely stock P605XXU1EOI5) - it works like a charm
need some help - where to dig next? point direction plz
UPDATE. i've been tweaking 607t nv items with qxdm, making it alike that ones 605 has. practically everything is alike now, but still it doesn't even try to establish data connection with cell...((
btw, 605 does not have "esf embedded file system", while 607t has one (can be seen through qpst-esf explorer)
also, some nv-items present in one model, some present in another
m4D2016 said:
UPDATE. i've been tweaking 607t nv items with qxdm, making it alike that ones 605 has. practically everything is alike now, but still it doesn't even try to establish data connection with cell...((
btw, 605 does not have "esf embedded file system", while 607t has one (can be seen through qpst-esf explorer)
also, some nv-items present in one model, some present in another
Click to expand...
Click to collapse
I had to flash back to the original kitkat firmware and take OTA to upgrade to lollipop. There is a known issue with the 607t losing data after roms are flashed. Some had luck with flashing the same rom twice but it never worked for me. Used Sam mobile to pull original and went from there. Good luck
I performed "device init and reflash" with Keis. The device is back to stock completely, except:
- nv items data
- esf embedded file system data
so... my guess - i need to restore these in order to have mobile networking working.
could someone post a qcn-file with factory esf-data?
ok, let's take another way: how can i get some gsm-module debug-output or log to understand, what's going on it?
i'm trying to write some custom modem.bin to /dev/block/mmcblk0p2, but after reboot data in there is reverted to stock modem.bin - how come?? is that bootloader doing? where is the stock-one stored?

Moto z2 play india jio 4g roaming problem

Hello there, i would like to ask you guys, currently my jio sim is in roaming (since I am currently living in another state) and a strange thing is happening, i can use the LTE data but I'm unable to receive calls or make a call using SIM 1, even the problem still persists after the oreo update, i thought there might be a problem with the sim card but it's perfectly running fine on my another android device, I've already formatted my phone 2wice after the android orero update so, can anyone please check or confirm is they're having the same problem with the MOTO Z2 PLAY INDIAN unit while ROAMING on JIO 4G??
PLEASE HELP
Go to Settings > More > Mobile Network settings > Access Point Names
Tap on the '+' sign on the upper right corner.
Than create new APN profile with the following parameters:
Name: Jio
APN: jionet
APN Protocol: IPv4/IPv6
APN roaming protocol: IPv4/IPv6
Bearer: LTE
Leave all the other options as they are.
Then save this APN profile from three dots on the upper right corner.
Choose this profile now and restart your phone.
I hope it works for you.
You need to flash stock ..then apply the fix given for Indian users ...then backup esf and flash crdroid or resurrection or lineage and restore efs
This problem was solved by installing Gravity Box and enabling - enable national data roaming option
hii, i want your urgent help. I have MotoZ2 Play (XT1710-10) which has some issues i didnt look upon while buying the device as it was used for home. I want to flash Stock Firmware but dont know which one for Indian Variant.This can be found by using the CID (Country ID) value. ALL you have to do is run a simple fastboot command to get the CID:
This would not kill your phone or root/harm or to stole your personel info
I cant ask it in general bcoz CID changes with Model Variant and i have Indian (XT1710-10)
Poweroff the device and enter into fastboot mode (Power+Vol(-)) button
Code:
fastboot getvar all
this will give detail about your device , you can find
Code:
(bootloader) cid: 0xXXXX
Q.Why i cant get the same..?
Bcoz Mine CID is 0x0000 which is creating some issues
If i can know my Country ID (CID) it would be a great help in flashing my phone with correct firmware
Thanks!!

Categories

Resources