Softkeys and D-pad keys problem solved! - HTC Wings

Software solution for a hardware problem!
Very often when i press softkey or any d-pad key once, it is interpreted as multiple key press. Other users also reported that problem. I even send my device to repair center in UK, but they repaired everything except that. That is VERY VERY annoying! Sometimes i can't unlock the keyboard because of that.
So to solve the problem, i created an application (without UI) that will not allow pressing any of those keys more than once in period of 200ms (without timer, so your battery will not suffer). You can change that value through configuration file and also the keys that you want to monitor (comma-separated). I tested the application for a day, and it works perfectly!
112 - left soft key
113 - right soft key
37 - left
38 - up
39 - right
40 - down
13 - enter
Suddenly i feel free!
After install, shortcut will be created in \Windows\Startup folder so that it is started every time you restart your device.
When you install the application you will have to start it manually or restart device.
Device becomes usable again if you ignore low memory problem
.NET Compact Framework 3.5 is required!
Enjoy!

Good work and a very usefull app, mine thankfully does not double tap too often but I might give this a whirl.
Thanks for the work!

Seems to work great, thanks a lot

I'm glad you find it useful.

I get the following message when trying to run the htckeyboardfix.exe:
Error:
An unexpected error has occured in HTCKeyboardFix.exe.
Select Quit and then restart this program, or select Details for more information.
This application requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device.
I have a HTC S730 with WM 6.0 (original), phone is just new and no updates available... Did you install a newer version of .NET framwork? (don't know how to find out my version of .NET, OS version is = 5.2.1622 build 18128.0.4.4)

Same problem as bmwheaven here. Are you using a cooked rom?

You need to install .NET Compact Framework 3.5.

Thanks for the heads-up.
Installed the framework and the software, but for me it's not really a solution:
The delay of 200ms is way too much; can't even scroll through the menu's normally.
Tried alot of different delays, but nothing; I want to be able to write fast with the qwerty-keyboard, and only a delay of <50ms would help. But then the device responds twice to keypresses again...
Thanks for trying though, certainly a good try, but quite not good enough.

hi - i wont to test this on my MTeoR, install Framwork 3.5, and now i get this Message:
failed acquiring of the hook
whats means this ??
thx, Andi

bmwheaven said:
Thanks for the heads-up.
Installed the framework and the software, but for me it's not really a solution:
The delay of 200ms is way too much; can't even scroll through the menu's normally.
Tried alot of different delays, but nothing; I want to be able to write fast with the qwerty-keyboard, and only a delay of <50ms would help. But then the device responds twice to keypresses again...
Thanks for trying though, certainly a good try, but quite not good enough.
Click to expand...
Click to collapse
I agree that 200ms is too much if you want to scroll through the menu by fast pressing D-pad buttons, because main purpose of this application is to prevent that. What you can do is press and hold d-pad buttons and when you are close to where you want to be you can use slower multipress way to get right where you want.
Personally, to me this is an excellent solution, scrolling through the menus are not problem at all for me.
I am not sure what you mean when you say "I want to be able to write fast with the qwerty-keyboard". Why can't you? I mean, this application does not affect any other keys except soft keys and d-pad keys.

gosinga said:
hi - i wont to test this on my MTeoR, install Framwork 3.5, and now i get this Message:
failed acquiring of the hook
whats means this ??
thx, Andi
Click to expand...
Click to collapse
It probably means that your device is not application unlocked.

amaric said:
It probably means that your device is not application unlocked.
Click to expand...
Click to collapse
thx for answer, but my device is surley unlocked - i have it for 1,5 years and flashed it with some ROM's from here, and it was an open device - not locked from an operator.
so long, Andi

amaric said:
I agree that 200ms is too much if you want to scroll through the menu by fast pressing D-pad buttons, because main purpose of this application is to prevent that. What you can do is press and hold d-pad buttons and when you are close to where you want to be you can use slower multipress way to get right where you want.
Personally, to me this is an excellent solution, scrolling through the menus are not problem at all for me.
I am not sure what you mean when you say "I want to be able to write fast with the qwerty-keyboard". Why can't you? I mean, this application does not affect any other keys except soft keys and d-pad keys.
Click to expand...
Click to collapse
Ah, maybe I'm doing something wrong then.
Because I also tested this with sending text-messages, and it really skipped a lot of keypresses.
Did I have to change values in the config file myself; does the program respond to all keys if I don't edit the config-file or did you already put the d-pad and softkey configuration in there?

bmwheaven said:
Ah, maybe I'm doing something wrong then.
Because I also tested this with sending text-messages, and it really skipped a lot of keypresses.
Did I have to change values in the config file myself; does the program respond to all keys if I don't edit the config-file or did you already put the d-pad and softkey configuration in there?
Click to expand...
Click to collapse
If you don't change the config file, then program will monitor only d-pad and softkeys. Behavior of any other key is the same with or without the application.

Contact HTC Support
HTC Customer support is not aware of this problem. They urge us all to report the issue with the keys, so it can be escalated to HTC development for a fix.
Please do so at:
http://www.htc.com/europe/CS_Mail.aspx

Hallo
My HTC has the same keyboard problem, and Italian support (sigh!) told me to send to repair....
Tested amaric's software : at the moment works great.
Thank you!!!! You delayed the moment in which I will throw the S730 out of the window!!

tested since 26th august: PERFECT
thank you Amaric: I had the intention to change the phone, but with this application it can be decently used

I am really happy that I could help you guys!
I would also like to say that I sold my s730 and bought s740 because of low memory (I just can't create software to solve that problem ). Although I don't recommend HTC devices easily I must say that s740 is everything that I thought s730 will be. I am very happy with it. Almost no problems at all

I also get "failed acquiring of the hook" on my unlocked S730.
Anyone figured it out?

Look for a software called "hook manager" - install it and it should work.
http://www.mobiion.com/downloads.html#hookmgr

Related

S2U2 and Voice Dialer

I can't use voice dialer when S2U2 locks phone, is there a way around this? I like the S2U2 application, but when I am driving and need to make a phone call via bluetooth handfree I can't, because s2u2 block the voice dialer.
I did look for a solutions via the search engine and in the s2u2 thread, but no luck thus far.
which device?
which ROM?
which voice dial app?
smittyofdhs said:
which device?
which ROM?
which voice dial app?
Click to expand...
Click to collapse
Thanks for your response,
HTC 8925 (Tilt)
Dutty's Touch AT&t beta 2
Cyberon Voice Speed Dial V1.2 build 070626
The newest version of S2U2 v0.95 offers a solution to this problem by adding the ability to use exceptions to temporarily disable S2U2.
1) Install the new version.
2) Run iLock2 to close the application.
3) Use a registry editor:
Under \HKEY_CURRENT_USER\Software\A_C\S2U2, find an open ExceptionEXE(0-9) (STRING). I used ExceptionEXE3. Enter the value: "SDDialer.exe" (this is the application that runs when you press the button on your bluetooth headset).
4) Run iLock2 to restart the application and you're done.
Thanks to tompol for discovering this solution. I first tried it by entering the value: "Voice Speed Dial.lnk", but this didn't work.
Hello,
i have another problem with S2U2 on my Kaizer, and i think i created it but cannot get through it. After i did some changes on the S2U2 settings now every time the lock goes on and even if i open the settings i get a black screen and can not do anything. If i press the power on button to turn off the screen and then on, i get the S2U2 screen but frozen, with out any animation! I have tried to remove and re-install the application but i get the same response from the program. Could someone give me some help, because i really like the application but can not use it...
TIA,
Nikos.
NikoS3 said:
Hello,
i have another problem with S2U2 on my Kaizer, and i think i created it but cannot get through it. After i did some changes on the S2U2 settings now every time the lock goes on and even if i open the settings i get a black screen and can not do anything. If i press the power on button to turn off the screen and then on, i get the S2U2 screen but frozen, with out any animation! I have tried to remove and re-install the application but i get the same response from the program. Could someone give me some help, because i really like the application but can not use it...
TIA,
Nikos.
Click to expand...
Click to collapse
did you turn on the directdraw option or safe mode option?
When you uninstall an app, it leaves behind the registry entries. As soon as you reinstall the app, those settings are in affecct again. Uninstall the app, use a registry editor to remove the following key, soft reset, then try to reinstall:
The key to remove is HKCU\Software\A_C
Ok, I had the exact same problem, the problem is indeed with D3D option, you need to disable it. As soon as it is off and the settings are saved, the program works fine once again, and smoother then previous version.
This part is gonna be hard to explain... but here it goes...
First thing to do is run ilock so that when u turn the screen off it doesn't start S2U2.
When you open the settings the screen freezes, like the kaiser crashed, but if you move down and you turn the screen off and on, you'll see the menu scrolled down.
Basically that means u're working blind, changes do occur but u can't see, so the process is to move it down, turning the screen off and on sistematically until u see the d3d option and turn it off, then save it.
Hope I explained myself enough.
Takes some work, but doesn't require registry tweaking and other settings are kept.
Keep posted on results.
Cheers, Esko
NikoS3 said:
Hello,
i have another problem with S2U2 on my Kaizer, and i think i created it but cannot get through it. After i did some changes on the S2U2 settings now every time the lock goes on and even if i open the settings i get a black screen and can not do anything. If i press the power on button to turn off the screen and then on, i get the S2U2 screen but frozen, with out any animation! I have tried to remove and re-install the application but i get the same response from the program. Could someone give me some help, because i really like the application but can not use it...
TIA,
Nikos.
Click to expand...
Click to collapse
Thank you both for your fast and details replies!!!
It was indeed the direstdraw option. It was easier for me to try eskostar's method, especially since i had tried the same blind procedure but i did not figure the trick with running the ilock first!!!
Everything worked out great!!! Now i can use this excellent program again!!!
Thank you again!!!
Cheers, Nikos
I have this problem. When I start S2U2 and miss call screen remains as it is when someone call (caller's number and slide to answer or two buttons with green and red phone). Whatever I push or click nothing happens. So I must softreset or turn off and on my Kaiser. Some tips?
Sorry I dont have that issue. However my problem with this version of S2U2 is when SLide to Answer is Active you can still use the Hardware Keys to answer!
Anyone no how to deactivate the Hardware keys during Slide to Answer?
MM
bersca said:
The newest version of S2U2 v0.95 offers a solution to this problem by adding the ability to use exceptions to temporarily disable S2U2.
1) Install the new version.
2) Run iLock2 to close the application.
3) Use a registry editor:
Under \HKEY_CURRENT_USER\Software\A_C\S2U2, find an open ExceptionEXE(0-9) (STRING). I used ExceptionEXE3. Enter the value: "SDDialer.exe" (this is the application that runs when you press the button on your bluetooth headset).
4) Run iLock2 to restart the application and you're done.
Thanks to tompol for discovering this solution. I first tried it by entering the value: "Voice Speed Dial.lnk", but this didn't work.
Click to expand...
Click to collapse
Thank you for your response, I will try this when I get back from vacation.
Sempai32 said:
Thank you for your response, I will try this when I get back from vacation.
Click to expand...
Click to collapse
Did this work for you?
Im having the same problem, but dont have a registry editor installed to test it.
LDJ said:
Did this work for you?
Im having the same problem, but dont have a registry editor installed to test it.
Click to expand...
Click to collapse
yeah it works, get a reg editor and do as stated, it works.
Just saw this, and now it won't lock on it's own now that I did the regedit.
???
CocheseUGA said:
Just saw this, and now it won't lock on it's own now that I did the regedit.
???
Click to expand...
Click to collapse
if any of the apps in the exception list are running, not just in the foreground, even if they are running in the background, then [email protected] will not enable. Check your exception list, make sure none of those apps are currently running, then try again. If you still have issues after that, then it's with S2U2, not the exception list.
smittyofdhs said:
if any of the apps in the exception list are running, not just in the foreground, even if they are running in the background, then [email protected] will not enable. Check your exception list, make sure none of those apps are currently running, then try again. If you still have issues after that, then it's with S2U2, not the exception list.
Click to expand...
Click to collapse
Very well done.
Apparently Internet Explorer was still running, and as soon as I closed that it ticked off. May consider removing that key, as I don't see why I would need it.
Thanks.
CocheseUGA said:
Very well done.
Apparently Internet Explorer was still running, and as soon as I closed that it ticked off. May consider removing that key, as I don't see why I would need it.
Thanks.
Click to expand...
Click to collapse
Good deal, glad it worked for you....
when I install S2U2 (i go thru phases where I want it, then phases of "get it off my Tilt") the first thing I do is remove the exception for PIE.
FYI.... Likewise, if you run any of the Cube or TouchFlo variants out there, you will need to put an exception into the TouchFlo settings for S2U2. What happens if you don't is when you try to slide to unlock (or slide to answer) you end up invoking the Cube or TouchFlo, instead of S2U2. Just an FYI for you....
Thanks for the tip. Am still looking into wicked programs so far, only had it two weeks and it's already been through the mod ringer.
CocheseUGA said:
Thanks for the tip. Am still looking into wicked programs so far, only had it two weeks and it's already been through the mod ringer.
Click to expand...
Click to collapse
that's the way to do it. I've been using PPC devices for years and years and everytime I get a new one, I try every hack, reg edit, tweak, and app possible.

Spacebar fix?

I have an issue with the spacebar. Everytime u press the space bar it doesn't actually register the space on screen until you LET GO of the space bar button. That is, press down and release. Every other button just waits for the press down, but for some reason the space bar is on a slight delay.
This causes many of my words to run together: liket his.
Any way to fix this issue??????
Space bar action
redsrule2500 said:
I have an issue with the spacebar. Everytime u press the space bar it doesn't "lock in" the space on screen until you LET GO of the space bar button. That is, press down and release. Every other button just waits for the press down, but for some reason the space bar is on a slight delay.
This causes many of my words to run together: liket his.
Any way to fix this issue??????
Click to expand...
Click to collapse
My Tilt doesn't seem to do this - the spacebar is stiffer than the other keys, but when I press it firmly I see the cursor immediately jump forward.
So I'm guessing you have a hardware problem.
hmm...it really doesn't feel like a hardware issue. The spacebar pushes down and up fine, it just seems like its progrmamed to "SPACE" upon release of the key, rather than press-down.
if you hold it down it will start repeating spaces, though...just takes a little longer than other keys....
Since you're running Dutty's Rom, I'd suggest it has to do with the XT9 settings of the ROM. Download a cab from Dutty's server called "Disable_XT9.cab" and run it. Should fix your problem (did so for me).
Good luck.
H.
lesevich said:
Since you're running Dutty's Rom, I'd suggest it has to do with the XT9 settings of the ROM. Download a cab from Dutty's server called "Disable_XT9.cab" and run it. Should fix your problem (did so for me).
Good luck.
H.
Click to expand...
Click to collapse
I installed the cab, but I don't think it fixed the problem!?!
Is there any special instructions !?!
What about shaps rom? 4.31?
Oops, guess you have to restart for it to take effect!
THANKS!!
Hi,
According to Laurentinus, this lag is possibly related (at least in WM 6.1) with Screen / keyboard drivers and, possibly with HTC home…
He claims that the problem is solved in his new Rom LS V4…
More information here:
http://forum.xda-developers.com/showthread.php?t=366014&page=37
Cheers
I have this problem on the HTC official rom running on the tmobile variant,
have to live with it i guess!!!!!
I have the same issue on my Tilt with the original AT&T ROM and Dutty's ROM. Very annoying. I was almost ready to go get a Blackjack 2 instead, but now I see the new AT&T ROM that I"ll give a try.
lesevich said:
Since you're running Dutty's Rom, I'd suggest it has to do with the XT9 settings of the ROM. Download a cab from Dutty's server called "Disable_XT9.cab" and run it. Should fix your problem (did so for me).
Good luck.
H.
Click to expand...
Click to collapse
http://forum.xda-developers.com/atta...0&d=1198925369
I just installed Duty's disableT9.cab fix and here is what happend:
1) space bar now responds as soon as you push it (not on the release)
2) my spell checker kicked in, and also names of people in my TO address automaticly searches.
This is how it was with WM6.0 and i liked it. Everyone using dutty's rom needs to install this fix to get their keyboard spacebar and spell checker to work right!

MS Voice Command setup failure

Hey Guys
I just purchased and downloaded MS Voice Command 1.60 M2M and every time i try to install it I get the following error at the very end of the install:
"An unrecoverable error occurred in setup. Reset the device and try again."
It does seem to install it but nothing of MS VC works.
Having done a forum search I couldnt see any ideas so, i'm here asking for your help
Any ideas?
If I remember correctly, i'm running the Diamond TLR build ... :/
just tried SK-Tools to delete the old version and resinstall direct from the CAB file .... no luck.
Hi,
can you tell me your EXACTLY version of VC.
On some versions you'll need to change some files.
Hey mate
VoiceCommand_english_intl.exe
Microsoft Voice Command UK PPC 1.60 for M2M
Got it from Handago or something like that today
If I need new files, any idea where I might get them from?
Bit cheesed to be honest, I've bought this software, paid for it and it don't work.
OK,
to get the exact version (1.60.xxxx.x) go to Start -> Settings -> Voice Command. At the right side you see "v1.60.xxxx.x". The x's are the exact version.
VC 1.6 have problems to work since Windows Mobile 6.x. I've made a CAB for the "normal" Touch a few months ago. With this patch I get it also to work on my Diamond.
I use an extremly old version of VC (1.60.4622.0). Perhaps it also works on your version.
What you have to do:
- Intall your VC
- Ignore the error message
- DEactivate VC (Start -> Settings -> Voice Command -> uncheck "activated")
- Install my CAB (you have to copy it first to the Phone)
- Activate VC again
Here the link: http://forum.xda-developers.com/showpost.php?p=2031281&postcount=7
Let me know, if it works
funnysurf said:
OK,
...
I use an extremly old version of VC (1.60.4622.0). Perhaps it also works on your version.
...[/URL]
Let me know, if it works
Click to expand...
Click to collapse
Thats the version that was sold to me earlier.... why are these online shops selling such old versions????
Will try your cab now.... brb
Nope..... thanks for your cab but still nothing .... just hold down button 1/left upside down phone and "dink".
Thats it.
Ahhh,
OK. These "old" version don't assign a key of Diamond to VC. Try to assign it manually in Settings. I use it only with my BT-headset for that. So I didn't assign a hardware key to VC.
Tell me if it works. If it's so, I'll make a new CAB with key assignment to the left (phone up) key.
thats the thing mate. The ONLY key I have assignable in Buttons is key 1 which im assuming is the phone up/left key? As it is, i've assigned this to VC and I only get a "dink" when I hold it down.
edit: seriously .... no other buttons are listed in that screen just button 1
Monty Burns said:
thats the thing mate. The ONLY key I have assignable in Buttons is key 1 which im assuming is the phone up/left key? As it is, i've assigned this to VC and I only get a "dink" when I hold it down.
edit: seriously .... no other buttons are listed in that screen just button 1
Click to expand...
Click to collapse
The Diamond has ONLY this one assignable (for long press). The "dink" is OK. Did you try to say something like "help" in the phone? Did it answer your "help" with an explanation of how to use VC?
yeah, tried "help" ... nothing.
I know its not working as on my G900 and tytn before that, a little microphone icon would appear in the bar at the top - its not appearing here.
Hm,
i've tried it now also. There ist no icon... And also no reaction :-(
I never tried it with a hardware button since now. I'll try to get an answer for that. Why does it work (for me) over BT, but not on HW-key...
I'll make some tests, but not more today (tomorrow at 5 a.m. I must get up).
Tell you then my solution, if I get one ;-)
funnysurf said:
Hm,
i've tried it now also. There ist no icon... And also no reaction :-(
I never tried it with a hardware button since now. I'll try to get an answer for that. Why does it work (for me) over BT, but not on HW-key...
I'll make some tests, but not more today (tomorrow at 5 a.m. I must get up).
Tell you then my solution, if I get one ;-)
Click to expand...
Click to collapse
Stay up!!!!!
Nah, thats great mate Thank you very much for trying today - really appreciate it
Enjoy tomorrow and I look forward to any ideas you may have
Hi,
I didn't forget you. I came home about 20 minutes ago. And I'm not realy able to think at the moment...
Is it for you OK to get (if I find one) an answer tomorrow?
Sorry for that...
mate
you are not under contract, you are here on your own free will
You help when you like and i thank you for ANY help you can provide, even if its next year!
Hi
I have the exact same problem so im also listening intensely for a solution
Hey Deeds
a few wise people are looking in to this for us. So far, we've tried a custom cab to fix it and also downloading the latest frame work from MS. Sadly, neither have worked.
You can follow the updates, questions and ideas in this thread
great thanks monty!
edit:
ive been trying for a couple of days now, with the same errror message as you.
ive also tried the patch linked to in another thread but also with no succes
and i too get the same ''dink'' sound even though i have mapped the button to VC instead of the default setting.
but it seems that this is the right place for answers so i guess i will just have to be patient
what rom are you using? I currently have the Diamond TLR, are you on a standard HTC or cooked?
and yes, if anyone in the world can solve it, this is the place they will be ... fingers crossed!
using
Rom: 1.93.403.2 danish
not really sure what cooked means ?

TouchFLO 3D on Xperia

Hi guys.
I'm new to the Windows Mobile world and only got my Xperia X1 a couple of weeks back. I want to get the TouchFLO 3D interface on there.
However, I want to use CABs which allow me to switch to the TF3D interface and back out again to Xperia, rather than using a cooked rom.
I've looked around and at first it seemed fairly simple, but then the installation wouldn't work because the file didn't have certification security (or something like that).
I've seen articles saying you have to install older versions first, and almost all seem to point to cooked roms.
Does anybody know of a way to install the TF3D interface from a CAB file, and be able to switch in and out of it, like you can do with Spb Mobile Shell 3.0.1?
I have Spb Mobile Shell 3.0.1 and Spb Weather installed, but I really want the TF3D interface... the weather animations on it are absolutely amazing!
Any help will be very much appreciated. Thanks for your time.
Regards
Sonny
If you check out the stickies in this section, one of them is all about programs, panels and tweaks.
http://forum.xda-developers.com/showthread.php?t=441439
Going through it, there is a specific one about installing TF3D as a cab and then running it as a panel.
Wow! Thanks Zenith.
Just managed to install Touch-IT_Blackstone_Manila.cab and then TF3DPanelInstaller.CAB.
Works a charm. Exactly what I was after.
I'm now going to install Touch-IT_Blackstone_Manila_HD_FULL.cab and see how the applications work.
Thanks again for guiding me in the right direction, very much appreciated.
Regards
Sonny
give him the real deal....go to rom section..
Issues With Right Selection Button
Not sure if this is a known and shared issue. Is anybody else having the following problem..?
After installing Touch-IT_Blackstone_Manila_HD_FULL.cab, my right-hand selection button (the one above the OK button) is not working correctly. E.g. on the Today screen, it does not take you to 'Contacts'.
The left-hand selection button is fine, and it does correctly take you to the 'Phone' screen.
The right hand button is functioning though, but it seems to just be working like the 'Hang-up' button. If I go into an app and press it, it takes me back to the Today screen, and the app remains open in the task manager.
I got a little worried and decided to revert back to the original setup of my phone by using Sony's update tool. The right-hand selection button began to work fine again. After re-installing Touch-IT_Blackstone_Manila_HD_FULL.cab, I've got the problem again.
I'm guessing this may be down to a registry change. Anybody have any idea if and how you could change this through the registry, and which regkey to amend? Or is there a tweak/fix for this issue?
Any help would be very much appreciated.
Regards
Sonny
Sorted Button Issue
Hmm, after checking the button settings again, it turns out the Right Selection button was set to Today. Removed the selection... sorted.
sonnysoul said:
Not sure if this is a known and shared issue. Is anybody else having the following problem..?
After installing Touch-IT_Blackstone_Manila_HD_FULL.cab, my right-hand selection button (the one above the OK button) is not working correctly. E.g. on the Today screen, it does not take you to 'Contacts'.
The left-hand selection button is fine, and it does correctly take you to the 'Phone' screen.
The right hand button is functioning though, but it seems to just be working like the 'Hang-up' button. If I go into an app and press it, it takes me back to the Today screen, and the app remains open in the task manager.
I got a little worried and decided to revert back to the original setup of my phone by using Sony's update tool. The right-hand selection button began to work fine again. After re-installing Touch-IT_Blackstone_Manila_HD_FULL.cab, I've got the problem again.
I'm guessing this may be down to a registry change. Anybody have any idea if and how you could change this through the registry, and which regkey to amend? Or is there a tweak/fix for this issue?
Any help would be very much appreciated.
Regards
Sonny
Click to expand...
Click to collapse
this is a known problem for tf3d. correct me if im wrong but all the cabs and cooked roms has this issue. sure you can assign the button in settings but after you turn phone off or reset tf3d it will always reset right button to today.
untick tf3d 1st then extract and paste in windows directory and your problem will be solved. hope that works for ya
himuraken said:
this is a known problem for tf3d. correct me if im wrong but all the cabs and cooked roms has this issue. sure you can assign the button in settings but after you turn phone off or reset tf3d it will always reset right button to today.
untick tf3d 1st then extract and paste in windows directory and your problem will be solved. hope that works for ya
Click to expand...
Click to collapse
So this is to enable the right button to be assigned? Hmm.... kind of remember having that problem but somehow it was solved. Think with B2 of Daran's cab.
ManilaToday.dll Fixed The Issue!
Thanks Himuraken!
The ManilaToday.dll fixed the issue. Replaced the one in my Windows directory and now I don't have to change the button settings after a reboot.
And just for the record, Ipporek, I have Daran's B3 CAB and I was still getting the issue before Himuraken provided me with this ManilaToday.dll.
Problem sorted, now to look at installing the essential software cabs for TF3D. Installed Youtube yesterday, seems to work okay. Will check out some of the others later.
Regards
Sonny
sonnysoul said:
Thanks Himuraken!
The ManilaToday.dll fixed the issue. Replaced the one in my Windows directory and now I don't have to change the button settings after a reboot.
And just for the record, Ipporek, I have Daran's B3 CAB and I was still getting the issue before Himuraken provided me with this ManilaToday.dll.
Problem sorted, now to look at installing the essential software cabs for TF3D. Installed Youtube yesterday, seems to work okay. Will check out some of the others later.
Regards
Sonny
Click to expand...
Click to collapse
glad it work for you. i forgot to mention that credit goes to the person that provided this in the touch itJe v7 thread. not sure who it was so please forgive me.
Hi, it is my first post in a long time. Now I'm Xperia user.
I tried to download the today.dll but the link is gone. Additionally, my manila is not working: for some unexplained reason the program keeps trying to enter but did not succeed. It starts and then restart without opening.
Can somebody help me? I'm not inclined to try a Rom with manila for in that case I lose the "Ç" key and the letter recognition.
I use the Brazilian Sony Rom version from April 23, 2009.
Thanks, in advance!
Manila not working on Brazilian Xperia
Hi, this is my first post in a very long time. I tried to install this on my Xperia but got 2 errors:
1 - the right hard key problem and the file Today.dll is no more available at the said link
2 - the manila tries to start but does not enter. It keeps restarting but to no avail!
Please, some help is in order! I use brazilian Sony Rom and a cooked Rom is not na option since I would loose the hard "Ç" key and the on screen letter recognizer.
Also, I could not put the "Transcriber" to work.
Thanks
KMur

Rewrite button driver

I was wondering, would it be feasible to rewrite the button driver to customize the X1 buttons? I mean even higher level than a key hook. Key hooks are annoying because they interfere with other apps that want to set key hooks. Hot keys are useful, but another application can come along and steal your hotkey. I want to modify the X1 buttons at a much higher level.
One thing for instance about the panel button i have always wanted to know. The panel manager sends out button code 0x00EA. Even if this event is suppressed by a key hook, the panel manager still opens. So I wonder what part of the OS is responsible for this? Is there a button driver dll that can be overwritten? Is the button driver built into the OEMXipKernel (but possibly overwrite-able at the ROM cooking level)?
Basically I want to know if it is possible to rewrite the button driver that actually detects the hardware interrupts from the keyboard/buttons and sends key press events to the OS. Does anyone know if this is possible? People have rewritten/modified things such as the battery and even display drivers. Is this in the same category?
yes there is keboard dll
keypad.dll it "supports" panel manager button, ok, arrows & everything else...
if U could write something like thi, it would be great... i think... I'm maniac of very useful Xperia buttons (there is no other device like sex1, which has so many buttons on front panel... ! it's just great !)
giving users possibility to bind actions (win lock, new process, win key, esc, ok, OK/Close, back, home, etc... to any ! button would be great !), swapping, changing them, different actions for different screens ... GREAT !! I can see !!
I was thinking long time ago about doing such of thing but has no idea how to modify existing keypad.dll (no such great programmer skills) or create new one but in "low level type" ... (interfacing hardware ? :/ noooo idea... ! )
If You'd like my help i could create advanced GUI Configurator of program...
cichy3000 said:
yes there is keboard dll
keypad.dll it "supports" panel manager button, ok, arrows & everything else...
if U could write something like thi, it would be great... i think... I'm maniac of very useful Xperia buttons (there is no other device like sex1, which has so many buttons on front panel... ! it's just great !)
giving users possibility to bind actions (win lock, new process, win key, esc, ok, OK/Close, back, home, etc... to any ! button would be great !), swapping, changing them, different actions for different screens ... GREAT !! I can see !!
I was thinking long time ago about doing such of thing but has no idea how to modify existing keypad.dll (no such great programmer skills) or create new one but in "low level type" ... (interfacing hardware ? :/ noooo idea... ! )
If You'd like my help i could create advanced GUI Configurator of program...
Click to expand...
Click to collapse
Yes it really annoys me that manufacturers dont like to let you modify buttons anymore. I wrote X1BC to modify the buttons but I am tired of higher level methods of trapping keys. I want to go straight to the source.
Let me start taking a look at keypad.dll. I see in my ROM kitchen that it exists as a file (not a module) in OEM drivers. I want to see what the effect of cooking a ROM without it is. Also I will look at references to it in the registry and try to examine dll exports (going to google for software to do this; any free PE analyzers?).
So keypad.dll imports coredll.dll and ossvcs.dll. It exports KBD_Close, KBD_Deinit, KBD_IOControl, KBD_Init, KBD_Open, KBD_PowerDown, and KBD_PowerUp. I dont know what parameters those functions should take though. I want to write a keypad.dll and replace the old one to see when these functions are called.
Found this:
http://read.pudn.com/downloads120/sourcecode/embed/511498/HID/CLIENTS/KBDHID/kbd.cpp__.htm
i cross my fingers... thats sounds great... maybe you can little inspire from X2 keyboard layout maybe dll...
Well.. I dont have an X2 to test that with. :-/
Before I can start experimenting with overwriting the keyboard driver, I need to know how to properly sign drivers. I know that without being signed properly a driver will cause the device not to boot. Can someone tell me how I sign my home cooked driver?
*edit*
Well, keypad.dll doesnt seem to be the low level *driver*. Its just a service. Found this by searching keypad.dll into my kitchen:
Code:
[HKEY_LOCAL_MACHINE\Services\Keypad]
"Prefix"="KBD"
"Dll"="keypad.dll"
"Index"=dword:1
"Order"=dword:15
"Flags"=dword:00010000 ; DEVFLAGS_TRUSTEDCALLERONLY
"DisableKeyLight"=dword:0
"DisableGhostKeyDetect"=dword:0
"ActionDebounceTimeout"=dword:64 ; 100ms
So perhaps my dll doesnt need to signed. I dont even need to replace the old dll. Just point it to my own dll. I just changed "Dll"= to something else and rebooted. Device boots just fine but now the buttons do nothing. Good sign .
some time ago I've accidentally replaced HTC Diamond keypad.dll with Xperia's one (well... i didn't know that with cab that I made, was included keypad.dll didn't notice that ) ... the only issue that came after this change was "no keyboard effect", after I installed one more time the dll but with the right one... the issue gone ...
Just as interesting for what's new? Sorry for my curiosity ... Thank you
I have only done basic experimentation so far. First changed keypad.dll to something else in the registry (something that didnt exist) and as expected the buttons stopped working. I have written a dll to replace it that exports the same functions and made it log every time a function is called. I get attached to many processes and receive some calls to KBD_Init and KBD_IOControl. Nothing in particular corresponds with when a button is pushed yet, but that is probably because I need to respond to KBD_Init by initializing the keyboard. Have not been able to work on it for a while but hopefully I will next week, as I am on winter break from school. Thanks for your interest!
Jon
so we have (via Dependency Walker ):
KBD_Close
KBD_Deinit
KBD_IOControl
KBD_Init
KBD_Open
KBD_PowerDown
KBD_PowerUp
and we don't know how to use them (what arguments to use)... so what can we do with it ? guessing parameters ?
cichy3000 said:
so we have (via Dependency Walker ):
KBD_Close
KBD_Deinit
KBD_IOControl
KBD_Init
KBD_Open
KBD_PowerDown
KBD_PowerUp
and we don't know how to use them (what arguments to use)... so what can we do with it ? guessing parameters ?
Click to expand...
Click to collapse
Look at the link in post 5. Hopefully they are the same. What I am going to do next when I have time is understand that code.
So it looks like those are just the standard exported functions necessary for a service dll. The real meat of what the dll does probably has nothing to do with them. What I need to know is how to recieve keypress info from the keyboard driver and how to inject key events into the OS. Can I just use keybd_event funtion to send key events?..
Looks like I found an answer to that. From MSDN:
http://msdn.microsoft.com/en-us/library/ms646304(VS.85).aspx
The keybd_event function synthesizes a keystroke. The system can use such a synthesized keystroke to generate a WM_KEYUP or WM_KEYDOWN message. The keyboard driver's interrupt handler calls the keybd_event function.
Is keypad.dll the interrupt handler? Or is that something else? It must be. Because if I kill the keypad service no button events get through. I dont see how missing that service would kill the keybd_event function. Off to experiment.
If keybd_event proves to be the correct way to send key events the last question is how to receive interrupts from the keyboard.
I have learned loads over the past day. I Now fully understand the role of keypad.dll it must register to receive the interrupt and use keybd_event to sent keys to the OS. Through disassembly of keypad.dll I have also learned that this role is not simple. This dll has a LOT of code. I dont think I will be able to reproduce everything it does.
I have a new idea however. All I need to do is intercept calls from keypad.dll and decide what to really send and call keybd_event myself. I still achieve the goal of catching key events before 3rd party apps. I can think of two ways to achieve this. One would be to patch keypad.dll to call my own routine instead of keybd_event. Another would by to leave the stock keypad.dll and hook the keybd_event API at runtime. While I have learned loads at how to disassemble dlls and read the assembly, I do not yet know how to modify the import table. On the flipside I do not fully know how to hook APIs. Any help? I would like to go the modify import table route as this seems infinitely simpler.
keyboard driver successfully hooked.
The most reliable button reprogrammer is under way.
Program in private beta.
http://forum.xda-developers.com/showthread.php?p=5272353

Categories

Resources