|
| 1 | +# Patched Dexcom G6 for Android 1.7.0.3 (mmol/l - international) |
| 2 | + |
| 3 | +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. |
| 4 | + |
| 5 | +Unfortunately this application is only available for a [limited amount of devices](https://www.dexcom.com/compatibility) - even if it **should** run on most phones with Android 6.0+. |
| 6 | + |
| 7 | + |
| 8 | +## Applied patches |
| 9 | + |
| 10 | +The released APK packages contain the following patches: |
| 11 | + |
| 12 | +- [Remove compatibility check](doc/remove-compatibility.md) |
| 13 | + |
| 14 | +Nothing else is changed compared to the original Dexcom application. |
| 15 | + |
| 16 | + |
| 17 | +## Bundled tools |
| 18 | + |
| 19 | +Run `init.sh` after cloning the repository. This script downloads the following 3rd party applications into the `utils` folder: |
| 20 | + |
| 21 | +- [Apktool](https://ibotpeaches.github.io/Apktool/) is used for (de)compilation of APK packages. |
| 22 | + - Run via: `./utils/apktool.sh` |
| 23 | + |
| 24 | +- [Bytecode Viewer](https://bytecodeviewer.com/) can be used for investigation of APK packages and creation of smali files ([Dalvik Bytecode](https://source.android.com/devices/tech/dalvik/dalvik-bytecode)). |
| 25 | + - Run via: `./utils/bcv.sh` |
| 26 | + |
| 27 | +- [JADX](https://github.com/skylot/jadx) can be used for a more comfortable investigation of APK packages. |
| 28 | + - Run command line tool via: `./utils/jadx.sh` |
| 29 | + - Run GUI tool via: `./utils/jadx-gui.sh` |
| 30 | + |
| 31 | +- [Raccoon](http://java-decompiler.github.io/) can be used for downloading APK packages from Google Playstore. |
| 32 | + - Run via: `./utils/raccoon.sh` |
| 33 | + |
| 34 | +- [Uber Apk Signer](https://github.com/patrickfav/uber-apk-signer) is used for signing compiled / patched APK packages. |
| 35 | + - Run via: `./utils/uber-apk-signer.sh` |
| 36 | + |
| 37 | + |
| 38 | +## Workflow |
| 39 | + |
| 40 | +- Run `./ìnit.sh` once in order to download the required applications and to create a keystore for signing the patched application. |
| 41 | + |
| 42 | +- Open [Raccoon](http://java-decompiler.github.io/) (via `./utils/raccoon.sh`) and download the official Dexcom G6 APK package from Google Playstore. |
| 43 | + |
| 44 | +- Run `./decompile.sh $APK` (replace `$APK` with the path to your downloaded APK package). The APK package is decompiled and extracted into the local `src` folder. |
| 45 | + |
| 46 | +- Make your modifications within the `src` folder (e.g. [Remove compatibility check](doc/remove-compatibility.md)). |
| 47 | + |
| 48 | +- Run `./compile.sh` to rebuild & sign the patched APK file. The script copies the newly created APK file into the local `patched` folder. |
| 49 | + |
| 50 | +- Copy the newly created APK file from the `patched` folder to your smartphone and install the application. |
| 51 | + |
| 52 | + |
| 53 | +## Warning |
| 54 | + |
| 55 | +The provided application is unofficial. Don't expect any support by Dexcom in case of problems. |
| 56 | + |
| 57 | + |
| 58 | +## Other solutions |
| 59 | + |
| 60 | + |
| 61 | +### Other patches to Dexcom G6 for Android |
| 62 | + |
| 63 | +- [Build Your Own Dexcom App](https://docs.google.com/forms/d/e/1FAIpQLScD76G0Y-BlL4tZljaFkjlwuqhT83QlFM5v6ZEfO7gCU98iJQ/viewform) by [shabado8](https://www.reddit.com/user/shabado8) |
| 64 | +- [dexcomapp](https://github.com/dexcomapp/dexcomapp) |
| 65 | + |
| 66 | + |
| 67 | +### Alternatives to Dexcom G6 for Android |
| 68 | + |
| 69 | +- [Nightscout xDrip+](https://jamorham.github.io/#xdrip-plus) |
0 commit comments