[Other SmartWatches] vamsi209:
Gadget Bridge for Mi Band 6 Privacy oriented and Open source build

A free and cloudless replacement for your gadget vendors' closed source Android applications.

i am using it as a daily driver, and they gave recent support for mi band 6, and i am loving it INFO

Gadgetbridge, an open-source app that focuses on removing the manufacturer out of the equation.

Gadgetbridge is an android application that allows users to use various smart bands such as Pebble, Mi Band,

Amazfit Bip, HPlus ZeBand, XWatch, and more, without constantly utilizing the vendor’s closed source application.

It also does away with the need to create an account and transmit your user data to the vendor. What’s more,

the open source nature of this app allows users to be confident about how their data is handled and ensure that it

does not leave their devices. -- XDA

Changelog 0.57.0. Initial limited support for Mi Band 6

Thanks to a PR, we recently merged, Gadgetbridge 0.57.0 is the first release which supports the new Mi Band 6.

We call support limited, since it does not yet support flashing the firmware or watchfaces and not everything is tested yet.

But thanks to your donations we were able to order one, which will (once it arrives) enable us to test and improve device support!

--Gadgetbridge team

Credits for the Mi band 6 support

Jhey: https://codeberg.org/jhey

link for built apk with mi band 6 support

https://drive.google.com/file/d/1gJmleH4-QisotX7GNAsxxSZXZjVU9505/view?usp=sharing

Your Mi band should be Connected to the Mi Fit App with your Mi Account, this is required to get the

Bluetooth Authentication key for our MI Band which will used later in the process, also do not unpair from Mi fit app

Step 1

: Building the app from source Application home page

https://gadgetbridge.org

Install Android Studio

https://developer.android.com/studio

From Android Studio open SDK manager, download and install SDK 29(Android 10)

Install python3

https://www.python.org/downloads/

Clone the repo to Downloads folder from this url

https://codeberg.org/Freeyourgadget/Gadgetbridge

Create a local.properties file in the Gadgetbridge folder its contents should contain sdk location

sdk.dir = /Users/vamzi/Library/Android/sdk

Lets start with the APK build process

open Terminal, Change Directory to the gadget bridge folder using

cd ~/Downloads/gadgetbridge

and execute this command

to start the build process

./gradlew assembleDebug
or
./gradlew assembleRelease

Step 2

: Obtaining the Authentication key

Clone the following Repo:

https://github.com/argrento/huami-token

Open terminal change directory to the cloned huami-token folder:

cd huami-token

Install the python dependencies using the following command:

pip3 install -r requirements.txt

Start obtaining the auth key :

python huami_token.py --method xiaomi --bt_keys

Copy the link generated under the script to a browser, login to your MI Account which is

bonded to our Mi band, copy the link generated after you login to the python terminal,

and press enter This will generate the Auth_Key copy it and save it. send that authkey

to your android device via mail or message

Step 3

: Install the Generated or Downloaded Gadget Bridge apk give all the required

permissions and Notification access too, Before we start the pairing process, disable

or uninstall Mi Fit app, so it doesnt interrupt our GadgetBridge pairing proces.

on Gadget Bridge, start by tapping on the add button, give the location access,

as android needs location access to scan for bluetooth devices. tap on Start discovery

this should display the Mi band 6 tap and hold on it, to start configuring the settings.

paste in the Authentication key and change other settings to your liking.

tap on the back button, this will start the pairing process, and should add your mi band 6 to the application.

this app is a good alternative for the Mi Fit app, and this makes it possible to go thorough your health and activity stats on your device without the need to share it with the device manufacturer. Donate to Gadget bridge Devs for making this awesome app https://liberapay.com/Gadgetbridge/donate and if you are good at coding, Contributions are welcome, be it feedback, bug reports, documentation, translation, research or code. Feel free to work on any of the open issues; just leave a comment that you're working on one to avoid duplicated work. --devs at GadgetBridge