[APP][4/5/6/7+] GMD GestureControl ★ root

Search This thread

puredp1

Senior Member
Apr 29, 2014
271
75
Looks like I can't live without GMD 🙊 using with Tasker with this trick it works flawlessly as previously. Just I have to use one extra app🥲
It's better somthing than nothing.

It seems GMD close source? Haven't found sources anywhere so atleast someone can fix it
Will it work with Android 14?
 

tiho5

Senior Member
Jun 21, 2010
2,782
1,076
Bulgaria
Using Tasker does work, but it uses a lot of battery and has microcuts from time to time, without saying that when you unlock the phone is when you use the GMD gesture the most, but it is never ready at that moment.
It doesn't affect my battery for sure. Also I've set Tasker to run the same task at screen unlock every time too.
 

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
Im really dumb 🤦‍♂️ I finally made it work with shortcuts. By the way, to launch GMD service in background, you can use this in Run Shell action:
am startservice -n com.goodmooddroid.gesturecontrol/com.gmd.gc.BackgroundService
Hello,

if I let Tasker run this shell command, it just throws an error.
What am I doing wrong? (Galaxy Tab S8 with Android 13, rooted.)

Also tried "pm disable" for stopping the GMD background service, which works - but "pm enable" doesn't restart GMD...

Could you please share your exact Tasker task?

Or do I need to have "Secure Settings" installed??
 
Hello,

if I let Tasker run this shell command, it just throws an error.
What am I doing wrong? (Galaxy Tab S8 with Android 13, rooted.)

Also tried "pm disable" for stopping the GMD background service, which works - but "pm enable" doesn't restart GMD...

Could you please share your exact Tasker task?

Or do I need to have "Secure Settings" installed??
I don't know what you are doing wrong and I don't use GMD enymore as it was hanging my SystemUI but I can send you my previous setup
 

Attachments

  • GMD_Restart.prf.xml
    1.6 KB · Views: 12

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
Thank you very much, Lord Sithek!

This profile works perfectly - I can kill/restart GMD by just closing/opening the book cover of my tablet.

Restarting GMD every 5 minutes also works - with one remaining problem:
I set up a profile to call every 5 minutes the new task "Restart GMD" which first does your "am force-stop..." thingy, then waits for 200ms, then does your "am startservice..." thingy. But of course this will happen anytime, also when the display is off. How do I insert the additional condition that this restart should only happen when the display is on?
 
  • Like
Reactions: Lord Sithek

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
I don't know what you are doing wrong and I don't use GMD enymore as it was hanging my SystemUI but I can send you my previous setup
Thank you very much, Lord Sithek!
This profile works perfectly - I can kill/restart GMD by just closing/opening the book cover of my tablet.
Restarting GMD every 5 minutes also works - with one remaining problem:
I set up a profile to call every 5 minutes the new task "Restart GMD" which first does your "am force-stop..." thingy, then waits for 200ms, then does your "am startservice..." thingy. But of course this will happen anytime, also when the display is off. How do I insert the additional condition that this restart should only happen when the display is on?

EDIT: Solved it. In your profile, I just added two actions which toggle my "every 5 minutes GMD restart" profile on/off when display is turned on/off.
 
Last edited:
  • Like
Reactions: Lord Sithek

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
On Galaxy Tab S8 with Android 13, it now works very well.

For all the people who say that on their device it doesn't work: There are many things you have to set up properly for GMD to work properly. All battery optimizations (general and vendor specific) have to be turned off; GMD has to be set to be running permanently in the background; the device setup in GMD app has to be correct; and of course you have to use Tasker for restarting as well as for certain actions which are now broken in GMD (for example Back or Screen Off). I needed quite some hours of tinkering.
 

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
Unfortunately, I noticed that often when killing the GMD service, the screen just freezes and only reboot helps. This makes it pretty unusable to me. Anyone else face this?
It seems that I have found the solution to the freeze problem!

Had freezes too (about 1x a day). Galaxy Tab S8, Android 13.

I tried several things, all to no avail.
But then I simply, in GMD settings, disabled "Consume border events" and "Consume multitouch events"! Since then, no freezes, and it makes no discernible difference in usability.
 
It seems that I have found the solution to the freeze problem!

Had freezes too (about 1x a day). Galaxy Tab S8, Android 13.

I tried several things, all to no avail.
But then I simply, in GMD settings, disabled "Consume border events" and "Consume multitouch events"! Since then, no freezes, and it makes no discernible difference in usability.
Hmm that's interesting. Now I don't remember if I had that features enabled. So you are saying that disabling "multitouch events" does not limit the usability? Do you have 3-5 fingers gestures configured?

I'd be interested if anyone else can confirm that. Last time I tried GMD on my Galaxy Tab S5e (A13), it ruined my UI and I couldn't get past the lock screen after boot. So I'm bit hesitant to try again :sneaky:
 

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
The setting doesn't disable multitouch events. It just disables that GMD "consumes" multitouch events, i.e., as I would understand it, intercepts them if there are any multitouch gestures are configured elsewhere.

Of course I have configured multitouch gestures in GMD (in fact, only ones with 3 and 4 fingers).

I suspect that, if something goes wrong in that interception process, for instance when GMD gets killed just when a gesture is processed, the freeze happens.
 
  • Like
Reactions: Lord Sithek

hasenbein1966

Senior Member
Aug 9, 2011
1,129
337
By the way, I have set "Border size" and "Gesture size adjustment" in GMDs Device Setup section to minimum value so that there is minimal time for other gestures to interfere. Also make sure that all gestures in launcher (for example Nova) are disabled.
 
  • Like
Reactions: Lord Sithek
If anyone wants, this is my Tasker project for GMD Gestures.

I've tried various combinations and that one seems to be most reliable. It starts GMD service on boot, kills the app on Display Off and restarts the service on Display On. Additionally it performes kill & restart every 1 min while display is active. Maybe an overkill but it ensures the service is constantly on 😉
 

Attachments

  • GMD_Restart.prf.xml
    1.6 KB · Views: 5

Top Liked Posts

  • There are no posts matching your filters.
  • 219
    Control device with mutitouch and multitask gestures similar to iPad or iPhone X. Works in all applications. Hide status bar, hide navigation bar and enjoy full screen in all apps and games.

    "For those who tend to get tired of Android's status bar, or just want more intuitive gesture-based controls on their tablet, this app is definitely worth a shot." - Android Police

    Android 4.0 (ICS) - 8.1 (Oreo) supported
    REQUIRES ROOT ACCESS
    No system modifications or xposed, just a regular app.


    ★ This is free version - no ads
    ★ Gestures work anywhere on screen and all time - no triggers required
    ★ Multitask - start any application, shortcut or custom action without leaving current application
    ★ Swipe left or right to switch between running applications
    ★ Home and Back gestures that work in all apps anywhere on screen
    ★ Access LaunchPad from any app - dialog with recent apps, your applications, shortcuts and custom actions
    ★ Hide status bar and Navigation Bar - enjoy full screen in all apps and games
    ★ Custom gestures - create your own gestures to start any application, shortcut or custom action, unlimited possibilities, hundreds of possible gestures.
    ★ Assign different actions per app or even lock screen.
    ★ Browser actions - back, forward, refresh new tab, close tab, incognito tab, next/previous tab, bookmarks, find in page, search, history, jump to page start/end
    ★ It does not use overlays and does not make your apps and keyboard unresponsive like other gesture apps.

    Check XDA forum for discussion:
    http://xdaforums.com/showthread.php?t=1535740

    All available actions:
    Applications - start assigned application, switch to previous/next running app, kill current application, start launcher shortcut(bookmark, contacts, call, sms, settings, etc), start Tasker task, LaunchPad
    Navigation - full screen (hide/show status and navigation bar), home, back, recent apps, menu, search, voice search, open notifications
    Browser actions - back, forward, refresh new tab, close tab, incognito tab, next/previous tab, bookmarks, find in page, search, history, jump to page start/end
    Buttons - home, back, menu, screen off (lock screen), Power menu, Volume
    Media and Music - Play, Pause, Stop, Volume, Mute sound
    Settings - show settings panel, toggle rotation, wifi, bluetooth
    Gestures - disable/enable gestures with gesture, exit Gesture Control

    Market:
    GMD Gesture Control Lite
    If you like my application, please rate it in market. Thanks.

    market_qrcode.png


    Tags: Hide bar, gesture, gesture control, status bar, system bar, full screen, Honeybar, ICS, SwypePad, iPad, multitouch, multitask, multitasking
    24
    Thanks, PhilipTD, for generous donation :highfive:
    As a sigh on gratitude I built you latest development version of Gesture Control with Lollipop support. This is the first time I'm sending someone lollipop update.
    Quite a few features do not work but still it is usable :eek:
    Please let me know if you did not receive it.

    Progress update:
    I'm currently working on Spen Control lollipop support but a lot of internal thing are common. However UI part is separate and while I updated Spen Control to 'material', GC is still holo.
    I will be releasing SPen Control first with refreshed ui and lollipop support but I want to make bigger update for GC and add/rework many things that were discussed here or I just have in mind. Some things are already implemented but need to be merged into master some still need to be done. Main idea is to clean up GC so it is more intuitive to new users but more advanced features still will be available when digging deeper into settings.
    1) One good example would be path and recorded gestures. In new version I want to join them in one dialog. So user can pick from predefined set of path gestures (swipe left, swipe right, double tap, expand, pinch, etc.) or record it but entering custom path string still will be accessible. At the moment it is confusing for new users they would they want to enter path instead of recording (pinch for example).
    2) Another example is launchpad settings. Currently its confusing that you have to select which launchpad you want to configure. In new version settings will be accessible directly from launchpad instead and configure particular launchpad.
    3) Blacklist - each gesture will have option to select apps where it is active/inactive. General blacklist will be simplified where you can select if gestures are enabled/disabled in homescreen, apps, lockscreen and keyboard.
    4) Default gestures - I will remove default gestures tab and pre-create these in User Gestures for new users. Lite version will have limited number of available actions but users still can change gestures for these actions.
    5) Settings, touch consumption, Advanced tabs, Help will be moved to menu. App will be Gestures view.
    6) Touch Consumption - after user multitouch screen several times with 3 or more fingers but do not execute any gesture app will popup a tutorial explaining touch consumption with link to settings. Now quite a few new users are confused why their effort at Fruit Ninja does not give any result.
    7) Reviewing/regrouping/fixing actions - so far I was just throwing in new actions. Some didn't work on particular android versions, others didn't work on some devices. I haven't decided how it will be done but I want to clean it up. I want to add plugins support too (downloadable from play store) so some really niche things or some bigger complex thing could be moved there.
    8) Backup/Import/Export - long time promised, its time to add it.

    While such things don't add much for experienced users it will improve overall 'quality' of the app.

    Why cant I just release an old version with lollipop support? I don't have such version. I added lollipop support to half broken/work in progress version and I intend to move forward instead of backporting it. Its not just SeLinux/root issues that needed to be fixed. Some internal Api changed, recent apps work differently, etc, etc. It will be released when ready. Family > full time job > Android (4-20 hours per week).

    Regards,
    GMD aka StupidIdea
    21
    10.0.0-alpha

    Uploaded 10.0.0-alpha to Alpha channel:
    https://play.google.com/apps/testing/com.goodmooddroid.gesturecontrol

    Changes:
    - Android Nougat support (requires SuperSu v2.78)
    - Minor fixes

    Notes:
    Tested it on N6P (7.1.1) and N72013 (6.0.1). All actions, keyboard detections and per app settings should work. But I didn't test any older Android yet.
    15
    Thanks hasenbein1966, for donation :highfive:

    Update:
    Currently Launchpad and Blacklist are completely broken. UI is mix of material and holo. There are still some issues with recent apps. I will create alpha version G+ channel (without support) for lollipop version when I have more stable build.