kany1984
26/03/11, 18:10:57
Lo siento pero no tengo tiempo de traducirlo... :S copio y pego, ya traducire cuando tenga tiempo
ORIGINALLY POSTED BY doixanh:
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.
Very Important : How to zoom
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.
- 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.
Requirements
- Rooted
- xRecovery (for update.zip installation)
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:
- Download update.zip according to your current ROM
- Reboot and flash with xRecovery
- Report bugs
List of update.zip : I'm copying and pasting from multiupload. Sorry for the bad layout.
- For Stock SE 2.0.1.A.0.47 : update-2.0.1.A.0.47-2011-03-26-rel-signed.zip (9.71 KB) http://www.multiupload.com/USKMD30N67
- For Stock SE 2.1.1.A.0.6 : update-2.1.1.A.0.6-2011-03-26-rel-signed.zip (9.47 KB) http://www.multiupload.com/CL2SH8FJGK
- For racht's CM7-J005 HACKDROID : update-cm7j005hackdroid-2011-03-26-rel-signed.zip (10 KB) http://www.multiupload.com/1X0IWZKRN6
- For jerpelea's CM7-006a : update-cm7j006a-2011-03-26-rel-signed.zip (9.63 KB) http://www.multiupload.com/6N2HAGE9OC
- For racht's CM7-1.0 RC1 : update-cm7r1.0rc1-2011-03-26-rel-signed.zip (9.62 KB) http://www.multiupload.com/PMN0H2LB52
- For racht's HACKDROID 0.15 : update-floyo15-2011-03-26-rel-signed.zip (9.71 KB) http://www.multiupload.com/UJK029BLIX
- For nobodyAtall's MiniCM beta 2 : update-minicm2-2011-03-26-rel-signed.zip (9.47 KB) http://www.multiupload.com/Z7XKFKP3A5
For other ROMs, please upload your /system/etc/hw_config.sh so I can customize your ROM's hw_config to load the kernel module
To whom says it doesn't work: please confirm that the driver was loaded with this command below in your adb shell, if there is some output, the driver is loaded. You should try to practice 1 finger pinch zoom first.
Code:
dmesg | grep X8Gesture
Notice:
1. This is NOT 2-finger pinch zoom, as big X10.
2. This is a Work In Progress. It may not behavior correctly.
3. Read the above "How to zoom" carefully before reporting that it is not working!
4. Who installed gesture module on 23-03-2011 manually : please remove the old synaptics_i2c_rmi4_dx.ko and replace with x8gesture.ko below. Update your hw_config.sh also. Sorry for the inconvenience.
Big thanks to andrej456 for the idea and code to remove SE touchscreen driver.
Disclaimer
I'm not responsible if this module bricks your lovely phone. Use it at your own risk!
Release history
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
I tried it on my X10 mini running MiniCM Beta 2 and it works great.
Thanks a lot to the developer!
Give it a try.
Fuente: http://forum.xda-developers.com/showthread.php?t=1009008
Probado por mi y funciona!!!! :)
Traduccion:
http://www.htcmania.com/showpost.php?p=2010301&postcount=3
ORIGINALLY POSTED BY doixanh:
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.
Very Important : How to zoom
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.
- 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.
Requirements
- Rooted
- xRecovery (for update.zip installation)
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:
- Download update.zip according to your current ROM
- Reboot and flash with xRecovery
- Report bugs
List of update.zip : I'm copying and pasting from multiupload. Sorry for the bad layout.
- For Stock SE 2.0.1.A.0.47 : update-2.0.1.A.0.47-2011-03-26-rel-signed.zip (9.71 KB) http://www.multiupload.com/USKMD30N67
- For Stock SE 2.1.1.A.0.6 : update-2.1.1.A.0.6-2011-03-26-rel-signed.zip (9.47 KB) http://www.multiupload.com/CL2SH8FJGK
- For racht's CM7-J005 HACKDROID : update-cm7j005hackdroid-2011-03-26-rel-signed.zip (10 KB) http://www.multiupload.com/1X0IWZKRN6
- For jerpelea's CM7-006a : update-cm7j006a-2011-03-26-rel-signed.zip (9.63 KB) http://www.multiupload.com/6N2HAGE9OC
- For racht's CM7-1.0 RC1 : update-cm7r1.0rc1-2011-03-26-rel-signed.zip (9.62 KB) http://www.multiupload.com/PMN0H2LB52
- For racht's HACKDROID 0.15 : update-floyo15-2011-03-26-rel-signed.zip (9.71 KB) http://www.multiupload.com/UJK029BLIX
- For nobodyAtall's MiniCM beta 2 : update-minicm2-2011-03-26-rel-signed.zip (9.47 KB) http://www.multiupload.com/Z7XKFKP3A5
For other ROMs, please upload your /system/etc/hw_config.sh so I can customize your ROM's hw_config to load the kernel module
To whom says it doesn't work: please confirm that the driver was loaded with this command below in your adb shell, if there is some output, the driver is loaded. You should try to practice 1 finger pinch zoom first.
Code:
dmesg | grep X8Gesture
Notice:
1. This is NOT 2-finger pinch zoom, as big X10.
2. This is a Work In Progress. It may not behavior correctly.
3. Read the above "How to zoom" carefully before reporting that it is not working!
4. Who installed gesture module on 23-03-2011 manually : please remove the old synaptics_i2c_rmi4_dx.ko and replace with x8gesture.ko below. Update your hw_config.sh also. Sorry for the inconvenience.
Big thanks to andrej456 for the idea and code to remove SE touchscreen driver.
Disclaimer
I'm not responsible if this module bricks your lovely phone. Use it at your own risk!
Release history
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
I tried it on my X10 mini running MiniCM Beta 2 and it works great.
Thanks a lot to the developer!
Give it a try.
Fuente: http://forum.xda-developers.com/showthread.php?t=1009008
Probado por mi y funciona!!!! :)
Traduccion:
http://www.htcmania.com/showpost.php?p=2010301&postcount=3