SimpleAppProjects / SimpleWear

Control your Android phone from your WearOS watch
Apache License 2.0
107 stars 37 forks source link

Can't toggle mobile data from my watch anymore #47

Open marek26340 opened 2 months ago

marek26340 commented 2 months ago

Hello!

After I updated the SimpleWear app and it's helper app to the latest version, I discovered that I can't toggle the mobile data on my phone anymore. Was this feature entirely removed for older phones like mine is? In such case, I'd like to avoid having to downgrade and redo everything. But I will if I have to... And no, having to start Shizuku every time I reboot my phone is not an option for me - ADB worsens the already poor battery life of my phone even further, so I only enable it to then start up the system shell exploit (there's an API for it to launch commands). And then I turn it back off... Plus you need a PC or a WiFi hotspot to even be able to start it.

Galaxy Note 10 running Android 12 (April 2023 update) Galaxy Watch 4 (March 2024 update)

Please advise. Thank you!

thewizrd commented 2 months ago

Hi,

This was mentioned in a previous issue, but the toggle before did not actually do anything. If you tried to toggle data off it would still be on, although it would appear off in Settings (you can check this with this command - adb shell settings put global mobile_data 0). To be able to reliably toggle mobile data and support multi-sim devices, you will unfortunately need either root or Shizuku access.

https://github.com/SimpleAppProjects/SimpleWear/issues/5#issuecomment-1732471911

Danek309044 commented 1 month ago

Hey,

I recommend you just downgrade the SimpleWear settings to 1.0.0. Everything should work and you don't have to redo everything, you will just need to reapply the permissions in the SimpleWear settings app. Worked for me on the SimpleWear 1.15.3, both Android 12 and 13.

Also, a note for the developer: in the SimpleWear settings, there should be a switch or something that allows you to toggle mobile data through root/Shizuku or by setting the write secure settings. However, I'm not fully familiar with Android apps and permissions, so I'm not sure if this is even possible or makes sense.

Edit: I think that OP already found the fix,