TheLastGimbus / FreeBuddy

Free (and open source) buddy app for bluetooth headphones 🎧
https://the.lastgimbus.com/freebuddy/
Apache License 2.0
93 stars 12 forks source link

Huawei Freebuds 5i support #3

Open albertlis opened 1 year ago

albertlis commented 1 year ago

App is awesome for Freebuds 4i. Do you plan to add support for new Freebuds 5i?

TheLastGimbus commented 1 year ago

Hi! That's funny, i was vising huawei website for some info about 4's when i saw 5's were released few days ago :sweat_smile:

Absolutely! That's because i suppose they use similar/identical protocol :thinking:

Maybe, i could even just modify app so that it also tries to connect to 5's with everything absolutely same

I'l send you the modified apk and we can try :eyes:

TheLastGimbus commented 1 year ago

Here you have it:

https://github.com/TheLastGimbus/FreeBuddy/actions/runs/4037735051

click on "freebuddy-nightly" (https://github.com/TheLastGimbus/FreeBuddy/suites/10647257851/artifacts/531948851)

you'll need to unzip first, then install it

let me know if, by any chance, it works :+1:

A tak wogóle to siema 👋 życze samych nie-wykolejonych tramwajów 🚋

albertlis commented 1 year ago

Unfortunately it can't detect Freebuds 5i (nightly build) Android 8.0 Screenshot_20230131-111027

Też Wrocław? :)

TheLastGimbus commented 1 year ago

Can you show me how they are named in bt settings? (Out of the box, not arter renaming yourself)

W zasadzie miejsce urodzenia, ale niestety codziennej przyjemnie tramwajowania nie mam

albertlis commented 1 year ago

Sure, that's original name: Screenshot_20230201-010155_1

melianmiko commented 1 year ago

Hi, @TheLastGimbus I found something that may interest you.

You wrote:

Usually, when the original app does that, it sends [1, 0] as data bytes - but it perfectly works without it 👌

Looks like this works only with FreeBuds 4i. My new headset (FreeLace Pro) didn't respond if empty parameters didn't exists in request.

Maybe that's the reason why 5i didn't work with your app, but works with OpenFreebuds.

simplex3 commented 1 year ago

Hey there. I am also very interested in a version for the FreeBuds 5i. I am also happy to offer myself as a tester. I use a Fairphone 4 with Android 12.

natrius commented 1 year ago

I should get mine this friday and offer to help as well.

TheLastGimbus commented 1 year ago

Hey is there any way you guys could set up Flutter and we could live test this over Discord or something? Would be much faster than re-sending you a nightly build over and over

natrius commented 1 year ago

Install the Flutter SDK and Visual Studio 2022 or Visual Studio Build Tools 2022 ? Not that comfortable tbh but i will look into it.

TheLastGimbus commented 1 year ago

If you're not comfortable then don't bother, installing Flutter can be a pain in the ass, especially when you want build for android, then installing 1.5gb of android sdk's etc... it's fine, i'll figure this out with melianmiko's reasearch

// but, if you actually ever wanted: get Android Studio/Intelj Idea Community + official flutter install guide from their site

alan-kut commented 8 months ago

Hey Do you have any progress. I plan to use the 5i and really don't want to use Huawei app for them.

I can help with the testing but on old Galaxy S7 phone.

TheLastGimbus commented 8 months ago

The progress is there! I am re-structuring the app so that is supports multi headphones nicely. However a know ETA when 5i's will work is not there 🤷 but i really hope it will be in about a month

AlexPlay1 commented 7 months ago

Hi, 5i user there. Willing to help.

TheLastGimbus commented 7 months ago

Aside from actuall reverse engineering, we need to know what to reverse engineer. As so, I would ask you guys to list out/discuss here broad but consise descriptions of:

The more trustful info, the better - that would really help me - thanks!

albertlis commented 7 months ago

Main page:

Main page bottom:

Noise cancelling modes:

Sound quality tab:

Double tap gestures:

Double tap gestures (both headphones):

Double tap gestures (per headphone (L/R)):

Triple tap gestures (per headphone (L/R)):

Press & hold gestures (both headphones):

Press & hold gestures (per headphone (L/R)) noise canceling modes:

Swipe gestures (both headphones):

Settings page: