Trinity Button Lock down - Windows Mobile Development and Hacking General

I am trying to lock all soft and hardware buttons down on M700 unit except the power off button and the red phone button
I have had a bit of success with
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C1]
@="\"\\Windows\\AppButtons\\Voice Speed Dial.lnk\""
"Name"="Button 1"
"Icon"="\\windows\\blank.exe, 0"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C4]
@="\"\\Windows\\AppButtons\\Camera.lnk\""
"Name"="Button 2"
"Icon"="\\windows\\blank.exe, 0"
"ResetCmd"="\"\\Windows\\AppButtons\\Camera.lnk\""
"Flags"=dword:9
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C6]
@="\"\\Windows\\AppButtons\\Record.lnk\" -b"
"Name"="Button 1(Press & Hold)"
"Icon"="\\windows\\blank.exe, 0" ;Record
"ResetCmd"="\"\\Windows\\AppButtons\\Record.lnk\" -b"
"Flags"=dword:9
Unfortunately I am unable to lock down the
SIDE OK,FRONT OK , GREEN PHONE & WINDOWS BUTTON.
AE Buttons isnt really an alternative at the moment as this can still be overidden
Is there any registry tweaks that can be done to disable these buttons, AE Buttons will also not let me do this..
Can anyone help, its driving me mad!!!
I have been successfull on the prophet & artemis by writting a driver to work with the std keybddr.dll but this will not work with the prophet
Is there any simple way to lock all above buttons down except the power and red phone
PLEASE PLEASE HELP
COULD IT BE IN THE ACTUAL ROM OF THE M700 the reason I ask is when I dump the WM5 rom it doesnt dump the keyboard driver
Answers on a postcard
Thanks

I am able to map every button of by trinity using ae. not quite sure of what you mean by lock down, but in theory you deactivate all of them.

Is there a way to set the Red key to close (totally) the app that you're running?

iae button plus can just do that.

ww2250 said:
iae button plus can just do that.
Click to expand...
Click to collapse
Thank you!

Related

Camera not working

Greetings!
After instaling Windows 2005 SE in my Qtek 2020, I seem to have lost the camera and all its functions. Even by pressing the button on the side of the equipment nothing happens.
Anyone know what to do in this situation?
Regards
polemusa said:
Greetings!
After instaling Windows 2005 SE in my Qtek 2020, I seem to have lost the camera and all its functions. Even by pressing the button on the side of the equipment nothing happens.
Anyone know what to do in this situation?
Regards
Click to expand...
Click to collapse
check the button mapping: Start/Settings/Buttons
Please goto my post subject title button Bro.
Button
Button 3 registry fix.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Keys\40C3]
@="\"\\windows\\AppButtons\\Camera.lnk\""
"Flags"=dword:00000000
"Icon"="\\windows\\CameraIcon.exe, 0"
"Name"="Button 3"
"WndCls"=""
"BtnWnd"=dword:00000000
"ResetFlags"=dword:00000001
"ResetCmd"="\\windows\\AppButtons\\Camera.lnk"
Or simply import the *.reg file attached.
Click to expand...
Click to collapse
How do i add this to the registry?
I tried RegEditCe.v1.1 but that's useless

anyone know if you can lock the touchscreen ?

Hi all,
when you got the screen folded over and facing out, any way of locking the screen?
thanks
ross
I was also woundering about that...
when you have the screen in phone mode, there must be some way of locking the screen!
well if nobody here knows, o2 won't know!
Not sure if this answers your question but mine is set up thus:
In 'Settings/Buttons/Lock' set 'When device is off' to 'Lock all buttons except Power Button'
I keep the screen outwards and use the power button to lock/unlock.
One snag is that the phone seems to unlock itself when receiving an incoming call. I therefore can accidently cancel it trying to get the damn thing out of my pocket.
I do believe it locks the screen during installation of the ext rom..
This is done by running tpdisable.exe from the windows directory..
A word of warning though: IT'S DISABLED!
Unless you bind tpenable.exe to a button FIRST, you're screwed..
(Ok, a soft reset should fix it..)
I think they are called tpenable and tpdisable...
I don't have the device yet, so I can't check right now.
When I was looking at the config file, there was no mention of an exe, it was like a command (unlock your ext rom and take a look at it).
I got the impression this function was now embedded in the OS hence no exe. Probably wring of course....
Then it should be possible to make such a program, and assign it to a button..
Tried this one?
http://www.freewareppc.com/utilities/screenlockforpocketpc.shtml
could maybe work for your devicetype to
Hello,
pimbo said:
Tried this one?
http://www.freewareppc.com/utilities/screenlockforpocketpc.shtml
could maybe work for your devicetype to
Click to expand...
Click to collapse
Any one work out what the key combination is to diactivate it on the Universal?
TIA
I guess it would be the equivalent keys of leftmost and rightmost keys on HTC Blue Angel ('Windows' and 'Ok' keys!?)
However you guys, should try MortSaver (freeware also)
http://www.sto-helit.de/modules/wmpdownloads/viewcat.php?cid=7
At least you can set several parameter according your preferences.
I just found an issue related with Voice Speed Dial interworking.
Hello,
Conchas said:
... However you guys, should try MortSaver (freeware also)...
Click to expand...
Click to collapse
Many thanks, I like it!

Remapping the volume slider?

Has anyone figured out how to remap the volume slider on the Wizard?
I hardly ever want to change volume, just turn on/off vibrate mode which is a single keypress anyway, but i would really like it to be an up/down control like my old Dell Axim.
I know it functions like this in IE full screen mode, but I really want it for everything (especially MS Reader).
I think a lot of people would like this. It allows a better grip on the phone whilst moving within the app you're using (eg: MS Reader).
Any guru's got an idea about this one?
Joe
Remapping
Absolutely neccessary thing to fix (volume slider)!
And as using double-language hard-keyboard layout I am in desperate need to remap the change-layout sequence.
What about remapping in this OS, is it possible to do something?
Someone did this on the Magician (found it in that group on here at the time), I remember finding it very useful!
If someone could do a Wizard version that would be great!
Solution Found
Here is how you do it (and it was on the Magician forums, thx for the tip :wink: ):
Install the program found at the URL below, or from the attachment as you wish.
When you get the setup screen, choose "Do not handle" for all except the volume slider, which is set to up/down.
Ok it, and there you go, slider is now up/down and works in MS Reader, Today screen, and general folder browsing.
It says on the site not to put it on any device not listed as compatible, which doesn't include the Wizard, but "He who dares, wins..."
I am well chuffed with it. Now I am all ready for my commute on Monday.
http://ae.inc.ru/download/AEBPlus.zip
Joe
Unless this is a new version. DO NOT USE AEB+ WITH A WIZARD
I tried AEbuttons plus awhile ago and It deleted a couple of my buttons. I dont think it is meant for a device with as many buttons as the wizard. I had to go in and manually create the buttons again. I told it to handle all buttons though. Maybe telling it to only handle the volume slider doesn't cause this problem. I won't try it again until they actually say the wizard is compatible.
I just checked all buttons having read your post.
The only casualty is the connection manager button, which now only switches from audio vol. on to vibrate ringers when held down, and I have an icon on the today screen to go there anyway.
I can live with that
BUT BEWARE: No comms manager button = no hard reset = what do you do when you need to hard reset?
guttrhead said:
Unless this is a new version. DO NOT USE AEB+ WITH A WIZARD
I tried AEbuttons plus awhile ago and It deleted a couple of my buttons. I dont think it is meant for a device with as many buttons as the wizard. I had to go in and manually create the buttons again. I told it to handle all buttons though. Maybe telling it to only handle the volume slider doesn't cause this problem. I won't try it again until they actually say the wizard is compatible.
Click to expand...
Click to collapse
How did you restore the buttons?
Never mind:
http://forum.xda-developers.com/viewtopic.php?t=33795
joebongo said:
The only casualty is the connection manager button
.....
BUT BEWARE: No comms manager button = no hard reset = what do you do when you need to hard reset?
Click to expand...
Click to collapse
I just checked if it is possible to restore the connection manager button after installing AE Button Plus, and it seems to work
Just add these registry keys after you have installed the software and you have all your buttons back and an up down slider:
Code:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C6]
"Flags"=dword:00000000
"ResetCmd"="\"\\Windows\\AppButtons\\Comm Manager.lnk\""
"Icon"="\\windows\\CommManager.exe, 0"
"Name"="Button 5"
@="\"\\Windows\\AppButtons\\Comm Manager.lnk\""
[HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Keys\40C5]
"Flags"=dword:00000000
"ResetCmd"="\"\\Windows\\AppButtons\\Record.lnk\" -b"
"Icon"="\\windows\\HotVoice.exe, 0"
"Name"="Button 4(Hold)"
@="\"\\Windows\\AppButtons\\Record.lnk\" -b"
You can put this in a .reg file and open it on your Wizard to import into the registry
I don't think Windows minds the button to be remapped for a hard reset, the hard reset will probably still work if the button is remapped by software.
Did you figure out which reg entries are actually changed when the slider is remapped by AEB? If we can figure this out, we could create a file to do this without the need to recreate.
I am also getting slowdowns/crashed on syncing via USB, and am beginning to wonder if this is another AEB effect.
Joe
joebongo said:
Did you figure out which reg entries are actually changed when the slider is remapped by AEB? If we can figure this out, we could create a file to do this without the need to recreate.
I am also getting slowdowns/crashed on syncing via USB, and am beginning to wonder if this is another AEB effect.
Joe
Click to expand...
Click to collapse
I can't find any slider registry entries, but I have no idea where to look
I have noticed that once I close the AEB program my slider doesn't do anything anymore, so it might be possible that it is not just a registry entry

How to disable the Phone buttons ?

To secure a Qtek2020i i must disable the phone buttons.
Only the GPRS mode must stay in use. (no call)
Any solution is welcome.
THX for your help
Dany (tontonpc)
Do you just want to disable the buttons or the incoming and outgoing calling facility?
http://forum.xda-developers.com/viewtopic.php?t=16135&highlight=disable+button
THX for the link.
I have read and find the AE ButtonPlus verry nice but not freeware.
Ther are also an old version free but...
I will just disable the red and green button.
Any suggestion ??? registry documentation ?
THX Again for your help, and for the link ;-)
Dany (tontonpc)
Why disable the buttons ?
Surely you should block calls using Settings->Phone->Services->Call Baring
I assume if you set this up it can be password protected.
tontonpc said:
To secure a Qtek2020i i must disable the phone buttons.
Only the GPRS mode must stay in use. (no call)
Any solution is welcome.
THX for your help
Dany (tontonpc)
Click to expand...
Click to collapse
I know how to remap the phone buttons, but i don't know if this will actually create a "secure" Qtek. This is because even if the phone won't execute by pressing the buttons, it can execute with the stylus. Now the solution isn't exactly simple, but it can be done. The "trick" is that the first application that maps the green and the red button, locks them and afterwards no other application can map them. In order to achieve this you must create an application, which will be started either by services.exe or HKEY_LOCAL_MACHINE\init which wil map the two keys.
To register the two buttons, you must execute the
RegisterHotKey API
The virtual key code for the green (talk) button is 114 (decimal not hex) and for the red (close) is 115 (decimal again). The fsModifiers parameter as stated in the API must be zero (0). You can give any IDs for these two buttons as long as they are unique.
Happy remaping.
I agree with CSExpert. For securing the phone, you're probably better off using TAPI methods to disable the line, standard API stuff to find and close the cprog.exe app, and possibly consider disconnecting the Phone's Modem programmatically.
V

Hard buttons config

Hi all
Can anyone send me the following registry key (and subkeys) please (of the HTC TyTN / Hermes)
HKLM\SOFTWARE\Microsoft\Shell\Keys
I have a problem with my power button and I've discovered that some values are missing in this registry key.
P.S.: If possible, please send me the configuration from an original rom without any third party software.
Many thanks!
nero said:
Hi all
Can anyone send me the following registry key (and subkeys) please (of the HTC TyTN / Hermes)
HKLM\SOFTWARE\Microsoft\Shell\Keys
I have a problem with my power button and I've discovered that some values are missing in this registry key.
P.S.: If possible, please send me the configuration from an original rom without any third party software.
Many thanks!
Click to expand...
Click to collapse
Hopefully Keys attached
Mike
many thanks Mike
but "Button 6" configuration is missing... is that alright?
by default there is no configuration for this button?
nero said:
many thanks Mike
but "Button 6" configuration is missing... is that alright?
by default there is no configuration for this button?
Click to expand...
Click to collapse
Yes, until now I had not noticed that but that is indeed true on mine. I have also not carried out any customisation or even reset any of these buttons (well since last HR anyway)
Mike
Hi again Mike!
Ok, I've deleted the "HKLM\SOFTWARE\Microsoft\Shell\Keys\40C5" key and now the power button works perfectly.
I have wisbar advance 2 installed and probably, somehow I think, messing arround in his settings has created the power button mapping and that makes his behaviour anoying...
Maybe this is a solution for some other people with this problem. I've seen there are more people in the forum with the "power button problem".
Many thanks.
Power Button
Good news.
Had not seen others with the problem of the "power button" but if I spot them I'll link to here and by repeating power button problem hopefully searches will lead here!!!!
Mike
checkout this one here
people saying that need to do a soft-reset...
is what I have been doing when the power button get stucked and it is not anymore
nero said:
checkout this one here
people saying that need to do a soft-reset...
is what I have been doing when the power button get stucked and it is not anymore
Click to expand...
Click to collapse
Well now, I wonder!
Perhaps you could write up a detailed piece on exactly what was happening and then the exact detail of what you did/changed. I have a pretty good picture but if you get the time the old blow by blow account would be useful.
Cheers
Mike
going to bed now-enough problems for one day!!!
Mike,
sorry but I dont know exactly what you want to say with "old blow by blow account". My native language is not english and I dont know that expression.
I can say that my power/toggle screen button becomes "non responsive" in the past couple of days, sometimes works after 3/4 presses or after a long press but other times I need to do a sw reset pressing with the stylus in the reset button/hole.
What I did to fix this malfunction is what I've described in this thread's 5 post (here)
I've used resco's Registry Editor and deleted the key "HKLM\SOFTWARE\Microsoft\Shell\Keys\40C5" and all of it's contents.
Now the power/toggle screen button works perfectly!
If you need some more information, just do has one of our tv commercial
"explains it as if I am too much donkey"
Cheers,
Nero
I'm from Portugal.. same GMT, sweet dreams
Would this make it in a wizard too?
Hi guys, I have a wizard with the power button inoperant, everything else looks work fine... I tried several tricks given in the forums and those are great to power it off but not for turning on the phone niether the display on. Would this make it in the wizard too?
Luiggi, take a backup of your registry (Everyone should before registry editing), and just try it!
V
Hi Guys,
does anyone know how to reconfigure the video-call button (the little button above the green button). I don't use this one, en would like to give it another function)
Thx!
Thanks VJ
vijay555 said:
Luiggi, take a backup of your registry (Everyone should before registry editing), and just try it!
V
Click to expand...
Click to collapse
Thank you Vijay I took a look to the 8125 registry and is quite different, i´m afraid this wouldn´t work for the Wizard. I´ve tried also a couple of your programas (VJKeypress and VJEscahaton) but can´t help either, my problem is to turn the phone on (i´ve been using softreset during a connection to the power supply) and all indicates that this is a hardware issue... any thoughts?
Take a full backup (eg SPB Backup) then hardreset. Test if a clean rom still has the problem. If it does, it's a hardware issue, get it repaired.
Otherwise, if it's software, list what you've got or rebuild your installation.
V
It died like a hero....
vijay555 said:
Take a full backup (eg SPB Backup) then hardreset. Test if a clean rom still has the problem. If it does, it's a hardware issue, get it repaired.
Otherwise, if it's software, list what you've got or rebuild your installation.
V
Click to expand...
Click to collapse
I follow your advice and @ 80% of flashing stalls for awhile with the progress bar in red, after some minutes proceeded turning the progress bar in blue color and @ 95% progress I got ERROR326 : INVALID COMMAND "With the legend "This NBF file can not be used for your phone. Please check your NBF file" The screen was white with the 95% progress bar and lost connection with the PC, I tried a softreset and what I got was the tricolor scren with IPL / SPL data and RUU at the top right. I´m afraid that we have another G4 casualty...
And few hours later.......
I reflashed the phone with RUU_RIsidoro_2.26.10.2_WWE+CF2SP1_G4 this time it went to the 100% progress and the congratulation screen for a succesful flashing, however stalls in bootloader screen (this time without the RUU inthe top right), whenever I do a softreset (since the on / off button still is not working) The HTC innovation splash screen shows up, then disappears and my Wizard returns to the bootloader mode. I think I should be moving to the Wizard forums, thank you VJ!

Categories

Resources