PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Touch Pro 2 (http://forum.ppcgeeks.com/forumdisplay.php?f=97)
-   -   looking for a registry entry . (http://forum.ppcgeeks.com/showthread.php?t=139202)

elesbb 01-04-2011 08:50 PM

looking for a registry entry .
 
I'm looking for something that says if the proximity sensor is blocked or not . if its not a registry entry that's fine too .

thanks everyone !

mwalt2 01-04-2011 11:02 PM

Re: looking for a registry entry .
 
Quote:

Originally Posted by elesbb (Post 2030039)
I'm looking for something that says if the proximity sensor is blocked or not . if its not a registry entry that's fine too .

thanks everyone !

You can tell if it's enable or disabled via a registry entry.

"HKLM", "System\State\Phone", "PSensorStatus"

If it's 0, the sensor is off. There may be other entries there that tell if it is being blocked as well. One way to find it would be to use kheb. You can use it to make a snapshot of the registry before and after blocking the proximity sensor. It then will then output the differences to a text file.

[APP] Kheb v1.1 - File system and registry discovery tool [UPDATE - 20.7.2010] - xda-developers

elesbb 01-04-2011 11:30 PM

Re: looking for a registry entry .
 
do you know of the other methods ? and that sorta works . I set it to one then covered the sensor . and I was hoping for one that didn't shut the screen off right away . just change the value when covered . Thanks though ! any one else have any ideas ?

horndoctor 01-05-2011 01:37 AM

Wirelessly posted (htc Pocket PC: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) Sprint MP6950SP)

Quote:

Originally Posted by elesbb
do you know of the other methods ? and that sorta works . I set it to one then covered the sensor . and I was hoping for one that didn't shut the screen off right away . just change the value when covered . Thanks though ! any one else have any ideas ?

Are you trying to enable or disable the sensor? :scratch:
Enabled means when it is covered the screen will turn off. If you don't want it to turn the screen off then disable it.

elesbb 01-05-2011 01:27 PM

Re: looking for a registry entry .
 
I guess you could say im trying to enable it . However the reg entry listed above , if set to 1 , and then covered the screen goes off right away , I want an entry that when covered the entry value lists as 0 but doesn't turn off the screen . Also the above entry goes back to zero when done making a call or after a soft reset .

horndoctor 01-05-2011 05:29 PM

Wirelessly posted (htc Pocket PC: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) Sprint MP6950SP)

Quote:

Originally Posted by elesbb
I guess you could say im trying to enable it . However the reg entry listed above , if set to 1 , and then covered the screen goes off right away , I want an entry that when covered the entry value lists as 0 but doesn't turn off the screen . Also the above entry goes back to zero when done making a call or after a soft reset .

From what you just said, it sounds like you want the sensor disabled so when you are using the phone and have it next to your ear the screen does not turn off. Correct? :scratch:

elesbb 01-05-2011 06:11 PM

Re: looking for a registry entry .
 
haha sorry to be confusing . lol . I actually want it on when the phone is not on , like I'm not in a call . that way if my phone wakes up in my pocket , via SMS or the like , it turns off the screen right away . I was hoping to write a script so when its locked and the screen is on the script will shut the screen off again .

mwalt2 01-06-2011 01:33 AM

Re: looking for a registry entry .
 
Quote:

Originally Posted by elesbb (Post 2030661)
haha sorry to be confusing . lol . I actually want it on when the phone is not on , like I'm not in a call . that way if my phone wakes up in my pocket , via SMS or the like , it turns off the screen right away . I was hoping to write a script so when its locked and the screen is on the script will shut the screen off again .

Did you try the kheb tool I posted? There may be a registry change when it's actually active, but I'm not sure. I'd think a simple lockscreen would work easier and just have the display timeout after it waked up. Lock Device v1.6 works well and will lock the screen whenever it goes to sleep or wakes up.

You could try the cab posted here at xda. It says it's for the HD2, but may work with the tp2. If it doesn't work, I'm sure the dev could give you some hints as to how it's done.

horndoctor 01-06-2011 03:27 AM

Wirelessly posted (htc Pocket PC: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) Sprint MP6950SP)

+1
Also, there is a locking app on xda I believe it's called TouchLockPro that uses the proximity sensor to trigger locking or unlocking. I haven't tried it but you might check it out.

elesbb 01-06-2011 09:48 AM

Re: looking for a registry entry .
 
Quote:

Originally Posted by horndoctor (Post 2031002)
Wirelessly posted (htc Pocket PC: Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) Sprint MP6950SP)

+1
Also, there is a locking app on xda I believe it's called TouchLockPro that uses the proximity sensor to trigger locking or unlocking. I haven't tried it but you might check it out.

Tried that , touchlockpro uses the reg entry posted above and gets reset back to zero after a phone call . i am using throttle lock , i used to use S2U2 but i got bored i guess lol . and s2u2 has an option in his settings page "when locked if no light screen off" or something like that . maybe ill see if he can tell me what reg entry he uses .

elesbb 01-06-2011 10:28 AM

Re: looking for a registry entry .
 
Quote:

Originally Posted by mwalt2 (Post 2030970)
Did you try the kheb tool I posted? There may be a registry change when it's actually active, but I'm not sure. I'd think a simple lockscreen would work easier and just have the display timeout after it waked up. Lock Device v1.6 works well and will lock the screen whenever it goes to sleep or wakes up.

You could try the cab posted here at xda. It says it's for the HD2, but may work with the tp2. If it doesn't work, I'm sure the dev could give you some hints as to how it's done.

This program is awesome ! Kheb , i used it to solve another issue i had lol . but how do i take a snapshot when the screen is off ??? and ill try that program

you know of the reg entry that says how much light is coming through the light sensor ? like how it changes the brightness by detecting how much light is present .. what reg entry is that ? or file ?

mwalt2 01-07-2011 05:15 PM

Re: looking for a registry entry .
 
Quote:

Originally Posted by elesbb (Post 2031088)
This program is awesome ! Kheb , i used it to solve another issue i had lol . but how do i take a snapshot when the screen is off ??? and ill try that program

you know of the reg entry that says how much light is coming through the light sensor ? like how it changes the brightness by detecting how much light is present .. what reg entry is that ? or file ?

heh, I didn't really think of how to get the entry while the screen is off :). To do that you can use ceregeditor (runs on PC). It will export all registry entries and you can compare them using ceregeditor as well. You can either export everything under HKLM or just do a registry backup (one of the buttons at the top of the program) with the screen off and then again with it on.

http://ceregeditor.mdsoft.pl/

elesbb 01-07-2011 07:54 PM

Re: looking for a registry entry .
 
already have that on my computer . how do I make it export the registry ? but I actually got the program you mentioned for the hd2 to work with a mortscript to help me out lol . thanks for that program !

kern417 01-30-2011 12:41 AM

Re: looking for a registry entry .
 
Was there any progress on this? I have started using the native winmo lockscreen over s2u2, cht 2.0, etc it just works way smoother with the rest of the system. But the customization of s2u2 is unsurpassed...I would love to be able to have the screen turn off after 5 seconds if locked or turn off immediately when the proximity sensor is blocked. It wastes battery to have the screen on in my pocket or on the bedside table while im asleep, then when you wake up the battery has dropped significantly.

are there any regedits or cabs available that can help with this? It used to just be s2u2 now they have the option in cht as well...does anyone know what is used to control that?

elesbb 01-30-2011 11:06 AM

Re: looking for a registry entry .
 
Quote:

Originally Posted by kern417 (Post 2047599)
Was there any progress on this? I have started using the native winmo lockscreen over s2u2, cht 2.0, etc it just works way smoother with the rest of the system. But the customization of s2u2 is unsurpassed...I would love to be able to have the screen turn off after 5 seconds if locked or turn off immediately when the proximity sensor is blocked. It wastes battery to have the screen on in my pocket or on the bedside table while im asleep, then when you wake up the battery has dropped significantly.

are there any regedits or cabs available that can help with this? It used to just be s2u2 now they have the option in cht as well...does anyone know what is used to control that?

yes , tw. or three threads up there is a link to a program on xda's website . thats the program im now using . i like it a lot . it has a feature to only be effictive while the phone is locked .


All times are GMT -4. The time now is 06:29 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0