Trying to make this work for v2.5 #64
Replies: 6 comments 9 replies
-
|
Sounds related to ssl pinning: https://medium.com/@anandgaur22/ssl-pinning-in-android-14851dc41703 |
Beta Was this translation helpful? Give feedback.
-
|
Hello, |
Beta Was this translation helpful? Give feedback.
-
|
Could you provide a small tutorial how you disassemble and assemble the new apk. I had some trouble with it due to its new xapk structure and would like to profit from your knowledge. Thank you in advance Selcuk |
Beta Was this translation helpful? Give feedback.
-
|
I'm wondering if the Dexcom server's certificate/public key was not hardcoded in the app, but instead got fetched from the server during app launch? I know it kind of defeats the purpose of using the embedded cert/key for SSL/TLS handshake authentication, but some programmers use it that way so they won't get stuck with tons of clients out there with wrong embedded cert/key, especially when you got client or server upgrade/update. |
Beta Was this translation helpful? Give feedback.
-
|
Do we have any progress on this effort? Thank you very much for your effort to help us out. |
Beta Was this translation helpful? Give feedback.
-
|
Do we have any hope to make this work? Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have spent some time trying to adjust these patches for version 2.5.0 of the G7 app, starting with the compatibility patch.
So far I was able to find the new location of the device check and patch it in the same way it was patched for 1.6.1. It was also necessary to patch the AndroidManifest.xml and some smali files like in the android-manifest-service.patch for 1.6.1, renaming the referenced classes containing invalid characters due to the code obfuscation used.
Reassembly and installation is successful, however the application crashes at launch throwing the following exception:
android.content.res.Resources$NotFoundException: assets/pinning.certThis file does not seem to exist in the unmodified apk or is lost at extraction. I was also unable to find any references to the file in the code using jadx-gui, which might also be due to code obfuscation.
Running apktool with the --no-res flag or simply creating the file results in the same exception. To me this suggests that it is looking for the file somewhere else, where I would assume that it is generated at runtime, however I don't understand why it isn't doing that. That's the point I'm currently stuck at, my only idea is to keep poking at the code until I find the reference to the file. If someone more knowledgeable than me could point me in the right direction that would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions