Auto configure xtra gps on Android

I’m using EC25 on Android 13, I tried using AT to configure the GPS XTRA One feature and it worked. But on this topic EG25-G A-GPS / Xtra I found it is possible to change some configuration so that it runs automatically after reboot, how can I do this?

What you need to do

  1. Enable the AGPS in the ql-ril.conf.
    AT+QGPSXTRA=1
  2. In addition, configure XTRA server address in /vendor/etc/gps.conf and /system/etc/gps_debug.conf.
    XTRA_SERVER_1=http://xtrapath4.izatcloud.net/xtra2.bin
    XTRA_SERVER_2=http://xtrapath4.izatcloud.net/xtra3grc.bin
    XTRA_SERVER_3=http://xtrapath4.izatcloud.net/xtra3grcej.bin

Thanks Bean, I just tried but nothing change. I think the gps HAL need to download xtra2.bin file ql_gps will use this data to inject to xtra, right? but I’m not see this code on Android rockchip sdk source code.
0218_122728_507_radio.txt (764 KB)

It is not registerred in celluar network. The 4G is not working.

Please provide the complete log.

02-18 13:25:13.629 D/ATC     (  512): AT< +QGPSXTRADATA: 10080,"2025/02/17,21:00:00"
02-18 13:25:13.629 D/ATC     (  512): AT< OK
02-18 13:25:13.629 D/GPS     (  512): ql_xtradata_inject_time :2025/2/17, 21:0:0

Just from the picture, it seems that the xtra is enabled.

If you want to test the xtra, please send
AT+QGPSDEL=0
and power down and power on the device and please provide the Android log.