[Galaxy S II Original Android Development] Chillmann:
same issue here, if i download and intsall the touchgestures sample file it works all just fine. Then i tried editing the S50GestureAction file, which comes with the sample by using windows texteditor, put it back into the zip file and flashed it. As result the /system/etc/initd folder contains the modified script file but none of the actions i set up are executed. :confused:

I tried to simulate the brightness change by swiping over status bar feature of cm for miui users :)

#!/sbin/busybox sh

#
# Sample touch gesture actions by Tungstwenty
# Visit the thread at: http://xdaforums.com/showthread.php?t=1831254
#

echo "
# Gesture 1 - swipe 1 finger near the top-left slightly to the right
1:1:(0|96,0|96) 1:1:(96|192,0|96) # finger top-left to top-slightly left

# Gesture 2 - swipe 1 finger near the top-slightly left slightly to the right
2:1:(96|192,0|96) 2:1:(192|288,0|96) # finger from top-slighlty left to top-middle

# Gesture 3 - swipe 1 finger near the top-middle slightly to the right
3:1:(192|288,0|96) 3:1:(288|384,0|96) # top middle to top slightly right

# Gesture 4 - swipe 1 finger near the top-slightly right slightly to the right
4:1:(288|384,0|96) 4:1:(384|479,0|96) # top-slightly right to top-right

# Gesture 5 - swipe 1 finger near the top-right slightly to the left
5:1:(384|479,0|96) 5:1:(288|384,0|96) # top-right to top-slightly right

# Gesture 6 - swipe 1 finger near the top-slightly right slightly to the left
6:1:(288|384,0|96) 6:1:(192|288,0|96) # top-slightly right to top-middle

# Gesture 7 - swipe 1 finger near the top-middle slightly to the left
7:1:(192|288,0|96) 7:1:(96|192,0|96) # top-middle to top-slightly left

# Gesture 8 - swipe 1 finger near the top-slightly left slightly to the left
8:1:(96|192,0|96) 8:1:(0|96,0|96) # top-slightly left to top-left

" > /sys/devices/virtual/misc/touch_gestures/gesture_patterns

# Detect ICS or JB - bluetooth calls are different
case "`getprop ro.build.version.release`" in
4.1.* ) is_jb=1;;
* ) is_jb=0;;
esac

( while [ 1 ]
do

GESTURE=`cat /sys/devices/virtual/misc/touch_gestures/wait_for_gesture`

if [ "$GESTURE" == "1" ]; then

# Simulate key press - increase brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 212

elif [ "$GESTURE" == "2" ]; then

# Simulate key press - increase brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 212

elif [ "$GESTURE" == "3" ]; then

# Simulate key press - increase brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 212

elif [ "$GESTURE" == "4" ]; then

# Simulate key press - increase brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 212

elif [ "$GESTURE" == "5" ]; then

# Simulate key press - decrease brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 213

elif [ "$GESTURE" == "6" ]; then

# Simulate key press - decrease brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 213

elif [ "$GESTURE" == "7" ]; then

# Simulate key press - decrease brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 213

elif [ "$GESTURE" == "8" ]; then

# Simulate key press - decrease brightness

# 26 = Power
# 3 = Home
# 24/25 = Volume up/down
# 85 = Media Play / pause
# 86 = Media stop
# 87/88 = Media next / previous
# 164 = Volume mute / unmute
# 187 = Recent apps
# 212 = increase brightness
# 213 = decrease brightness

input keyevent 213

fi;

done ) > /dev/null 2>&1 &

Id like to have a cwm flashable zip which does the copying and permissions thing for me

sorry for my noobishness :p