It's just a minor script mistake (without consequence most of the time), but here: https://github.com/piggz/droid-config-mido/blob/86cb6c56ae94e855de5dcda43eb6600a2bd677d4/sparse/usr/bin/droid/droid-hcismd-up.sh#L14 you never increase $i... I spotted that while adapting your script for tissot (Xiaomi A1), and we now have BT there with LuneOS :)