DiaKEM / dexcom-g7-apk-patcher

Dexcom G7 .apk patcher | ✅ AAPS Broadcasting ✅ Disable compatibility checks ✅ Enable Screenshots ✅ Decrease required android version
82 stars 30 forks source link

AAPS seeing duplicate uploads from BYODA (new problem as of yesterday) #48

Open gpgerrard opened 1 year ago

gpgerrard commented 1 year ago

Screenshot_20230709-204659

Started a new sensor yesterday and have had trouble since with "BG too close" red triangle in AAPS appearing intermittently, roughly every hour. Sometimes the same reading is appearing again one second later in the BYODA tab of AAPS. Persists even after removing xdrip and reinstalling on a different handset. Using AAPS dev-J and Diakem-G7 patched but will confirm version later - our daughter at nursery now so will be happy to submit logcats and any other info that would help this evening.

Everything was working fine until yesterday - no other recent config changes other than adding a Wear OS watch back in. Another user has reported the same issue on the Facebook AAPS group yesterday.

CaptainBalou commented 1 year ago

What version do you use? I also experienced the behaviour you're describing in 1.4 but since I upgraded to version 1.6.1.4537 I haven't seen it on the last two sensors I started in this version.

gpgerrard commented 1 year ago

Thankyou @CaptainBalou - stupidly missed the new release so have just successfully run the patch and will give it a go.

gpgerrard commented 1 year ago

So I've installed 1.6.1.4537 this evening and the same thing is happening - often about once an hour. Any advice hugely appreciated as our 4 year old keeps dropping back to LGS whenever these pop up.

Screenshot_20230710-213521 07-10 20:58:40.796 4332 4332 W Thread-173: type=1400 audit(0.0:3298): avc: denied { getattr } for path="/proc/stat" dev="proc" ino=4026532082 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=0 app=com.dexcom.g7

07-10 20:58:50.597 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 20:59:40.249 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:00:09.322 12541 12541 W ps : type=1400 audit(0.0:3363): avc: denied { read } for name="pid_max" dev="proc" ino=130766 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:proc_pid_max:s0 tclass=file permissive=0 app=com.dexcom.g7

07-10 21:00:26.813 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:01:19.036 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:01:50.660 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:02:31.019 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:02:48.360 1307 4310 W ActivityManager: Foreground service started from background can not have location/camera/microphone access: service com.dexcom.g7/com.dexcom.coresdk.g7appcore.cgmcore.G7AppCoreService

07-10 21:02:48.395 8827 8868 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=112569ad-7bfb-4696-bd7b-31a389c4318b, tags={ info.nightscout.source.DexcomPlugin$DexcomWorker } ]

07-10 21:02:48.425 4332 12595 E linker : library "/apex/com.android.runtime/lib/bionic/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

07-10 21:02:48.427 4332 12595 E linker : library "/system/lib/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

07-10 21:02:48.445 4332 4341 I com.dexcom.g7: Background concurrent copying GC freed 642425(15MB) AllocSpace objects, 40(1164KB) LOS objects, 49% free, 13MB/27MB, paused 225us,90us total 165.268ms

07-10 21:02:48.454 4332 12595 E linker : library "/apex/com.android.runtime/lib/bionic/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

07-10 21:02:48.456 4332 12595 E linker : library "/system/lib/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

07-10 21:02:48.502 12599 12599 W ps : type=1400 audit(0.0:3364): avc: denied { read } for name="pid_max" dev="proc" ino=130766 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:proc_pid_max:s0 tclass=file permissive=0 app=com.dexcom.g7

07-10 21:02:48.571 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|1|null|10151

07-10 21:02:48.737 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:02:48.749 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:02:48.787 2820 3111 I NotificationPipeline: Processing new notification: 0|com.dexcom.g7|36|null|10151

07-10 21:02:50.352 4332 12375 E linker : library "/apex/com.android.runtime/lib/bionic/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

07-10 21:02:50.354 4332 12375 E linker : library "/system/lib/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

07-10 21:02:50.373 4332 12375 E linker : library "/apex/com.android.runtime/lib/bionic/libc.so" ("/apex/com.android.runtime/lib/bionic/libc.so") needed or dlopened by "/data/data/com.dexcom.g7/cache/lib5057137660032637617.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/system/system_ext/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/system_ext/lib64:/system/framework:/system/app:/system/priv-app:/system/system_ext/framework:/system/system_ext/app:/system/system_ext/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/system/vendor/framework:/system/vendor/app:/system/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/product/framework:/product/app:/product/priv-app:/data:/mnt/expand:/apex/com.android.runtime/lib64/bionic:/system/lib64/bootstrap"]

CaptainBalou commented 1 year ago

So you don't just have that during or directly after starting a new sensor but also during "normal operation"?

gpgerrard commented 1 year ago

Yes, happens during normal operation. Sensor is about 36 hours old. now We weren't having this problem with the previous sensor or at any other stage - this fault started yesterday.

CaptainBalou commented 1 year ago

I've never had that before. So all I said seems to be a different thing. I just had it during setting a new sensor. Do you have any new or especially old revision of the sensor? Just interested in that. I'm using rev 008 since a few months.

But I can't help here because I'm no developer. Let's hope the devs are reading your issue to hopefully help your child to have safe looping again.

gpgerrard commented 1 year ago

Current and previous sensor are rev 010. No problems with the previous one. And thanks, hope we're back on track soon :)

alexfx1984 commented 3 months ago

We have the same issue, but i cannot say when it starts, only that yesterday we got the red triangle after we lost the sensor and set a new one. I cleared the entry shown behind the triangle to get loop working again, but noticed that there tones of other old entries marked as red (duplicates with 1sec delay as shown in above screenshot in previous comment). Could be the trouble maker the Dexcom receiver? Because we using both, and the app knows about that there is a connected receiver, does both devices exchange data which is broadcasted as well? ... but no clue, just guessing.

gpgerrard commented 3 months ago

Sorry to hear that you're having the same problem. We have never used the Dexcom receiver. We had to change to Xdrip as there was no response from the devs.

Ashley112885 commented 1 month ago

Having same issue 😔