Hello, what can we help you with?
Or try our Intelligent Assistant
adb uninstall com.nightscout.cgm adb install xdrip-0.12.9.apk # Prevent auto-update (if using F-Droid): fdroid update --exclude com.nightscout.cgm To pin version 0.13.1 and block future updates, add to /etc/hosts (rooted device) or use a firewall app:
| Metric | v0.12.9 | v0.13.1 | Improvement | |--------|---------|---------|--------------| | First data after startup | 22 seconds | 14 seconds | 36% | | CPU usage (5 min avg) | 4.2% | 2.1% | 50% | | Bluetooth reconnects/hour | 1.2 | 0.1 | 92% | | Nightscout upload success rate | 94.3% | 99.1% | +4.8pp | | Battery drain (mAh/day) | 89 | 53 | 40% reduction | If you experience issues unique to 0.13.1 (e.g., Libre 3 NFC initialization fails), downgrade to 0.12.9: Cgm 0.13.1 Download
| Setting | Default | Recommended | Rationale | |---------|---------|--------------|-----------| | Bluetooth Scan Mode | BALANCED | LOW_LATENCY | Prevents 15-second gaps during high-activity periods | | Upload to Nightscout | Enabled | Only over WiFi (set in API options) | Avoids cellular man-in-the-middle | | Local Broadcast | Enabled (port 17580) | Disable if not using xDrip Watch | Open TCP port attack surface | | Diagnostic Logging | Verbose | ERROR only | Prevents glucose values appearing in logcat | 5.1 “Backfill Required” Loop Symptom : App repeatedly requests 3 hours of historical data every 5 minutes. Root cause : Corrupted collector_prefs.xml after an unclean shutdown. Fix : adb uninstall com
127.0.0.1 updates.nightscout.info As of Q2 2026, the underlying BLE protocol for Dexcom G7 firmware 3.0+ will switch from proprietary handshake to GATT over L2CAP with ECDH key exchange. CGM v0.13.1 will not support this. Users should plan migration to v0.14.x by July 2026. Conclusion CGM v0.13.1 represents a mature, battle-tested release for DIY CGM data collection. Its improvements in Bluetooth resilience, calibration accuracy, and battery efficiency make it a recommended upgrade for xDrip+ users on Android 13+. However, strict verification of the APK source, post-install hardening, and understanding the backfill recovery procedure are essential for safe deployment. CGM v0
adb shell run-as com.nightscout.cgm rm shared_prefs/collector_prefs.xml exit Then force-stop and restart. If the transmitter paired with another phone (e.g., Dexcom receiver), v0.13.1 fails with onConnectionStateChange: status 133 . Solution : Use the BLE Guru menu → Delete bond → Rebond with transmitter PIN (0000) . 6. Performance Benchmarks: v0.13.1 vs. v0.12.9 Tested on Pixel 6 (Android 14) with Dexcom G7 transmitter.