[REQ] Users with official Carrier ROMs, info needed - Touch Pro, Fuze ROM Development

Hi, I am currently trying to compile a list of carrier specific aGPS servers to make a profiling tool that will allow people with custom ROMs to access the correct aGPS servers. The information that I need is contained in your registry (I would suggest using total commander attached to this post if you dont already have a registry editor)
Please can you let me know the information contained in the Following key:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]
"ServerIP"=
"ServerURL"=
"GPSMode"=
"ServerPort"=
"DynamicURL"=
"TLSHostName"=
Please reply using the above format and maybe I can add this to my profiling app

Excellent!
With the recent AT&T changes, we're going to need this.
Cheers,

Hi there here is mine
Rom:Vodafone UK 5.10.161.1 WWE
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]
"ServerIP"=10.1.101.63
"ServerURL"=missing
"GPSMode"=0x2 (2)
"ServerPort"=0x1C6B (7275)
"DynamicURL"=missing
"TLSHostName"=missing
So by the looks of it uses an Internal IP address specific to Vodafone UK.
HTH
b0yce

b0yce said:
Hi there here is mine
Rom:Vodafone UK 5.10.161.1 WWE
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]
"ServerIP"=10.1.101.63
"ServerURL"=missing
"GPSMode"=0x2 (2)
"ServerPort"=0x1C6B (7275)
"DynamicURL"=missing
"TLSHostName"=missing
So by the looks of it uses an Internal IP address specific to Vodafone UK.
HTH
b0yce
Click to expand...
Click to collapse
Actually, I think that's the generic IP address HTC ships with all their ROMs. See below, which I got from the OEMDrivers RGU of the new AT&T ROM (the AT&T aGPS server updates are done via PROVXML):
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"EnableAGPS"=dword:00000000 ; 0:Disable AGPS
[B]"GPSMode"=dword:00000002 ; 1:GPS_FIX_MODE_MSA, 2:GPS_FIX_MODE_MSB, 3:GPS_FIX_MODE_MSS[/B]
"NumberFixes"=dword:3B9AC9FF ; 999999999
"TimeBetweenFixes"=dword:00000001 ; 1
"QoSAccuracy"=dword:00000032 ; 50
"QosPerformance"=dword:00000059 ; 89
[B]"ServerIP"="10.1.101.63" ; Set CHT AGPS Server IP as default[/B]
[B]"ServerPort"=dword:00001C6B ; Set CHT AGPS Server Port as default[/B]
It appears that aGPS is in fact disabled by HTC, by default, as not all Carriers support it (Vodafone UK might be one of them that don't).

Yeah, just found that in the T-Mobile ROM i have dumped as well Though there does seem to be a mention of supl.agps.emome.net in the gpsdriver.dll....

B4PJS said:
Yeah, just found that in the T-Mobile ROM i have dumped as well Though there does seem to be a mention of supl.agps.emome.net in the gpsdriver.dll....
Click to expand...
Click to collapse
If there ARE aGPS settings, they'd probably be in one of the PROVXMLs in the "OperatorPkg" OEM folder. In the AT&T ROM, they're in the "mxipupdate_oemoperators_107.provxml".

AT&T a
This is what I have for stock at&t rom.
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]
"ServerIP"= 199.88.233.169
"ServerURL"= h-slp.mnc410.mcc310.pub.3gppnetwork.org
"GPSMode"= value:2 (Dec)
"ServerPort"= 7275 (Dec)
"DynamicURL"= h-slp.mnc000.mcc111.pub.3gppnetwork.org
"TLSHostName"= h-slp.mnc410.mcc310.pub.3gppnetwork.org

re: supl.agps.emome.net
This is the server referred to here:
"ServerIP"="10.1.101.63" ; Set CHT AGPS Server IP as default
"ServerPort"=dword:00001C6B ; Set CHT AGPS Server Port as default
emome.net is a cell phone provider, see http://www.emome.net/channel?chid=256
Anyway, their name is Chunghwa Telecom, (CHT) - it's an internal IP for their SUPL server, similar to AT&T's
Imagine that Chunghwa is a large provider near HTC, so they use that for testing..

Yeah I kinda guessed they were something local to HTC, strange that it is hard coded in the dll though...

T-Mobile USA AGPS Settings
Compliments of a T-Mobile Rhodium ROM. Any Fuze users running on T-Mobile in the US should be able to use these, I guess?
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"EnableAGPS"=dword:00000001
"ServerPort"=dword:00001C6B
"ServerIP"="10.176.29.225"
"Network"="T-Mobile Data"
"GPRSConnection"="T-Mobile Data"
"ServerURL"="lbs.geo.t-mobile.com"
"GPSMode"=dword:00000002
"TLSHostName"="lbs.geo.t-mobile.com"
There's no entry for "DynamicURL".

Captain_Throwback said:
Compliments of a T-Mobile Rhodium ROM. Any Fuze users running on T-Mobile in the US should be able to use these, I guess?
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"EnableAGPS"=dword:00000001
"ServerPort"=dword:00001C6B
"ServerIP"="10.176.29.225"
"Network"="T-Mobile Data"
"GPRSConnection"="T-Mobile Data"
"ServerURL"="lbs.geo.t-mobile.com"
"GPSMode"=dword:00000002
"TLSHostName"="lbs.geo.t-mobile.com"
There's no entry for "DynamicURL".
Click to expand...
Click to collapse
any luck for t-mobile uk settings?
maybe it's an idea to change the title of the thread to all agps settings?
it could be useful to also have the open servers up here in stead of only the carier specific ones...
Maybe we should spread the word and not keep it to Raphael specific, since the AGPS servers are used on more devices..
just trying to increase our chances in getting a working AGPS setup for everyone who's looking, even not carier specific.
Maybe we can move this thread and change the title to AGPS settings wanted, try these and and report back if they work for you?
That an idea?
Hope we can get this thread widely spread so everyone can use it...
Da_G, could you check if the Nokia server is back in business?
I can't really figure it out..I get a $GPSCEL in my nmea log, but can't get a lock under my roof..
So don't really know if it's actually working..
ta a bunch..

Hi, I will check soon (very busy with image update)
for $GPCELL string, the paramater is degrees LAT / LONG - does it translate to location nearby? if not supl server may be feeding incorrect data.

Related

Help! Data Broken - Alltel - Cannot Connect for Unknown Reason - DCD & Stock Rom!

Hello Everyone!
Firstly I would like to say thank you for the amazing input you put into this site - I have gone *very* far on the path to learning about my PPC 6800 just from reading past posts.
Problem
When trying to use data services on a Sprint Mogul configured for Alltel - Dialing #777 results in a "Cannot connect for unknown reason" message.
Voice and Text works fine.
Current Setup
PPC 6800 - SPC Reset to 000000 via QPST
oliPro 2.4
Radio 3 42 50
DCD 3 2 6
Alltel Carrier Cab 20080824 (I simply double clicked to install this right?)
PRL: 30031 and 40036 tried
ALWAYS ROAMING (I'm never in an Alltel Area)
Windows Connections settings: Alltel Wireless - #777 - login: [email protected] pass: alltel domain: empty
My Flash Steps
1) hard reset
2) Installed olipro 2.4 (and even tried with no2chem 2 47) via RUU
3) Flashed alltel Stock 3.35.671.9 with Radio via RUU
4) Let customizations run
Data at this point does not work but has (last week!!)
5) install radio 3 42 50 via flash
6) install dcd 3 2 6 via ruu
7) let customizations run
8) double clicked on Alltel carrier 20080824 and installed to device
data says same problem
I've tried a *228 Option 2 (update roam) and Option 3 (activate). No help.
I'm stuck
EPST Settings
Security:
HDR AN: [email protected]
HDR AN pass: my hex esn in all caps
PPP user id: [email protected]
PPP pass: alltel
MIP Default:
nai: [email protected]
mn ha: 101
mn aaa: 3E8
reverse tunnel: enable
home address: 0.0.0.0
primary address: 0.0.0.0
secondary address: 0.0.0.0
ha shared: rzU4LCHIJp+Efdtf (it worked last week!?)
aaa shared: alltel
dmu public key: 0
mn authentication: 0
MIP
mip mode: mobile ip preferred
mobile node ha: disable
send reg retry: disable
dormant handoff: ena
QPST Settings
By putting my phone in DIAG mode and running QPST I have the following settings
DATA
MDR Mode: SVC opt 33 Prefd
Service option: Pre 707
Data qnc - unchecked
data scrm - enabled
Mobile IP
Behavior : simple only
mn auth calculation: unchecked
My Questions
1) am I flashing this correctly?
2) Could someone please verify what my DATA and M.IP settings should be in my QPST section?
3) does my HA shared key in EPST have anything to do with this?
Thanks for any guidance or help in getting me setup - I'm hoping that by making stating all my settings nice and clear we can help others that search in solving their problems as well!
ShaneOMak said:
Hello Everyone!
Firstly I would like to say thank you for the amazing input you put into this site - I have gone *very* far on the path to learning about my PPC 6800 just from reading past posts.
Problem
When trying to use data services on a Sprint Mogul configured for Alltel - Dialing #777 results in a "Cannot connect for unknown reason" message.
Voice and Text works fine.
Current Setup
PPC 6800 - SPC Reset to 000000 via QPST
oliPro 2.4
Radio 3 42 50
DCD 3 2 6
Alltel Carrier Cab 20080824 (I simply double clicked to install this right?)
PRL: 30031 and 40036 tried
ALWAYS ROAMING (I'm never in an Alltel Area)
Windows Connections settings: Alltel Wireless - #777 - login: [email protected] pass: alltel domain: empty
My Flash Steps
1) hard reset
2) Installed olipro 2.4 (and even tried with no2chem 2 47) via RUU
3) Flashed alltel Stock 3.35.671.9 with Radio via RUU
4) Let customizations run
Data at this point does not work but has (last week!!)
5) install radio 3 42 50 via flash
6) install dcd 3 2 6 via ruu
7) let customizations run
8) double clicked on Alltel carrier 20080824 and installed to device
data says same problem
I've tried a *228 Option 2 (update roam) and Option 3 (activate). No help.
I'm stuck
EPST Settings
Security:
HDR AN: [email protected]
HDR AN pass: my hex esn in all caps
PPP user id: [email protected]
PPP pass: alltel
MIP Default:
nai: [email protected]
mn ha: 101
mn aaa: 3E8
reverse tunnel: enable
home address: 0.0.0.0
primary address: 0.0.0.0
secondary address: 0.0.0.0
ha shared: rzU4LCHIJp+Efdtf (it worked last week!?)
aaa shared: alltel
dmu public key: 0
mn authentication: 0
MIP
mip mode: mobile ip preferred
mobile node ha: disable
send reg retry: disable
dormant handoff: ena
QPST Settings
By putting my phone in DIAG mode and running QPST I have the following settings
DATA
MDR Mode: SVC opt 33 Prefd
Service option: Pre 707
Data qnc - unchecked
data scrm - enabled
Mobile IP
Behavior : simple only
mn auth calculation: unchecked
My Questions
1) am I flashing this correctly?
2) Could someone please verify what my DATA and M.IP settings should be in my QPST section?
3) does my HA shared key in EPST have anything to do with this?
Thanks for any guidance or help in getting me setup - I'm hoping that by making stating all my settings nice and clear we can help others that search in solving their problems as well!
Click to expand...
Click to collapse
DMU Key Reset. Either activate an old phone... wait a bit... get it working... then re-activate the new one. Or... call them.... tell them your phone doesn't get data, and you just did a hard reset. They might be able to fix it for you while you are on the phone.
Case Closed!
I called alltel and asked them to look at at performing a DMU Reset - while looking at my account they realized a few glitches (why they did not catch it before I'm not sure) and made changes.
They included:
Updating my Service Class to Simple IP only
Double Checking my AAA Authentication log and realized that a billing issue was not connected (Damn, they should have left this alone )
Thanks for your help!!1
*case closed* !

Zeno Webcams Romania Canada 2009-12-21

For all romanians abroad who use a PocketPC or a WindowsMobile Professional phone and love to see cities and places of Romania, I updated my program first released in december 2008.
Up to date version of my program Zeno Webcams Romania 2009-12-20.
Version is dated 2009-12-20 with actual webcams of Romania.
Get it here:
http://rapidshare.de/files/48865160/Zeno_Webcams_Romania_2009-12-20.rar.html
Password=Zeno_Webcams_Romania_2009_12_20
Enjoy!
And last words adressed to company Lantec (Mobotix representative in Romania www.mobotix.ro), company who got mad on my program, because they think making money via scum advertisements and third-party scum sites with spyware values more when exploiting natural wish of romanians abroad to see places in their homeland.
They first make hidden a lot of Mobotix webcams real IP address (very popular in Romania) via java scripts so that my program no longer worked. I responded by using Simtec HttpWatch Professional 6.1.41, IEInspector HTTP Analyzer Full Edition 5.1.1 and Agnitum Outpost Firewall Pro 2009 v6.x for refinding the hidden IP address and wrote directly to Lantec Romania expressing my disagree to their unfair practices. They responded by further limiting the IP range of guest addresses allowed to see their installed Mobotix webcams. No I respond by publishing a tutorial to bye-pass their latest measure and how to address the blocked webcams by direct access to their (Lantec) video-server.
Original page: http://www.mobotix.com.ro/ro/index.php?id=10055&lang=ro&camid=1207
Found with Google the description of the page: "Bucuresti - Intersectia Turda - 1 Mai"
Found Google cache: http://74.125.77.132/search?q=cache...+Intersectia+Turda+-+1+Mai&cd=9&hl=en&ct=clnk
Here the blocking script is absent and I find real IP address of image on video-server: http://www.mobotix.com.ro/savedimages/1207/02.jpg
The forming rule is:
http://www.mobotix.com.ro/savedimages/1207/00.jpg 3:10:27
http://www.mobotix.com.ro/savedimages/1207/01.jpg 4:10:28
http://www.mobotix.com.ro/savedimages/1207/02.jpg 5:10:25
http://www.mobotix.com.ro/savedimages/1207/03.jpg 6:10:22
.
.
.
http://www.mobotix.com.ro/savedimages/1207/10.jpg 13:12:03
http://www.mobotix.com.ro/savedimages/1207/11.jpg 14:10:35
.
.
.
http://www.mobotix.com.ro/savedimages/1207/20.jpg 23.10:24
.
.
.
http://www.mobotix.com.ro/savedimages/1207/23.jpg 02:10:24
Prefix is changed hourly and refresh done in 1 hour is 1 img/sec.
1207 = location code for Bucuresti - Intersectia Turda - 1 Mai
1088 = location code for Bucuresti - Piata Revolutiei Hotel Athenee Palace (Hilton)
1099 = location code for Bucuresti - Gara de Nord
and so on.
With regards,
Zeno Sloim
Also want to express gratitude to Alfredo “Legolas” Morresi the author of Webcam Holmes 1.0, from where I further developed (http://www.rainbowbreeze.it/webcam-holmes_en)
2009-12-21 updated to version named: Zeno Webcams Romania-Canada 2009-12-21, because i added more ski webcameras from Canada (Blackcomb-Whistler, among others).
Here: http://rapidshare.de/files/48870718/Zeno_Webcams_Romania-Canada_2009-12-21.rar.html
Password=Zeno_Webcams_Romania_Canada_2009_12_21
New cab version: 3-Zeno Webcams Romania-Canada 2009-12-21.cab
Here: http://rapidshare.de/files/48875124/3-Zeno_Webcams_Romania-Canada_2009-12-21.cab.html
Updated with more canadian ski webcams.
excelent job
just intsll all 3 cab's and i got error on aplication lunch. i'm using custom rom with vm 6.5 on topaz device
att criszz
criszz said:
just intsll all 3 cab's and i got error on aplication lunch. i'm using custom rom with vm 6.5 on topaz device
Click to expand...
Click to collapse
I use WM6.1 professional, not tested on WM6.5.
Install both Microsoft NET Compact Framework 2.0 SP2 and Microsoft SQL Mobile 5 (SQL Server 2005 Compact Edition) on Storage Card.
Even if you ROM includes Microsoft NET Compact Framework 3.5, you still need to install Microsoft NET Compact Framework 2.0 SP2.
The 3rd cab: 3-Zeno Webcams Romania 2009-12-20.cab was made for WM6.1
Here is a modified cab for WM6.5:
http://rapidshare.de/files/48865486/3-Zeno_Webcams_Romania_2009-12-20_for_WM6.5.cab.html
Hope it will work on WM6.5.
Test.
Zeno
same error, i will try again after a hard reset and fresh install , if works i provide feedback. thx for your quick answer.

TMC Works with Sygic Mobile Maps ver. 8.24 on htc-rose

Owners of WM devices can use HyperGPS - they turn the FM tuner in TMC receiver. More info about HyperGPS found here .
In the menu must be visible icon "Traffic". This is done by editing Menu.ini, which is located in your folder Drive (\Storage Card\Drive\WindowsMobile\Menu.ini). You search for the "menu.main.traffic". If it is at zero, rewrite her on one. If an item is missing, adds the following lines:
[menu.main]
menu.main.traffic=1
Then start Sygic and go to Settings\GPS Hardware\Guide. Set your GPS and then the TMC. Now go to the traffic menu and start using it
I attach a few screenshots.
sounds really good.
But I have a question...Appart from editing the "Menu.ini" which version of HyperGPS should we install?
HGPSClient FOR SMARTPHONES.zip - download here.
014789632 said:
HGPSClient FOR SMARTPHONES.zip - download here.
Click to expand...
Click to collapse
ok..I did that but I have a few problems..
1)I'm not sure how to configure HyperGPS (COMport number,data output and protocol)
2)I cant find the test option to test it
3)I have sygic v8.14,is it ok?
4)I have 2 versions of menu.ini , none of them has the option "[menu.main]
menu.main.traffic=1"...which one should I keep?
***************************
version of 8.14
"[settings.menu]
menu.settings.leftHanded=0
menu.settings.rightHanded=0
menu.settings.backlight=0
menu.settings.gpsLogs=1
[settings.hardware.menu]
menu.settings.hardware.wizard=0
***************************
version of 8.24
[mainMenu.menu]
menu.main.gpsStatus=1
menu.main.sharePoints=1
menu.main.getfull=0
[settings.menu]
menu.settings.rotate=1
menu.settings.gpsLogs=0
menu.settings.leftHanded=0
menu.settings.rightHanded=0
menu.settings.gpsStatus=1
menu.settings.backlight=0
menu.settings.volume=1
[settings.hardware.menu]
menu.settings.hardware.wizard=0
menu.settings.hardware.baudRate=1
[traffic.menu]
menu.traffic.tuner=0
5)I have checked in both versions (8.14 and 8.24) but there is no "guide" option in Settings\GPS Hardware\ there is only COMport,BaundRate,turn GPS off,Synchronize time and Autodetect.
UPDATE
1.I installed v8.24
2.crucial step!
edited the .mlm file:
Set tmc=yes
Set tts=yes
*This has fixed the problem #5 of the previous post
3.edited menu.ini :
[menu.main]
menu.main.traffic=1
[settings.menu]
menu.settings.leftHanded=0
menu.settings.rightHanded=0
menu.settings.backlight=1
menu.settings.gpsLogs=1
menu.settings.gpsStatus=1
menu.settings.trafficStatus=1
[menu.settings.hardware]
menu.settings.hardware.wizard=1
menu.settings.hardware.baudRate=1
menu.settings.hardware.gpsOn=1
menu.settings.hardware.comPort=1
menu.settings.hardware.sync=1
menu.settings.hardware.autodetect=1
[menu.alternative]
menu.alternative.traffic=1
4.
-I just don't know which protocol to chose in HyperGPS and which in Sygic.
-Also I have no idea which port to chose in HyperGPS(the one that my GPS uses?Or one that is free?)
-Last,I don't know which option of data output should I use...TMC?or GPS+TMC?
4) - Look at the screenshot in the first thread.
My HGPS Client configuration:
COM: 6
Data output: TMC data
Protocol: Royaltek
My Sygic config:
GPS com port: 4
TMC com port: 6
protocol: Royaltek
My Menu.ini:
[mainMenu.menu]
menu.main.gpsStatus=1
menu.main.sharePoints=1
menu.main.getfull=1
menu.main.traffic=1
menu.main.safetyCamera=1
[settings.menu]
menu.settings.rotate=1
menu.settings.gpsLogs=1
menu.settings.leftHanded=0
menu.settings.rightHanded=0
menu.settings.gpsStatus=1
menu.settings.backlight=1
menu.settings.volume=1
[alternativeRoute.menu]
menu.alternative.traffic=1
[navigateTo.menu]
menu.navigateTo.cityCentre=1
[settings.hardware.menu]
menu.settings.hardware.wizard=1
menu.settings.hardware.baudRate=1
[traffic.menu]
menu.traffic.tuner=1
My *.mlm file:
[PRODUCT:SMM10 Europe]
name=SMM10 Europe
tts=yes
sdk=yes
truckAttr=yes
premiumPOI=yes
exPostals=yes
speedcam=SCDB:WORLD:2012.03
maps=TA:WORLD:2012.03
Thank you for your help..I did exactly what you said but with no luck...maybe my country does not support TMC...anyway I give up!Thanks once more

How to set CDMA APNs with new more stable ril

See post #20 , highlandsun resolved this.
I decide to create an new thread for APNs setting, just search for many help.
Thanks to highlandsun, the ril is great.
RIL link : http://forum.xda-developers.com/showthread.php?t=1009112
Android I run: **Complete GingerBread Bundle!!** GBX0A - Alpha! Camera!
Put apns-conf.xml in /system/etc, go to mobile network -> APN, menu key, reset to default, system will load the APNs from apns-conf.xml and add APNs which match your carrier's operator ID.
After enable data connection, android seems not pass selected APN's info to ril (such as APN name,user,password)
D/RIL ( 1422): requesting data connection to APN '(null)'
Click to expand...
Click to collapse
APN got null value from system, then use default user/password to connect(default is dummy/dummy). So if user/password is not dummy/dummy, data connection will not work.
The new ril handled MMS, we can set the correct APNs for MMS receive.
muziling said:
I decide to create an new thread for APNs setting, just search for many help.
Thanks to highlandsun, the ril is great.
RIL link : http://forum.xda-developers.com/showthread.php?t=1009112
Android I run: **Complete GingerBread Bundle!!** GBX0A - Alpha! Camera!
Put apns-conf.xml in /system/etc, go to mobile network -> APN, menu key, reset to default, system will load the APNs from apns-conf.xml and add APNs which match your carrier's operator ID.
After enable data connection, android seems not pass selected APN's info to ril (such as APN name,user,password)
APN got null value from system, then use default user/password to connect(default is dummy/dummy). So if user/password is not dummy/dummy, data connection will not work.
The new ril handled MMS, we can set the correct APNs for MMS receive.
Click to expand...
Click to collapse
I appreciate the info. I'm not sure how to merge it into the system file, hopefully somebody will come out with a build with the new RIL. (preferrable GB) or I'll just wait until it's committed.
I believe a simpler approach will be just to re-enable the APN Settings option in Phone Settings menu for CDMA phones. I don't have a CDMA phone to test this with, but something like this patch ought to do the trick:
Code:
diff --git a/res/xml/cdma_options.xml b/res/xml/cdma_options.xml
index 346674c..dfc9223 100644
--- a/res/xml/cdma_options.xml
+++ b/res/xml/cdma_options.xml
@@ -17,6 +17,17 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.phone">
+ <PreferenceScreen
+ android:key="button_apn_key"
+ android:title="@string/apn_settings"
+ android:persistent="false">
+
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.ApnSettings" />
+
+ </PreferenceScreen>
+
<com.android.phone.CdmaRoamingListPreference
android:key="cdma_roaming_mode_key"
android:title="@string/cdma_system_select_title"
violino:/home/software/xdandroid/packages/apps/Phone>
(I literally just copied and pasted that out of the gsm_umts_options.xml file.)
Enabling this setting should make life easier for packaging, because then we don't need to worry about shipping with correct APN info pre-loaded for every carrier... But someone who can recompile the Phone app and run on CDMA will have to try this out and report back.
I must leave home now, I will try tonight, thanks .
I gave it a try with apk manager, but might have done it a little wrong. All I ended up with was a fatal error in MAIN when I clicked the wireless and networks button. Force Close. I'm not sure I should be jumping in this deep yet.
BoominSVX said:
I gave it a try with apk manager, but might have done it a little wrong. All I ended up with was a fatal error in MAIN when I clicked the wireless and networks button. Force Close. I'm not sure I should be jumping in this deep yet.
Click to expand...
Click to collapse
Yeah, looks like there's more to it than just that first patch. I'm still looking...
OK, since Phone.apk is a system app, it's not straightforward to just build a new one and drop it into place. The apps are cryptographically signed, and you need to have the same key on your build machine as was used to create it originally. I was running FRX06 and I don't have their release keys, so I replaced all of my /system with my own build of the Froyo tree. But even that wasn't enough, because /data/system still had records of the original keys. I found out about that here
http://forum.cyanogenmod.com/topic/3550-restoring-google-account-synchronization-after-upgrade/
After I did these edits on /data/system/packages.xml I was able to boot with my new system image (without first deleting all of my /data).
So here's the changes I made to the Phone.apk:
First, instead of leaving the APN setting in the GSM-specific options, I moved up to the generic Network Settings instead, so it can be used by both GSM and CDMA:
Code:
diff --git a/res/xml/gsm_umts_options.xml b/res/xml/gsm_umts_options.xml
index afdd0d3..25bc031 100644
--- a/res/xml/gsm_umts_options.xml
+++ b/res/xml/gsm_umts_options.xml
@@ -17,17 +17,6 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.phone">
- <PreferenceScreen
- android:key="button_apn_key"
- android:title="@string/apn_settings"
- android:persistent="false">
-
- <intent android:action="android.intent.action.MAIN"
- android:targetPackage="com.android.settings"
- android:targetClass="com.android.settings.ApnSettings" />
-
- </PreferenceScreen>
-
<com.android.phone.Use2GOnlyCheckBoxPreference
android:key="button_prefer_2g_key"
android:title="@string/prefer_2g"
diff --git a/res/xml/network_setting.xml b/res/xml/network_setting.xml
index 5d70e67..f296d67 100644
--- a/res/xml/network_setting.xml
+++ b/res/xml/network_setting.xml
@@ -49,6 +49,17 @@
android:dialogTitle="@string/preferred_network_mode_dialogtitle" />
<PreferenceScreen
+ android:key="button_apn_key"
+ android:title="@string/apn_settings"
+ android:persistent="false">
+
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.ApnSettings" />
+
+ </PreferenceScreen>
+
+ <PreferenceScreen
android:key="gsm_umts_options_key"
android:title="@string/gsm_umts_options"
android:persistent="false">
Then I deleted the GSM-specific code that disables this menubutton when the phone is not GSM:
Code:
diff --git a/src/com/android/phone/GsmUmtsOptions.java b/src/com/android/phone/GsmUmtsOptions.java
index 48411f6..9fcf6f4 100644
--- a/src/com/android/phone/GsmUmtsOptions.java
+++ b/src/com/android/phone/GsmUmtsOptions.java
@@ -30,11 +30,9 @@ import com.android.internal.telephony.PhoneFactory;
*/
public class GsmUmtsOptions extends PreferenceActivity {
- private PreferenceScreen mButtonAPNExpand;
private PreferenceScreen mButtonOperatorSelectionExpand;
private CheckBoxPreference mButtonPrefer2g;
- private static final String BUTTON_APN_EXPAND_KEY = "button_apn_key";
private static final String BUTTON_OPERATOR_SELECTION_EXPAND_KEY = "button_carrier_sel_key";
private static final String BUTTON_PREFER_2G_KEY = "button_prefer_2g_key";
@@ -45,12 +43,10 @@ public class GsmUmtsOptions extends PreferenceActivity {
addPreferencesFromResource(R.xml.gsm_umts_options);
PreferenceScreen prefSet = getPreferenceScreen();
- mButtonAPNExpand = (PreferenceScreen) prefSet.findPreference(BUTTON_APN_EXPAND_KEY);
mButtonOperatorSelectionExpand =
(PreferenceScreen) prefSet.findPreference(BUTTON_OPERATOR_SELECTION_EXPAND_KEY);
mButtonPrefer2g = (CheckBoxPreference) prefSet.findPreference(BUTTON_PREFER_2G_KEY);
if (PhoneFactory.getDefaultPhone().getPhoneType() != Phone.PHONE_TYPE_GSM) {
- mButtonAPNExpand.setEnabled(false);
mButtonOperatorSelectionExpand.setEnabled(false);
mButtonPrefer2g.setEnabled(false);
}
The resulting phone.apk still works for me. I'm pretty sure it will work for CDMA too, but you either need to build it yourself, or one of the xdandroid dev team will have to give us a patched Phone.apk signed with their release key.
Specifically, you'll need to build the whole release yourself using the info at:
http://xdandroid.com/wiki/Getting_the_Source
I don't run CDMA so I can't test this even though I run self-build source builds.
Entropy512 said:
Specifically, you'll need to build the whole release yourself using the info at:
http://xdandroid.com/wiki/Getting_the_Source
I don't run CDMA so I can't test this even though I run self-build source builds.
Click to expand...
Click to collapse
That link is very outdated and I am having problems getting it to work, so far it has been about a month since I started trying to get it working. GingerBread will not compile doing what they say, I am about to try Froyo. Oh and I will be covering GSM only.
ryannathans said:
That link is very outdated and I am having problems getting it to work, so far it has been about a month since I started trying to get it working. GingerBread will not compile doing what they say, I am about to try Froyo. Oh and I will be covering GSM only.
Click to expand...
Click to collapse
I didn't realize there was a more up-to-date one...?
Those directions worked great for me on Froyo, I haven't tried since gb was released TBH...
ryannathans said:
That link is very outdated and I am having problems getting it to work, so far it has been about a month since I started trying to get it working. GingerBread will not compile doing what they say, I am about to try Froyo. Oh and I will be covering GSM only.
Click to expand...
Click to collapse
As far as I know the only differences for GB is it requires a 64bit OS and a different version of Java IIRC.
rpierce99 said:
As far as I know the only differences for GB is it requires a 64bit OS and a different version of Java IIRC.
Click to expand...
Click to collapse
Interestingly enough, the docs say java 1.5 is required to build froyo, but it looks like FRX was built with 1.6 anyway. So it should say "at least 1.5" (I thought it meant *only* 1.5...)
Sent from my MSM using Tapatalk
highlandsun said:
Interestingly enough, the docs say java 1.5 is required to build froyo, but it looks like FRX was built with 1.6 anyway. So it should say "at least 1.5" (I thought it meant *only* 1.5...)
Sent from my MSM using Tapatalk
Click to expand...
Click to collapse
I had sun-java6-jdk installed and it wouldn't compile, it said i needed java5 so i removed java6 jdk and installed sun-java5-jdk and it compiled sweet as.
Turns out parts of the page were outdated but I fixed them a while back and changes got approved, its all good now
what list?
muziling said:
Put apns-conf.xml in /system/etc
Click to expand...
Click to collapse
What apns-conf.xml? There's already one in there, but it doesn't have any CDMA stuff to match up?
NeoMatrixJR said:
What apns-conf.xml? There's already one in there, but it doesn't have any CDMA stuff to match up?
Click to expand...
Click to collapse
You don't need to do this at all...
Looking over the CDMA code in the android framework, this seems to have been a red herring. Currently the CDMA code doesn't ever send the username or password from the APN, it always sends NULL. It seems to assume that some CDMA provider's profile will be used to fill in the rest of the details. I don't know how to get hold of the CDMA profile though. It doesn't appear to be programmed into the radio firmware. Anyone know? On Winmo and Sense builds you'd use epst or somesuch.
Hmmm. I think the right way to solve this for XDAndroid is going to be to hack the CDMA code to use real APNs.
highlandsun said:
Looking over the CDMA code in the android framework, this seems to have been a red herring. Currently the CDMA code doesn't ever send the username or password from the APN, it always sends NULL. It seems to assume that some CDMA provider's profile will be used to fill in the rest of the details. I don't know how to get hold of the CDMA profile though. It doesn't appear to be programmed into the radio firmware. Anyone know? On Winmo and Sense builds you'd use epst or somesuch.
Hmmm. I think the right way to solve this for XDAndroid is going to be to hack the CDMA code to use real APNs.
Click to expand...
Click to collapse
I know BlackBerry phone not have APN, instead of set user/pass with QUALCOMM QPST or other similar.
So, there maybe some AT COMMAND can obtain user/pass which store at phone.
muziling said:
I know BlackBerry phone not have APN, instead of set user/pass with QUALCOMM QPST or other similar.
So, there maybe some AT COMMAND can obtain user/pass which store at phone.
Click to expand...
Click to collapse
I've been searching for those things but I don't believe it's worth the trouble. The fact is that for any data connection, you need the ability to set username, password, and MMS settings. All of these fields are already present in the APN database, so it's stupid to introduce a new tool to manage these somewhere else.
If you're using my modified Phone.apk and you've set your operator IDs correctly in your properties, the APN menu will work for you. So again, the tools are already built in to Android; no reason to use some other mechanism.
I've updated the framework to use the APN info for CDMA data connections now.
https://gitorious.org/xdandroid/frameworks_base/commit/e0fa513741f513476a0d17d1fd6236b23d7dec02
It's optional; if you don't setup an explicit APN everything will continue to work as before. But if you set one, it will get used.
Nice! More changes to figure out how to pull .
highlandsun said:
I've updated the framework to use the APN info for CDMA data connections now.
https://gitorious.org/xdandroid/frameworks_base/commit/e0fa513741f513476a0d17d1fd6236b23d7dec02
It's optional; if you don't setup an explicit APN everything will continue to work as before. But if you set one, it will get used.
Click to expand...
Click to collapse
Great, hope next release, both froyo and gingerbread have this function.
Patched binaries
Here's the updated framework.jar and Phone.apk with my patches to enable APNs in CDMA. (The attachment is named "framework.zip" because the forum doesn't allow attaching .jar files. Just rename it to framework.jar.)
I guess the easiest way to install this is adding a couple bind mounts in your user.conf. Personally I just mount the filesystem image read/write and replace the files directly, I don't like having so many bind mounted files.
The framework.jar file should be mounted over /system/framework/framework.jar. The Phone.apk gets mounted over /system/app/Phone.apk.
Remember to set your operator properties otherwise none of this will make any difference.
http://cleanimport.xda/index.php?posts/12401915/

[Q] XPERIA P No AGPS data with JB

I'm currently with LT22i_6.2.A.0.400_1265-2714.ftf and i'm not getting AGPS data.
Without AGPS data it's almost impossible here to get a FIX from GPS, 2 walks outside of 15min and no FIX.
(please note there are no errors with adresses in my actual files, i had to edit here to post, can't put links due to my posts count)
The ROM comes with thsi gps.conf:
Code:
SUPL_HOST=suplDOTsonyericssonDOTcom
SUPL_PORT=7275
The cacert.txt is the sony certificate:
Code:
-----BEGIN CERTIFICATE-----
MIIDazCCAlOgAwIBAgIBADANBgkqhkiG9w0BAQUFADBwMQswCQYDVQQGEwJTRTEN
MAsGA1UEBxMETHVuZDEvMC0GA1UEChMmU29ueSBFcmljc3NvbiBNb2JpbGUgQ29t
bXVuaWNhdGlvbnMgQUIxITAfBgNVBAsTGFNvbnkgRXJpY3Nzb24gU2VjdXJlIEUy
RTAeFw0wMDAxMDExMTAxMjlaFw0xOTEyMzExMTAxMjlaMHAxCzAJBgNVBAYTAlNF
MQ0wCwYDVQQHEwRMdW5kMS8wLQYDVQQKEyZTb255IEVyaWNzc29uIE1vYmlsZSBD
b21tdW5pY2F0aW9ucyBBQjEhMB8GA1UECxMYU29ueSBFcmljc3NvbiBTZWN1cmUg
RTJFMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7YSdD6eHY5qywYk4
QkwwSOWjQicq5QlpbjSQMyLgCgNojPGNeBWYRRm0HiHB9bBvJpLBohxo8ZNSGEQT
U0ui3yHNP1HfK2CK5VDUmJGQIa3A1pBJeUlUWw8xdxVUbho1revxiu6UB7Pv9R1j
DSQhrnfwXrYUEF78TC/GQcnwP0D1xsKFLJAj5Oof5sv+UYXXIMdVgc+wUvjd4Mzy
SiWUw5ck1zVgA8rPgMYXOexRQO801f+dcZXQGXYUhWEH3zJY23C4XfDCTk1iKKJL
63Tgf+s+EOtl7nAJSrGTMWC+PDPnjcKMrFQJBdYOb5vq4cMqsGe8elb5agbUvHDM
2FiKtwIDAQABoxAwDjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQAD
VmfPC4lU3+Xp2PjmfjQTl/+WRG4jAgYdUEReL+7owgmoSQreqiyomFN8/8vCONVk
7j+DVodA11Ynl4s6QTcFLnpMOzBPu06pU+yhoQaQiIFjq2ngWkIhSU4q2lOCE1n5
zMbZnQvCP8+mctuKb0Mk85hcLDi6zZQqO3wsmsh91ufo8u+7wGuUw2rFKW+yANLE
YNmCvc+24cACF8+FJ1Ps5xrUbzcrJOlFYnwDoFZqaYAYn+bB3Bl2179/QivOgLaS
b2WZUQYS0HeViZ/VLk8z/luV+dNZPvqs+/0evT63tRp4FoIThsI+eoyR0md0Y2HG
zdnYD492TlDZneEj8Nq/
-----END CERTIFICATE-----
I've tried changing to vodafone one, since some people suggested in ICS it was hardcoded in some ROMs, no chance:
Code:
NTP_SERVER=br.pool.ntp.org
XTRA_SERVER_1=xtra1DOTgpsonextra.net/xtra.bin
XTRA_SERVER_2=xtra2DOTgpsonextraDOTnet/xtra.bin
XTRA_SERVER_3=xtra3DOTgpsonextra.net/xtra.bin
SUPL_HOST=suplDOTvodafoneDOTcom
SUPL_PORT=7275
SUPL_VER=
And of course using the vodafone certificate:
Code:
-----BEGIN CERTIFICATE-----
MIIDEzCCAnygAwIBAgIBATANBgkqhkiG9w0BAQQFADCBxDELMAkGA1UEBhMCWkEx
FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD
VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv
biBTZXJ2aWNlcyBEaXZpc2lvbjEZMBcGA1UEAxMQVGhhd3RlIFNlcnZlciBDQTEm
MCQGCSqGSIb3DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5jb20wHhcNOTYwODAx
MDAwMDAwWhcNMjAxMjMxMjM1OTU5WjCBxDELMAkGA1UEBhMCWkExFTATBgNVBAgT
DFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYDVQQKExRUaGF3
dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2aWNl
cyBEaXZpc2lvbjEZMBcGA1UEAxMQVGhhd3RlIFNlcnZlciBDQTEmMCQGCSqGSIb3
DQEJARYXc2VydmVyLWNlcnRzQHRoYXd0ZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQAD
gY0AMIGJAoGBANOkUG7I/1Zr5s9dtuoMaHVHoqrC2oQl/Kj0R1HahbUgdJSGHg91
yekIYfUGbTBuFRkC6VLAYttNmZ7iagxEOM3+vuNkCXDF/rFrKbYvScg71CcEJRCX
L+eQbcAoQpnXTEPew/UhbVSfXcNY4cDk2VuwuNy0e982OsK1ZiIS1ocNAgMBAAGj
EzARMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEEBQADgYEAB/pMaVz7lcxG
7oWDTSEwjsrZqG9JGubaUeNgcGyEYRGhGshIPllDfU+VPaGLtwtimHp1it2ITk6e
QNuozDJ0uW8NxuOzRAvZim+aKZuZGCg70eNAKJpaPNW15yAbi8qkq43pUdniTCxZ
qdq5snUb9kLy78fyGPmJvKP/iiMucEc=
-----END CERTIFICATE-----
I'm going to try google supl now but i'm almost hopeless, anyone having issues with AGPS/GPS too?
--EDIT--
Just tried google supl with the apropriated certificate and still no AGPS info, if anyone can give me information on this please help, i'm thinking about using another firmware just to be sure but then i'll have to install everything again :/
There is something seriously wrong with aGPS in Sony 4.1.2 firmware, at least for my Xperia P.
I went through logs and it seem that problem begins with time synchronization with ntp server. I tested a few ROMs based on stock 4.1.2 and CM10 a CM10.1 and on all of them "ntp server response" is time of phone boot, not actual time! Therefore there is no time synchro (i.e. phone time offset to satellites time is nonsence). Moreover, it seems that agps process does not continue past ntp synchroniation, i.e. connection with agps servers is not established.
I tested aGPS on Stock ICS firmware and at least ntp time sync works fine.

Categories

Resources