Silent edit of single registry entry on startup - Windows Mobile Development and Hacking General

Experts,
I've got a Tilt 2 Rhodium with the stock AT&T ROM. I've removed nearly all the accessible bloat, and have done my share of registry edits to make it usuable now. There is just one sticky problem that seems beyond my limited abilities and I seek your help.
The built-in YouTube app's registry key calls for a proxy to be used: HKEY_LOCAL_MACHINE\Software\HTC\YouTube - ProxyName=wap.cingular.com:80 (or something close to that value). For whatever reason, my YouTube app times out on connect when that default value is in place. When I replace the value with [BLANK] or delete the REG_SZ all together, YouTube functions perfectly.
The problem is that changing this registry key does not survive a restart or a reset - I believe it even restores itself intermittently. I made a CAB file that I can run but it just seems ham-fisted to me to have to run it manually, choose the target, click ok, etc., and frequently. Is there a way for this lone registry value to be blanked or deleted automatically on restart or YouTube launch? Or better yet, to prevent it from being repopulated with the default value automatically?
Any help will be tremendously appreciated.
-V

You could try Dotfred's famous task manager. It supports many different command line parameters, and one happens to be registry modification.
Code:
[filepath] /silent
Theoretically, you can create a shortcut to the task manager, which uses the parameter to point to the .reg file containing the registry setting you'd like. If you don't know the format of a .reg file, I suggest you export any key in your registry with any reg editor, then open the .reg with a text editor to learn the format. Then, you could place the shortcut in your \Windows\Startup folder, which points to the registry folder, and it would (in theory) change the registry key on startup. Also (in theory), you could use RunEveryDay to create a scheduled task (using your command line parameters pointing to the reg file) to periodically change this value to [blank] on a schedule.
You could also do all of this with a provXML, but .reg is just as easy, and IMO requires less work in formatting it. Hope that helps

Mortscript
I use mortscript to write a reg value every reset.
if you need help send me PM

Thank you both for the assistance and thoughtful responses. I will look into them.
Meanwhile I've searched the phone's registry for the string "wireless.cingular.com:80" which is the actual value of the "ProxyName" registry entry at HKLM\Software\HTC\YouTube. It comes up in three other places.
I'm not an expert, but I'm comfortable with deep tinkering and have yet to break something I couldn't fix. So, thinking that one of these three other places is from where the refresh is coming, I plan to delete those values also and see if that prevents the repopulation of the ProxyName value with the default string.
If it doesn't work, then I can always revert the three other values to the default and use a script program instead.
The value appears to be repopulated upon any change in the network environment, be it activating/disabling WiFi or "data conection," and also apparently when I connect with ActiveSync - not 100% sure about that though.
Thanks again, both of you.
Regards,
-V

Thanks guys, knowing you had my back encouraged me to explore. I fixed the issue, have a look if you're interested: http://forum.xda-developers.com/showthread.php?p=5016789#post5016789
Ciao and thanks again,
-V

Related

Reg Tweak FILES: Post/Get them here

Let's start a thread of all the reg tweaks ppl have come up with. If they are saved as .reg files (to an SD), we can install them with a mere double-click by using TRE (options>associate), and anyone can contribute to this post WITHOUT having to build .cab files! Why is this kewl; cos when u hard reset it's a real ball-ache to go back into all the forums to find the tweaks u applied and to navigate thro TRE to re-apply them all. This applies particuarly to settings (Owner info etc). Over and above, we are no longer beholden to tweak shareware, but have full and instant control over our settings.
Each tweak should have 2 reg files; Apply the tweak, and remove the tweak (if possible). In this manner, we can have a directory of reg files, and can turn on and off tweaks with a simple d.click.
Attached is a basic set I've compiled. Please let everyone know if any are a problem (ie perhaps whole key gets replaced and overrides something u have already changed). Files described below:
[*]Reg Date_In_Titlebar ON.reg
Adds the date to the title bar, with format according to your short-date format under settiings>regional (or found manually changed in another Tweak I'll cover later). I do NOT have a .reg file that will undo (ie delete) this new key, but it's easy to see what key is being added so u can delete it. <Credit: Well known PPC tweak - I probably learnt from toenailed>
Can someone please find out where we can change the font for this - it's a horrible bold font that doesn't fit in the space available?
[*]Reg Font_Menu_+_Pop_700 ON.reg
Change menus and popups to a smaller font. Nice size, makes VGA look more VGA-like, yet not so small that it fails cleartype nor looks daft. Requires a reset. <Credit: Well known PPC tweak - I probably learnt from toenailed>
[*]Reg Font_Menu_+_Pop_900 DEFAULT.reg
Reset above change to default of 900
[*]Reg Font_System_700 ON.reg
Changes system font to 2 pts smaller. I find that dialog boxes with radio buttons got a bit wierd, and you don;t get much more screen estate height cos of icon sizes staying the same in file lists, so I don't bother with this tweak. Requires a reset. <Credit: Well known PPC tweak - I probably learnt from toenailed>
[*]Reg Font_System_900 DEFAULT.reg
Turn above off
[*]Reg GPRS_+_3G_Always _On DEFAULT.reg
Awesome tweak to make sure ur phone connects to GPRS/3G and stays there. However, you'll want to switch this off overnight etc, which is the main reason I created this post and these reg files. NOTE: you will absolutely HAVE to replace the "MTN SA Web" bit with the name of your connection which you will find in this key using TRE
<Credit: BrettS http://forum.xda-developers.com/viewtopic.php?t=30277>
[*]Reg GPRS_+_3G_Always _On ON.reg
Turn off the above. Remember to change connection name in file
[*]Reg PIE_Homepage_Default.reg
When u press the E (explorer) keyboard key u go to clubimate homepage - annoying. This resets that hard button to whatever u want (current reg file is windows\default.htm)
<Credit: I forget, someone on clubimate forums>
[*]Reg TerminalServices_Cache_Larger DEFAULT.reg
AWESOME improvement in Terminal Services client horrible black blocks. Increases cache sizez - I did not notice an increase in traffic/cost
<Credit: Carnivor from MS KB http://forum.xda-developers.com/viewtopic.php?t=29996>
[*]Reg TerminalServices_Cache_Larger ON.reg
Turns above off
More coming as I go thro the wiki and toenailed tweak posts and extract usefull ones for us lonely Universal users...
can you add the actual keys to here?
http://wiki.xda-developers.com/index.php?pagename=Universal_Registry
cos of this thread
http://forum.xda-developers.com/viewtopic.php?t=30396
Doh! That post came up after I started this thread.
Still this thread is useful for the actual .reg files to same n00bies some time (and to save me time too). I'll make sure everything here is duplicated there tho.
Here are a few more .reg files:
Several versions of date_in_title_bar (covered above)
Hide_Screen_Rotation icon
Hide that icon that allows u to rotate screen - but JJ does it automatically so Icon is not so necessary
Regional_settings
These are for me - u should edit file in text editor to customise 4 yourself. Best part is my short date format that keeps date in title bar small and visible
Ringtone_settings
Customise as above
Screen_Speed_Glyph_Cache
Double your screen cache. COsts a LITTLE memory, and improves screen size
Screen_font_'smaller'
Set screen font size to "smaller". This can be changed in "settings"m and I only include it here in line with my suggestion that we have a collection of files to run quickly on reset. You may want to customise as above
SIP_Settings. Ditto
All in updated zip file.
I would really appreciate if anyone can find a way to get rid of the Last Call in the dialer screen... I know its somewhere hidden in Registry, but I dont seems to be finding a way to get tru it...
Having the Last Dialed No. showing rite up on the Dialer Screen is really bothering and if you happened to press the phone button by mistake twice there we go the last dialed no. has been dialed already for you....
Bump: no-one contributing to this learning?
haven't found anything else worth posting yet m8, u got the best ones already :wink:
craigiecraigie4: Thanks for these - great idea!
I have a suggestion:
HKCU/ControlPanel/Backlight sets the backlight duration for the keyboard (in seconds). It's available through the control panel, but I like it set to more than the CP maximum of 10 seconds. Sorry - I don't know how to create a reg file.
To reset, choose another value in the backlight control panel applet.
Don't have any others to add though
Found another one:
Change the width of the vertical scroll bar and the height of the horizontal scroll bar so they take less room on the screen:
HKLM\System\GWE
Change cxVScr to (say) 10 to make vertical scrollbar narrower. Default value is 14
Change cyHScr to (say) 10 to make horizontal scrollbar narrower. Default value is 14
This change affects various scroll options in the system including the up/down arrows in selection boxes. 10 is a nice size.
This one is in this forum:
from davidberrysmith
--------------------------------------------------------------------------------
Any body remember these reg tweaks from himalaya? they still work
*** Speed Up Your Windows Mobile Pocket PC.
1. Open your registry editor o_n your Pocket PC
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\GDI\GLYPHCACHE\
3. Change the value of 'limit' from 8192 to 32768
4. Close registry editor and soft reset.
*** disable start menu animation
Browse to HKEY_LOCAL_MACHINE\SYSTEM\GWE\Menu\
Change the "AniType" value from 6 to 0.
_________________
i-mate jasjar
Click to expand...
Click to collapse
SiliconS said:
Found another one:
Change the width of the vertical scroll bar and the height of the horizontal scroll bar so they take less room on the screen:
HKLM\System\GWE
Change cxVScr to (say) 10 to make vertical scrollbar narrower. Default value is 14
Change cyHScr to (say) 10 to make horizontal scrollbar narrower. Default value is 14
This change affects various scroll options in the system including the up/down arrows in selection boxes. 10 is a nice size.
Click to expand...
Click to collapse
Nice one dude. I can't make the .reg file cos I can only create reg files of the entire key, and there are too many other things under GWE that users may have changed.
Internet Explorer
Somewhere in those forums I found the IE reg hack to make mine 5.5, this helps connecting to my bank account and viewing other secured sites.
read this somewhere
To change the ability to receive files via Bluetooth (OBEX)
The setting is at 'HKEY_LOCAL_MACHINE\Software\Microsoft\Obex'
The 'IsEnabled' DWORD value should be set to '1' to enable OBEX and '0' to disable OBEX.
For example, to enable the ability to receive fles via Bluetooth
HKEY_LOCAL_MACHINE\Software\Microsoft\Obex\IsEnabled = 1
says receive so i dont know about send, try it!! might be it
But apparently now this is the same feature as the receive incoming beams setting in connections.
Yes, I know that's not free but 90% of all this hacks have been included in Tweaks2K2. And the other 10% are about to be included :twisted:
Yeah, true. Idea of this thread was to have a facility whereby a hard reset can be quickly restored to a working device - install a few basic apps, run the .reg files, and there u go. Takes me about half an hour from HR thro to up and running perfectly.
craigiecraigie4 said:
Yeah, true. Idea of this thread was to have a facility whereby a hard reset can be quickly restored to a working device - install a few basic apps, run the .reg files, and there u go. Takes me about half an hour from HR thro to up and running perfectly.
Click to expand...
Click to collapse
With your .reg files as inspiration I'm just about getting there in the same way. I've written down all the steps and I just run through them. I've done this since I had my XDA2 and it makes a hard reset so much less traumatic:
Code:
Hard reset. Wait for Today screen then soft reset.
Connect cable to ActiveSync. Set up guest connection.
Turn off beams, error reporting
Set basic clock accuracy
Copy Step 1 files to root of PPC [These are the CABs for the programs I install]
Run CABs. Leave O2 Connections CAB. Put gps.CAB and PIMAddin onto storage card
Run TRE registry editor. Associate .reg files to TRE
Open the .reg file [This applies my registry settings. See below]
Run O2 connections CAB
Copy all Step 2 files to root of PPC [This adds shortcuts to StorageCard-installed programs to my Start Menu and gives me my freeware email client and PZP icons and profiles]
Run SDK Certs CAB
Run OzVGA. Change all fonts to same size as qVGA
PPC: edit registry: browse to HKLM\ControlPanel\GPS Settings. Delete the DWORD marked "hide"
CPL > Personal > Buttons: match Button 2 to [Task switcher], Button 4 to <Rotate Screen>; Set button lock
CPL > Personal > Menus: ActiveSync, File Explorer, Internet Explorer, nPOPw, Pocket Informant, Task Manager, TomTom Navigator
CPL > Personal > Owner: set owner information
CPL > Personal > Phone: change band to GSM
CPL > Personal > Today: set items to Date, PZP, PocketPlus, PocketBreeze, Messaging; set theme to Windows Default
CPL > System > Clock: Show time on all screens
CPL > System > Regional: Set locale to UK
CPL > Connections > GPS: set program port COM0
Soft reset
Set password for PPC
PC: backup previously sync'ed files folder
PC ActiveSync: delete previous partnership. Don't delete sync'ed files folder
CPL > System > About: Set DeviceID = XDAExec
Connect PPC and PC with cable
Sync only Contacts, Calendar (all), Tasks, Favourites
Sync files. Replace the items on the device
PocketBreeze: import settings
PocketPlus: import settings
PocketInformant: run and let it fanny about
PocketWeather (on PocketBreeze tab): import settings
Run ListPro. Enter registration code
Disconnect from PC
Set up phone speed dials
Set up voicedial tags
Set up ActiveSync via Bluetooth to Workstation
Set up bond to headset
Set up bond to GPS thingy. Choose Serial Port as profile
Start TomTom Navigator. Run through startup.
InternetExplorer: sort out view settings. Set default page to about:blank
Choose Transcriber input method. Import settings file
This is my .reg file that does almost everything I need done in one step:
Code:
[HKEY_LOCAL_MACHINE\ControlPanel\GPS Settings]
"Group"=dword:00000002
[HKEY_CURRENT_USER\ControlPanel\Backlight]
"QKeyLedTimeout"=dword:0000001e
[HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client]
"Keyboard Layout"="00000409"
"BitmapPersistCacheSize"=dword:00000001
"BitmapCacheSize"=dword:00000015
[HKEY_LOCAL_MACHINE\System\GDI\GLYPHCACHE]
"limit"=dword:00004000
[HKEY_LOCAL_MACHINE\nls\overrides]
"SSDte"="d/M "
[HKEY_LOCAL_MACHINE\HARDWARE\OEM\KEYBD]
"PieHomePage"="about:blank"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell]
"TBOpt"=hex:\
13,00,00,00
It makes a massive difference using commercial software that has a reliable import/export process for the settings and this, IMHO, is usually the biggest difference between paid-for software and freeware alternatives.
Silicon, don't u want to re-post your post here:
http://forum.xda-developers.com/viewtopic.php?t=31697
We need more of these 'standard' configs to help new users get up n running without giving up on their universal.
dude, your screen - how?
craigiecraigie4
how did you make htc look like that?
is it standard? emailable? I don't really want the merc style if it can be changed, but its a nice screen all the same
Re: dude, your screen - how?
simon_darley said:
craigiecraigie4
how did you make htc look like that?
is it standard? emailable? I don't really want the merc style if it can be changed, but its a nice screen all the same
Click to expand...
Click to collapse
You don't want merc!! well u can just f off then! ;-)
It's WisbarAdvance2 with WAD - see another post I started in this forum. u can put in on any universal, with whatever walpaper u want, and there are plenty of free skins
Re: dude, your screen - how?
craigiecraigie4 said:
It's WisbarAdvance2 with WAD - see another post I started in this forum. u can put in on any universal, with whatever walpaper u want, and there are plenty of free skins
Click to expand...
Click to collapse
Whatever it is, it's distracting to have such a big picture in your signature in such text-based forums.
Sorry craigiecraigie4. Don't mean to offend. Just MHO.

How to Change the Calander And Contacts Hardware Buttons?

anyone?
Any reg Hack like the jasjar?
not the answers on your questions but don't want to start a new topic.
is it possible to set a default view over the calender?
Re: How to Change the Calander And Contacts Hardware Buttons
OK, I found a trick but just for the left button.
In the registry:
HKEY_CURRENT_USER\Software\Microsoft\Today\112
(default) is the string that will be shown
Open is the path to the executable
Have fun with that
P.S. There are really interesting things in that registry - I browsed it a couple of days ago while travelling in the train
113 is the other key. there is an instruction what to change on www.beyondthetech.com/blogs/kjam . Here is a copy of that info:
"In a nutshell, there is an key called 112 under HKCU\Software\Microsoft\Today\Keys that contains two entries: the (default) value, which contains the label that is displayed on the Today screen (currently set to Calendar), and an Open value, which is currently set to the Calendar applet's full executable path, "\Windows\Calendar.exe" (yes, include the quotes). Simply change both values as you see fit and it will customize the left soft key.
To customize the right soft key, you have to create another key at the same level as 112, appropriately named 113. The (default) value is automatically created, to where you would simply name it as you need to, but you must add the Open value and give it the full path of the executable you wish to set it to, with quotes, i.e. "\Windows\fexplore.exe"
I've recently changed mine to compose a new SMS (even if the current focus in the Inbox program is e.g. MMS not SMS) with the left softkey, and TomTom on the right.
Fantastic! No need for the default ones on an Exec as there are hardware buttons for each.
Cheers
Ant
q-biq said:
not the answers on your questions but don't want to start a new topic. <snip OT question>
Click to expand...
Click to collapse
The whole point of having topics is to keep the answers relevant to the question, silly boy :roll: Tell you what, let's all not bother with them, and put everything in one nice big thread!
Koksie said:
113 is the other key. there is an instruction what to change on www.beyondthetech.com/blogs/kjam . Here is a copy of that info:
"In a nutshell, there is an key called 112 under HKCU\Software\Microsoft\Today\Keys that contains two entries: the (default) value, which contains the label that is displayed on the Today screen (currently set to Calendar), and an Open value, which is currently set to the Calendar applet's full executable path, "\Windows\Calendar.exe" (yes, include the quotes). Simply change both values as you see fit and it will customize the left soft key.
To customize the right soft key, you have to create another key at the same level as 112, appropriately named 113. The (default) value is automatically created, to where you would simply name it as you need to, but you must add the Open value and give it the full path of the executable you wish to set it to, with quotes, i.e. "\Windows\fexplore.exe"
Click to expand...
Click to collapse
In the interests of knowing, anyone tried putting a third one in and seeing what happens? It's interesting that I needed to reboot the phone to get the changes to 112 to apply, but the 113 works in real-time without a reboot.
Ant
There is an application in T-Mobile extended ROM that does the same but through GUI and you don't have to go to the registry (you'll have a new shortcut in System menu).

Verizon xv6800 MMS not working

Are any Verizon users experiencing problems sending and receiving MMS messages? When I try to send a pic message it says that I have exceeded the file size limit and when receiving a message it seems to be delivered corrupt, the sender isn't readable etc. I was told that HTC Audio Manager effects MMS, not sure how but thats what I've read. I know when I had DCD's clean rom first installed it worked flawlessly, after installing some apps it completely stopped functioning.
I'm currently running DCD's 1.6.8 VZW Rom and Radio 1.40
I have the following apps installed:
Google Maps
1 Calc-Lite
FlashVideoBundle
TCPMP
HTC Audio Manager
HTC Album
Htc Home
HTC BioTouch Cube
PocketCM .18
PocketCM Keyboard .13
HTC Home Customizer
Total Commander
EsmertecJbed
QuickMenu
did u change the limit for sending MMS? Sometime mine has been screwed up, the MMS server info got changed or it added another server that i had to delete. Im having no problems with mine
Whats the path for the reg to change file size limit, if that is the problem? Should be under HKLM right?
It is htc audio manager. do a search and it will tell you how to fix your registry.
Taken from here
http://pdaphonehome.com/forums/ppc-...w-pic-mail.html
--------------------------------------------------------
Open up your registry editor of choice and expand the tree to this location:
HKLM\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\mm1
You should see at least 3 keys under there:
MMSCSetting
test
WspHeader
Now if yours got screwed up the same way mine did, there is now a 4th string which does not belong named "14080"... it is probably ok to delete this but its not necissary...
In addition to those 4 strings there should also be a couple Keys and a bunch of Dword values. If the first string has a name of "1" and a vale of "14080" lik mine did, then edit the value to read "test" as it should.
Save your changes, exit the reg editor, soft reset and you should be good to go.... you may even be able to download any mms messages that are sitting in your inbox without having them resent.
Click to expand...
Click to collapse
Was this the reg edit? I tried this out and it doesn't seem to have any effect. I still get the same message saying I have exceeded the file size limit.
i have the same exact problem... mms messages come garbled. did you find the registry fix?
This was the only reg edit that I've found. I'm not sure if its the same registry edit that the one poster was talking about. But I tried the one that I posted and it doesn't work. I still get the same message saying that I've exceeded the file size limit of 1k when trying to attatch an image and when i recieve a pic message it comes up "garbled". Maybe he's refering to another reg edit, hopefully thats the case.
Help anyone?
make sure ur wi-fi switch is turned off
i had the same problem
Taken from here
http://pdaphonehome.com/forums/ppc-...w-pic-mail.html
--------------------------------------------------------
Open up your registry editor of choice and expand the tree to this location:
HKLM\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\mm1
You should see at least 3 keys under there:
MMSCSetting
test
WspHeader
Now if yours got screwed up the same way mine did, there is now a 4th string which does not belong named "14080"... it is probably ok to delete this but its not necissary...
In addition to those 4 strings there should also be a couple Keys and a bunch of Dword values. If the first string has a name of "1" and a vale of "14080" lik mine did, then edit the value to read "test" as it should.
Save your changes, exit the reg editor, soft reset and you should be good to go.... you may even be able to download any mms messages that are sitting in your inbox without having them resent.
???? mine apears to be ok here it is
my first string is actually (default) (value not set)
next string is 1 value test
dont have the 14080 line
what am i missing? can you change one of the dword values below that to a larger number?
thanks in advance, Don
dearls said:
Taken from here
http://pdaphonehome.com/forums/ppc-...w-pic-mail.html
--------------------------------------------------------
Open up your registry editor of choice and expand the tree to this location:
HKLM\SOFTWARE\Arcsoft\ArcSoft MMS UA\Config\mm1
You should see at least 3 keys under there:
MMSCSetting
test
WspHeader
Now if yours got screwed up the same way mine did, there is now a 4th string which does not belong named "14080"... it is probably ok to delete this but its not necissary...
In addition to those 4 strings there should also be a couple Keys and a bunch of Dword values. If the first string has a name of "1" and a vale of "14080" lik mine did, then edit the value to read "test" as it should.
Save your changes, exit the reg editor, soft reset and you should be good to go.... you may even be able to download any mms messages that are sitting in your inbox without having them resent.
???? mine apears to be ok here it is
my first string is actually (default) (value not set)
next string is 1 value test
dont have the 14080 line
what am i missing? can you change one of the dword values below that to a larger number?
thanks in advance, Don
Click to expand...
Click to collapse
I dont understand how everyone gets into all this trouble. you should not have to change anything but accept, user-agent and creating a X-VzW-MDN value, nothing else should be changed in the registry. If you hard reset back to the beginning, make the changes, set up your connection (add your number and all) and setup your server info in arcsoft MMS, it should work, then add your other programs and see what is messing it up.
friguy33 said:
I dont understand how everyone gets into all this trouble. you should not have to change anything but accept, user-agent and creating a X-VzW-MDN value, nothing else should be changed in the registry. If you hard reset back to the beginning, make the changes, set up your connection (add your number and all) and setup your server info in arcsoft MMS, it should work, then add your other programs and see what is messing it up.
Click to expand...
Click to collapse
thats just it i didnt do any changes this is just what it says i there
i have done nothing to it just need to know if its right and if not what do i need to change?
thanks,Don
When I had thi problem I had to call Verizon to get a new A Key...or something like that. I had this problem back in December so I can't remember exactly. Hope that helps.
dearls said:
thats just it i didnt do any changes this is just what it says i there
i have done nothing to it just need to know if its right and if not what do i need to change?
thanks,Don
Click to expand...
Click to collapse
none of the other values should be changed, just the three that have been listed. were they? someone else had been making other changes for internet and others making other changes...this sill work if you start clean...then make your other changes to see what breaks it.
I had this problem and i had to reset my phone to factory specs and reload everything. I then quickly purchased SPB Backup and I always make a backup before i make any changes. That's the best piece of advice i can give on this issue.

[REF] Rotating apps using registry and finding classes

Hi All,
I have written this little tutorial by piecing togethor bits of info from other forums and threads. Some of you will probably know this already but this is for those who are struggling:
To get the g sensor rotating any application that doesnt do so already you will need to edit the registry on your device.
Using your preferred registry editor navigate to:
HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
Here you must create a new string value. The name of your string is whatever you want it to be. The value of your string would be the path to the exe of the program you wish to rotate.
Once this is done you must then navigate to:
HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
Here you must again create a new string value.
The name again is whatever you want it to be... the value would be the class name of the application you are attempting to rotate.
For example.... to get excel rotating with the G sensor:
HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
Create new string value... i named it Excel Mobile. Value is:
windows\pxl.exe
HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
Create new string value... again i named it Excel Mobile. Value is:
BOOKWIN
Create second new string value... i named it Excel Mobile2. Value is:
PXLMainWnd
Exit your registry editor and soft reset the device. Job done. Excel will now rotate within the open file browser (PXLMainWnd) and also within any open workbook (BOOKWIN)
For any particular app you should be able to figure out what the full path is to your exe but to get class names use dotfreds task manager:
http://www.dotfred.net/TaskMgr.htm
Once the task manager is installed.... start your app... then start the task manger... go to applications tab and long press on your app which will be listed if it is still running... select details. Go to the windows tab... this screen will list all of the classes currently accessed by your app. Ususally the ones to add into the whitelist will be the ones that are preceded by the app name but not always.
To get you guys started here are the settings for word:
windows\pword.exe
and you need to add two classes to the white list:
WordPad
Pocket Word
Remember that class names are case sensitive.
disclaimer: I TAKE NO RESBONSIBILITY FOR ANY DAMAGE TO ANYONES DEVICE BY POSTING THIS QUICK TUTORIAL. YOU CAN SERIOUSLY DAMAGE YOUR DEVICE IF YOU EDIT THE REGISTRY INCORRECTLY... IF YOU DO NOT KNOW WHAT YOU ARE DOING LEAVE IT WELL ALONE!!!!
bump cos ive changed the title!
can you find the modulename/whitelist for the messaging (SMS/MMS) tab? It's the only one I have trouble rotating.
lude219 said:
can you find the modulename/whitelist for the messaging (SMS/MMS) tab? It's the only one I have trouble rotating.
Click to expand...
Click to collapse
ill have a look if i get some time.
im having trouble getting the lifestyle home page in spb shell rotating atm!
Audio Oblivion said:
ill have a look if i get some time.
im having trouble getting the lifestyle home page in spb shell rotating atm!
Click to expand...
Click to collapse
thank you, and take your time =) btw, I just wanna be clear that I didn't mean the messaging tab on the home/sense screen, I meant the default win6.5 screen.
Thanks for this post, I am trying to find the details for a new app called DynaInk. I've followed your instructions and I am about to see if it worked?
*** Drum Roll ***
It worked, I used #NETCF_AGL_BASE_
Thank You
I applied this trick for Notepad which is a simple text editor that doesn't even require installation:
http://www.shamasis.net/projects/notepad-mobile/
After installing Dotfred's Task manager it showed me several string values for Notepad.exe and one of them was same as Nighthawk's DynaInk: #NETCF_AGL_BASE_ so I added it for my Notepad.exe.
Now it rotates with G-sensor
Thank you, Audio Oblivion for this guide!
p.s. What kind of damage to the device could possibly be done by adding those strings with those values? One could delete them if there's no result ?!?
Great post, works very well except for 1 program.
Perhaps you can help me out with the class name of TomeRaider3.
Program is TomeRaider3AU.exe, but for the Whitelist entry I always get different ClassNames when I start it as just like: "Afx:83ab6eaa:0, next time I get Afx:d54d7832:0, and so on.
Can anyone please help me out with this ?
many thanx in advance
Edit: Found the solution. I have added a ModuleName Wikipedia with Value "\Programme\TomeRaider3\Wikipedia.tr3 and a Whitelist entry for Wikipedia called "Dialog", for the Whitelist entry of TomeRaider I also used "Dialog", now it works very well.
lude219 said:
thank you, and take your time =) btw, I just wanna be clear that I didn't mean the messaging tab on the home/sense screen, I meant the default win6.5 screen.
Click to expand...
Click to collapse
I launched the default wnimo messaging screen and saw a process called tmail.exe appear.
search for tmail.exe on you device and use its full path as the module name. its probably windows\tmail.exe
for class entry in whitelist try: Dialog
If thats not it then start messaging, lauch dotfreds task manager, long key press on tmail.exe... click on windows and try every class you see!
I have now found that gyrator works quite well if you want EVERY screen on your device to rotate with the acceleromter... however... even though it is set to rotate everything... not all windows work. I still had to add in certain aspects of SPB shell to the whitelist for instance. Also... HTC Sense homescreen doesnt like being rotated.
drkalo said:
p.s. What kind of damage to the device could possibly be done by adding those strings with those values? One could delete them if there's no result ?!?
Click to expand...
Click to collapse
You wont damage your device if you follow my instructions carefully. The values you are changing are safe to add, delete and edit at any time (although dont touch what is already in the registry before you started adding to it). The discalimer is there in case someone messes up their registry by doing something incorrectly!
What about the programs that have the same Class name eg. "Dialog".
As i noticed it's enough to add process name to ModuleName or Class Name to WhiteList. No need to put both.
Better to use ModuleName if you have several applications that both have eg "Dialog" but one of them you do not want to rotate.
Eg. Nimbuzz - Dialog, HTC phone app - also Dialog. I do not want to rotate Phone So for me works only the ModuleName for the Nimbuzz.
For other apss I only include data to whitelist In fact there is two lists - by process name and by Window class...
Is there a similar way to enable the "Pinch to Zoom" feature for programs by just adding the programm to some registry entries?
TomTom
This is great
added TT7 = MunichWinClass to the white list.. now I can use TomTom in landscape
Thank you for this information.
I've done 3 programs;
Resco Explorer 2008
ModuleName
\Program Files\Resco Explorer\Explorer.exe
WhiteList
RESCO_EXPLORER_CLASS
and
Palm Digital Media eReader for windows mobile
ModuleName
\Program Files\Peanut Press\eReader.exe
WhiteList
PalmDigitalMediaWin
IME
and
1-Calc
ModuleName
\Program Files\OmegaOne\1-Calc\1-Calc.exe
WhiteList
Dialog
I can't take responsibility if these changes don't work for someone or if they brick their device.
Google maps, OziExplorer, File Explorer & Garmin
Thanks for the detailed info
ModuleName
"GMaps"="\Program Files\GoogleMaps\GoogleMaps.exe"
"Ozi"="\Storage Card\OziExplorer 2\OziExplorerCE.exe"
"FileMan"="\Windows\fexplore.exe"
"Garmin"="\Storage Card\Garmin\Apps\WM\QuePPC.exe"
WhiteList
"GMaps"="GoogleMapsMobile"
"Ozi"="OziExplorer"
"FileMan"="FEXPLORE"
"Garmin"="QUE_SUBAPP_WND_CLASS"
Thanks for this have done tomtom too. Perfect!!
Edit: Could anyone put this in a cab for me please?
Dir of .exe = \Storage Card\Program Files\TomTom Navigator.exe
Value = MunichWinClass
Not working
Hi all,
I have tried to apply this procedure but my applications still do not rotate.
I have tried both modifying the registry by hand, and using BsB Tweaks to rotate Excel but with no success. Any suggestions to share?
EDIT: I have tried disabling and re-enabling the Rotate feature (AutoRotation -> 0 -> 1), resetting the phone after each change, and now NO APPLICATION will rotate: not even HTC messaging nor the Sense Pictures tab.
HELP!!!!
EDIT 2: Solved! I've just found out by pure chance that rotating works only counterclockwise, while I assumed it should work both ways!

[TUT]Baby steps with ceregeditor - comparing for registry changes

A brief 'how to' about finding which registry keys control simple settings.
(There are other methods and software, but the principal of save file, make changes, compare to file is common throughout)
HKCR - Hot Key Classes Root - not really sure, never really looked though, i always ignore it.
HKCU - Hot Key Current User - Holds short term info and user settings for the most part. Expect lots of changes found when you search this branch.
HKLM - Hot Key Local machine - Generally hard system settings, pretty static.
Get 'ceregeditor' and install it,
connect the phone to usb and allow it to connect to activesync,
in ceregeditor click connection - connect, jump to tools - unlock registry
(skip this step unless you get an error pops up later saying you cant make changes)
Now, down the left you see your registry main keys in a standard tree layout, HKCR, HKCU, HKLM
and on the right, the keys and values within the selected branch when you select on the left.
So, you want to find out which registry key controls, for example, phone keypad tones, long, short, off.
Select HKCU on the left, right click and choose export - and save it as something, HKCU would be the obvious choice, it doesn't matter.
Do the same for HKLM.
It will save all the sub keys of wehatever you select on the left.
you can select to start from sub keys by selecting the appropriate key in the left column, assuming you know which part of the registry you want to search.
most hardware settings are held in HKLM, with things like user preffs found in HKCU, but be warned HKCU changes frequently, so expect a long list of changes when you run a registry compare.)
Once you have saved the files (in all honesty, i dont create them both, usually i check HKLM first, and if i dont find what im looking for only then do i check HKCU)
make your change on your phone
(set phonepad keytones to off, for instance) then back in ceregeditor, right click the selected registry key and choose reload selected.
This makes sure ceregeditor is now aware of the new registry value from the phone.
Now go to compare - compare registry.
It will ask you for a file, point it to the one you just saved, and let it run, , ,it will tell you what keys have changed.
You may occasionally get unconnected changes thrown up, but use a little common sense and you can usually tell what is usefull and what isnt.
In the results window, down the left are the items that have changed, with details of the change on the right.
In our example with the keytones, (not a great example since the target is in the HKCU and so is lost among lots of other changes) you should be able to figure out that the keytone settings are held in
HKEY_CURRENT_USER\ControlPanel\Sounds\Keypress beepmode
Its usually fairly obvious which is the key you are after amid the noise of random system state changes.
When you find your target, put a tick in the box and hit export. You can now save that key (or keys if there are several changes you want to save)
Save it as .cereg and you will be able to simply run that file on your phone to apply those settings.
Or, with wincecabmanager (my other recommended piece of software alongside ceregeditor) its easy to import the reg file into a cab. You can keep adding to that cab as you find and extract more personalised settings.
Keep it in your autoinstall folder on your sd card, and it will always be applied when you hard reset.
My own 'my tweaks.cab' file is fat with various settings, tweaks, etc and i still add to it regularly.
It's true that it's often easier to trawl <searchengine></searchengine> and find the answer, and maybe even a cab to turn it on and off, but its a nice way to start p0king at your registry and seeing how things work, plus you can make one cab for yourself, adding tweaks one by one, without remembering to store loads of different ones and re apply them when you restore/hard reset.
you know, i've never thought of exporting the whole hkcu or hklm directory before. i'm going to have to try that. it'll be interesting to read through a lot of that.
I too have a registry tweak CAB for both my Wizard & Rhodium. Haven't made one for the HD2 yet, since most of the tweaks I've made were through one of the many different tweaking apps.
also, what's this about an autoinstall folder?
*edit* disregard the last part. I always use official roms so the autoinstall doesn't apply

Categories

Resources