maheini / FreeStyle-Libre-3-patch

Public repo for developing a Libre3 interface for Xdrip, AndroidAPS...
MIT License
123 stars 3 forks source link

Make the raw data more git friendly #1

Closed yoshimo closed 2 years ago

yoshimo commented 2 years ago

Diff doesn't work well for apks so it would be great to go down further in the stack

Also keep in mind that https://github.com/gui-dos/DiaBLE/ already started on the l3

maheini commented 2 years ago

Hey @yoshimo Thanks for your notes 😊

Have branches for the different locales

That's a good idea. I initially planned to just use the english version (to focus on a single apk), but since it's not available yet (for me) I took the first one I got.

Have commits for different versions of the app

I guess you meant different branches? I think it's gonna slow down the speed. I'd rather like to focus on one version, and after at least one is working we might be able to extend the support.

extract the apk on the lowest levels

You're right. It's definitely some work to do and I just created this repo to give it a start. As I do not know how to properly reverse engineer apk files now, I might not be the person solving the big questions. But I'd like to contribute and support wherever possible.

decode the files to java

Might be the next steps. I will get some larger free time an June this year, but any pull request is welcome.

Also keep in mind that https://github.com/gui-dos/DiaBLE/ already started on the l3

Thanks for this hint. I didn't found any ongoing work on FL3, which was the main reason I started this repo. I will check out the ongoing solution and eventually link my repo to DiaBLE (So user can find it over the FreeStyle-Libre-3-patch name on github and contribute all work together)

Again, thank you for your hints and effort.

If you like to, I'm currently developing a Image/Carb collection App for android, where you are able to store your favorite meals. It will hopefully be released at the end of May but you can already download a pre-version here Github Repo (It's ad free and open source)

yoshimo commented 2 years ago

https://m.apkpure.com/de/freestyle-libre-3-%E2%80%93-de/com.freestylelibre3.app.de has 3.3.0 and 3.3.1

If you have a commit instead of a branch you can easily see what changed between versions. If we remember the Libre2, they added enhanced protection later on and we can spot it more easily this way.

https://de.loopercommunity.org/t/free-three-ein-xposed-lsposed-modul-fuer-libre-3-notification-text-tasker-kustom-xdrip/10269/27

https://insulinclub.de/index.php?thread/32517-freestyle-libre-3/&postID=650302#post650302

https://github.com/timoschlueter/nightscout-librelink-up

are also things we should consider as upstream sources for research. Sure, not a proper patch and an offline version but input for research.

maheini commented 2 years ago

I added all your additional files and content inside readme - thanks for your contribution. I will furthermore try to extract different versions of Libre 3 apk.

Additionally, I enabled the discussions tab.