This repository provides a patch to remove the application compatibility check of the Dexcom G6 Android application. It also contains a set of scripts to build a patched application for yourself.
Unfortunately this application is only available for a limited amount of devices - even if it should run on most phones with Android 6.0+.
The released APK packages contain the following patches:
Nothing else is changed compared to the original Dexcom application.
Run init.sh after cloning the repository. This script downloads the following 3rd party applications into the utils folder:
-
Apktool is used for (de)compilation of APK packages.
- Run via:
./utils/apktool.sh
- Run via:
-
Bytecode Viewer can be used for investigation of APK packages and creation of smali files (Dalvik Bytecode).
- Run via:
./utils/bcv.sh
- Run via:
-
JADX can be used for a more comfortable investigation of APK packages.
- Run command line tool via:
./utils/jadx.sh - Run GUI tool via:
./utils/jadx-gui.sh
- Run command line tool via:
-
Raccoon can be used for downloading APK packages from Google Playstore.
- Run via:
./utils/raccoon.sh
- Run via:
-
Uber Apk Signer is used for signing compiled / patched APK packages.
- Run via:
./utils/uber-apk-signer.sh
- Run via:
-
Run
./ìnit.shonce in order to download the required applications and to create a keystore for signing the patched application. -
Open Raccoon (via
./utils/raccoon.sh) and download the official Dexcom G6 APK package from Google Playstore. -
Run
./decompile.sh $APK(replace$APKwith the path to your downloaded APK package). The APK package is decompiled and extracted into the localsrcfolder. -
Make your modifications within the
srcfolder (e.g. Remove compatibility check). -
Run
./compile.shto rebuild & sign the patched APK file. The script copies the newly created APK file into the localpatchedfolder. -
Copy the newly created APK file from the
patchedfolder to your smartphone and install the application.
The provided application is unofficial. Don't expect any support by Dexcom in case of problems.