![]() |
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]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]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. |
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. |
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! |
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 |
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. |
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. |
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! |
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:
Thanks again. |
| All times are GMT -4. The time now is 08:34 PM. |
Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com