[APP] AGPS Injector Widget v1.0.5

Android development for HTC HD2/Leo
Moderator: Forum Moderator

Re: [APP] AGPS Injector Widget v1.0.2

Postby symbuzzer » Thu Sep 19, 2013 3:16 pm

I installed newer version and it said my device not suppported. Is it normal?
symbuzzer
Forum Moderator
 
Posts: 320
Joined: Mon Jun 24, 2013 7:05 am
Country: Turkey (tr)
Has thanked: 176 times
Been thanked: 168 times

Advertisement
 

Re: [APP] AGPS Injector Widget v1.0.2

Postby tytung » Thu Sep 19, 2013 8:18 pm

symbuzzer wrote:I installed newer version and it said my device not suppported. Is it normal?

Well, I tried v1.0.2 in a GingerBread Android emulator only.
I will flash my GB ROM to check the logcat when I have time.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: [APP] AGPS Injector Widget v1.0.2

Postby Nikola G. » Thu Sep 19, 2013 10:34 pm

Hello,

I upgraded to the newer version of AGPS Injector as soon as I got the update notification from Play store.

Performed an upgrade from v1.0.1 to v.1.0.2, and I still received the same error message "AGPS data injection is not available in this device" popping up when I try to perform injection.
For the sake of clarity, I tried a couple of things in between:
- removed and re-added the widget
- performed reboot
- uninstalled the upgraded version, installed v1.0.2 from scratch and tried injecting AGPS data
none of which worked so far.

tytung, Is there anything else I help out with in troubleshooting this issue?
Device: HTC HD2 (LEO1024)
Radio: 2.15.50.14
HSPL: 2.08.HSPL by DFT's bepe and Cotulla
WinMo: /
Android: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1
Kernel: tytung_jellybean_r2
Nikola G.
Junior Member
 
Posts: 6
Joined: Mon Jun 24, 2013 10:34 am
Country: Macedonia (mk)
Has thanked: 6 times
Been thanked: 3 times

Re: [APP] AGPS Injector Widget v1.0.2

Postby tytung » Fri Sep 20, 2013 3:31 pm

Nikola G. wrote:Hello,

I upgraded to the newer version of AGPS Injector as soon as I got the update notification from Play store.

Performed an upgrade from v1.0.1 to v.1.0.2, and I still received the same error message "AGPS data injection is not available in this device" popping up when I try to perform injection.
For the sake of clarity, I tried a couple of things in between:
- removed and re-added the widget
- performed reboot
- uninstalled the upgraded version, installed v1.0.2 from scratch and tried injecting AGPS data
none of which worked so far.

tytung, Is there anything else I help out with in troubleshooting this issue?


Could you post your logcat?
What's your phone configuration? Is there any network connection when you try to inject AGPS data?
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: [APP] AGPS Injector Widget v1.0.2

Postby moldowan » Sat Sep 21, 2013 7:36 am

symbuzzer wrote:I installed newer version and it said my device not suppported.


Same here!
NexusHD2 4.3, EU HD2

1.0.0 was working fine!
moldowan
Junior Member
 
Posts: 9
Joined: Wed Jul 17, 2013 9:34 am
Country: Germany (de)
Has thanked: 6 times
Been thanked: 0 time

Re: [APP] AGPS Injector Widget v1.0.2

Postby tytung » Sat Sep 21, 2013 9:31 am

moldowan wrote:
Same here!
NexusHD2 4.3, EU HD2

1.0.0 was working fine!


This app is designed for all brands of Android devices, but not all devices support AGPS injection.
In versions 1.0.1 and 1.0.2, I added the "not supported" message for other phones/devices that cannot inject AGPS data.
All versions of AGPS Injector Widget should be working fine if you install this app on HD2.

Did you run any apps, e.g., Google Maps, that uses GPS when doing the AGPS injection and seeing the "not supported" warning message?
Anyway, please post your logcat.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: [APP] AGPS Injector Widget v1.0.1

Postby tytung » Sat Sep 21, 2013 9:57 am

marco.palumbi wrote:hy Tytung,

just e feature request (if it is not yet implemented)
because the xtra data is valid for some days, it could be usefull store them in a file somewhere in the device and to be able to inject that data if you have no connectivity.
It could be usefull if you have to reset the device in a place without any network. (may be during a travel where you have high roaming costs but you can update the xtra.bin in your hotel via wifi....)


I have a new answer for your feature request.
  • If you use MAGLDR bootloader, the injected AGPS xtra data is still valid after rebooting your HD2. So the network connectivity is not required.
  • If you use cLK bootloader, the injected AGPS xtra data becomes invalid after rebooting your HD2.
It was my experience when I developed libgps.so for HD2. And I used cLK v1.4.0.1 at that time. Rick said that cLK lacks a feature (I didn't remember the exact name).
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

Re: [APP] AGPS Injector Widget v1.0.2

Postby moldowan » Sat Sep 21, 2013 11:33 am

tytung wrote:Did you run any apps, e.g., Google Maps, that uses GPS when doing the AGPS injection and seeing the "not supported" warning message?


Thanks for the pointer!
It works now after a reboot.
moldowan
Junior Member
 
Posts: 9
Joined: Wed Jul 17, 2013 9:34 am
Country: Germany (de)
Has thanked: 6 times
Been thanked: 0 time

Re: [APP] AGPS Injector Widget v1.0.2

Postby Nikola G. » Sat Sep 21, 2013 7:38 pm

tytung wrote:Could you post your logcat?
What's your phone configuration? Is there any network connection when you try to inject AGPS data?

Sure, I am currently not at home so I used Catlog to grab a logcat, please check the attachment.

About "phone configuration", there is also a file included in the package with device information, but if you need any specific information, let me know and I'll fill you in.
As for network connection, the Wi-Fi is on when trying to inject AGPS data (I don't have nor use mobile data).
tytung wrote:Did you run any apps, e.g., Google Maps, that uses GPS when doing the AGPS injection and seeing the "not supported" warning message?

No, all the attempts for injection were just that, an attempt to just perform a successful AGPS injection.

Let me know if I can help further.
Attachments
logcat_and_device_info.zip
(13.87 KiB) Downloaded 256 times
Device: HTC HD2 (LEO1024)
Radio: 2.15.50.14
HSPL: 2.08.HSPL by DFT's bepe and Cotulla
WinMo: /
Android: [Dec. 21, 2013][ROM][KK][4.4.2] NexusHD2-KitKat-CM11.0 V4.1
Kernel: tytung_jellybean_r2
Nikola G.
Junior Member
 
Posts: 6
Joined: Mon Jun 24, 2013 10:34 am
Country: Macedonia (mk)
Has thanked: 6 times
Been thanked: 3 times

Re: [APP] AGPS Injector Widget v1.0.2

Postby tytung » Sun Sep 22, 2013 7:00 am

Nikola G. wrote:Sure, I am currently not at home so I used Catlog to grab a logcat, please check the attachment.

About "phone configuration", there is also a file included in the package with device information, but if you need any specific information, let me know and I'll fill you in.
As for network connection, the Wi-Fi is on when trying to inject AGPS data (I don't have nor use mobile data).

No, all the attempts for injection were just that, an attempt to just perform a successful AGPS injection.

Let me know if I can help further.

The "not supported" warning message is correct according to your logcat.
I don't know why the AGPS injection ( call force_xtra_injection() function ) is failure in your HD2.
09-21 20:22:35.224 D/AGpsUpdateService(17072): force_time_injection() = true
09-21 20:22:35.224 D/AGpsUpdateService(17072): force_xtra_injection() = false


Calling force_xtra_injection() will return false in the following two situations.
  • Your device indeed not supports the AGPS injection.
  • Your device supports the AGPS injection but the GPS is used (i.e., the GPS engine is locked) when doing the AGPS injection.
I'm not sure which one matches your device.
Paste your logcat to GitHub Gist or any similar websites, and link it in your post if you need any help. (Don't forget to tell us your HD2 setup/configuration.)

Device: HTC HD2 (LEO512)
HSPL: 2.08.HSPL
Radio: Leo_RADIO_2.15.50.14
Bootloader: MAGLDR v1.13
Recovery: ClockworkMod Recovery 5.0.2.6

My work for Android on HD2:
Image
User avatar
tytung
Site Admin
 
Posts: 588
Joined: Sun Jun 09, 2013 2:12 pm
Country: Taiwan (tw)
Has thanked: 204 times
Been thanked: 1349 times

PreviousNext

Return to HD2 Android Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron