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 Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-16-2007, 11:13 AM
Ryan07's Avatar
PPCGeeks Regular
Offline
Pocket PC: EVO
Carrier: Sprint
Location: WaFo, NC
 
Join Date: Mar 2007
Posts: 110
Reputation: 25
Ryan07 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Questions regarding registry settings in custom OEM

I have a HUGE custom RGU file that pretty much makes my 6700 ready to go when I hard reset. There are only two things that I can't get to work and I'd like some advice.

First, in Start > Settings > System > Power > Advanced
I want to uncheck the On External Power box. I have the backlight settings working properly to dim the screen after one minute on AC power. I do want the device to suspend on battery after 1 minute and that is working.

Code:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
	"ACResumingSuspendTimeout"=dword:0000000f
	"ACSuspendTimeout"=dword:00000000
	"ACUserIdle"=dword:00000000
	"BatteryPoll"=dword:00001388
	"BattResumingSuspendTimeout"=dword:0000000f
	"BattSuspendTimeout"=dword:0000003c
	"BattUserIdle"=dword:00000000
The ACSuspendTimeout shows as 0 which should be unchecked but on a hard reset it is set to 30 minutes and remains checked. Am I in the right place for this? Can I add a value called "ACTimeoutChecked" like in the backlight settings perhaps?

The backlight settings work fine. It is disabled for battery and blanks the screen without suspend for AC power.

Code:
[HKEY_CURRENT_USER\ControlPanel\BackLight]
	"ACTimeout"=dword:0000003c
	"ACTimeoutUnchecked"=dword:00000000
	"BatteryTimeout"=dword:00000000
	"BatteryTimeoutUnchecked"=dword:0000001e
	"QKeyLedOnOff"=dword:00000001
	"QKeyLedTimeout"=dword:0000000a
	"DefaultACBrightness"=dword:0000000a
	"DefaultBrightness"=dword:00000008
	"ACBacklightOnTap"=dword:00000001
	"BacklightOnTap"=dword:00000001
	"ACBrightness"=dword:0000000a
	"Brightness"=dword:00000008
	"AutoMode"=dword:00000000
	"OnOffBatt"=dword:00000001
	"OnOffAC"=dword:00000001
	"OnOff"=dword:00000001
	"BatteryTimeoutChecked"=dword:00000001
	"BatteryTimeoutTemp"=dword:00000000
	"ACTimeoutChecked"=dword:00000000
	"ACTimeoutTemp"=dword:00000000
The last question I have is about the Start > Settings > Personal > Menu
I would like to know if I can uncheck all of the boxes through the registry or rather set a value to uncheck them for me. I have no idea where to look for this portion.

Thanks for the time.
Reply With Quote
  #2 (permalink)  
Old 08-16-2007, 11:58 AM
schettj's Avatar
morsus mihi
Offline
Pocket PC: iPhone 4
Carrier: AT&T
Location: Not from around these parts
 
Join Date: Oct 2006
Posts: 3,017
Reputation: 3616
schettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
For registry mojo, the most successful but tedious method is to do something like
hard reset, dump full reg to a file, change settings as desired, dump full reg to another file, copy both reg files to desktop, diff/compare files using some freeware or commercial tool to find differences, figure out which ones relate to what setting(s) - usually that's obvious - and then put desired settings into an RGU.

The only possible problem you can run into is RGU processing order. Or having your settings overwritten by a proxml file that is processed on cold boot.

I actually just keep my custom settings in a .reg file on my card -- I double tap that sucker after a cold boot to be sure all my desired reg settings are applied.
Reply With Quote
  #3 (permalink)  
Old 08-16-2007, 04:01 PM
schoenof's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
 
Join Date: Jan 2007
Posts: 18
Reputation: 0
schoenof is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I have the same question related to customizing the fixed items in the start menu....I have not been able to get it working yet....

I also have a question related to the registration info for Resco Explorer (or any Resco product).....I can't seem to find any registry settings.....I did the hard reset, full reg dump1, register program, full reg dump2, and use compare tool to find reg changes....no luck...I also checked the filesystem (hiding files in ROM) and was not able to find anything...

Anyone know how Resco Explorer stores registration info?

Thanks!
Reply With Quote
  #4 (permalink)  
Old 08-16-2007, 05:56 PM
schettj's Avatar
morsus mihi
Offline
Pocket PC: iPhone 4
Carrier: AT&T
Location: Not from around these parts
 
Join Date: Oct 2006
Posts: 3,017
Reputation: 3616
schettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
There is another "hidden" registry (same place email settings go) that sometimes is used - much harder to find stuff in there. I was playing with MobileProfiler a while back, didn't get too far with it.

http://www.iaccarino.de/silvio/stuff...ilerReadme.htm
Reply With Quote
  #5 (permalink)  
Old 08-16-2007, 07:34 PM
brightedge's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Location: Columbus, OH
 
Join Date: Feb 2007
Posts: 419
Reputation: 140
brightedge is keeping up the good workbrightedge is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
To edit the Start Menu items, you'll have to delve into OEM\OEM_HTC\initflashfiles.dat. In order to see that file, you'll have to unhide Protected Operating System Files.

First, back up the untouched file. Then, open the file in Notepad and look for the commented out area "Start Menu Contents" (about halfway down.) Then look for the current entries that look like this:

Directory("\Windows\Start Menu"):-File("...

Replace the stuff after -File("... with your custom entry. Don't touch the PermDir entries. There's also a couple hiding further down the file, so search thoroughly. Remember, there's a limit to the number of entries you can have (7 I think...) You might have to play around with it until you get it to work perfectly.

One note of warning...I've noticed duplicate entries in the Start > Settings > Personal > Menu after editing this file. It doesn't seem to adversely affect the phone though.
__________________
One ROM to rule them all,
One ROM to find them.
One ROM to bring them all,
And in the kitchen, bind them.
Reply With Quote
  #6 (permalink)  
Old 08-17-2007, 09:59 PM
Ryan07's Avatar
PPCGeeks Regular
Offline
Pocket PC: EVO
Carrier: Sprint
Threadstarter
Location: WaFo, NC
 
Join Date: Mar 2007
Posts: 110
Reputation: 25
Ryan07 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Brightedge, thanks a ton. That's exactly what I was looking for. That's a pretty handy file.

I still can't figure out the power setting deal. I know I have the right key, ACSuspendTimeout. I change it to say, 5 minutes and can see the registry key change after a refresh. I uncheck the box, refresh the registry again and the value is back to 0. The odd part is that my other power and backlight settings stick fine.

Thanks again BE.
Reply With Quote
  #7 (permalink)  
Old 08-18-2007, 09:13 AM
brightedge's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Location: Columbus, OH
 
Join Date: Feb 2007
Posts: 419
Reputation: 140
brightedge is keeping up the good workbrightedge is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
You're welcome Ryan

As far as the power settings go, I'm not sure where you are going wrong. My suggestion would be for you to do the following:

1) Remove any custom power reg edits from your rom and hard reset
2) Do a baseline reg dump with dillSoft's RegistryDump(PPC)
3) Manually make the changes to the power settings using Start > Settings > ....
4) Do another reg dump
5) Use a program like UltraCompare to compare the two files. UltraCompare has a handy button at the top that will only show you the changes between the two files.
6) Discarding any useless changes (ActiveSync stuff and whatnot), edit your custom reg oem to include the changes seen in the diff.
7) Create a new rom and test whether it worked

Good luck!
Reply With Quote
  #8 (permalink)  
Old 08-20-2007, 10:46 AM
Ryan07's Avatar
PPCGeeks Regular
Offline
Pocket PC: EVO
Carrier: Sprint
Threadstarter
Location: WaFo, NC
 
Join Date: Mar 2007
Posts: 110
Reputation: 25
Ryan07 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thanks everyone for the continued advice. I've used the dump/diff method already. That's how I've gotten as far as I have. I know I have the right key, but it just won't stick. Again, the weird part is that all the other power/backlight settings I use are taking properly. It's really no big deal. The system goes to sleep after 30 minutes on AC power rather than just blanking the screen. The only time that will happen is charging overnight, so it's just a matter of pushing the power button in the AM.

Quote:
The only possible problem you can run into is RGU processing order. Or having your settings overwritten by a proxml file that is processed on cold boot.
This must be the key, but I just don't know why it would be affecting that one key and not the rest. My RGU file starts with FF so it is processing last. I have about 50 changes made throughout the registry and they all stick except this one.

Thanks again.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


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 09:39 AM.


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