[DEV] Dualtouch Release [07/05/2011] - approved to be working

Search This thread

slade87

Inactive Recognized Developer
Dec 3, 2010
1,580
4,274
Leipzig
Multitouch Development Thread

Thank does not just go to me but also to doixanh!! Please make sure to give him a thumbs up as well!!


We have managed to unload the kernel driver and patched a modded dual touch driver which can now be loaded.

Link
UPDATED Version



Requirements:

  • rooted device
  • latest Kernel and Baseband M76XX-TSNCJOLYM-53404015

Here are a few instructions:
  • Download attached zip file
  • unzip (before)
  • Place on your SD card
  • goto any shell
  • type: "insmod /sdcard/cy8ctma300_ser.ko"
  • you will have dual touch enabled now
  • after a reboot you will lose dual touch if you have any troubles

If you want it to work properly you will have to edit your hw_config.sh and copy cy8ctma300_ser.ko to /system/lib/modules/
add the two lines before any other insmod at the bottom of hw_config.sh:
"insmod /system/lib/modules/cy8ctma300_ser.ko"
"sleep 1"

Also edit your build.prop and add the lines below:

ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2


IF IT DOES NOT WORK AND YOU GET A FAILURE "file exists" WHILE INSMODDING PLEASE USE THIS FILE INSTEAD (SEEMS TO BE TWO DIFFERENT MINI PROS OUT THERE):
http://xdaforums.com/showpost.php?p=13498769&postcount=56



MODULES

Module for Firmware 2.1.1.C.0.0
Module for Firmware 2.1.0.A.06
Module for Firmware 2.1.0.A.0.54

Bugs
  • no other bugs found so far

Sources are available here : Github

Please read instructions before you try!

Please comment here if you want to discuss
 

Attachments

  • cy8ctma300_ser.zip
    5.8 KB · Views: 7,260
Last edited:

Ravencz

Senior Member
Sep 22, 2010
92
26
Prague
Works really well, thank you!
Apps tested and working:
- Stock Browser
- Opera Mobile
- Multitouch Visualiser 2
- Fruit Ninja
- Stock Gallery
- Google Maps
- Launcher Pro

Didn't even notice any weird behavior so far.. Will keep you updated if anything goes wrong or doesn't work.
Edit: Orientation changing from landscape to portrait and back works just fine as well.
 
Last edited:

riesan

Senior Member
Nov 10, 2010
90
11
Nice one.... Hope the potrait bug can be resolved soon.. Works perfectly

Sent from my U20i using XDA App
 

slade87

Inactive Recognized Developer
Dec 3, 2010
1,580
4,274
Leipzig
i am unsure if the hotfix is compatible with owains rom as there are different hw_config.sh ?? please report back.
 

teapea

Senior Member
Aug 6, 2010
140
79
Buckinghamshire
Works on stock 2.1 - sweet!

Got it working on test apps and Google Tracks - but not in normal Google Maps/Latitude.

However... it works in Angry Birds - at last we can zoom out!!!
 

slade87

Inactive Recognized Developer
Dec 3, 2010
1,580
4,274
Leipzig
Works on stock 2.1 - sweet!

Got it working on test apps and Google Tracks - but not in normal Google Maps/Latitude.

However... it works in Angry Birds - at last we can zoom out!!!
add to build.prop:

ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2

forgot to mention sorry
 

Iskander.g

Member
Feb 10, 2011
44
2
Kazan
Didn't work on your mod "[ROM] Cyanogen Froyo - CM6 latest sources (Version 2.1) fast and stable"

Going now to update to miniCm hybrid
 

riesan

Senior Member
Nov 10, 2010
90
11
Tested on ur hybrid minicm... Reboot and the MT still kicking.... Yahoooo...

Best ever thing happen to this phone....

Slade and doixhan achieve where SE said impossible...

Sent from my U20i using XDA App
 

Eyama

Senior Member
Mar 16, 2011
913
1,272
Ljubljana
Huawei P30 Pro
i am unsure if the hotfix is compatible with owains rom as there are different hw_config.sh ?? please report back.

is working tested in multitouch visualizer 2. I was manualy add line insmod.....
i rebooted the pone and is still working:)
do i need to eddit build.prop beacuse i didnt addet those lines in?

realy u two guys are genius:)

sory for bad english ;)
 

slade87

Inactive Recognized Developer
Dec 3, 2010
1,580
4,274
Leipzig
is working tested in multitouch visualizer 2. I was manualy add line insmod.....
i rebooted the pone and is still working:)
do i need to eddit build.prop beacuse i didnt addet those lines in?

realy u two guys are genius:)

sory for bad english ;)

if you want to use it in google apps yes.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 117
    Multitouch Development Thread

    Thank does not just go to me but also to doixanh!! Please make sure to give him a thumbs up as well!!


    We have managed to unload the kernel driver and patched a modded dual touch driver which can now be loaded.

    Link
    UPDATED Version



    Requirements:

    • rooted device
    • latest Kernel and Baseband M76XX-TSNCJOLYM-53404015

    Here are a few instructions:
    • Download attached zip file
    • unzip (before)
    • Place on your SD card
    • goto any shell
    • type: "insmod /sdcard/cy8ctma300_ser.ko"
    • you will have dual touch enabled now
    • after a reboot you will lose dual touch if you have any troubles

    If you want it to work properly you will have to edit your hw_config.sh and copy cy8ctma300_ser.ko to /system/lib/modules/
    add the two lines before any other insmod at the bottom of hw_config.sh:
    "insmod /system/lib/modules/cy8ctma300_ser.ko"
    "sleep 1"

    Also edit your build.prop and add the lines below:

    ro.product.multi_touch_enabled=true
    ro.product.max_num_touch=2


    IF IT DOES NOT WORK AND YOU GET A FAILURE "file exists" WHILE INSMODDING PLEASE USE THIS FILE INSTEAD (SEEMS TO BE TWO DIFFERENT MINI PROS OUT THERE):
    http://xdaforums.com/showpost.php?p=13498769&postcount=56



    MODULES

    Module for Firmware 2.1.1.C.0.0
    Module for Firmware 2.1.0.A.06
    Module for Firmware 2.1.0.A.0.54

    Bugs
    • no other bugs found so far

    Sources are available here : Github

    Please read instructions before you try!

    Please comment here if you want to discuss
    62
    Reserved for future use...

    THIS IS A DEV THREAD. DO NOT SPAM WITH UNCONTRIBUTED POSTS!
    5
    Alternative patch for multitouch by slade

    The only boss... Slade!

    This module work on my mini!
    5
    AWESOME WORK, SLADE87 & DOIXANH!

    I can confirm everything (Browser, Google Maps, Angry Birds) working perfectly with dualtouch on my Xperia X10 mini pro (U20i) running stock Sony Ericsson 2.1 Android.

    Don't forget to back up everything with xRecovery!

    Steps I did with Root Explorer:
    1. Copied 'android.hardware.touchscreen.multitouch.xml' from a few posts back to /system/etc/permissions/
    1.5. Set the file's permissions to 644, in Root Explorer that would be rw-r--r-- or
    Code:
    Read Write Execute
    [X]----[X]-----[  ]
    [X]----[ ]-----[  ]
    [X]----[ ]-----[  ]
    2. Copied 'cy8ctma300_ser.ko' from the original post to /system/lib/modules/
    3. Added the lines
    Code:
    ro.product.multi_touch_enabled=true
    ro.product.max_num_touch=2
    at the end of /system/build.prop
    4. Added the lines
    Code:
    insmod /system/lib/modules/cy8ctma300_ser.ko
    sleep 1
    at the very beginning of /system/etc/hw_config.sh
    5. Rebooted
    6. Made some coffee while I was waiting
    7. Tested dualtouch, found out it was working
    8. (Optional) Spilled the coffee on myself
    9. (Mandatory) JUMPED AROUND JOYOUSLY LIKE A MANIAC
    3
    maybe only supported in froyo maps? if i remember eclair had some issues with MT.

    Solved for ALL apps (certainly on stock 2.1)

    You need to create a file in /system/etc/permissions

    android.hardware.touchscreen.multitouch.xml

    chmod 644

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Copyright (C) 2009 The Android Open Source Project
    
         Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.
         You may obtain a copy of the License at
      
              http://www.apache.org/licenses/LICENSE-2.0
      
         Unless required by applicable law or agreed to in writing, software
         distributed under the License is distributed on an "AS IS" BASIS,
         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         See the License for the specific language governing permissions and
         limitations under the License.
    -->
    
    <!-- This is the standard set of features for a touchscreen that supports
         multitouch. -->
    <permissions>
        <feature name="android.hardware.touchscreen.multitouch" />
    </permissions>

    Added that and reboot and works a treat!