Skip to content

WIP: watch pairing implementation - #3204

Open
deadYokai wants to merge 110 commits into
microg:masterfrom
deadYokai:wearable_tos
Open

deadYokai wants to merge 110 commits into
microg:masterfrom
deadYokai:wearable_tos

Conversation

@deadYokai

@deadYokai deadYokai commented Dec 25, 2025 •

Copy link
Copy Markdown
Contributor

Stage: Paired

  • full pair process (still with bugs)
  • test watchfaces
  • test sensors

recommended todo:

  • fix long pair time / check thread races
  • make RPC requests better
  • polish/clean/refactor code
  • make working account auth ( 🫪 blocked, need implement SMARTDEVICE_SOURCE_DIRECT_TRANSFER (part of com.google.android.gms.smartdevice))
  • nearby share?? (maybe, but not fully sure)

working:

  • notifications sync
  • watchface change

Test device: TicWatch Pro 5 (via Mobvoi Health)
Currently using daily (except google account related stuff)

Current proplem: lack of real hardware tests

linked issues: #2843 and possibly #1272

Added some callbacks

Added feature list to WearableService.java

Added android:exported="true", required by android 12, for TOS only, cuz i don't know if in other needed true or false
@deadYokai deadYokai changed the title Added bare layout for wearable TOS WIP: wearable TOS Dec 26, 2025
@deadYokai
deadYokai marked this pull request as draft December 27, 2025 05:30
@deadYokai

deadYokai commented Dec 28, 2025 •

Copy link
Copy Markdown
Contributor Author

now maybe fixes #2444 ,

at least my Mobvoi Health going to pair screen (after TOS)

but code in rough state for now

@deadYokai

Copy link
Copy Markdown
Contributor Author

now, my device is trying to pair via Mobvoi Health

@deadYokai deadYokai changed the title WIP: wearable TOS WIP: road to pair my TicWatch Dec 29, 2025
…dRequest`, `sendMessage`

prepairing ConnectionConfiguration to bluetooth stuff, to proper pair devices

filled some Parcable classes
and handshake

some bluetooth stuff
@deadYokai

deadYokai commented Dec 31, 2025 •

Copy link
Copy Markdown
Contributor Author

now need to implement openChannel method (wip)

for now only rfcomm client supported

ble, network, server is not implemented

still failed to pair
@ale5000-git

Copy link
Copy Markdown
Member

@deadYokai

Copy link
Copy Markdown
Contributor Author

@ale5000-git as i mentioned before

After 465f5f0 requires merging PR microg/Wearable#3 and pushing to maven

@deadYokai

Copy link
Copy Markdown
Contributor Author

@ale5000-git

Copy link
Copy Markdown
Member

Sorry I missed that point, then we have to wait for @mar-v-in for the decision of this thing.
In the meanwhile go ahead with the other parts you are working, thanks.

@mar-v-in

mar-v-in commented Jan 5, 2026

Copy link
Copy Markdown
Member

I'd suggest to entirely move the content of the microg/Wearable repo into play-services-wearable/core module in this repo and then we can archive the microg/Wearable repo entirely.

and some bluetooth changes
@deadYokai

deadYokai commented Jan 5, 2026 •

Copy link
Copy Markdown
Contributor Author

just sharing with good looking logs, in my opinion (logcat)

P.s. still not paired yet

image

some Bluetooth changes

moved some functions from WearableImpl to MessageHandler
- and some DataItem changes
@deadYokai

Copy link
Copy Markdown
Contributor Author

i cannot pinpoint why connection closing when channel tries to open

can anybody help me? like some logs maybe logs from watch (i cannot capture from my)?

@teccheck

teccheck commented Feb 27, 2026 •

Copy link
Copy Markdown

Just looked at your code quickly, and you're the first who even got the Bluetooth UUID right. Looks very promising, keep it up. 👍

I'll try to test your code, as soon as I can with my Pixel Watch.

EDIT: If you need more information about the protocol, hit me up. I'm happy to help :)

@deadYokai

Copy link
Copy Markdown
Contributor Author

currently account connection not working, need to implement SMARTDEVICE_SOURCE_DIRECT_TRANSFER

@deadYokai

Copy link
Copy Markdown
Contributor Author

@teccheck @ale5000-git could you give it a quick test?

@teccheck

Copy link
Copy Markdown

@teccheck @ale5000-git could you give it a quick test?

Will test it soon. Currently a bit busy ;)

@teccheck

teccheck commented Oct 15, 2026 •

Copy link
Copy Markdown

@deadYokai my watch is currently dying. Not sure if I can rescue it. It bootloops, displaying this screen over and over.
bootloop

I'm currently thinking of what to do next. The root cause is probably water damage. My Pixel Watch 1 died from water damage as well, and I found out, that I may have treated them badly in respect to water. You can clearly see the condensed water on the inside :(
backside

Anyway, sorry for the rant. I'm just a bit frustrated now. Any recommendations? I don't have a lot of money. I try to get everything used and as cheap as possible. I'm thinking of buying another PW 2, can get one for 50 € used. Might not be too bad...

@deadYokai

Copy link
Copy Markdown
Contributor Author

@teccheck you can try reflash at least

@teccheck

Copy link
Copy Markdown

@teccheck you can try reflash at least

I did try that already. I'm currently drying it and will try flashing again later. But thanks for the suggestion

@teccheck

Copy link
Copy Markdown

So I managed to get the watch mostly working again. So I tried to pair it to microg, but it didn't work. It only connects to Bluetooth. No further step is working

@deadYokai

Copy link
Copy Markdown
Contributor Author

@teccheck

It only connects to Bluetooth. No further step is working

its like after continue on phone? or just not start pair at all?

@deadYokai deadYokai mentioned this pull request Nov 17, 2026
@eepymeowers

Copy link
Copy Markdown

Will test later today, apologies for delay

@deadYokai

deadYokai commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor Author

@eepymeowers pairing can take quite a while during the final steps, i still cannot figure out why (at least Mobvoi Health is pairing)

@eepymeowers

Copy link
Copy Markdown

I keep forgetting about this issue, again I apologize

@deadYokai

deadYokai commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor Author

@eepymeowers take your time

maybe i'll fix something in meantime

@deadYokai deadYokai mentioned this pull request Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants