Okay, I’ve been doing some research…
First things first, I would uninstall Xdrip so it doesn’t interfere, but don’t don’t delete the file if you still want to use it
Basically you have to go to GitHub (just like where you found xdrip) and download the file for the patched G6 app.
If using G6 with patched Dexcom app
Download the apk from https://github.com/dexcomapp/dexcomapp, and choose the version that fits your needs (mg/dl or mmol/l version, G6).
Folder 2.4 for users of the current version, folder 2.3 is only for the outdated AndroidAPS 2.3.
Uninstall the original Dexcom app.
Install downloaded apk
Enter sensor code and transmitter serial no. in patched app.
After short time patched app should pick-up transmitter signal. (If not you will have to stop sensor and start new one.
That whole bit about clicking on that link from a computer, not a phone or tablet, is so that you can figure out what your region is and pick the appropriate file from the long list: Version 2.4/mg or mmol/region 1-3
If you try following that link on an Android device, if will just take you to the Google play store where you can’t see the region in the address bar. Of course, you cutie just trial and error which of the 3 works for you, like I did when I tried the patched app myself a few years ago.
I doubt you’ve developed an attachment to Xdrip yet, so if you’re happy using the G6 app you’ll be all set.
What I found interesting… I learned in the Xdrip Facebook support group that you actually CAN run both the Xdrip app and the G6 app simultaneously. (If you want complete control over when and how you get alerts including turning some off at night, custom alert sounds, a widget you can customize the colors to match your phone’s color scheme, constant BG visible in the notification bar so you can always see it on your screen no matter what you’re doing, etc…) You would still set up the patched G6 app to be the main receiver, but disable all notifications in the Android settings. It will simply run as a collector in the background.
Now you can re-install Xdrip. When you’re asked for your device at setup, instead of choosing the G6, you can choose “other”, then choose 640/670 or Eversense instead. Somehow it magically gets the data from the G6 app. I have no idea why anyone would do that, though. I would think the easiest way is to setup Xdrip as a Dexcom Follow device. When asked to choose your device, choose “other” then Dexcom Follow.