-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2 Not working on GW6, but v1.0.1 does #22
Comments
Do you have Samsung Pay pre installed? I mean if you long press the back key, does spay open by default? |
Yes, it was pre-installed. Still using v1 and you can see Samsung pay flash for a second. |
Samsung pay is pre-installed on my watch too. But it is not accessible, I think due to region restrictions. Unfortunately ver. 2 does not work on my watch either and I can not find any help. 😩😩 |
It seems like V1 is observing the process list for a certain application to start, kill it, and then start another application to replace it. While this is neat but the V2 method, which monitors the internal Android log (otherwise known as logcat) and find long press event of certain buttons is actually more sensible and versatile. Unfortunately, that seems to be broken and the author of this helper app does not intend to debug and fix it. I will try to fork and fix this in the future. |
Having the same or similar issue. Disabling bixby removes the option to set the button to anything in settings. Holding back button will do nothing and holding home will open the power menu |
This seems to be likely caused by a change in Android 13 where even apps with permission to read logs trigger a dialog when they try and use this permission. (https://issuetracker.google.com/issues/232206670) I'm not sure if this dialog is just not implemented on WearOS, or doesn't work properly because GW4Remap triggers log reading from an accessibility background service rather than a foreground app. Either way, a dialog popping up every so often to allow reading logs doesn't seem very practical. For now I guess you're stuck with the v1 method or someone has to come up with a new technique for detecting the button presses. |
It's actually working after compiling the android application myself. But after a reboot the permission are gone again. |
Hmm, can t get it working again. It didnt ask for permissions anymore |
Exactly, I remember perfectly a pop-up inside the app to enable log detection. That pop up happened the first time I installed the v2 app and never again, gw4 has not worked since then |
Yes I made a picture yesterday evening (it's in dutch). It asks to enable log detection. Then it keeps working until you reboot or disable the application. I wanted to write a shell script and start the script via ADB to keep track of logcat and execute an application package when it detects the logline (acutally the G4Remap application). You can use AutoWear to talk via ADB with the watch. Altough I don't have that working at the moment. I recompiled GW4Remap and started experimenting with permissions in Android. It looks like it has permission to READ_LOGS, but logcat still isn't working. I changed GW4Remap to check for permission at bootup. Very weird problem, not sure yet if there are other detection methodes (maybe implement and override the WindowManager inside an Android application, but don't think samsung allows that). Or root your watch and just start a shell script :( |
Hello,
I was not able to get v2 working on a GW6, went through instructions here. All steps completed successfully, but the long hold action never triggers.
I uninstalled GW4Remap v2 then reinstalled Samsung Pay and installed GW4Remap v1.0.1 and it works fine.
The text was updated successfully, but these errors were encountered: