BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
Chernobyl Offline
New Member
 
Posts: 7
Join Date: Dec 2007
Model: 8330
PIN: Not likely
Carrier: TELUS
Post 8830 GPS learnings - 12-09-2007, 12:20 AM

I thought I'd share some interesting learnings about how the BB 8830 GPS works from my own recent good/bad experience:

Observation 1:
I have a TELUS 8830 - which of course comes GPS enabled. I've always noticed that anytime a GPS location is requested you can see the device communicating with "something" (given away by the fact that the data transfer arrows flash in the top right). This, and the fact that the GPS does NOT work when there is no cell coverage, is pretty much a dead giveaway that this is some form of assisted GPS. It does use satellites to determine a position, but it gets the satellite ephemeris and other data via the network. This server is called a PDE (position determining entity) or MPC (mobile positioning centre).

Observation 2:
I recently saw on this forum that Verizon Navigator was released. I thought I would give it a try (fully realizing that it was unlikely to actually work, but I wanted to see what it looked like). I installed it, it didn't work (as expected) and I deleted it. Later that day I fired up Google Maps (which I have always had and has always worked) and it said "Signal too weak to determine location". I thought: "That's odd - never seen that before." I went outdoors and tried again. No dice. BB Maps didn't work either. I started to sweat. Reinstalled GMaps. Still no workie. Wiped the handheld and reinstalled the OS from scratch. No dice. I realized I was scr*wed. My internal GPS no longer worked.

Now what?
After fruitless calls to TELUS tech support I came to the sad conclusion that I had done something horrible to my phone and would need a handheld swap (still under warranty of course).

But still it bothered me: how could the GPS have worked before, and yet even reloading the OS did not fix it!? What could VZW Nav have done to my device that is stored somewhere other than the flash memory?!

After a couple of days I had an inspiration: I fired up QPST 2.7 and read the service programming configuration from the CDMA chipset (fortunately I have my MSL). I browsed through, and stopped when I came to the "gpsOne" tab. I noticed that while "Allowed" was checked off, the PDE IP address was set to "127.0.0.1". The loopback address?? "That can't be right!" I thought. But what should be there?

Fortunately, I had a saved QPST configuration from an earlier HTC S720 handset - I checked that and found that sure enough there was supposed to be a real address in that spot: 216.198.xxx.xxx (I'm not including the actual address here). "No - it couldn't be that easy! Could it?"

I entered the new address, wrote it to the phone and rebooted. Surprise, surprise - my internal GPS worked again!

Conclusion:
VZW Nav appears to wipe out the PDE address stored in the CDMA chipset. Why? Presumably to help VZW enforce their block against third-party software using the internal GPS. Maybe, just maybe - if the appropriate address of the VZW PDE was entered in that field on a VZW 8830, then maybe it would unlock the internal GPS. I have no way of knowing (not a VZW customer) and leave it as an exercise for the reader.

Disclaimer:
Messing around with any of the above may brick your phone and I accept no responsibility if you do so. Also, don't ask me for a copy of QPST or your MSL - you are on your own for locating those.

Good luck...

Last edited by Chernobyl : 12-09-2007 at 12:25 AM. Reason: Minor corrections
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
John Clark Online
BBF Moderator
 
John Clark's Avatar
 
Posts: 31,698
Join Date: Jun 2005
Model: 8320
OS: 4.5.0.102
PIN: 约翰克拉克
Carrier: TMobile
Default 12-09-2007, 12:53 AM

I would be surprised if it were that easy. However, good job in figuring out your problem. That 216.198.xxx.xxx. address sounds like a RIM address.

Welcome to the forums, BTW.
   
Reply With Quote
  (#3 (permalink)) Old
Iare Tosevite Offline
Talking BlackBerry Encyclopedia
 
Iare Tosevite's Avatar
 
Posts: 338
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Default 12-09-2007, 01:50 AM

What's QPST 2.7? I tried to research, and all that comes up is "full version downloads" stuff. :P
   
Reply With Quote
  (#4 (permalink)) Old
John Clark Online
BBF Moderator
 
John Clark's Avatar
 
Posts: 31,698
Join Date: Jun 2005
Model: 8320
OS: 4.5.0.102
PIN: 约翰克拉克
Carrier: TMobile
Default 12-09-2007, 02:07 AM

I found lots of info from a Google search of "QPST"

Quote:
QPST is a in-house cellphone manufacurer utility program that is used to edit many of the cell phone features that are not editable in any other way.

It was never meant for public consumption, so you can’t buy it anywhere, but it is in wide use. The reason it isn’t for everyone is that it is VERY powerful. You can destroy your phone at the click of a button and your cellular manufacturer will be under no obligation to fix it. If you don’t have a couple hundred dollars available that will allow you to replace your phone at full retail cost, don’t run this program.

You can do most things you might want, like uploading MP3’s to your phone or downloading pictures, through the somewhat safer program BitPIM. That program is available for download from SourceForge at the site Welcome to BitPim.
   
Reply With Quote
  (#5 (permalink)) Old
Don Weaver Offline
New Member
 
Posts: 5
Join Date: Nov 2007
Location: Niagara Falls, Canada
Model: 8130
PIN: N/A
Carrier: Bell Mibility Canada
Default 8130 GPS problems - 12-09-2007, 11:44 AM

Looks like you have a lot of experiance in adding/removing applications. I noticed that there was a lot of data communications every time I use BB Maps as well. thought I would be smart and download the maps app again to see if it would store the map data sets on the phone of my 1 gig Sd card. I can't get the app to complete the download (99%) from the BB web site. Looks like it's doing it but USB/PC connection resets 3 time, phone reboots and does a security check which is on, lots of hour glass spinning but no download AND now I have lost the original app. Now no GPS of course.

Re your observation and connection to PDE server. I don't think your connecting to the PDE. I am a GPS application service provider (GPSPrusuit) and we are certified on the Bell PDE and LSB servers. You need a special IP address to access PDE and yes it is assisted GPS using triliteration from cell tower GPS to give you a location if you have less the 4 GPS satillites visable. LBS locaction uses cell towers only and is much less accurate. If you turn on LBS on the phone and have a plan added to your account you can us this feature with Bell or Telus from their web app. We provide the full gamit with our iPurusit application and are tring to intgrate the BB GPS into it. Thats why we bought a couple of them. Except now mine is messed up big time.

Do you have any solution to getting my app reinstalled? You seem to be an expert.
   
Reply With Quote
  (#6 (permalink)) Old
Chernobyl Offline
New Member
 
Posts: 7
Join Date: Dec 2007
Model: 8330
PIN: Not likely
Carrier: TELUS
Default 12-09-2007, 12:00 PM

As John mentioned, QPST is software that allows you to manipulate the low-level programming of the Qualcomm chipset (which ultimately every CDMA BlackBerry is based on). BitPIM is not a replacement for QPST in this application -- it doesn't support the ability to twiddle the necessary bits.

The 216.198.xxx.xxx address is definitely in the TELUS Mobility domain and resolves to one of their MPCs (there are a couple).
   
Reply With Quote
  (#7 (permalink)) Old
Iare Tosevite Offline
Talking BlackBerry Encyclopedia
 
Iare Tosevite's Avatar
 
Posts: 338
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Default 12-09-2007, 02:23 PM

Ahh thanks. I don't think I will go hardcore phone hacking, however. ;)
   
Reply With Quote
  (#8 (permalink)) Old
shwemp Offline
New Member
 
Posts: 5
Join Date: Dec 2006
Location: KC
Model: 8330
Carrier: Verizon Wireless
Default 12-09-2007, 03:39 PM

Quote:
Originally Posted by Chernobyl View Post
After a couple of days I had an inspiration: I fired up QPST 2.7 and read the service programming configuration from the CDMA chipset...
What do you have in the PDE Port Number, PDE Transport, and Position Calculation entries on the gpsOne screen QPST?

Thanks!
   
Reply With Quote
  (#9 (permalink)) Old
Chernobyl Offline
New Member
 
Posts: 7
Join Date: Dec 2007
Model: 8330
PIN: Not likely
Carrier: TELUS
Default 12-09-2007, 04:24 PM

Quote:
Originally Posted by shwemp View Post
What do you have in the PDE Port Number, PDE Transport, and Position Calculation entries on the gpsOne screen QPST?

Thanks!
PDE Port number = 8889
PDE Transport = IP
Position Calculation = PDE

The "Allowed" and all "Capabilities" options are checked.

And to Iare Tosevite: sorry - I never said it would be easy!
   
Reply With Quote
  (#10 (permalink)) Old
shwemp Offline
New Member
 
Posts: 5
Join Date: Dec 2006
Location: KC
Model: 8330
Carrier: Verizon Wireless
Default 12-09-2007, 05:04 PM

Quote:
Originally Posted by Chernobyl View Post
PDE Port number = 8889
PDE Transport = IP
Position Calculation = PDE

The "Allowed" and all "Capabilities" options are checked.
Thanks for the info. I've always wondered if this info was what is keeping my Verizon 8703e from utilizing the GPS. Now if I only had a valid IP address to use that would allow a connection....
   
Reply With Quote
  (#11 (permalink)) Old
Iare Tosevite Offline
Talking BlackBerry Encyclopedia
 
Iare Tosevite's Avatar
 
Posts: 338
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Default 12-10-2007, 03:01 AM

Oh my GPS is working just fine, that's why I'm not changing anything.
   
Reply With Quote
  (#12 (permalink)) Old
Chernobyl Offline
New Member
 
Posts: 7
Join Date: Dec 2007
Model: 8330
PIN: Not likely
Carrier: TELUS
Default 12-10-2007, 02:27 PM

Quote:
Originally Posted by Iare Tosevite View Post
Oh my GPS is working just fine, that's why I'm not changing anything.
Righto - I didn't notice that you were on Sprint (not VZW)...

So, yes - by all means - don't even think about messing with any of this
   
Reply With Quote
  (#13 (permalink)) Old
dagr8tim Offline
Knows Where the Search Button Is
 
dagr8tim's Avatar
 
Posts: 33
Join Date: Aug 2007
Model: 8830
PIN: N/A
Carrier: Verizon
Default 12-10-2007, 05:56 PM

This looks like a thread I will be watching closely. The two things I'm not a fan of with my bb is the lack of a camera, and the disabled GPS.


VZW 8830
   
Reply With Quote
  (#14 (permalink)) Old
JRSCCivic98 Offline
No longer Registered.
 
Posts: 697
Join Date: Jul 2007
Model: 8830
PIN: N/A
Carrier: *
Default 12-10-2007, 08:35 PM

So, who wants to be the first to install VZNav and see if the PDE IP gets changed to something specific?
   
Reply With Quote
  (#15 (permalink)) Old
BlueSkyz Offline
New Member
 
Posts: 12
Join Date: Aug 2007
Model: 8800
PIN: N/A
Carrier: VZW, AT&T, T-Mobile
Default Sounds like a blast! - 12-10-2007, 09:53 PM

I'm game.... VZNav is already installed however, so I can only compare against what a non-VZNav'd device has in that field. Now to find the software......


~BlueSkyz~
An equal opportunity customer
Devices on VZW, AT&T, Sprint, and T-Mobile
BB: 7230, 8800, 8830
   
Reply With Quote
  (#16 (permalink)) Old
dillyyo Offline
Knows Where the Search Button Is
 
Posts: 19
Join Date: Aug 2007
Model: 8830
PIN: N/A
Carrier: Verizon
Default 12-19-2007, 12:28 PM

bump
   
Reply With Quote
  (#17 (permalink)) Old
JRSCCivic98 Offline
No longer Registered.
 
Posts: 697
Join Date: Jul 2007
Model: 8830
PIN: N/A
Carrier: *
Default 12-21-2007, 01:26 AM

Something to ponder. If a BES server can log all IP traffic from a BB attached to it, I wonder if someone could log the traffic initiated when VZNav polls for data. There might be an indication of what the PDE IP/Port is. Anyone with BES want to try it and see?
   
Reply With Quote
  (#18 (permalink)) Old
JRSCCivic98 Offline
No longer Registered.
 
Posts: 697
Join Date: Jul 2007
Model: 8830
PIN: N/A
Carrier: *
Default 12-21-2007, 06:35 PM

Has anyone with VZNav run QPST on their phones yet?
   
Reply With Quote
  (#19 (permalink)) Old
SingularSpartan Offline
New Member
 
Posts: 3
Join Date: Dec 2007
Model: 8830
PIN: N/A
Carrier: Verizon Wireless
Default 12-22-2007, 02:52 PM

I've got VZNav installed, and I get the following info running QPST:

PDE IP Address:
0.0.0.0
PDE Port Number
4911
PDE Transport:
IP
Position Calculation:
Blank (could choose either "Mobile" or "PDE", but none selected)

Tried changing to Mobile. BBMaps and Google Maps still didn't work, and VZNav stopped working. Tried changing to PDE; nothing worked. Had to reload from saved file to restore the "blank" option. VZNav still didn't work initially after the reloaded blank option, so I uninstalled it (version 2.9.8) and reinstalled it (version 2.9.9). Now QPST is saying that the value is no longer blank, but is set to PDE. Interesting.

Last edited by SingularSpartan : 12-22-2007 at 04:27 PM.
   
Reply With Quote
  (#20 (permalink)) Old
radiotech1 Offline
New Member
 
Posts: 5
Join Date: Jun 2007
Location: Northern Illinois
Model: 8830
PIN: N/A
Carrier: Verizon
Default 12-22-2007, 04:32 PM

What version of QPST did you use?
   
Reply With Quote
  (#21 (permalink)) Old
SingularSpartan Offline
New Member
 
Posts: 3
Join Date: Dec 2007
Model: 8830
PIN: N/A
Carrier: Verizon Wireless
Default 12-22-2007, 04:36 PM

I'm using QPST 2.7 Build 264.
   
Reply With Quote
  (#22 (permalink)) Old
JRSCCivic98 Offline
No longer Registered.
 
Posts: 697
Join Date: Jul 2007
Model: 8830
PIN: N/A
Carrier: *
Default 12-22-2007, 09:18 PM