[Galaxy S II Original Android Development] Flint2:
Hi fellow devs of XDA !

On Aug 13 2012, Tungstwenty introduced a new awesome feature to android kernel, that empower our touch devices to a new level, the ability to respond to multitouch gestures:

[Ref][Kernel]Triggering actions with touch gestures

As Far as I Know, The feature is implemented in the following kernels:

Samsung Galaxy SII - I9100

Siyah // Siyah Mali v2

DorimanX

Samsung Galaxy SIII - I9300

Siyah

Now let me introduce to you Kernel Gestures Builder, the tool that allows you to define the gesture pattern in a user friendly fashion:

View attachment 1524758View attachment 1524759View attachment 1524760View attachment 1933610View attachment 1933611View attachment 1914272View attachment 1914273View attachment 1933619

​

Install (for free):

Link to Google Play (The Place Formerly Known as Store)
​

Usage:

If you have DorimanX kernel you config is in /data/gesture_set.sh

If you don't have current config the script will be installed in /etc/init.d/S50GestureActions

Backup current script config, will be overwritten

Launch Kernel Gesture Builder App

Select Menu/Reset Gestures

Select Menu/Reset Actions

(optional) Select Menu / Settings / Grid Columns and Grid Rows (default 3 columns and 5 rows)

Draw Gesture with as many fingers as you like (maximum supported by kernel is 5)

When last finger leaves the screen, gesture definition is copied to clipboard and local file is saved

Configure Actions by selecting Launch Application or Set Action

If Desired, select Test Action to execute defined action

Open gesture definition script with editor and paste gesture OR

Configure Actions in /data/data/ar.com.nivel7.kernelgesturesbuilder/files/gesture-*.sh

and Select Install Gestures to REPLACE without backup current gesture_set.sh or S50GestureActions and new directory /data/gestures (do not edit anything here, will be overwrite on each Install Gesture action)

Select Menu/Select Gesture to edit another gesture and repeat the process from

Draw Gesture for each desired gesture

Select Menu/Install Gestures, if you have DorimanX kernel with Gestures enabled, turn off screen and turn it on again to activate new gestures. If you have another kernel reboot to apply changes.

enjoy!

Thanks To:

Tungstwenty , gokhanmoral, DorimanX , Robert Green , Gustavo_s

This list is not complete please inform me anyone that contributed and have credits

License (Open Source, feel free to contribute and giving proper credit if you use it):

GPL Version 3
​

Sources:

https://github.com/flint2/KernelGesturesBuilder
​

APK Archive:

http://d-h.st/users/flint2/KernelGesturesBuilder
​

Changelog:

Version 1.15 [Nov 02 2013]

Support for Android 4.4 KitKat

Version 1.14.1 [Jun 11 2013]

Bug Fix: FC on start

Version 1.14 [Jun 06 2013]

Select Gesture from Main Menu

Version 1.13 [May 03 2013]

(unpublished)

Version 1.12 [Apr 26 2013]

Set Action to gesture

Test Action

Version 1.11 [Apr 19 2013]

German, French & Spanish Translations

Browse for Applications to Launch on Gesture

Version 1.10 [Apr 8 2013]

Google Analytics for better support and future development

Version 1.9.1 [Mar 12 2013]

Add support for new Superuser https://github.com/koush/Superuser

Version 1.8.1 [Jan 7 2013]

Resolved bug in gesture install script

Version 1.8 [Dec 26 2012]

Display actions for current gesture

Force Portrait Mode

Default gestures for 1280x720 devices

Install Script in /system/etc/init.d if no /data/gesture_set.sh

Version 1.7 [Nov 30 2012]

Draw actual path of traversal of every finger with different color and alpha blending [Debadatta]

Read and Write to Scripts [It_ler]

Parse gestures from config

Version 1.6 [Nov 23 2012]

Install new Actions and Gestures config in /data/gestures (overwrites current script!)

Changed max fingers to 5 (kernel limit)

Version 1.5 [Nov 15 2012]

Allow changing of Gesture Number (1-30) from Settings

Version 1.4 [Nov 11 2012]

Copy Gesture to Clipboard

Version 1.3

Display Gesture Number fixed

Version 1.2

Display Intercepted Hotspot

Version 1.1

Detect Hotspot

Known Bugs:

Bad finger numbering if finger not lifted in inverse order

Any Bug that you report

Todo:

Animate the spots of an existing gesture to view on screen what trace you must do with fingers [Mario1968]

Custom name for gestures [Mario1968]

Always show current gesture anim, gesture number, gesture name on screen [Mario1968]

Any Feature that you request

If you like my work please buy me a beer

DONATIONS FROM:

DorimanX
​