yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson XPERIA X10 Mini] slade87:
I just wanted to let everybody know we (doixanh and I) have managed to unload the kernel touch driver. Now we can replace the driver with a modded one. However we are not that far yet.
[Sony Ericsson XPERIA X10 Mini] fictionworld:
good to hear this is on development again. good job developers. keep up the good work.
[Sony Ericsson XPERIA X10 Mini] slade87:
Short Anouncement, we sucessfully loaded modded driver, and currently patching dual touch.

next step three fingers, 4 fingers is too small for screen.

Dual Touch is Working, its buggy but working
[Sony Ericsson XPERIA X10 Mini] doixanh:
it's too early to announce like this man... There are lots of things to do...
[Sony Ericsson XPERIA X10 Mini] moralxd:
this is f*cking awesome!! haha very nice job guys!! when i get my payment ill try to donate something, if i have something left -.-
[Sony Ericsson XPERIA X10 Mini] fictionworld:
Its only an update. Don't get too excited just yet.

TO EVERYONE ELSE. LET'S JUST STAY CALM AND LET THEM DO THEIR JOB.

DO NOT ASK FOR MORE UPDATES PLEASE. LET THEM DO UPDATE WHENEVER THEY NEEDED TO.
[Sony Ericsson XPERIA X10 Mini] kinglargo:
OMG_OMG

I'm calling the friends, they won't believe me! Great job!! Woohoo
[Sony Ericsson XPERIA X10 Mini] D4rKn3sSyS:
I think people will get crazy xD.. so dont get crazy it's still on test

Sent from my ftw mini pro
[Sony Ericsson XPERIA X10 Mini] fictionworld:
ooowweeelll. goodluck to each and every devs out there. :)

@ D4rKn3sSyS

offtopic

are there any chances the miui ROM be continued too? xD
[Sony Ericsson XPERIA X10 Mini] D4rKn3sSyS:
Im sorry saying this, but owain said me we dont have sources, so miui its impossible till we get sources :(

Sent from my ftw mini pro
[Sony Ericsson XPERIA X10 Mini] fictionworld:
thanks. will do some research then.
[Sony Ericsson XPERIA X10 Mini] ridelight:
WOW awesome!
[Sony Ericsson XPERIA X10 Mini] slade87:
Here is a test version of Dual touch not yet fully working with android but already pretty cool.

You can put cy8ctma300_ser.ko on sdcard

unzip

place cy8ctma300_ser.ko on sdcard

Download from Market "Multitouch Visualizer 2"

connect phone to PC

open Multitouch Visualizer 2

use adb shell

in shell type

insmod /path/where/you/placed/cy8ctma300_ser.ko

multitouch visualizer must stay open when you try. otherwise you wont be able to get to the app again

play with multitouch visualizer

it will not yet work in android system

if you are done playing reboot.
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
wowooooooooooooooooooooo

thats really f**king awesome newszzzzzzz.:eek:

thanks a lot and keep it up..... all the best to all devs out there.....:)
[Sony Ericsson XPERIA X10 Mini] ridelight:
I want to be a beta tester. :p
[Sony Ericsson XPERIA X10 Mini] anon67:
this is really great news !!! awesome !!
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
thanks a lot once again grt work, btw multitouch vis. is not available in market . and can i use two fingure in google maps and to pinch zoom in pics...:):confused:
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
i cant do this, can u help me? i really want to try!

This is the message error when i type ur command:

insmod /sdcard/cy8ctma300_ser.zip

insmod: init_module '/sdcard/cy8ctma300_ser.zip' failed (exec format error)
[Sony Ericsson XPERIA X10 Mini] slade87:
How about unzipping first ;-)
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
you need to extract this one......
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
jaja thx slade, i sucks jaja...

Well mayme u can put "unzip" in ur post for noobs like me :P

Edit: now work but when I put that command my touch screen dont work.. any idea?

Edit 2: I remove the battery to restar, then I try again and it work, amazing =)
[Sony Ericsson XPERIA X10 Mini] doixanh:
It's a pre-alpha version... Guys, don't expect it to work without bugs :D
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
thanks you slade and all devs.......

@slade did as u said really coooooooooooooooooooool .

first time used two fingers now rebooted............ thanks......:):D
[Sony Ericsson XPERIA X10 Mini] slade87:
dont forget to thank doixanh! he managed the big stuff!!!
[Sony Ericsson XPERIA X10 Mini] Snusdus:
GAAAAAAAAAAAAAAAAAH!

Sorry for OT
[Sony Ericsson XPERIA X10 Mini] Iskander.g:
Thank you slade and doixanh!

It's really great and cool job!

Now i see what multitouch on our phone is real!

Multitouch visualizer shows it :-D

Now i'm going to reboot but can't wait for working version :-)
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
Hey me again.

I have a big problem now, i want to try again this method but when I type adb shell in cmd now say: error: device not found.

I do everything like the first time, cd adb, my xperia connected with usb dep, no sd mounted, all god, but... I get this problem, does anybody know how to solve this?
[Sony Ericsson XPERIA X10 Mini] slade87:
restart pc :)??
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
Already do that, just in case I ll do again.
[Sony Ericsson XPERIA X10 Mini] Iskander.g:
May be you need to install this drivers:

http://developer.sonyericsson.com/wportal/devworld/downloads/download/dw-x10minidrivers?cc=gb&lc=en

?
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
I dont know what happend, cuz I really restar mi pc to try that. But I do that again just in case and now it is working again, sry for my noobies, thx to all.

Ok, there is another question, is this archive just work for multitouch visualizer 2 or i can try this with another multitouch program to try?

Sry about my english, I know it is pretty bad.
[Sony Ericsson XPERIA X10 Mini] slade87:
try another multitouch tool i haven't tried yet :D
[Sony Ericsson XPERIA X10 Mini] doixanh:
It should work with all programs.
[Sony Ericsson XPERIA X10 Mini] Paradoxx0815:
Wow. F***ing good news. Keep on.

U guys rock!!!

:-D
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
Ok I already try with google maps and it works, no perfectly, but work... :)

I really want to thx u doixanh and u too slade because u do this possible. How much time u think ll need to have a stable version? Here is a desperate man who love ur work :)
[Sony Ericsson XPERIA X10 Mini] albanezi:
Hi, I would really love to try your method but I cannot understand what ADB Shell is exactly and where I can get it from!?! Please help! Thhanks!!
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
sorry.........thanks doixanh also

grt work,

@ slade one question can i run this command in terminal emulator so when i am in college i can show to my frnz (specially my ma'am):D.

please review and suggest me
[Sony Ericsson XPERIA X10 Mini] Ravencz:
Good job on making it work (even slightly and buggy is great)! But one thing... once I execute the insmod command, my screen becomes totally unresponsive until the restart.. Doesn't even work in MT Visualiser, or any other app... Any clues?
[Sony Ericsson XPERIA X10 Mini] Carcass.br:
I can't install MT visualizer 2...

Always got 'error message: I can't install in standard location'

Edit: always fail with every MT programs...

Edit²: OMFG, ****ing noob, I had removed(and I forgotten that) sd card xDDDD
[Sony Ericsson XPERIA X10 Mini] Paradoxx0815:
It works for me with terminal emulator.
[Sony Ericsson XPERIA X10 Mini] ocovarr112:
Will it work if I rename the archive name?

Exa:

rename to: multi.ko

then adb shell

then insmod /sdcard/multi.ko

??
[Sony Ericsson XPERIA X10 Mini] davebyone:
F**k amazing!!!!! When finish, please send me you paypal account!!!
[Sony Ericsson XPERIA X10 Mini] Bavilo:
ofcourse...
[Sony Ericsson XPERIA X10 Mini] Squezzz:
hmmmm... when I try to use this command

C:\exploid_x10mini>adb shell

$ insmod /sdcard/cy8ctma300_ser.ko

insmod /sdcard/cy8ctma300_ser.ko

insmod: init_module '/sdcard/cy8ctma300_ser.ko' failed (Operation not permitted)

And if I type "su" and do

insmod /sdcard/cy8ctma300_ser.ko

it tell me that file is already exists
[Sony Ericsson XPERIA X10 Mini] Carcass.br:
works fine when MT 2 is open, when I try to open another app the touchscreen(of device) stop to work :confused:

then, I have to restore system(xrec), what it could be?
[Sony Ericsson XPERIA X10 Mini] slade87:
no need to restore just reboot

its not yet final its pre-alpha or course not everything will work :)
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
Really grt thanks a lot.
[Sony Ericsson XPERIA X10 Mini] riesan:
Wonderful news... looks like we will have our device MT at last.. hope u guys can complete it ..

+1+1 to dox and slade
[Sony Ericsson XPERIA X10 Mini] Carcass.br:
So, I restored because I thought that touchscreen had stop to work xD

But still with problems, i installed ".ko" and MT works with MT visualizer 2, so I reboot phone and then MT stops to work again(with MT visualizer 2 open) :confused:

Am I doing something wrong?:confused:
[Sony Ericsson XPERIA X10 Mini] slade87:
after every reboot it will stop working yes.

its not finished so its not integrated to be loaded at boot yet.
[Sony Ericsson XPERIA X10 Mini] Carcass.br:
So, is it that i try to say, if i install and not reboot, my touchscreen stop to work(really sorry about my english), if i understand right, this file is just for test and see that MT is possible in x10 mini pro, right?

If yes, i understand now, sorry, and very thanks, I'm excited about the final version :)
[Sony Ericsson XPERIA X10 Mini] Yperion:
gr8 work guys...

thanks for your work..

but when i insmod it my phone hangs and the touchscreen dont work not even the orientation sensor :(

i m gonna look @ my last_kmsg tomorow coz now i m gonna sleep...

i have change the name of the module if that affects anything...

Regards.
[Sony Ericsson XPERIA X10 Mini] NickThess:
You must have 'multitouch visualizer 2' app already open(not running on background,open on the screen) by the time you insmod the file.Then try to pinch witch your fingers and you'll see that it works.Touchscreen stops working for whatever other use in phone except the multitouch app.I had it renamed and it worked, so no problems there.
[Sony Ericsson XPERIA X10 Mini] slade87:
touch screen doesnt stop working ;)

use two fingers and hold one finger down and move the other to i.e. slide the lockbar.

this is the not optimized part yet
[Sony Ericsson XPERIA X10 Mini] NickThess:
Aha...i'm bored to try it right now,i'm just pleased that i saw two touch points in the app :D good job!
[Sony Ericsson XPERIA X10 Mini] SpliFFdu95240:
And about the mini (not the pro ) ?

It's fu*k for us ?

En tout cas, bravo messieurs !
[Sony Ericsson XPERIA X10 Mini] Carcass.br:
Not working here, but thanks slade, I'll wait for the final version :)
[Sony Ericsson XPERIA X10 Mini] slade87:
i've tried a few things so maybe it wasnt in the .ko i uploaded :)
[Sony Ericsson XPERIA X10 Mini] Iskander.g:
AFAIK it have different digitizer with mini pro and same with x8 so it have "emulated" dualtouch pinchs by doixanh but didn't have real multitouch like we see on mini pro
[Sony Ericsson XPERIA X10 Mini] SpliFFdu95240:
http://blog.se-nse.net/x10-mini-with-multi-touch-support/

So, it's wrong ?

Maybe DT work on X10 Mini ( and not with x8 ) ???

I see that Nexus One have a Synaptics ClearPad 2000 sensor and support dual touch, so why not us ?

http://webcache.googleusercontent.c...k&gl=fr&client=firefox-a&source=www.google.fr

Sorry for my bad english
[Sony Ericsson XPERIA X10 Mini] albanezi:
Please can someone make a very thorough step by step guide as I do not understand how to get this ABD Shell, Im a noob in this!
[Sony Ericsson XPERIA X10 Mini] NickThess:
http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/ This should help(mostly the words,not the video).I didn't know anything about adb shell etc. until some hours ago, but it helped me out.
[Sony Ericsson XPERIA X10 Mini] albanezi:
double post
[Sony Ericsson XPERIA X10 Mini] albanezi:
Please some one help, i have exactly the same problem.
[Sony Ericsson XPERIA X10 Mini] darrie1:
@ slade/doixanh isnt it smarter to move this to a new thread?
[Sony Ericsson XPERIA X10 Mini] D4rKn3sSyS:
I think something like multitouch X10 mini pro.. comments .. cuz here it's gonna be so mux spam :)
[Sony Ericsson XPERIA X10 Mini] albanezi:
Hey, does the phone have to be rooted for this to work?

Its giving me this:

insmod: init_module '/sdcard/cy8ctma300_ser.ko' failed (Operation not permitted)
[Sony Ericsson XPERIA X10 Mini] D4rKn3sSyS:
try moving it to /system , and renaming to something easier like mt.ko, and i think you need root :)
[Sony Ericsson XPERIA X10 Mini] albanezi:
can i root with z4root?
[Sony Ericsson XPERIA X10 Mini] D4rKn3sSyS:
Im sorry but here is not the place to ask that, it depends of you baseband
[Sony Ericsson XPERIA X10 Mini] albanezi:
OK, well I managed to root it and also managed to shell root it (whatever that means) but it still doesnt work! Im gonna give up I think! I wish someone could youtube a video of their handset working, i would love to see it!
[Sony Ericsson XPERIA X10 Mini] crickyo:
try using the search button instead of spamming the thread :rolleyes:

just tested this out using terminal emulator hard to rename had to change the _ in the file name to - because i cant figure out how to do an underscore on the hardware keyboard in terminal emulator

dual touch works in multitouch visualizer which is awesome but after the screen locked none of the touch points would show the screen allowed me to unlock it but i couldnt figure out how i managed to do it , i tried holding one point and sliding with another finger as suggested before in the thread but no matter where i tried it wouldnt slide then after a few random presses it worked

tried to see if they would show up in pointer location in dev tools but nothing shows

if your using terminal emulator like me the hardware keys still work so you can get into multitouch visualizer if its in your recent apps by using the menu key left right arrows and the enter key

if you have trouble getting this to work i suggest you leave the guys to it, as it is now there is no reason to have this other than being able to see it works in a few instances i found it pretty straightforward to get running from slades instructions if you have trouble following them just leave it for now and be patient , i can only guess when its ready itll either be packaged in a rom or as a hotfix

keep up the great work dudes :) :p :D :cool: ;)
[Sony Ericsson XPERIA X10 Mini] *boy*racer*:
I couldn't beleive it when I got it going!

Here is a screenshot I took :-D

Its awesome!!!
[Sony Ericsson XPERIA X10 Mini] D4rKn3sSyS:
Recording a video :)

EDIT:

Wanna look at this?:

http://www.youtube.com/watch?v=i1R-JN12CXQ

Multitouch First Video :)

EDIT2

For people who are having problems with adb, download terminal emulator frrom market.

Flash this through xRecovery - Link - MD5 - 992FD85AE8334CCA0582D753235FF494

Open terminal emulator and write this:

su
sh /system/mt.sh

Su, should ask for permissions, press allow :), after this, script wait 25 seconds to open module, so you have 25 seconds to open MultiTouch Visualizer 2, and enjoy, when you done, reboot device

PD: It's not automatically loaded at start, you need to type on console every time you want multitouch, and then reboot for stop it :)
[Sony Ericsson XPERIA X10 Mini] Banwell13:
This is awesome!! Keep up the amazing work youguys. Never thought we would get multitouch. :-)
[Sony Ericsson XPERIA X10 Mini] riesan:
yea test it already and it really is here...

hope it will get finish soon ^^
[Sony Ericsson XPERIA X10 Mini] newtron_b1:
some problem here! touch stopped working! CM6 by Owain!
[Sony Ericsson XPERIA X10 Mini] Andreson01:
Here too!!!!!!!!
[Sony Ericsson XPERIA X10 Mini] slade87:
Just reboot the pphone
[Sony Ericsson XPERIA X10 Mini] doixanh:
I suggest to create a new thread for slade87 to update instruction, info and release.

It seems that many ppl cannot/do not want to read instruction posted by slade...
[Sony Ericsson XPERIA X10 Mini] slade87:
yes i certainly will.
[Sony Ericsson XPERIA X10 Mini] Iskander.g:
Thank you D4rKn3sSyS for this script!

I tried it in Air Hockey speed and it's really work!

2 players can play airhockey now - this is the best demonstration of multitouch to my friends :D

Instruction:

1. download air hockey speed (or some other two-player game) from market

2. run game in two-player mode (for faster switching between apps)

3. go to the terminal emulator and run D4rKn3sSyS's script

4. go to airhockey and wait about 20-30 second while script will enable multitouch

5. enjoy the game! :D

Can't record the gameplay video, may be somebody else can.

Thak you slade, doxian and D4rKn3sSyS for great work!
[Sony Ericsson XPERIA X10 Mini] dart760:
some trouble....

error:

insmod: init_module '/system/etc/mt.ko' failed (File exists)

:(
[Sony Ericsson XPERIA X10 Mini] Eyama:
its working realy nice ;)
[Sony Ericsson XPERIA X10 Mini] albanezi:
baa humbug, i dont understand slade's instructions on the new thread at all! If someone could make screen shot thorough instructions, it would be awsome.
[Sony Ericsson XPERIA X10 Mini] axpira:
Thanks slade and doixanh!!!!
[Sony Ericsson XPERIA X10 Mini] x10man:
This may sound stupid but is it full multitouch or the x8 one that fakes the gesture? I cant seem to find this out

Thanks in advance
[Sony Ericsson XPERIA X10 Mini] slade87:
Full/Real Dualtouch
[Sony Ericsson XPERIA X10 Mini] shravanchoudhary9:
thanks a lot dox and slade87

one question is mini pro also supports multitouch (i don't know what may be use of multitouch):D

can any body list the tricks for dual touch on phone so i can impress ma frnds also some apps...and games...:p
[Sony Ericsson XPERIA X10 Mini] Davixxa:
In Browser: Like on iPhone do the Double Pinch to zoom

GameBoid Lite: Simply do like you would do on a Real GameBoy

Other apps with MT: Depends on app
[Sony Ericsson XPERIA X10 Mini] axpira:
I'm trying to open a terminal and type: insmod mt.ko, but the cell phone restart.

Do you know this problem?
[Sony Ericsson XPERIA X10 Mini] slade87:
if you are on cm7 please just flash this :

http://www.multiupload.com/X62WN2QHDI

via xrecovery. dual touch and mddi module will be enabled
[Sony Ericsson XPERIA X10 Mini] axpira:
Thanks!! Now It's working!!!

Thanks!!!!!
[Sony Ericsson XPERIA X10 Mini] x10man:
thanks for the info slade & good job

just asking because from reading all of this thread it looks as if we were trying to patch in a module simmilar to the x8 one
[Sony Ericsson XPERIA X10 Mini] flex96:
hey slade

your hotfix work on my stock ROM

could that be???

i edit only the build.prob
[Sony Ericsson XPERIA X10 Mini] danigladson:
im having x10 mini wid stock 2.1.1....i want dual touch on stock 2.1.1....is dat possible??
[Sony Ericsson XPERIA X10 Mini] dazzle999:
what is the current status on this multitouch driver? because ive heared se is pushing out a update for the x10 wich would allow this.

and maybe that woulld be interesting for us aswell.
[Sony Ericsson XPERIA X10 Mini] loki4321:
SE officialy said that they won't release any further updates for the Xperia Model.. ;)

So i dont thing that they will bring multitouch on X10.. or App2SD.. even when its no big thing to make for such a big company....
[Sony Ericsson XPERIA X10 Mini] Passaralho:
Wrong!

They said they won't be updating android anymore, not x10 or xperia models.

They gonna stuck to android 2.1 but they will release updates.

If they plan to include multitouch or not, that's a different question.

Regards
[Sony Ericsson XPERIA X10 Mini] Manny-:
They will give the MT update for the x10 but sadly not for us Mini/Pro users.
[Sony Ericsson XPERIA X10 Mini] loger8:
I believe that they will release it for all x10, big and minis, because they've always updated everything as a block, the x10
[Sony Ericsson XPERIA X10 Mini] gorunn:
Yup, you are right.. I saw somewhere video about SE testing multitouch drivers for x10 series ( SE blog i presume).

Here is the video.

As you can see, drivers are not quite accurate thus leading to strange behavior when x-y axis collide.
[Sony Ericsson XPERIA X10 Mini] newtron_b1:
now X10 has got MT when mini and pro s gonna have it?
[Sony Ericsson XPERIA X10 Mini] Biodegradable:
never .. there is only one last update for x10 mini/pro the ANT+ update.. SonyEricsson Uk said there will be no MT for the mini's.
[Sony Ericsson XPERIA X10 Mini] newtron_b1:
then can we make the MT driver in x10 working in mini or pros? i think dev ppl can do that!
[Sony Ericsson XPERIA X10 Mini] owain94:
We can do that and you dont need to be a dev to do thats...

But it will not work sir
[Sony Ericsson XPERIA X10 Mini] newtron_b1:
i want that thing working buddy!! that's why i said "DEV PPL"
[Sony Ericsson XPERIA X10 Mini] owain94:
Sir im am working on the driver and i am trying to change them and implent multitouch so i can say you

Sir i am a dev and it your plan will not work!
[Sony Ericsson XPERIA X10 Mini] newtron_b1:
oops.. my bad..
[Sony Ericsson XPERIA X10 Mini] owain94:
No problem ofc :P

But just to let you know im trying to getting multitouch work on mini and pro if i make progress i'll stay in touch
[Sony Ericsson XPERIA X10 Mini] newtron_b1:
your d man bro!! make it work..!! hope u'll be successful!
[Sony Ericsson XPERIA X10 Mini] Johev:
Cross our fingers. This would prove once again the value of XDA DEVELOPERS.

You can turn a rock into a diamond.

Keep up the good work.
[Sony Ericsson XPERIA X10 Mini] owain94:
I will work on this later CM6 and CM7 have priority now
[Sony Ericsson XPERIA X10 Mini] nfreddi:
Hope you can get it to work! That would be awesome!
[Sony Ericsson XPERIA X10 Mini] loger8:
owain94, first of all, thx for your work with CM, and now one question: drivers can't be changed with the bootloader there right? well, i know the kernel can't be changed, nd well, you seem very confident in the fact that we can get MT, so im starting to get confused of what is what ^^u,
[Sony Ericsson XPERIA X10 Mini] ^Shader^:
Shader thinks...

This thread needs more attention! :D This is definitely the next big thing for the Xperia X10 Mini Pro...

Maybe they should even sticky this one :p; either way I hope after Froyo works for Mini Pro that the attention will all go to Multitouch!

Cheers!

- Shader :cool:
[Sony Ericsson XPERIA X10 Mini] owain94:
You can always use workarounds like multitouch emulator or even force the kernel to use your driver bur thats gomma ne hard but not impossible they also said you cant have custom roms without custom kernel
[Sony Ericsson XPERIA X10 Mini] ^Shader^:
The question I'm sure everyone is dying to ask: can you do it? :D
[Sony Ericsson XPERIA X10 Mini] owain94:
i can't tell but why not try?

who never tries who never knows

we will see after the Cyanogen mods :)
[Sony Ericsson XPERIA X10 Mini] ^Shader^:
Looking forward to that! Good luck mate!

:D

- Shader :cool:
[Sony Ericsson XPERIA X10 Mini] Johannes94:
multi touch on mini pro is my dream.
[Sony Ericsson XPERIA X10 Mini] shaggoth:
subscribed :)
[Sony Ericsson XPERIA X10 Mini] owain94:
im really intressed in this part

static int __init cy8ctma300_ser_init(void)
{
int rc;
DBG(printk(KERN_INFO "%s: enter\n", __func__));
rc = platform_driver_register(&cy8ctma300_pf_drv);
if (rc) {
printk(KERN_ERR "%s: Unsuccessfull pf drv reg\n", __func__);
return rc;
}
rc = serio_register_driver(&cy8ctma300_ser_drv);
if (rc)
printk(KERN_ERR "%s: Unsuccessfull ser drv reg\n", __func__);
return rc;

}

if we mod that lines we can unload the driver from phone memory and load our own driver (aka module in .ko format)

i think it should be looking somethign liek this to unload and load diff module

static int __init cy8ctma300_ser_init(void)
{
struct ser_driver * new;
struct device_driver * old;

old = driver_find(CY8CTMA300_SER_NAME, &cy8_bus_type);

if (other)
{
put_driver(old);
new = to_cy8_driver(old);
//driver_unregister(old);
cy8_del_driver(new);
}

cy8_wq = create_singlethread_workqueue("cy8_wq_mod");
if (!cy8_wq)
return -ENOMEM;
return cy8_add_driver(&cy8ctma300_ts_driver);
//return cy8_register_driver(NULL, &cy8ctma300_ts_driver);

}

now we need to rewrite the driver :o