Code Monkey home page Code Monkey logo

Comments (32)

jcgruenhage avatar jcgruenhage commented on May 11, 2024 8

I know that a 15$ bounty is not much, and laughably little when looking at the large amount of work this is likely to require, but I hope this helps :) (and maybe motivates others to post bounties too)

from gmscore.

jamorford avatar jamorford commented on May 11, 2024 5

I would love to have this working also. I'm currently only using my smartwatch for timekeeping since I cannot sync it with my phone.

from gmscore.

SolAZDev avatar SolAZDev commented on May 11, 2024 5

I've noticed that I can set up a Pixel Watch using the trick with the global Wear OS app and the chinese Wear OS app and then using the Pixel Watch app.

It's a tricky workaround, but with new WearOS, any vendor can use any app to bind, meaning, Google APIs might no longer be required at all(?), which should open the doors for some projects like Gadgetbridge to add general WearOS support.

from gmscore.

erebion avatar erebion commented on May 11, 2024 5

which should open the doors for some projects like Gadgetbridge to add general WearOS support.

Finally, this would be interesting as it'd make those devices far more usable with microg and even Linux phones, if there could be open source implementations. :D

Could you please comment this at the Gadgetbridge repo as well? I think their devs would liketo know. :)

from gmscore.

Rudloff avatar Rudloff commented on May 11, 2024 4

I would love this. Android Wear is the only app that keeps me from switching to microG.

from gmscore.

robinvd avatar robinvd commented on May 11, 2024 4

@jcgruenhage done

from gmscore.

erebion avatar erebion commented on May 11, 2024 4

It's a tricky workaround, but with new WearOS, any vendor can use any app to bind

Do you have any sources for that? I cannot find any. 🤔

from gmscore.

AshotN avatar AshotN commented on May 11, 2024 3

Well no one is working on this issue. It is a bit out of my scope. Hopefully it'll happen one day

Perhaps it's better if we focused on helping https://asteroidos.org/ instead

from gmscore.

Charlyo avatar Charlyo commented on May 11, 2024 2

+1. Would love to help. I have a wear os samsung smartwatch sitting right now.

from gmscore.

benoitjpnet avatar benoitjpnet commented on May 11, 2024 1

How the bounty "program" works? I really would like to have the possibility to use my smartwatch with microG.

from gmscore.

DynaSpan avatar DynaSpan commented on May 11, 2024 1

@SolAZDev in commit 3c5e684 Marvin added some more Wear code, I'm testing it now with my Moto 360 gen 1 (Android Wear 1) and LineageOS with MicroG v0.2.9.

So far it doesn't seem to be working unfortunately. The initial setup is hanging. I might create a pull request if I can fix it.

from gmscore.

DynaSpan avatar DynaSpan commented on May 11, 2024 1

So I received my new battery for my Moto 360, so I can now test & develop properly, as it didn't last longer than 5 minutes on the original battery.

@mar-v-in I saw you had some information in Gadgetbridge/#158 and also pointed to WearableServiceImpl.java & wearable.proto. So I'm guessing these are most of the things I need to implement in Bluetooth.

I might have some spare time tomorrow and Sunday and would like to give it a try :). If you have any other resources I could use that would be great.

One last question: what about the use of Kotlin? Can I use it or should I stick to Java?

from gmscore.

erebion avatar erebion commented on May 11, 2024 1

I've noticed that I can set up a Pixel Watch using the trick with the global Wear OS app and the chinese Wear OS app and then using the Pixel Watch app. So it seems like the APIs are still compatible and this would probably add support for more modern watches and the Pixel Watch as well.

from gmscore.

jamorford avatar jamorford commented on May 11, 2024

Gadgetbridge may be able to be used at the Android Wear client with microg implementing the transport API since it already has the required code to handle notifications, calls, etc and send them to a wearable API. See this issue: https://github.com/Freeyourgadget/Gadgetbridge/issues/158

from gmscore.

AshotN avatar AshotN commented on May 11, 2024

Any progress on this?

from gmscore.

erhan- avatar erhan- commented on May 11, 2024

It's a pity that I have no use for my android wear device at the moment without gapps. It would be really nice to see this happening.

from gmscore.

Technohacker avatar Technohacker commented on May 11, 2024

I seem to have a little progress by using Android Wear v1.4.0 and Google v5.13.31

EDIT: Had

from gmscore.

artillect avatar artillect commented on May 11, 2024

I would love this as well. After discovering that microG doesn't support Android Wear, I'm completely discouraged from switching to it.

from gmscore.

markkuit avatar markkuit commented on May 11, 2024

This is the main reason I can't switch to microg for me as well.

from gmscore.

Furzgaskrieger avatar Furzgaskrieger commented on May 11, 2024

Hello all, i also hope for a support in the near future :-) Thx for your work so far!

from gmscore.

lss4 avatar lss4 commented on May 11, 2024

Using most recent Nanodroid (which uses microG). While I could pair my watch using Wear OS (formerly Android Wear), it'll stuck at "Getting your watch details" phase. One can just force stop the Wear OS and restart it, and you'll be greeted with the main screen as if the watch's been set up (though it won't be able to actually connect to the watch).

It's completely possible to use Android Wear 1.5 without a proper setup (just that Google related stuffs won't work anyway), but for Android Wear 2.0 this is impossible as the phone needs to go past the "Copy your Google account" phase, which would return a response to the watch so the setup could complete.

from gmscore.

robinvd avatar robinvd commented on May 11, 2024

Ill add another $15 to the bounty

from gmscore.

jcgruenhage avatar jcgruenhage commented on May 11, 2024

@benpro It's powered by bountysource.com, the URL for this issue is https://www.bountysource.com/issues/6460438-wishlist-com-google-android-gms-wearable

@robinvd To add something to the bounty you have to go to that site and add it there

from gmscore.

SolAZDev avatar SolAZDev commented on May 11, 2024

Has there been any progress with this? So far it's the only thing stopping me from switching all at once. Though is it possible to use WearOS with MicroG?

from gmscore.

mar-v-in avatar mar-v-in commented on May 11, 2024

@DynaSpan There is no Bluetooth code in microG's Wear implementation yet, it's just able to connect to an emulator via adb.

For Bluetooth functionality, One first need to record the Bluetooth connection of a original Google setup and then implement it in microG. The protocol should be mostly the same as via adb, just a different transport layer.

from gmscore.

SolAZDev avatar SolAZDev commented on May 11, 2024

@DynaSpan @mar-v-in Sorry for the terribly late reply.
I can volunteer for recording the process of registering if desired. But I'd need to know when and how to start recording. Although you can technically set it up once and then pair it up to another device without resetting but I'm not sure if that's part of the process you want to record.

That aside, does the adb connection work with devices? (amusing it's over wifi)

from gmscore.

freundTech avatar freundTech commented on May 11, 2024

I would also be interested in this feature and willing to help.
I have programming experience, but little experience with bluetooth.
I have a wearos smartwatch, a rooted phone with play services and a phone with microg, so I can create bluetooth traces and test stuff.
(I already have created a bluetooth trace of the pairing process, but I'd rather not post it publicly, as I don't know what personal information it contains).

from gmscore.

gary-kim avatar gary-kim commented on May 11, 2024

I just added another $25 to the bounty for anyone that wants to work on this 😄. The bounty is now up to $135

from gmscore.

Enovale avatar Enovale commented on May 11, 2024

+1 for this. It's really sucky to have a half functional watch because I want to keep my privacy. Ive tried using the chinese WearOS companion in combination with the gms cache hack people have mentioned to get it to work and it almost does, but I keep having weird issues...

I'm tempted to look into implementing it myself but I don't even know where to start.

from gmscore.

mrabhinv avatar mrabhinv commented on May 11, 2024

+1 for this. It's really sucky to have a half functional watch because I want to keep my privacy. Ive tried using the chinese WearOS companion in combination with the gms cache hack people have mentioned to get it to work and it almost does, but I keep having weird issues...

I'm tempted to look into implementing it myself but I don't even know where to start.

Hey can you send some link of that mentioned hack?

Well i looked into this and probably it goes something like this:

  1. Statically analyse the gms apk seeing the wearos API endpoints or dynamically analyase apps communicating through the wear os API.
  2. Then write these java classes and functions communicating with your specific watch HAL.
  3. It may be somewhat similar with all other watches but there may be some idiosyncrasies. (You can just analyse the traffic through wireshark)

You can probably go into the matrix chat of asteroidos.org they may have some insights into this.

from gmscore.

rugk avatar rugk commented on May 11, 2024

Did so (crossposting) now via https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/3257

from gmscore.

Zendard avatar Zendard commented on May 11, 2024

It's a tricky workaround, but with new WearOS, any vendor can use any app to bind, meaning, Google APIs might no longer be required at all(?), which should open the doors for some projects like Gadgetbridge to add general WearOS support.

When setting up/connecting a watch via a vendor app, it still opens an android dialog for choosing your watch (and the vendor apps require Google play services) so I think these apps are just wrappers for google wear and the connecting still happens via a Google api

from gmscore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.