[Galaxy Note 10.1 Android Development] Benoit_S:
About GPS issue on some N8010 :

- I think read most interresting things on the subject

- tried the old ROM lineage-14.1-20170810-UNOFFICIAL-n8013 which can be found here https://xdaforums.com/devdb/project/dl/?id=26049 : this ROM is not very stable, but GPS is working well (with GPSTest).

- returned back to lineage-14.1-20190312-UNOFFICIAL-n8013

- Patched gps.conf and gps.xml for the one of lineage-14.1-20170810-UNOFFICIAL-n8013 without any result

- So I installed android-sdk/android-studio and get following logs when GPSTest is launched :

2019-09-07 18:18:34.397 2546-5481/system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.gpstest/.GpsTestActivity bnds=[238,312][372,422] (has extras)} from uid 10023 on display 0

2019-09-07 18:18:34.429 2546-2560/system_process W/BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10023)

2019-09-07 18:18:34.736 3667-3667/com.android.gpstest D/NavDrawerFragment: Using position from preferences = 0

2019-09-07 18:18:34.736 3667-3667/com.android.gpstest D/GpsTestActivity: Creating new GpsStatusFragment

2019-09-07 18:18:34.828 2546-2947/system_process I/GnssLocationProvider: WakeLock acquired by sendMessage(3, 0, com.android.server.location.GnssLocationProvider$GpsRequest@523d9ab)

2019-09-07 18:18:34.838 2546-2557/system_process I/iNemoSensor: enable(): handle(8), en(1), what(6)

2019-09-07 18:18:34.838 2546-2557/system_process I/iNemoSensor: enable:373 gyro_dps = 0 .

2019-09-07 18:18:34.839 2546-2557/system_process D/iNemoSensor: enableDev() : path(/sys/class/input/event3/device/enable), val(1)

2019-09-07 18:18:34.840 2546-2559/system_process D/libgps: SendGpsExtensionMessage: Waiting for IPC connection...

2019-09-07 18:18:34.844 2546-2587/system_process D/AkmSensor: ST2 = 4, AKRET_DATA_READERROR is occured, same data will be used.

2019-09-07 18:18:34.856 2546-2557/system_process D/iNemoSensor: enable(): MASK_ACC (1) MASK_MAG (4) MASK_GYR (2)

2019-09-07 18:18:34.856 2546-2557/system_process D/iNemoSensor: enable(): mEnAcc(1) mEnMag(1) mEnGyr(1)

2019-09-07 18:18:34.856 2546-2557/system_process I/iNemoSensor: iNemoSensor::skip update_delay wanted_gyro = -1 current delay = -1

2019-09-07 18:18:34.856 2546-2557/system_process I/iNemoSensor: skip update_delay wanted_accel = 66667000 current delay = 66667000

2019-09-07 18:18:34.856 2546-2557/system_process D/iNemoSensor: setDelay(): handle(8), en(16000000)

2019-09-07 18:18:34.856 2546-2557/system_process I/iNemoSensor: iNemoSensor::update_delay wanted_gyro = 16000000

2019-09-07 18:18:34.857 2546-2557/system_process I/iNemoSensor: update_delay wanted_accel = 16000000

2019-09-07 18:18:35.071 2546-2587/system_process D/AkmSensor: MeasureSNGLoop: interval.interval = 10000000, doze_max = 9800

2019-09-07 18:18:35.301 2546-2567/system_process I/ActivityManager: Displayed com.android.gpstest/.GpsTestActivity: +849ms

2019-09-07 18:18:35.386 3667-3678/com.android.gpstest I/art: Background sticky concurrent mark sweep GC freed 6111(269KB) AllocSpace objects, 0(0B) LOS objects, 0% free, 6MB/6MB, paused 479us total 171.490ms

2019-09-07 18:18:35.873 2546-2559/system_process D/libgps: SendGpsExtensionMessage: Waiting for IPC connection - timeout

2019-09-07 18:18:35.873 2546-2559/system_process E/libgps: GpsiClient: Can't write to closed pipe

2019-09-07 18:18:35.873 2546-2559/system_process E/libgps: IPC Communication Error, /tmp/11980989/proprietary/deliverables/android/gps_interface/../gps_interface/gpsi_client/GpsiClient.cpp:448 SendGpsExtensionMessage

2019-09-07 18:18:35.873 2546-2559/system_process D/libgps: gps_set_position_mode: Waiting for IPC connection...

2019-09-07 18:18:36.880 2546-2559/system_process D/libgps: gps_set_position_mode: Waiting for IPC connection - timeout

2019-09-07 18:18:36.880 2546-2559/system_process E/libgps: GpsiClient: Can't write to closed pipe

2019-09-07 18:18:36.880 2546-2559/system_process E/libgps: IPC Communication Error, /tmp/11980989/proprietary/deliverables/android/gps_interface/../gps_interface/gpsi_client/GpsiClient.cpp:894 gps_set_position_mode

2019-09-07 18:18:36.880 2546-2559/system_process E/GnssLocationProvider: set_position_mode failed in startNavigating()

2019-09-07 18:18:36.884 2546-2559/system_process I/GnssLocationProvider: WakeLock released by handleMessage(3, 0, com.android.server.location.GnssLocationProvider$GpsRequest@523d9ab)

As I'm not android specialist I do not understand these logs, but if somebody can explain them...

Regards,

Benoit