celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.87k stars 147 forks source link

Samsung Wear not Syncing music #1461

Open StarShine1A opened 4 months ago

StarShine1A commented 4 months ago

When rethink is on, I am unable to sync the music of my phone to my watch for some reasons, thought I'd check the firewall logs but no connections are recorded which is baffling.

ignoramous commented 4 months ago

P2P/LAN apps may not work as expected with Rethink (there are a few open issues about it).

Check if any of these help:

  1. In Configure -> DNS:
    • Turn OFF Advance DNS filtering.
    • Turn OFF Prevent DNS leaks.
    • Make sure none of the blocklists in use are too restrictive: Test with System DNS & turn OFF On-device blocklists (available only from Rethink installed from F-Droid or our website), if enabled.
  2. In Configure -> Network:
    • Set Choose IP version to Auto.
    • Turn ON Do not route Private IPs.
    • Optionally, turn ON Enable network visibility (don't recommend leaving it ON, though).
    • Leave the rest of the settings in there to defaults (which is OFF).
  3. In Configure -> Apps, search for Samsung Wear related apps, then:
    • Turn ON Bypass app from all proxies (this setting is available in v055l onwards) to make sure the app isn't proxied out of WireGuard, SOCKS5, HTTP, or Orbot tunnels.
    • Exclude (the sixth firewall rule) app from Rethink.
    • If you don't want to Exclude, then consider enabling Bypass Firewall or Bypass DNS & Firewall (enabling this causes slightly higher battery consumption) for those apps.
  4. If and only if you aren't setting Exclude or Bypass Firewall / Bypass DNS & Firewall, then in Configure -> Firewall -> Universal firewall rules
    • Turn OFF all rules and test if Samsung Wear related functionality works.

We'll see if we can grab hold of a Samsung Wear device to test and see what's up.

StarShine1A commented 4 months ago

None helped, although I noticed it gives this error:

screenshot img0: ![Screenshot_20240526_225110_Rethink.jpg](https://github.com/celzero/rethink-app/assets/167694123/ffae02fb-1103-4ce9-88cf-fb13efb6714c)

I'd like to note that there is no user-set rule about 10...* so yeah, confusing. Removing all firewall universal rules does not change anything.

ignoramous commented 4 months ago

None helped

Exclude is as good as turning Rethink OFF (but just for that one particular app). Surprising it didn't work :(

Will you also try Excluding Google play services or any other companion app that Galaxy Watch5 Manager may have a use for.

although I noticed it gives this error

You might be looking at the log from before you might have changed rule to Exclude Galaxy Watch5 Manager.

If not, there's genuinely some error. Are you technical enough to capture and share adb logcat output with us? The logs might have caught this error, but you'd have to capture logs at exactly the time this error happens. You may have to un-Exclude Galaxy Watch5 Manager to hit this error again.

# note the current size; the default is usually 256kb
adb logcat -g

# increase log buffer size to 16mb
adb logcat -G 16M

# see if it switched to 16mb
adb logcat -g

# now, at some later time, when Galaxy Watch5 Manager errors out, capture logs
# make sure Rethink is at "Very Verbose" in Configure -> Settings -> Log level

# capture logs
# ref: https://www.xda-developers.com/how-to-take-logs-android/
adb logcat > /path/to/file

# compress with gzip
# the command below creates /path/to/file.gz
gzip -k /path/to/file 

# email mz at celzero dot com
# and mention this GitHub issue