[Galaxy Ace S5830 General] jhb_1g:
Hey Mardon,

thanks for the quick reply. I got to test my GPS with your modded cm10.1 nightly (including pre-v5 gps patch) today.

Did a full wipe.

Still the same problem. Time and XTRA Injection not working. See logcat below.

How does your logcat look, with gps.conf debug level set to 4 ?

I suppose injection works for most people out of the box and for a few others including me it doesn't.

I still think the problem is low level. Hardware or maybe baseband? Which baseband version does your Ace have?

Any hints for me how to get closer to the root of the problem?

Thanks !

jhb

Some lines from Logcat: 10.1-20130619-nightly-cooper++

06-22 19:49:53.559 D/libloc (531): loc_eng_deferred_action_thread signalled
06-22 19:49:53.559 D/libloc (531): loc_eng_deferred_action_thread event 1
06-22 19:49:53.559 D/libloc (531): loc_eng_process_loc_event: 1
06-22 19:49:53.559 D/libloc (531): loc_eng_deferred_action_thread. waiting for events
06-22 19:49:53.839 D/GpsLocationProvider(531): NTP server returned: 1371930198157 (Sat Jun 22 19:43:18 GMT 2013) reference: 105485 certainty: 10 system time offset: -395688
06-22 19:49:53.839 D/libloc (531): loc_eng_inject_time, uncertainty = 10
06-22 19:49:53.839 D/libloc (531): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_UTC_TIME
06-22 19:49:53.869 E/loc_api_rpc_glue(531): loc_api_sync_ioctl: IOCTL result failed, result: 1 (select id 0)
06-22 19:49:53.869 D/libloc (531): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_UTC_TIME, RPC_LOC_API_GENERAL_FAILURE
06-22 19:49:53.869 E/libloc (531): loc_eng_inject_time failed

06-22 19:50:11.699 D/libloc (531): Event RPC_LOC_EVENT_STATUS_REPORT (client 0)
06-22 19:50:11.699 D/libloc (531): Fix session state: RPC_LOC_FIX_SESSION_STATE_END
06-22 19:50:11.709 D/libloc (531): loc_eng_deferred_action_thread signalled
06-22 19:50:11.709 D/libloc (531): loc_eng_deferred_action_thread event 256
06-22 19:50:11.709 D/libloc (531): loc_eng_process_loc_event: 100
06-22 19:50:11.709 D/libloc (531): loc_eng_deferred_action_thread. waiting for events
06-22 19:50:11.709 D/libloc (531):
06-22 19:50:11.709 D/libloc (531): Event RPC_LOC_EVENT_STATUS_REPORT (client 0)
06-22 19:50:11.709 D/libloc (531): Engine state: RPC_LOC_ENGINE_STATE_OFF
06-22 19:50:11.709 D/libloc (531): loc_eng_deferred_action_thread signalled
06-22 19:50:11.709 D/libloc (531): loc_eng_deferred_action_thread event 256
06-22 19:50:11.709 D/libloc (531): loc_eng_process_loc_event: 100
06-22 19:50:11.709 D/libloc (531): loc_inform_gps_status, status: GPS_STATUS_ENGINE_OFF
06-22 19:50:11.709 D/libloc (531): qct_loc_eng_inject_xtra_data, xtra size = 38587, data ptr = 0x115f250
06-22 19:50:11.709 D/libloc (531): qct_loc_eng_inject_xtra_data, part 1/38, len = 1024, total = 0
06-22 19:50:11.719 D/libloc (531): loc_ioctl XTRA injected length: 1024
.......
06-22 19:50:11.809 D/libloc (531): qct_loc_eng_inject_xtra_data, part 38/38, len = 699, total = 37888
06-22 19:50:11.809 D/libloc (531): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA
06-22 19:50:11.819 E/loc_api_rpc_glue(531): loc_api_sync_ioctl: IOCTL result failed, result: 1 (select id 0)
06-22 19:50:11.819 D/libloc (531): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA, RPC_LOC_API_GENERAL_FAILURE
06-22 19:50:11.819 E/libloc (531): loc_eng_ioctl for xtra error
06-22 19:50:11.819 D/libloc (531): qct_loc_eng_inject_xtra_data, xtra size = 38587, data ptr = 0x115f250
06-22 19:50:11.819 D/libloc (531): qct_loc_eng_inject_xtra_data, part 1/38, len = 1024, total = 0
06-22 19:50:11.819 D/libloc (531): loc_ioctl XTRA injected length: 1024
......
06-22 19:50:11.859 D/libloc (531): qct_loc_eng_inject_xtra_data, part 38/38, len = 699, total = 37888
06-22 19:50:11.859 D/libloc (531): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA
06-22 19:50:11.859 E/loc_api_rpc_glue(531): loc_api_sync_ioctl: IOCTL result failed, result: 1 (select id 0)
06-22 19:50:11.859 D/libloc (531): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA, RPC_LOC_API_GENERAL_FAILURE
06-22 19:50:11.859 E/libloc (531): loc_eng_ioctl for xtra error
06-22 19:50:11.859 D/libloc (531): qct_loc_eng_inject_xtra_data, xtra size = 38587, data ptr = 0x115f250
06-22 19:50:11.859 D/libloc (531): qct_loc_eng_inject_xtra_data, part 1/38, len = 1024, total = 0
06-22 19:50:11.869 D/libloc (531): loc_ioctl XTRA injected length: 1024
.........
06-22 19:50:11.909 D/libloc (531): qct_loc_eng_inject_xtra_data, part 38/38, len = 699, total = 37888
06-22 19:50:11.909 D/libloc (531): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA
06-22 19:50:11.909 E/loc_api_rpc_glue(531): loc_api_sync_ioctl: IOCTL result failed, result: 1 (select id 0)
06-22 19:50:11.909 D/libloc (531): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA, RPC_LOC_API_GENERAL_FAILURE
06-22 19:50:11.909 E/libloc (531): loc_eng_ioctl for xtra error
06-22 19:50:11.909 E/libloc (531): XTRA injection failed.
06-22 19:50:11.909 D/libloc (531): loc_eng_ioctl called: client = 0, ioctl_type = RPC_LOC_IOCTL_DELETE_ASSIST_DATA
06-22 19:50:11.909 D/libloc (531): loc_eng_ioctl result: client = 0, ioctl_type = RPC_LOC_IOCTL_DELETE_ASSIST_DATA, RPC_LOC_API_SUCCESS
06-22 19:50:11.909 D/libloc (531): loc_eng_deferred_action_thread. waiting for events