It seems that X8 and X10mini use the same touchscreen controller, so this module may work with X10 mini, too!
I'm working with a kernel module to replace SE touchscreen driver to support dualtouch. However, as I found out, it will mostly not be supported by our hardware, because X8 has only 1 sensor and that sensor supports only 1 finger. I don't know whether we can have dual touch if we flash the screen firmware. I will have a look on that.
A temporary solution now is to make a one finger pinch zoom. The idea is that we make Android to think that the second finger is also pressed, by generating second finger events from the driver.
Because I need to modify hw_config.sh and each ROM has a different hw_config.sh, there will be a specific update.zip for each ROM.
Release history
April 13 v004. Rewrite from scratch. Pinch zoom with one or two fingers.
April 03. Source released.
March 26 v003. Specify zoom-in position.
March 25 v002. Zoom-out, rotate. Module size optimization.
March 24 v001. Better finger detection. Reduced zoom-in speed.
March 23 v000. 1 finger pinch zoom-in only
Very Important : How to zoom
For v004
To activate gesture, put your two fingers one-by-one (one finger first, then another after - don't put both at the same time) on the screen, away from each other for at least 1cm. The 2nd finger should have more pressure onto the screen. After putting your 2nd finger on the screen, wait for 0.5s, the gesture will be activated.
After the gesture is activated, you can
- Use your two pressed fingers, or
- Lift up one finger and use the remaining finger
to zoom-in/out/rotate.
I prefer keeping two fingers on the screen, because it's natural for pinch zoom. You can look at the tutorial for v004 here, and practice with MultiTouch Visualizer 2.
For v003 and below
Right now it supports only zoom-in, zoom-out, and rotate. I will improve it over time. For who says it's not working, please read this how-to very carefully:
- To activate gesture : Put two fingers near each other, lift one finger up.
- To zoom-in (make things bigger): Activate gesture near the center of the screen. Move your remaining finger away from the gesture position to zoom-in.
- [new in v003] To zoom-in with specified zoom-in position: Do a normal touch to the zoom-in position (your face in an image, for example), then activate the gesture a little bit away from the zoom-in position shortly after the previous normal touch, then drag to zoom. I know, it's a little bit hard to understand ~.~ I will make a short clip for the tutorial
- To zoom-out (make things smaller): Activate gesture at the corner or the side of the screen. Move your remaining finger toward the screen center to zoom-out.
- To rotate : Activate gesture at the corner or the side of the screen. Move your remaining finger around the screen center to rotate.
Practice your 1 finger pinch zoom with MultiTouch Visualizer 2. Tutorial for zoom in, zoom out, and rotate can be watched here
Requirements- Rooted
- xRecovery (for update.zip installation)
For people who have previous x8gesture.ko and want to only update to new one without any other changes use the attached x8gesture_v004_update.zip to flash with xRecovery. Then edit hw_config.sh and add following code at top:
[CODE]
#dx: our modded touchscreen driver
insmod /system/lib/modules/x8gesture.ko

Hope it helps.
Instruction for manual installation:
- Remount /system as rw
- Copy the attached x8gesture.ko below to /system/lib/modules
- Change hw_config.sh in your /system/etc, add this code at the beginning
Code:
# dx: our modded touchscreen driver
insmod /system/lib/modules/x8gesture.ko
- Push modified hw_config.sh back to your phone, reboot
Instruction for installation with update.zip:
- : These update.zip will disable X8Overclock if it's enabled on your system. It's much better if you do the manual installation above.
- Download update.zip accImportant ording to your current ROM
- Reboot and flash with xRecovery
- Report bugs
Troubleshoot
Q. Help! It doesn't work!
A. Try this command from your PC shell
I'm working with a kernel module to replace SE touchscreen driver to support dualtouch. However, as I found out, it will mostly not be supported by our hardware, because X8 has only 1 sensor and that sensor supports only 1 finger. I don't know whether we can have dual touch if we flash the screen firmware. I will have a look on that.
A temporary solution now is to make a one finger pinch zoom. The idea is that we make Android to think that the second finger is also pressed, by generating second finger events from the driver.
Because I need to modify hw_config.sh and each ROM has a different hw_config.sh, there will be a specific update.zip for each ROM.
Release history
April 13 v004. Rewrite from scratch. Pinch zoom with one or two fingers.
April 03. Source released.
March 26 v003. Specify zoom-in position.
March 25 v002. Zoom-out, rotate. Module size optimization.
March 24 v001. Better finger detection. Reduced zoom-in speed.
March 23 v000. 1 finger pinch zoom-in only
Very Important : How to zoom
For v004
To activate gesture, put your two fingers one-by-one (one finger first, then another after - don't put both at the same time) on the screen, away from each other for at least 1cm. The 2nd finger should have more pressure onto the screen. After putting your 2nd finger on the screen, wait for 0.5s, the gesture will be activated.
After the gesture is activated, you can
- Use your two pressed fingers, or
- Lift up one finger and use the remaining finger
to zoom-in/out/rotate.
I prefer keeping two fingers on the screen, because it's natural for pinch zoom. You can look at the tutorial for v004 here, and practice with MultiTouch Visualizer 2.
For v003 and below
Right now it supports only zoom-in, zoom-out, and rotate. I will improve it over time. For who says it's not working, please read this how-to very carefully:
- To activate gesture : Put two fingers near each other, lift one finger up.
- To zoom-in (make things bigger): Activate gesture near the center of the screen. Move your remaining finger away from the gesture position to zoom-in.
- [new in v003] To zoom-in with specified zoom-in position: Do a normal touch to the zoom-in position (your face in an image, for example), then activate the gesture a little bit away from the zoom-in position shortly after the previous normal touch, then drag to zoom. I know, it's a little bit hard to understand ~.~ I will make a short clip for the tutorial
- To zoom-out (make things smaller): Activate gesture at the corner or the side of the screen. Move your remaining finger toward the screen center to zoom-out.
- To rotate : Activate gesture at the corner or the side of the screen. Move your remaining finger around the screen center to rotate.
Practice your 1 finger pinch zoom with MultiTouch Visualizer 2. Tutorial for zoom in, zoom out, and rotate can be watched here
Requirements- Rooted
- xRecovery (for update.zip installation)
For people who have previous x8gesture.ko and want to only update to new one without any other changes use the attached x8gesture_v004_update.zip to flash with xRecovery. Then edit hw_config.sh and add following code at top:
[CODE]
#dx: our modded touchscreen driver
insmod /system/lib/modules/x8gesture.ko
Hope it helps.
Instruction for manual installation:
- Remount /system as rw
- Copy the attached x8gesture.ko below to /system/lib/modules
- Change hw_config.sh in your /system/etc, add this code at the beginning
Code:
# dx: our modded touchscreen driver
insmod /system/lib/modules/x8gesture.ko
- Push modified hw_config.sh back to your phone, reboot
Instruction for installation with update.zip:
- : These update.zip will disable X8Overclock if it's enabled on your system. It's much better if you do the manual installation above.
- Download update.zip accImportant ording to your current ROM
- Reboot and flash with xRecovery
- Report bugs
Troubleshoot
Q. Help! It doesn't work!
A. Try this command from your PC shell
Code:
adb shell dmesg | grep X8Gesture
Q. Help! I did as above, but nothing was output
A. Check your hw_config.sh or your ramdisk to be sure that it's loaded during boot
Q. Help! dmesg above output something, but it doesn't work!
A. Maybe you're trying to load it in X10 Mini Pro or other devices? It supports only X8 and X10 mini.
Give it a try.
DOWNLOAD :
* Login or register http://forum.xda-developers.com forum first
manual instalation
- X8-gesture_V.4_update.zip
xrecovery instalation
- X8-gesture_V.4_update.zip (recommended)
Hi friend really awesome blog,i impresed with your blog.Thjanks for share itsweb development india
ReplyDelete