yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Original Android Development] lancemark:
Bug report

sliding position of touch from first finger to second if you release first and quicly press second finger in another position. if you do that quickly near the same time then that bug will happen. this is in original driver and in this driver in all version.

examples

you can unclock your screen when you press on the lock icon on the left and release thant and near the same time push second finger in right side

when you plaing games on nesoid or snesoid that bug can push wrong button and hold it

slide is fast so it's difficult to se in multitouch visualizer but if you use simple painting app

to test then you can see straight line from first finger to second finger

sorry for my bad english

i hope you can understand this
[XPERIA X8 Original Android Development] kiratheone:
on Froyobeard 15 i just remove /system/lib/modules/x8gesture.ko and restat phone

its work,,,

i can accept or reject the incoming call :)
[XPERIA X8 Original Android Development] cruizz:
D**n, im too early bought x8 on xmast.....cypress chip get real dt ;D lol

sent from my own custom rom
[XPERIA X8 Original Android Development] LG_fuad92:
It's okay dude.. :)

At least we have gesture.
[XPERIA X8 Original Android Development] elderduke:
report WORKING

It works perfectly in Kuyagol's 2.3.4.

Man, AnDyX, you did an incredible job.

I still cannot believe it.

But I have it in front of me. I have now a full MT - 2.3.4. - CM7.

THANK YOU.

PS: I am now one Angry Viking!! It's Perfect.
[XPERIA X8 Original Android Development] AnDyX:
After few tests - cypress chip don't report second touch if width between fingers is lower then about 110 pixels. Moreover if you slide one finger to second - chip reports one finger and geometric center will be in the middle of two fingers. Sometimes driver or chip (I don't know yet) doesn't report second touch if you quickly press both fingers alltogether. It never reports more then 2 touches - so looks like we have dual touch chip.
[XPERIA X8 Original Android Development] deedii:
Hmm so Andyx let me confirm it again, We only have "Dual Touch" in our x8 not "Multi Touch"? I was also bit confused the way people use these terms. :) mwuah
[XPERIA X8 Original Android Development] AnDyX:
Multi Touch - is general term that your device recognizes more than 1 touch simultaneously, so Dual Touch is multitouch too :)

Dual Touch - means that device recognize up to two simultaneous touches.

I don't have any datasheet for our chip - so currently I don't know what is possible to do with our chip.

I test now new version - maybe will be better in games - report's smaller touch area. As I said I must test it in few games.
[XPERIA X8 Original Android Development] deedii:
Ok sorry. Ya i stand corrected! :)
[XPERIA X8 Original Android Development] dragan985:
Hmm.. Just switched to froyobread and Have same result in visualizer as on your video.

It's hard to play some games with this issue!

But in XGin 5.3 Rom Dual touch works perfectly (v1). No such issues and it's a lot better in Games!

Also, in Visualizer if I release One finger it still showing other finger pressed!
[XPERIA X8 Original Android Development] Asycid:
XGin 5.3 is based on 2.3.4 Android? Strange issue, it seems that 2.2 soft has got something with it.

If anyone can test 2.1 for this issue, it will be great. Thanks.
[XPERIA X8 Original Android Development] Koulis2000:
Yes, this was a bug even before the module. I used this bug with the game Fruit Ninja(Taping left-right-left-right and so on makes the blade go from left to right slashing all fruits[not in classic mode because of the bombs])

. ;)
[XPERIA X8 Original Android Development] tojnas:
I typed

dmesg|grep cyttsp_i2c

(put '_' instead of '-')

And got a interesting answer

[ 2.526321] cyttsp_i2c_init: Cypress TrueTouch(R) Standard Product I2C Touchscreen Driver (Built Jan 18 2011 @ 23:43:30) returned 0

Can anybody tell me if this means I have cypress or not?

Also, I bought my cell sometime in early december
[XPERIA X8 Original Android Development] ekstrom79:
maybe it works better with 2.3 rom than 2.2 roms

sent from x8 with gingercruzt
[XPERIA X8 Original Android Development] Koulis2000:
Sorry for that noob question but, where can this be useful

this= cypress chip don't report second touch if width between fingers is lower then about 110 pixels
[XPERIA X8 Original Android Development] gdeliana:
Hello,

I am a X10 mini pro user, and i think that our devices also do have cypress chips because the dualtouch module also worked on my mini pro, but when i try to insmod the ax8mt module it gives a failure and says permission denied even with su command.
[XPERIA X8 Original Android Development] anmiman:
Why would you try x8 mt module?..x10minipro have mt module made by slade a long time ago..search your forum..
[XPERIA X8 Original Android Development] auphone:
Sorry, It just show a operation not permitted, after I enter su and get the permission.

From FroyoBread v15
[XPERIA X8 Original Android Development] -ReaL-:
[COLOR="Green"]<6>[ 2.198783] synaptics_load_rmi4_func_regs: Func:f11_2D Query_Base:0x80 Cmd_Base:0x5f Ctrl_Base:0x26 Data_Base:0x18
<6>[ 2.208813] synaptics_load_rmi4_func_regs: Func:f08_BIST Query_Base:0x7e Cmd_Base:0x5e Ctrl_Base:0x20 Data_Base:0x15
<6>[ 2.219321] synaptics_load_rmi4_func_regs: Func:f01_RMI Query_Base:0x69 Cmd_Base:0x5d Ctrl_Base:0x1e Data_Base:0x13[/COLOR]
<6>[ 2.230304] usb: notify offline
<6>[ 2.235498] msm72k_udc: suspend
[COLOR="Green"]<6>[ 2.331553] synaptics_ts_probe: nbr_panels:1 nbr_fingers:1 data_size:5
<6>[ 2.332446] synaptics_ts_probe: fw_rev:2 max_x:1689 max_y:2534
<6>[ 2.338283] synaptics_ts_probe: max_x 1689, max_y 2534[/COLOR]
<6>[ 2.343396] msm72k_udc: reset
<6>[ 2.346344] msm72k_udc: portchange USB_SPEED_HIGH
[COLOR="Green"]<6>[ 2.351036] synaptics_ts_probe: inactive_x 0 0, inactive_y 0 0
<6>[ 2.356839] synaptics_ts_probe: snap_x 0-0 0-0, snap_y 0-0 0-0[/COLOR]
<6>[ 2.369949] Charger Type: STD DOWNSTREAM PORT
<6>[ 2.375849] bq24180: Turning on charger. USB-Host mode
<6>[ 2.380933] input: synaptics-rmi-touchscreen as /devices/virtual/input/input0
<6>[ 2.389353] bq24180: Set init values
<6>[ 2.391583] bq24180: Setting charger current to 0 mA
<6>[ 2.396506] bq24180: Set safety timer to 0 minutes
<6>[ 2.401618] bq24180: Starting watchdog reset
[COLOR="Green"]<6>[ 2.406211] synaptics_ts_probe: Start touchscreen synaptics-rmi-touchscreen in interrupt mode[/COLOR]
[COLOR="Red"]<3>[ 2.414284] cyttsp_init: Failed to request GPIO 112
<3>[ 2.418903] cyttsp_core_init: platform init failed!
<4>[ 2.423901] cyttsp-i2c: probe of 0-0024 failed with error -12
<6>[ 2.429731] cyttsp_i2c_init: Cypress TrueTouch(R) Standard Product I2C Touchscreen Driver (Built Jan 18 2011 @ 23:43:30) returned 0

[/COLOR]

If you have this - you have synaptics
[XPERIA X8 Original Android Development] tojnas:
damn .

my hopes had gone up :(
[XPERIA X8 Original Android Development] Asycid:
I'm now trying out the v004 with froyobread. One moment, and I edit this post with result.

EDIT:

-unfortunately the thumb liftoff bug is still persist.

-The smaller thumb area works (but it doesn't change as I make a bigger hold area).

+1:

Just an advice (idea)

It is maybe a good workaround of this problem is to move the first press away with 1 pixel after a close moment you lifted your second finger from the screen [or pushed it with second finger] (I mean the driver needs to do this), so it won't disappear. Hope it is understandable what I wrote :)

BTW if you need something to know about FroyoBred to make this bug repaired, just say what to do, and I'll do it. I mean if there is a codeline or like this, just say what to do, and I'll report back. I will try to help you, I'm not scared about some android/ java language, I just can't program them (my logic skills not enough for this :) )
[XPERIA X8 Original Android Development] darkfrmr:
the same here
[XPERIA X8 Original Android Development] ahmedz_1991:
agree with u
[XPERIA X8 Original Android Development] cosworth1988:
hi everybody

i would like to install ax8mt in hw_config but i don't understand which command i have to use...

i have x8oc and it works....could you help me please?
[XPERIA X8 Original Android Development] ahmedz_1991:
1- u must have root explorer; open it

2- copy ax8mt.ko to system/lib/modules

3- go to system/etc and press and hold "hw_config" and pick open in text editor

4- insert the line insmod /system/lib/modules/ax8mt.ko

5- press left button and choose save

6- reboot

7- congrats ;)
[XPERIA X8 Original Android Development] cosworth1988:
thank you for the answer!

i did it but when i reboot multitouch doesn't work :confused:

the last lines of my hw_config are

insmod /system/lib/modules/ax8mt.ko

insmod /system/lib/modules/x8oc.ko # x8 overclock

there is something wrong??
[XPERIA X8 Original Android Development] skyboyextreme:
you sure you got a cypress digitizer ?!
[XPERIA X8 Original Android Development] cosworth1988:
yes becouse if i use that line in terminal multitouch works...

now i upgrade to froyobread v0.16 and try again

EDIT: doesn't work
[XPERIA X8 Original Android Development] AntwnhsAnt:
did you change module's permissions to rw-r--r--??

**-

*--

*--
[XPERIA X8 Original Android Development] cosworth1988:
yes, now i used v003 and it works...maybe the v004 was damaged, i have to download it again...thanks for your help!
[XPERIA X8 Original Android Development] AnDyX:
I can prepare driver with some debug information - so someone may reproduce this bug and send me logs - and maybe some workaround can be found for this behavior.
[XPERIA X8 Original Android Development] Asycid:
Ok, I'll do it, but tell me what log do you need? I mean what report should I request from the phone?

EDIT:

I'm a littlebit worried about that. I mean I think it will be really complicated to repair this bug, because as I see the module works great, but the ported CM6 mod fails the dualtouch.
[XPERIA X8 Original Android Development] Senapone:
I'm using 2.2.1 rom from lizypen (that use CM6) and v004 works like a charm.

It's even possible to answer to calls even without inserting the module in hw_config.sh

AnDyX sei il numero uno!
[XPERIA X8 Original Android Development] Asycid:
I can't pull the last_kernel_message. It says: "remote object '/proc/last_kmesg' does not exist"

So what log sould I request from the phone to make your work easier?
[XPERIA X8 Original Android Development] doixanh:
F.Y.I it's /proc/last_kmsg not last_kmesg :)
[XPERIA X8 Original Android Development] Asycid:
Ohhh, sh... I've misreaded this line. :D

Thank btw :)

So the kmsg is in the attachment's zip file.
[XPERIA X8 Original Android Development] AnDyX:
Sorry I have no time to provide anything, I just think about possible workaround for FroyoBread - because on other Froyo it works.

To summarize:

- sometimes doesn't report second touch if you quickly press both fingers alltogether - it sometimes but very rarely happens to me - I think I know what probably cause it,

- when you put one finger still and you put another finger without moving it second one is not detected ... if you remove the second - the first one is removed too (so i assume it's detected by digitizer but driver don't track it correctly) - i can provide some test version that before touch or lift second finger move first 1 pixel away,

- I watch again video (Xperia X8 (cypress) REAL Dual touch!) - could someone point me where the bug is shown,

- what worries me that there is no touch numbers / touch areas in Multitouch Visualiser (maybe v004 fix this ???).

Is it everything or I skipped something ?
[XPERIA X8 Original Android Development] der_mart:
Touch width/finger numbers got fixed with v3 at boot together with incoming call screen, maybe this vid is taken before
[XPERIA X8 Original Android Development] Asycid:
From 0:52 I just reproducing the bug to 1:10.

And I recorded the video as I loaded the module when running the ROM, so it not has been loaded at boot: this caused thumb areas not shown. If Module is loaded at boot through hw_config.sh, it is normally reports the areas too, but the areas won't change if I make "bigger pressure" to the screen.
[XPERIA X8 Original Android Development] hibiskus:
Installed yesterday and working like charm(003), it works even better than MT on X10 cause on X10 you cannot have finger paralell on screen. I have Froyobread v014, and with der_mart tip answer call is working perfectly.

@AnDyX Thanks you for this fantastic contribution to X8 comunity.

Few suggestions: Since I find instructions a bit confusing, is it possible to make them clearer? For instance change word push to copy(make notice to use root explorer), add editing instructions of Hw_config for froyobread users?

bug report: put x8 on hard surface, press and hold one touch (immobile), than press once (immobile) second touch and release immediately. MT tester shows second touch even when finger isnt on screen.

@der_mart thx for froyobread tip fix
[XPERIA X8 Original Android Development] ahmedz_1991:
Yes Andy, v004 fixed this. numbers are shown now but the circles are small and don't scale enough by extra pressure. i hope someone provide a vid for froyobread running ax8mt v4 or somebody tell me if there is a prog to capture vid from my x8 screen. i don't have another cam except my laptop cam :p
[XPERIA X8 Original Android Development] AnDyX:
I forced pressure to be smalest as possible , i will change this in next ver.
[XPERIA X8 Original Android Development] Asycid:
BTW what is the pressure do? I mean is there any difference in the phone controls if the pressure size is smaller (like precision or something like this)?
[XPERIA X8 Original Android Development] ahmedz_1991:
they're there if apps wanna use them :)
[XPERIA X8 Original Android Development] darkfrmr:
For example, in snes emulator with more pressure you can fake hold 2 buttons, ie button for running and jumping at the same time along with using d-pad, so, with dual touch, you can fake use of 3 buttons.

I think its mainly use is in games.

I hope it is understandable, my english sucks :(

same here, numbers are shown but the circles doesnt change size with more pressure.

btw, im using v003 notrkid now (on froyobread) and it shows me the circles and detects pressure (i tested the other v003 version and that things worked too) the only problems that i notice are (in both v003 versions and in v004):

1. i put one finger and its normally detected, then i put 2nd finger without moving first and second finger, the second touch isnt detected until i move one of the fingers.

2. if i keep both fingers still (after they were detected) and then put one of the fingers out of the screen (keeping the other finger still) multitouch visualizer shows that no finger is touching the screen but if i start to touch the screen with the finger that i put out, always keeping the other finger still, both fingers are detected instantly, so i dont have to move it like first problem.

3. always the same pressure -> only in v004

pd: im using notrkid version because with normal version i had high battery drain, i really dont know if that things are related... is just what i feel.
[XPERIA X8 Original Android Development] azeunkn0wn:
i tried to replace x8gesture.ko with this one. renamed it..

it works when i reboot.. so far so good..

it also has numbers and circles on multitouch visualizer..
[XPERIA X8 Original Android Development] ahmedz_1991:
why do that ? maybe u'll need x8gesture. Andy said that ax8mt hacks Doxianh's modules to operate. just insmod ax8mt and rename back.
[XPERIA X8 Original Android Development] azeunkn0wn:
I think x8gesture is for dual touch module for non cypress digitizer...

I'll undo it if there will be a problem..

But for now, everything works fine
[XPERIA X8 Original Android Development] zhang_kaiii:
e...I am using the Synaptic digitizer . Is it available that I buy a Cypress digitizer and replace it with my now Synaptic digitazer ? If so ,does the phone works well ?
[XPERIA X8 Original Android Development] AnDyX:
Test version

This test version one is only for FroyoBread people - I just want that someone test it and tell what is difference between this and previous version. It follow rules from:

Multi touch protocol and has few workarounds. It works in wrong way on other OS - so don't use it.

------------------------------------------------------------------------------

Sorry I removed this version - looks like the key is understanding how events are processed in InputReader.cpp file.
[XPERIA X8 Original Android Development] dmcb123:
I'm on froyobread v16 and I tested your new test version. I don't see too much of a difference. Still all the same bugs (if you don't move 1st finger the second one doesn't get recognised). Personally these bugs don't bother me at all because I only use the dual touch for games and pinch zoom so I have to move both my fingers anyway. Is there anything specific you want me to test?
[XPERIA X8 Original Android Development] Scarsity:
yeah it seems the same n the pinch to zoom after zooming in at times it doesnt recogmise the second finga after tu take of the first finga .buh it seems to be working fime with dual touch im games like gangsta. i not too sure.
[XPERIA X8 Original Android Development] kueh9:
If u wait 1 second it appears without moving the 2nd finger..it works like charm for me..im using fb v17 with ax8mt v5..nice job man!!
[XPERIA X8 Original Android Development] Scarsity:
it works flawlessly in the browser n the games i think. its in operamini thats it behaves a lil bit diffrent. thnx man.
[XPERIA X8 Original Android Development] Asycid:
Same bugs. I see no change, except the pressure sensing is now working.
[XPERIA X8 Original Android Development] AnDyX:
It looks like understanding how events are processed in InputReader.cpp file is the key to makes everybody happy :] (so I removed file).
[XPERIA X8 Original Android Development] kueh9:
edit : mislook :D
[XPERIA X8 Original Android Development] Scarsity:
actually no button was working in the call background so i went back to v. 4
[XPERIA X8 Original Android Development] sashundera:
Hi guys.Just a quick question here.I downloaded android terminal and typed in that command dsmg cypps blabla but after that i got permission denied.I tried typing su but again the same response.Does that mean i have synapsis?I also tried using adb but when i click on adb.exe , a window pops up for just a second and nothing happends.
[XPERIA X8 Original Android Development] r4z0ry:
before entering any commands in terminal, first type "su" (without ") and give premission to emulator

then you can type commands that you want
[XPERIA X8 Original Android Development] azeunkn0wn:
same with my x8..

i put (on the terminal emulator app on x8:

su

dmesg | grep "cyttsp-i2c"

but no response...

but the module works..

can i ask something? << thats not what i wanna ask..

is it real that the Cypress in our X8 supports true-touch? or just dual touch?
[XPERIA X8 Original Android Development] azeunkn0wn:
I think thats why SE can't upgrade X8 any further.
[XPERIA X8 Original Android Development] MDAman:
Hi,

first like others before me i've got to say great work.

For my X8 i got it "kind of" working.

After some try & fail i managed to get the temp-method running, but it doesn't work in every application.

To be more detailed it works obviously in the multitouch visualizer and one game, but there is no function in GoogleMaps, the standardbrowser or dolphin browser.

Did i missed something?

Please give me some useful advice.
[XPERIA X8 Original Android Development] darkfrmr:
are you using stock rom?

in that case take a look at these: http://xdaforums.com/showpost.php?p=15006767&postcount=155
[XPERIA X8 Original Android Development] AnDyX:
Ok people - this is probably last version of module - currently I don't have any new ideas. This module comes with 4 switchable on the fly modes. Check it out.
[XPERIA X8 Original Android Development] ahmedz_1991:
so what mode is set by default in froyobread ? and should i switch to another ? why even multiple modes ? CPU usage ?:confused::confused:
[XPERIA X8 Original Android Development] dzadzev:
The default mode on 005 module is the third one on the list 'andyx' ...

Multiple modes are there so we can test them all and choose the best one for our x8 / for our ROM ...

CPU usage should not change because you only use one mode at time, there is only option to choose which one you need ...
[XPERIA X8 Original Android Development] Koulis2000:
Can someone explain how to change modes with "easy" words, I really don't understand what is AnDyX says about how to change modes. :confused:

EDIT: Found it.
[XPERIA X8 Original Android Development] AnDyX:
As i wrote in first post - 'andyx'

you can check every mode to find one that suite your needs

because I don't have FroyoBread and I'm run out of ideas

I mention about this - because somehow fingers must be tracked. Driver can help with this - by sending tracking ID or OS must do it by itself (and consume CPU of course - but this is minimal impact) but why force OS to do this if driver make it better.
[XPERIA X8 Original Android Development] argpsi:
Well, I'm still on v.003 and Froyo 0.30 and it works like a charm... does what I need it to do anyway... Two finger pinch zoom is all I need or the screen previews on ADW...
[XPERIA X8 Original Android Development] sashundera:
Well i did that.Start terminal , type first su and again permission denied.
[XPERIA X8 Original Android Development] aarun444:
Wat is the use of dual touch
[XPERIA X8 Original Android Development] ahmedz_1991:
Dear noob, the use of dual touch is mainly zoom and gaming ;)

however there are apps that utilize that for other reasons like pinching out in homescreen shows you all homescreens preview
[XPERIA X8 Original Android Development] deedii:
So guys which is the best among the four modules?
[XPERIA X8 Original Android Development] zhuhang:
if i using froyobread, how to uninstall x8gesture?

can i just install cypress dual touch. i already got the message: enjoy dual touch

and changed to andyx

so leave the x8gesture.ko in my modules folder?
[XPERIA X8 Original Android Development] deedii:
Its ok to leave that file.it will not work anyway.
[XPERIA X8 Original Android Development] zhuhang:
How to install to Hw_config.sh??

Sent from my X8 CM6 Floyo 0. 25
[XPERIA X8 Original Android Development] gueywee85:
Hi, i just installed the MT on my x8 and it works perfectly!!

but after i reboot my x8, the MT function is gone and i need to re-enter the

insmod /system/lib/modules/am8xt.ko again on my android terminal.

is there anyway to make it launch automatic after i reboot my x8?
[XPERIA X8 Original Android Development] Imppy:
put that line in hwconfig file
[XPERIA X8 Original Android Development] biscoitu:
why don´t try the x8toolbox ??? it worked for synaptic one :D

give it a try dude :)
[XPERIA X8 Original Android Development] ahmedz_1991:
using rootExplorer just press and hold "hw_config" and pick "open in text editor" and add the "insmod......." line here instead of writing in terminal.

and don't delete x8gesture; Andy said ax8mt hijacks methods from there. i don't know if this is still true in v005
[XPERIA X8 Original Android Development] AnDyX:
To clarify - I use something from x8gesture code :). x8gesture is no needed for Cypress based X8.

I said somewhere that I compile one driver for both cypress and synaptic X8 but there is no time for this :)
[XPERIA X8 Original Android Development] zhuhang:
thanks. so i addin these 2 lines only:

insmod...

echo ...

isit?
[XPERIA X8 Original Android Development] dzadzev:
You can use this PC tool to Pull your Hw_config.sh file, then edit and Push the file again.

You just need to put

insmod /system/lib/modules/ax8mt.ko

at the end of the file
[XPERIA X8 Original Android Development] zhuhang:
but i need desire mode, or else wont work.

how to use the app? the app wont start. already run as admin. where to put the files??