PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 02-16-2012, 12:54 AM
mbellot's Avatar
PPCGeeks Regular
Offline
Pocket PC: TP2
Carrier: Boost
 
Join Date: Jul 2010
Posts: 156
Reputation: 135
mbellot is keeping up the good workmbellot is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Just a quick update, but this has worked flawlessly several times now.

Even more impressive is that I haven't experienced a single lockup while using Maps/Navigation. The previous version of the lib would reliably (50/50 or so) lock up my phone with more than 20 minutes of usage.

And the injector works great for those times I forget to leave GPS on when rebooting.
  #12 (permalink)  
Old 02-16-2012, 09:07 AM
detule's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Sprint
Threadstarter
 
Join Date: Dec 2009
Posts: 85
Reputation: 140
detule is keeping up the good workdetule is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by mbellot View Post
Just a quick update, but this has worked flawlessly several times now.
.....
And the injector works great for those times I forget to leave GPS on when rebooting.
Thanks for your continued feedback - glad no issues have cropped up. There are some other features that we can implement (like automatic xtra.bin download requests originating in the gps engine itself), but with tytung's aGPS Injector working so well, I am very unmotivated to do so.
  #13 (permalink)  
Old 02-16-2012, 09:39 AM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by detule View Post
Thanks for your continued feedback - glad no issues have cropped up. There are some other features that we can implement (like automatic xtra.bin download requests originating in the gps engine itself), but with tytung's aGPS Injector working so well, I am very unmotivated to do so.
lol, you've done great work so far with it. I'm sure if you get bored you can enhance the lib
  #14 (permalink)  
Old 02-16-2012, 02:15 PM
nickleby's Avatar
Lurker
Offline
Pocket PC: HTC RhodiumW (RHOD500)
Carrier: Movilnet
Location: Venezuela
 
Join Date: Oct 2008
Posts: 9
Reputation: 0
nickleby is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Hi detule, thanks for sharing this!

I'm running GBX0B on my RHOD500, and I've replaced the file correctly but I think there's something wrong with my phone or something else because I cannot get a gps lock. I ran a logcat and I noticed this around all the log:

Code:
D/gps_msm7k( 1302): gps_state_init: done
D/gps_msm7k( 1302): gps_get_extension('gps-debug') is called
D/gps_msm7k( 1302): gps_get_extension('gps-xtra') is called
D/gps_msm7k( 1302): gps_xtra_init() is called
D/gps_msm7k( 1302): gps_get_extension('agps') is called
D/gps_msm7k( 1302): agps_init() is called
D/gps_msm7k( 1302): agps_set_server() is called
D/gps_msm7k( 1302): type=1, hostname=supl.google.com, port=7276
D/gps_msm7k( 1302): gps_get_extension('agps_ril') is called
And then, I noticed a lot of this:
Code:
D/gps_msm7k( 1302): gps_xtra_inject_xtra_data: inject part = 97/97, len = 90
D/gps_rpc ( 1302): xdr_xtra_data_args() is called: 0x409373e0, 90, 97, 97
E/gps_rpc ( 1302): dispatch_pdsm() received unknown procid: 5
D/gps_rpc ( 1302): pdsm_xtra_set_data() is called: clnt_stat=0
D/gps_rpc ( 1302): pdsm_xtra_set_data(0, 1f40, 0, 0x409373e0, 90, 97, 97, 1)=1
E/gps_rpc ( 1302): dispatch_pdsm() received unknown procid: 5
E/gps_rpc ( 1302): dispatch_pdsm() received unknown procid: 5
E/gps_rpc ( 1302): dispatch_pdsm() received unknown procid: 5
E/gps_rpc ( 1302): dispatch_pdsm() received unknown procid: 5
I used GPS Status, GPS Test and Google Maps but no luck getting a gps lock, I even pulled the battery for about 30 minutes before test it again... I'll try tonight again and I'll try with tytung's aGPS injector app.
__________________
HTC RhodiumW (RHOD500-PPC6875)
Microsoft Windows Phone® 6.5 CE OS 5.2.21874 (Build 21874.5.0.83)
Radio: 2.37.00WV
ROM: 2.01.558.7
XDAndroid GBX0B 2.3.7
  #15 (permalink)  
Old 02-16-2012, 05:01 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by nickleby View Post
I used GPS Status, GPS Test and Google Maps but no luck getting a gps lock, I even pulled the battery for about 30 minutes before test it again... I'll try tonight again and I'll try with tytung's aGPS injector app.
Post complete logs for detule...
This post has been thanked 1 times.
  #16 (permalink)  
Old 02-17-2012, 11:47 PM
nickleby's Avatar
Lurker
Offline
Pocket PC: HTC RhodiumW (RHOD500)
Carrier: Movilnet
Location: Venezuela
 
Join Date: Oct 2008
Posts: 9
Reputation: 0
nickleby is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by arrrghhh View Post
Post complete logs for detule...
Yeah, sorry

Here's: Logcat

BTW, I've found those things on the log (is not related to this thread, but it will be good if someone can point me to what does it means) Sorry for the off topic detule

Code:
D/RenderScript_jni( 1291): RenderScript JNI library not found!
E/Sensors ( 1327): Couldn't open /dev/lightsensor (No such file or directory)
  #17 (permalink)  
Old 02-21-2012, 04:31 PM
detule's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2
Carrier: Sprint
Threadstarter
 
Join Date: Dec 2009
Posts: 85
Reputation: 140
detule is keeping up the good workdetule is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by nickleby View Post
Yeah, sorry

Here's: Logcat
Sorry, can't figure out why it's not working for you. The GPS library is a ridiculous reverse engineering effort (by some xdandroid developers, not me) based on calls to the rpc router obtained from winmo dll-s. The rpc router itself is a black box to me, and the only thing I know how to interpret are messages like this one

Code:
D/gps_rpc ( 1302): pdsm_xtra_set_data() is called: clnt_stat=0
(and their counterparts in the dmesg output.)

clnt_stat=0 is what you want, meaning RPC_SUCCESS, i.e. we hailed the rpc router with a correctly formatted message and it returned success. So looking at your log it *should* be working.

I don't recognize your radio version and/or carrier. Is this a cdma operator? If so, I am not suggesting you do this, but perhaps the verizon radio (which I am using) makes a difference? Note I am not suggesting you do this, since I have no idea what kind of an effect flashing the verizon radio would have considering you are using the device abroad (could render it useless for all i know).

Last edited by detule; 02-21-2012 at 04:33 PM.
  #18 (permalink)  
Old 02-21-2012, 05:59 PM
nickleby's Avatar
Lurker
Offline
Pocket PC: HTC RhodiumW (RHOD500)
Carrier: Movilnet
Location: Venezuela
 
Join Date: Oct 2008
Posts: 9
Reputation: 0
nickleby is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by detule View Post
Sorry, can't figure out why it's not working for you. The GPS library is a ridiculous reverse engineering effort (by some xdandroid developers, not me) based on calls to the rpc router obtained from winmo dll-s. The rpc router itself is a black box to me, and the only thing I know how to interpret are messages like this one

Code:
D/gps_rpc ( 1302): pdsm_xtra_set_data() is called: clnt_stat=0
(and their counterparts in the dmesg output.)

clnt_stat=0 is what you want, meaning RPC_SUCCESS, i.e. we hailed the rpc router with a correctly formatted message and it returned success. So looking at your log it *should* be working.

I don't recognize your radio version and/or carrier. Is this a cdma operator? If so, I am not suggesting you do this, but perhaps the verizon radio (which I am using) makes a difference? Note I am not suggesting you do this, since I have no idea what kind of an effect flashing the verizon radio would have considering you are using the device abroad (could render it useless for all i know).
Yeah, I'm in a CDMA carrier...Maybe it's what you're saying, the radio. My HTC RhodiumW is kind of weird, is a RHOD500 with the keyboard layout of a RHOD400. My device is still under waranty so I'm not gonna mess with the ROM/Radio... Now that I think about it, on Windows Phone 6.5 is very difficult to me to get a faster lock just using QuickGPS, I always had to use the "HTC GPS Tool" app with the "Cold Start" option to get a faster lock. I just wish to have an app like that for Android
  #19 (permalink)  
Old 02-21-2012, 06:10 PM
arrrghhh's Avatar
Testing Extraordinaire
Offline
Pocket PC: HTC Touch Pro 2 (RHOD400)
Carrier: Sprint
 
Join Date: Mar 2007
Posts: 3,604
Reputation: 7360
arrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the communityarrrghhh is a trusted member of the community
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by nickleby View Post
Yeah, I'm in a CDMA carrier...Maybe it's what you're saying, the radio. My HTC RhodiumW is kind of weird, is a RHOD500 with the keyboard layout of a RHOD400. My device is still under waranty so I'm not gonna mess with the ROM/Radio... Now that I think about it, on Windows Phone 6.5 is very difficult to me to get a faster lock just using QuickGPS, I always had to use the "HTC GPS Tool" app with the "Cold Start" option to get a faster lock. I just wish to have an app like that for Android
There is, GPS Status.

Tytung's app should work as well. However, there still are some things that are not implemented, so they might not work.

What radio version are you running? It's quite possible the radio version is the culprit, as that also has GPS stuffs in it.
  #20 (permalink)  
Old 02-21-2012, 06:39 PM
nickleby's Avatar
Lurker
Offline
Pocket PC: HTC RhodiumW (RHOD500)
Carrier: Movilnet
Location: Venezuela
 
Join Date: Oct 2008
Posts: 9
Reputation: 0
nickleby is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [TESTING] CDMA rhod AGPS (XTRA) support

Quote:
Originally Posted by arrrghhh View Post
There is, GPS Status.

Tytung's app should work as well. However, there still are some things that are not implemented, so they might not work.

What radio version are you running? It's quite possible the radio version is the culprit, as that also has GPS stuffs in it.
For some reason, my signature is not showing..My radio version is 2.21.00WV

I also have heard that my city have some kind of problem with GPS system I know, it sounds weird but some people of the same carrier with the same phone reports biggest success getting a GPS lock outside of my city just using QuickGPS and Google Maps under Windows Phone. Anyway, GPS is not something that I use everyday...I will try again this week on my university since it has a perfect unobstructed view to the sky, maybe I'll get better luck
Closed Thread

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2 > Android On TP2 Development

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 04:12 AM.


Powered by vBulletin® ©2000 - 2021, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com