PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-04-2011, 08:50 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
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 !
Reply With Quote
  #2 (permalink)  
Old 01-04-2011, 11:02 PM
mwalt2's Avatar
VIP Member
Offline
Pocket PC: Evo 3D
Carrier: Sprint
 
Join Date: Apr 2007
Posts: 1,759
Reputation: 5415
mwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: looking for a registry entry .

Quote:
Originally Posted by elesbb View Post
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
Reply With Quote
This post has been thanked 1 times.
  #3 (permalink)  
Old 01-04-2011, 11:30 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
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 ?
Reply With Quote
  #4 (permalink)  
Old 01-05-2011, 01:27 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
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 .
Reply With Quote
  #5 (permalink)  
Old 01-05-2011, 06:11 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
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 .
Reply With Quote
  #6 (permalink)  
Old 01-06-2011, 01:33 AM
mwalt2's Avatar
VIP Member
Offline
Pocket PC: Evo 3D
Carrier: Sprint
 
Join Date: Apr 2007
Posts: 1,759
Reputation: 5415
mwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: looking for a registry entry .

Quote:
Originally Posted by elesbb View Post
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.
Reply With Quote
  #7 (permalink)  
Old 01-06-2011, 10:28 AM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
Re: looking for a registry entry .

Quote:
Originally Posted by mwalt2 View Post
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 ?

Last edited by elesbb; 01-06-2011 at 11:00 AM.
Reply With Quote
  #8 (permalink)  
Old 01-07-2011, 05:15 PM
mwalt2's Avatar
VIP Member
Offline
Pocket PC: Evo 3D
Carrier: Sprint
 
Join Date: Apr 2007
Posts: 1,759
Reputation: 5415
mwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the communitymwalt2 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: looking for a registry entry .

Quote:
Originally Posted by elesbb View Post
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/
Reply With Quote
  #9 (permalink)  
Old 01-07-2011, 07:54 PM
elesbb's Avatar
Super genious in training
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
Threadstarter
Location: PA
 
Join Date: Jun 2010
Posts: 1,198
Reputation: 1600
elesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on repelesbb is halfway to VIP status based on rep
Mentioned: 42 Post(s)
Tagged: 0 Thread(s)
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 !
Reply With Quote
  #10 (permalink)  
Old 01-30-2011, 12:41 AM
kern417's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Verizon
Location: Louisville, KY
 
Join Date: Apr 2009
Posts: 446
Reputation: 510
kern417 knows their stuffkern417 knows their stuffkern417 knows their stuffkern417 knows their stuffkern417 knows their stuffkern417 knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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?
__________________
Moved on to Motorola Droid 3 and XDA...ya'll kids have fun
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 02:04 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com