Hello, i was looking for a standalone backlight manager to use in ultimate launch ( with cycling ) and i've found this great stuff on 4pda.ru but unfortunately it's all in russian. I've manage to make it work well on my trinity but i'can't understand all the options and there's no .ini nor lang.text to edit. Some help is welcome for the translation, even if you don't translate the program i would like a russian helper that can list all the options (would be perfect with screenshots). thanks a lot for viewing perhaps helping !!!
P.S. :sorry for english, when you read my posts you know i'm french ; )
UPDATE 06.05.2008 new cab below containing the english mui.cab. Install both then go to config first line of the second tab to change language. All credits to MalVal
MVBklight 1.4.3
1. Install MVBklight.CAB.
2. To change the language: install MVBklight.MUI.CAB, go to settings the first line of the second tab.
3. To change the skin: copy a new skin to Skins folder in program folder and choose this skin in settings.
Thanks a lot it works perfectly now i can configure my cycling function. your great
Your program is really perfect MalVal, I was looking for a stuff like that for a month, really happy that the Dev himself answer me. The torch, the cycling function, the today plugin, the fact that it's multiplatform, nice work. Do you have made other progs ?
Yes. MVBalance. It dysplays remained money in your mobile on today.
But it have only russian interface, and i think it will be difficult to adjust it.
Hi MalVal,
Did you have a short tuto ? How does it works, I launch it, change langage, but did not understand how to make it works!
Thanks for your help
Universal backlight manager MVBklight.
Features:
- System WM2003, WM5/WM6, qVGA, VGA.
- Control of backlight from the today (joystick: right - increases, left - decrease, central button - the settings menu, up / down go to next plugin).
- Popup with backlight regulator (joystick: to the right/up - increases, to the left/down - decrease, closing by the central button).
- Set and get of backlight from a command line (the example, ‘ Cmd 244 ’ - set new, Cmd - returns current).
- Increase/decrease of backlight from a command line (the example, ‘ Cmd + ’ - increases, ‘ Cmd - ‘ - reduces).
- Switch backlight from max to min and back ('Cmd m').
- Cycle change of backlight through Cmd.
Cmd 2 5 7 10 on a circle changes values. If was < 2 sets 2, if < 5 sets 5, ..., if >= 10 sets 2.
Similarly with decrease, Cmd 10 7 5 2 - if was more than 10 sets 10 if > 7 sets 7, ... if <= 2 sets 10.
- Switch on of the necessary backlight at connection to an external power (only if plugin is active) and switch back to battery backlight.
- The torch mode, switch on the maximum backlight and the white fullscreen (Torch.exe in a program folder).
- Settings of colors.
- Support of skin (32-bits RGBA bmp).
- Various kinds of sliders (without skins ).
- Display of backlight value by number or in percentage.
- Possibility of manual input of dwIoControlCode codes (see DeviceIoControl in MSDN) and the registry keys which are responsible for set and get of current value of backlight (these codes and keys differ from a device to device).
Installation:
1. Install the cab in the main memory (not on storage)
2. Start from Start-up-> Programs-> MVBklight or from explorer \Program Files\MalVal\MVBklight\Cfg.exe, make settings.
3. In the same place, in settings switch on a plugin.
Settings:
1. At the first start in line "Settings for" there will be a name of your PDA and will be established default settings for it. If default settings does not work, we can manually adjust it.
2. In the field "Type" choose your PDA type.
Input section, branch and keys of registry in which current values of backlight are stored (Battery and power). For many PDA - HKCU\ControlPanel\Backlight, ACBrightness and Brightness.
They can be looked in the registry (corresponding values vary after backlight change by a built-in regulator). In the same place it is possible to find the maximum and minimum.
3. For WM5/WM6 it is necessary to enter corresponding sexadecimal codes DeviceIoControl.
4. Specify a skin folder. There should be four 32-bit bitmas with an alpha-channel (folders should be in a plugin folder).
To find out backlight settings for each concrete device, it is necessary:
1. Find out what file with exptention dll, cpl or any is responsible for backlight on this device (means backlight adjustment through the menu Settings-> System-> Backlight or Brightness ).
Usually this file is in a windows folder and has a certain speaking name of type COMBacklight.dll (on ETEN).
As a last resort, it is necessary to investigate all files suspected on backlight control.
2. It is necessary to copy these files on PC.
3. Then we use IDAPro to disassemble it and try to find options needed.
There are some known settings in attach (my database).
PS. Sorry for my english .
Hi MalVal,
your app did sound so sweet ;-) but unfortunately is does not work on my Artemis.
The slider shows up - but it does not change the brightness no matter what I do.
A couple of observations:
it shows Arte20000 instead of Arte200 and this name is fixed
for device type it says WM2003 but it should read WM6.1 or at least WM6
most of the settings for registry are greyed out and not changable
Might be that the problems come from my Rom being modified ?
Best regards,
mst
Hi MalVal,
Same issue for as mst46. I'm using your soft with Artemis PDA and "ARTEMIS TOUCH 4.01 WM6.1 WWE ROM".
As previously mentioned, only ARTE10000 is proposed and no way to modify other fields as they are "greyed".
BUT, it seems that is it because of the english translation you quickly done. I try removing the cfg.exe.mui file you provide, and then relaunch conf, then, even if written in a langage I cannot understand (russian ?), it is possible to select another item than "ARTE10000" and then are able to edit the following fields.
I try to select WM5/WM6, then HKCU, then ControlPanel\backlight, then Brightness, then ACBrightness, but seems that it has no effect. Difficult to o further when don't know what are the files editing
Could you take a look at it ? Thanks for your support.
Same thing happens with ipaq hx2490b. The device name is correct, the OS appears as WM2003(I haveWM6.1), and other options are greyed.
If default settings does not work, you can manually setup it :
1. Set manual in field Settings for
and restsart Cfg.exe. All fields become accessible.
2. see post above.
Known codes for some HTC:
HTC Hermes, НТС Х7500:
Codes: Pwr - 0x220010, Bat - 0x220018
HTC 4350 Herald:
HTC P3300:
HTC 3400 :
Pwr – 0x8, Bat – 0x7
Registry: HKCU\ControlPanel\Backlight, ACBrightness and Brightness
HTC Wizard:
0x2
HKCU\ControlPanel\Backlight, ACBrightness, Brightness
iPaq 3715:
Battery – 0x7, Power – 0x8
Registry the same
You can try these. If it does not help, it is necessary to analyze built-in backight manager with IDA.
Hi Malval,
I've been able to make it work with the parameters you provides for my P3300.
But there is still a problem with the translation file I belive.
I first install the Cab, then replace the cfg.exe plus the cfg.exe.mui file with the one you provide in the early post.
When running the conf, it is possbile to have it in english, but it was not possible to select something else than ARTE10000 in the second field (settings for) of the system tab. The "manual" option is not available!
In order to make it works, I remove the cfg.exe.mui file, and relaunch the conf. Then all messages come back to russian, but in the second field of system (settings for I belive it is writen in russian), I was able to select something else than ARTE10000 and I've been able to access following fields (they are no more greyed).
Once the "manual" field selected, I exit the conf, and replace the conf.exe.mui file and I've been able to see what are the fields I was modifying as the langage come back to english.
But, in the "Settings for" field, it is written "(null)", and opening the drop down box, only ARTE10000 is available.
I hope it can helps you in order to modify your code to fix this minor bug.
For those who follow the instruction I gives, and having a P3300 running "ARTEMIS TOUCH 4.01 WM6.1 WWE ROM", I set a "Maximum value" to 4 otherwise you will have a surpise of a blank screen if seting a higher values.
Regards
Hi, JBT1.
Thanks for bag.
I've upload a new one. In the same post. Check it.
I've also add mui for plagin.
In the next release i'll add all files in one cab-file and i'll update database to support artemis.
Hi Malval,
Sounds good this time. Manual is available now in the settings and today plugin menu is in english.
Thank you for this great application.
I have an issue now with the assignement of a button with your popup application. I assign it to the button 6, and it works fine except when running TomTom! If running Tomtom and hitting button 6, it call the default assignment who is the Voice speed dial! I beleive it is a Rom or Tomtom issue.
Will look forward for your next rev
Thank you
I tried it on my Kaiser.
Hanging when changing the backlight.
Working great now on my Artemis. Great tool .
Thank you MalVal !
mst
Can someone post a screenshot of what the actual today plug in will look like? Been trying to get it to work on my kaiser but not having any luck
mattarse, romualdrichard!
I need more information, what is the problem.
Screenshot.
More screenshots in attach. I hope it enough.
please do you have more screenshots of this program?
The backlight doesn't change at all. Im on a kaiser with duttys newest 6.1 rom.
If I leave it set for kaiser it is stuck on WM2003, but changing it to manual and setting it for Wm2005/2006 doesn't help either.
I assume the problem is in one of the other settings, but I reallydon't know what to test.
Any help you can give would be appreciated, I've been looking for a program like this for awhile.
Related
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.
OK I was working in the customization of the HTCHomeplug.
What is HTCHomeplug? If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin that shows some icons like Battery, Rotation, Comm Manager, Screen Light, Quick GPS and TVOut. What I discovered is who to deal with this plugin in order to change the icons and applications associated there.
I used PHM Registry to edit entries at the PPC registry, but you can use the editor of your like.
First is access using the registry editor to this entry:
/HKEY_LOCAL_MACHINE/SOFTWARE/HTC/HTCHomeplug
There is the configuration of the plugin. There we will find two entries pointing to the first two icons (Battery and Rotation) that seems to be configured in a different way that the rest of the icons. Those are the two DWORD entries:
PowerIconSlot with value of 0 (this means the first position in the plugin)
RotateIconSlot with value of 1 (this means the second position)
The rest of the positions in the HTCHomeplug appears like KEY entries with names from 2 to 5 meaning positions 3 to 6 in the plugin bar.
Inside each key (2 to 5) we find 3 values (or entries):
1- iconindex DWORD type of Decimal which contains 103 in the case of entry KEY 2
2- LaunchApPath STRING contains the path to the executable file associated to the icon
3- ResPath STRING contais the path to the resource file which contais the icon image poited by iconindex entry. This path points to a DLL or EXE file containing the icon image.
So... since we want to add a icon/application we need to create the entry KEY 6 and we must create both STRING entries and DWORD one inside the KEY 6.
To add Tomtom Navigator in the HTCHomeplug (as an example) I added:
iconindex = 101
LaunchApPath = \Program files\Navigator\Tomtom Navigator.exe
ResPath = \Program files\Navigator\Tomtom Navigator.exe
So I'm using the icon storaged in the Tomtom Navigator executable file itself and my Tomtom is in the path I show in the entry. Off course this could not match your installation.
How I found the iconindex information that points to the icon in the Tomtom's EXE file??? Easy I used a program called RViewer (for PPC) develop by Vicott Wong. The program can by found in Google or in the web page shown in the About screen.... http://mobile-sg.com
Running that program and browsing the EXE file (or a DLL) we can see the index for each resource and if it's an image the image is display in the screen, so I found the 101 is the index for the Tomtom icon inside de EXE file.
Once the entries in the Registry are done the rest is easy. Just go into Start - Configuration - Personal - Today and int the Elements Tab. There unmark the HTCHomeplug and exit the configuration going into the Today screen to check that the plugin is not in the screen. Then we back to the Today configuration and select again the HTCHomeplug to mark it. Once we are back into the Today screen we will see the new icon.
(OK in the previous paragraph I'm translating the menu options and clicks from my spanish release of WM5 into english one so the names could not match... what you need to do is configure Today screen to remove the plugin and to configure again to insert the plugin, that way the plugin is reseted and the new icons loaded).
I did several tests and looks like the HTCHomeplug only supports 7 icons (0 to 6) but since many of the original icons are not use on daily bases we can setup up to 5 programs in that plugin leaving the Battery and Rotary icons in its place.
I hope this is useful... and I beg your pardon for my poor english.
Regards,
mahjong
P.S.: I posted this first at todopocketpc.com in spanish. If you know that language maybe you prefer read it in my mother language. For sure will be much better written.
mahjong said:
OK I was working in the customization of the HTCHomeplug.
What is HTCHomeplug? If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin that shows some icons like Battery, Rotation, Comm Manager, Screen Light, Quick GPS and TVOut. What I discovered is who to deal with this plugin in order to change the icons and applications associated there.
I used PHM Registry to edit entries at the PPC registry, but you can use the editor of your like.
First is access using the registry editor to this entry:
/HKEY_LOCAL_MACHINE/SOFTWARE/HTC/HTCHomeplug
There is the configuration of the plugin. There we will find two entries pointing to the first two icons (Battery and Rotation) that seems to be configured in a different way that the rest of the icons. Those are the two DWORD entries:
PowerIconSlot with value of 0 (this means the first position in the plugin)
RotateIconSlot with value of 1 (this means the second position)
The rest of the positions in the HTCHomeplug appears like KEY entries with names from 2 to 5 meaning positions 3 to 6 in the plugin bar.
Inside each key (2 to 5) we find 3 values (or entries):
1- iconindex DWORD type of Decimal which contains 103 in the case of entry KEY 2
2- LaunchApPath STRING contains the path to the executable file associated to the icon
3- ResPath STRING contais the path to the resource file which contais the icon image poited by iconindex entry. This path points to a DLL or EXE file containing the icon image.
So... since we want to add a icon/application we need to create the entry KEY 6 and we must create both STRING entries and DWORD one inside the KEY 6.
To add Tomtom Navigator in the HTCHomeplug (as an example) I added:
iconindex = 101
LaunchApPath = \Program files\Navigator\Tomtom Navigator.exe
ResPath = \Program files\Navigator\Tomtom Navigator.exe
So I'm using the icon storaged in the Tomtom Navigator executable file itself and my Tomtom is in the path I show in the entry. Off course this could not match your installation.
How I found the iconindex information that points to the icon in the Tomtom's EXE file??? Easy I used a program called RViewer (for PPC) develop by Vicott Wong. The program can by found in Google or in the web page shown in the About screen.... http://mobile-sg.com
Running that program and browsing the EXE file (or a DLL) we can see the index for each resource and if it's an image the image is display in the screen, so I found the 101 is the index for the Tomtom icon inside de EXE file.
Once the entries in the Registry are done the rest is easy. Just go into Start - Configuration - Personal - Today and int the Elements Tab. There unmark the HTCHomeplug and exit the configuration going into the Today screen to check that the plugin is not in the screen. Then we back to the Today configuration and select again the HTCHomeplug to mark it. Once we are back into the Today screen we will see the new icon.
(OK in the previous paragraph I'm translating the menu options and clicks from my spanish release of WM5 into english one so the names could not match... what you need to do is configure Today screen to remove the plugin and to configure again to insert the plugin, that way the plugin is reseted and the new icons loaded).
I did several tests and looks like the HTCHomeplug only supports 7 icons (0 to 6) but since many of the original icons are not use on daily bases we can setup up to 5 programs in that plugin leaving the Battery and Rotary icons in its place.
I hope this is useful... and I beg your pardon for my poor english.
Regards,
mahjong
P.S.: I posted this first at todopocketpc.com in spanish. If you know that language maybe you prefer read it in my mother language. For sure will be much better written.
Click to expand...
Click to collapse
Excellent post and thanks for your efforts and sharing! I'll be trying this out later. Just what I was looking for.
I'll report my experiences later.
Excellent! I will try this!
When using TrueVGA, does anybody know a way of making the icons work? I see only 1/4th of an icon, and it's even the wrong icon. The only icon is the one for the Light Settings...
Anybody know the iconindex for Opera so i can have the Opera icon instead of Web&Walk icon!
Mahjong tells you how to find it...
mahjong said:
How I found the iconindex information that points to the icon in the Tomtom's EXE file??? Easy I used a program called RViewer (for PPC) develop by Vicott Wong. The program can by found in Google or in the web page shown in the About screen.... http://mobile-sg.com
Click to expand...
Click to collapse
No Joy I'm afraid...
I'm afraid that it hasn't worked for me on the Ameo. Maybe it's due to how T-Mob have configured/altered things with their customisation of their ROM.
I reverted to using the TrayApplet in the same regedit folder that the HTCHompeplug resides in, but to no avail.
Quote "Just go into Start - Configuration - Personal - Today and int the Elements Tab. There unmark the HTCHomeplug and exit the configuration going into the Today screen to check that the plugin is not in the screen. Then we back to the Today configuration and select again the HTCHomeplug to mark it. Once we are back into the Today screen we will see the new icon.
(OK in the previous paragraph I'm translating the menu options and clicks from my spanish release of WM5 into english one so the names could not match... what you need to do is configure Today screen to remove the plugin and to configure again to insert the plugin, that way the plugin is reseted and the new icons loaded). " End Quote.
No HTC Plugin on the Ameo Today settings menu either, but visible in HLKM...software etc...as the HTCHomeplug.
I can get some of my choice of programs in the TrayApplet, but not the associated icons!!??!!
Same as before when I tried. Anyone else with an Ameo who has had success in getting it to work with the right icons?
Hi,
Thanks for the tip, it's really useful! I wanted to customize the plugin but didn't have the patience to go through all the registry.
Twp questions though:
- I made a shortcut for the calculator (calc.exe) but the icon is too big (both res. index 0 or 100 in calc.exe). Is there a way to scale it down, or a smaller calculator icon in another file? What's the "main" icon library for Windows Mobile (the equivalent of shell32.dll under Windows)
- I tried to make a shortcut to the phone application, but I can't find the exe file (the Start menu shortcut doesn't point to an exe file, but to :MSCProg?......). And I can't find the icon either...
Please help.
Regards,
Silviu
Hi silviu.h.
Which Athena device do you have, Advantage, Dopod or Ameo?
Hi, I have the HTC Advantage (not Ameo, not Dopod), and the vanilla french ROM.
silviu.h said:
Hi, I have the HTC Advantage (not Ameo, not Dopod), and the vanilla french ROM.
Click to expand...
Click to collapse
Thanks for the reply. That would explain why to a large extent it works on your device.
P.S. try \Windows\HTCICON.dll (I think that is the equivalent to shell32.dll)
Let us know how you get on.
Thank you for your answer.
The hack from mahjong works OK, except for the quirks I have already posted above (the Calc.exe icon is too big and I can't find the main icon store). htcicon.dll doesn't exist
However it's OK for Tomtom.
I'll keep you posted on my findings (I'm not giving up, I just have to go to bed )
See you,
Silviu
mackaby007 said:
No HTC Plugin on the Ameo Today settings menu either, but visible in HLKM...software etc...as the HTCHomeplug.
I can get some of my choice of programs in the TrayApplet, but not the associated icons!!??!!
Same as before when I tried. Anyone else with an Ameo who has had success in getting it to work with the right icons?
Click to expand...
Click to collapse
Yeah that was the reason for adding this to my note: "If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin..."
Only for HTC users I'm afraid.
Best Regards,
mahjong
mahjong said:
Yeah that was the reason for adding this to my note: "If you own a HTC X7500 Advantage (the HTC make of Athena or Ameo) then in the Today screen you got a plugin..."
Only for HTC users I'm afraid.
Best Regards,
mahjong
Click to expand...
Click to collapse
Well, you can simply enable it on the T-Mobile Ameo using the following Reg-Keys:
- Navigate to: HKLM\Software\Microsoft\Today\Items
- Create a new Key named: HTC-Homeplug (or whatever you like)
- Navigate into that key
- Create the following items under that key:
String: DLL
Value: htchomeplug.dll
DWORD: Enabled
Value: 0 (or 1 if you want to enable it directly)
DWORD: Flags
Value: 0
DWORD: Options
Value: 0
DWORD: Order
Value: 0
DWORD: Type
Value: 5
After doing the above go to your today-screen settings and the Homeplug plugin is there...
Cheers
I seem to have BOTH HTCHomeplug and Trayapplet on my Ameo
It seems that there is a today item [email protected] or something I can turn on/off that doesnt appear to do anything, I beleive this is turning on/off the HTCHomeplug.
Because Trayapp is already on, and overwriting the HTChomeplug you only see its icons, therefor the homeplug is hidden.
I will experiment with turning off trayapp then turning on the @home today item and see what happens, but it looks like a lot of the confusion for Ameo users is the fact both are installed.
I did a hard reset, and didnt fiddle with the home/tray stuff, so this is how the rom set it up!
HKLM/software/htc/HTCHomeplug
HKLM/software/htc/TrayApplet
Both have keys of (and ONLY of),
PowerIconSlot=0
RotateIconSlot=1
In them.
Under HKLM/software/microsoft/today/items/[email protected]
DLL=hztdplug.dll
enabled=0
flags=0
options=0
order=1
type=5
Pyrofer said:
I seem to have BOTH HTCHomeplug and Trayapplet on my Ameo
It seems that there is a today item [email protected] or something I can turn on/off that doesnt appear to do anything, I beleive this is turning on/off the HTCHomeplug.
Because Trayapp is already on, and overwriting the HTChomeplug you only see its icons, therefor the homeplug is hidden.
I will experiment with turning off trayapp then turning on the @home today item and see what happens, but it looks like a lot of the confusion for Ameo users is the fact both are installed.
I did a hard reset, and didnt fiddle with the home/tray stuff, so this is how the rom set it up!
HKLM/software/htc/HTCHomeplug
HKLM/software/htc/TrayApplet
Both have keys of (and ONLY of),
PowerIconSlot=0
RotateIconSlot=1
In them.
Under HKLM/software/microsoft/today/items/[email protected]
DLL=hztdplug.dll
enabled=0
flags=0
options=0
order=1
type=5
Click to expand...
Click to collapse
The T-Mobile plugin has nothing to do with the HTC-Homeplug. HTC-Homeplug provides the sam functionality as the TrayApp.
The [email protected] Today Plugin is only useful for T-Mobile customers as it provides functions for HomeZone users.
The dll name hztdplug.dll means HomeZoneTodayPlugin...
If you want to use the HTC-HomePLug plugin you have to create the registry key I've posted above.
Cheers
Ok, I dont want the homezone rubbish.
But im still stuck with both HTCHomeplug and Trayapp
How do I enable/disable the trayapp? That doesnt seem to have any today element to it. I cant get icons working at all in trayapp and wanted to try the HTCHomeplug as that looks a much more userfriendly app.
Pyrofer said:
How do I enable/disable the trayapp?
Click to expand...
Click to collapse
Go to HKLM\init
Delete the Launcher for TrayAp.exe. On mine it is Launch92...
Make a Softreset after you changed this setting and the TrayAp is gone.
Cheers
Thanks!
I now have the HTC Homeplug working, and the trayapp gone! W00t!
I like the bigger icons, and now I can edit them better im happy. Much nicer.
Anyone thought about coding a contol panel applet for this homescreen plugin??
Moskus said:
Excellent! I will try this!
When using TrueVGA, does anybody know a way of making the icons work? I see only 1/4th of an icon, and it's even the wrong icon. The only icon is the one for the Light Settings...
Click to expand...
Click to collapse
If you use combination of Spb pocket plus and Commmgrpro, you don't need to deal with these problems of wrong size icons in the comm manager and home plug. Both of these need not be used at all.
I'm yet to find a replacement for Spb GPRS monitor though. SPb GPRS monitor also have problem displaying in true VGA. There are some but they do not show the kbps figure - only the downloaded volume.
Guys,
I've not been getting enough time to work on ShantzTodayChanger anymore (and couple that with the irritation of having to boot into windows just to work into this). The motivation levels are simply not there. I'm trying to see if there is someone willing to take up and continue development for this, so that I can release the source code. If anyone is interested, please drop me a word at the project's home page: Shantz Today Changer Home Page
SHANTZTODAYCHANGER
For queries, bug reports, feature requests, updates and downloads, visit ShantzTodayChanger Home Page
If you like this program, then you can
:: DONATE ::
This small tool will cycle ur today background or theme after a set interval of time.
Usage:
1. Make a folder on ur device (preferably not on storage card.) and extract all the files (mainly ShantzTodayChanger.exe, TdyChangerCfg.exe, gsgetfile.dll (might not be visible to u depending on ur explorer settings) and Readme.htm) to this folder.
2. IMP: Do not rename any files.
3. Run the TdyChangerCfg.exe.
4. Set options through the dialog that opens and press apply button (Pressing the native WM OK button will discard all your changes)
5. Options:
i)Choose image type (.gif\.jpg\.png) or theme(.tsk) to be cycled.
ii)If the input files (images or themes) are not in the folder where exes are kept, then you can check the box (underneath the .gif option) and give the "FULL and ABSOLUTE" path of where the files are kept. You can either input the path thru keyboard or choose it graphically by pressing the button (...) next to it.
iii)If you want to run a file after every cycle interval, check the corresponding box and provide the "FULL and ABSOLUTE" path of the file to be run. You can either input the path thru keyboard or choose it graphically by pressing the button (...) next to it.
iv) If you want some files to be avoided during cycling, put a file mask. The program will look for this mask to appear anywhere in the name of the files and will avoid it if found. (Wildcards are not supported. Choose time option has to be checked for this to work)
v) Choose the period for which mask option has to be used. If you choose a time period and leave mask as empty, then during that time no cycling will be done. If you want to avoid some files all the time, then time period should be chosen to cover all 24 hrs of the day.
vi)enter the desired interval between cycling of images\themes.
vii)If you choose a period for the mask, another check box (Consider mask period for exe also) will be enabled. Checking this box will mean that the specified exe will be run only if an image\theme is changed during that cycle. If you dont check this, then exe will be run after every cycle even if there is no change in the image\theme.
6. When you want to stop the cycling, press "STOP Cycling" button.
Additional Notes:
1. I've tested it only on my WM6 HTC Wizard and WM5 emulator. Might work with other devices/OS's but not sure...
2. Doesnt have to be running constantly. So saves resources when not active.
3. Survives soft resets as well.
4. Even takes care of the situation if your phone is off when the time to cycle is reached. Will cycle as soon as ur phone comes back on in this situation.
Planned Updates:
i) Suggestions invited. I have a lot of updates in mind but will incorporate those only which are requested by you.
Known Issues:
i) If the mask option is selected, then in a very particular situation, the app will miss a cycle.
This can be taken care of but not in my priority list because this can be fixed only by rewriting the complete cycling code which is quite a bit. So, will fix it if I get some time from my other projects.
ii) If after maknig the configuration, you see the screen flash for a second at the right times, but the backfround doesn't change, then do this:
- Go to : Settings...today....appearance
- un-check "Use this picture as background"
- start the program using "startTodayChanger.lnk" or TdyChangerCfg (Apply button)
(Thnx to CWKJ for reporting this bug and fix, and to eric for reminding me about it)
End Note:
Like every software, this one is also bound to have bugs, please report it asap.
Though ShantzTodayChanger does not run continuously but sometimes some apps that close all processes automatically (like SPB backup) might clash in schedule with ShantzTodayChanger and close it when it starts to run. In such a case (which is quite unlikely), the app might not be able to set a notification for next cycle, so if u face this situation, then run the config again.
Version History:
1.53 - 23-March-08 -> RECOMMENDED UPDATE
i)Theme Color Detection has been improved a lot. Should work much more accurately now.
1.52 - 11-Aug-07 ->
i) Fixed another bug for the "time period" option.
ii) Made a little optimization in the code.
1.51 - 05-Aug-07 ->
i) Fixed a bug which prevented the "time period" option from working properly.
ii) Fixed a bug where wallpapers might not change if certain particular themes were installed before change cycle happens
iii) Fixed a bug where the time period option was not remembered properly by the GUI.
iv) Added option to allow user to choose whether to run the user specified file (exe\lnk) after every cycle interval only if there was a change in image\theme during that cycle.
v) Made a few small changes to the GUI to prevent users from making incorrect settings.
1.50 - 29-July-07 ->MAJOR UPDATE
i) Added option to specify a mask to avoid files having that mask
ii) Added option to specify the time period during which the mask has to be considered
iii) Added code to ensure that if mask is empty and a period is chosen, then no rotation is done during that period.
iv) Added option to run a user specified file after every cycle interval.
v) Fixed bug where the jpg and png options were not working earlier.
vi) Clicking help button now opens help in Pocket Internet Explorer.
vii) Fixed many more subtle bugs that manifest themselves and very peculiar situations.
viii) Optimized the code a bit at a few places.
ix) Also see "Known Issues" section above.
x) Removed the "append to previous info" box as now the app remembers old info correctly.
1.33 - 18-July-07 ->
i)Added code to select the input path graphically. It is a bit of workaround though. To select an input folder, just select any file inside it in the select folder dialog.
ii)TdyChgrCfg now shows you the previous settings.
1.32 - 21-Jun-07 ->
i) Fixed a bug where sometimes on cycling themes, colors change but images do not change.
ii) Added a measure to avoid running multiple instances (just as a precaution)
iii)Added code to avoid losing notifications if phone is reset too early after running the program
1.31 - 20-Jun-07 ->Fixed 2 bugs:
i) A notification bug where old notification is not deleted
ii) A bug where cycle interval value is not correctly read from the GUI
1.3 - 19-Jun-07 ->
i)Added option to make partial changes to previously entered information.
ii)Fine-Tuned the Theme Color support algo. Now, theme colors should be almost 95% same as calculated by windows mobile while applying theme.
iii)Did some code optimization
1.2 - 19-Jun-07 ->Major Update:
i)Added Theme Support. Changing of system colors as per theme is also supported (which is not done by any other program IIRC)
ii)Added option to keep input images\themes in a separate folder
iii)Provided a GUI Configuration module
iv)Provided option to choose between gif\jpg\png\tsk to be cycled.
1.11 - 12-Jun-07->Fixed another bug with notification queue
1.1 - 12-Jun-07 -> Fixed the bug that causes WM5/WM6 devices not to cycle wallpapers in certain conditions
1.0 - 10-Jun-07 -> Initial Release
Credits:
daxliniere/wacky.banana -> For asking to make the tool and their inputs
SeanFromSoCal/200mpx -> For their inputs
If you like this program, then you can :: DONATE ::
Download:
Latest Downloads can now be found at http://tech.shantanugoel.com
For queries, bug reports, feature requests, updates and downloads, visit ShantzTodayChanger Home Page
it may be interesting
nice release...will try it soon
Hey Shantz! thanks so much for this, unfortunatley it doesn't run on my Hermes!
And I don't know how to debug it so you can take a look at it.
Feature request: JPG or PNG support would be great. Also, a way to specify where the files reside, maybe command line? If argument is not present at command line, then default to install directory (program root)
Thanks Shantz!!
Dax.
@dax: well, I'll add a config module soon for the image paths etc.
Will see if jpg/png support is feasible enuff...
About the hermes, i'll send you a debug build and try to run that. But first of all, tell me whether you can find a registry entry "HKEY_CURRENT_USER\Software\ShantzTodayChanger" and if its there then can you tell me the objects present inside it along with their values...
shantzg001 said:
Hi
Just made this. This small tool will cycle ur today background / wallpaper after a set interval of time.
Usage:
1. Make a folder on ur device (preferably not on storage card. Its just 8KB anyways) and extract the ShantzTodayChanger.exe to this folder.
2. Copy the image files that you want to set as ur today background to this folder.
[bold]IMP:The files should be gif and moreover, the size (widthxheight) of the images should be taken care of by you in advanced, otherwise they might be stretched or cropped[/bold]
3. Run the ShantzTodayChanger.exe.
4. This will create two shortcuts in ur folder. startTdyChngr.lnk and stopTdyChngr.lnk.
5. Now just run startTdyChngr.lnk. The default time gap between cycling is 600sec. You can modify the shortcut to choose ur own time (in sec).
6. When you want to stop the cycling, just run stopTdyChngr.lnk.
Additional Notes:
1. You can create your own shortcuts if you want. Basically the ShantzTodayChanger.exe works on following command line arguments (without the quotes):
i) "-g 600" - start cycling images. replace 600 by ur own time in seconds. Keep it more than 1 minute preferably.
ii) "-s" - stop cycling.
iii) "-c" - cycle immediately. DONT USE THIS OPTION. MIGHT CREATE PROBLEMS.
2. I've tested it only on my WM6 HTC Wizard and WM5 emulator. Might work with other devices/OS's but not sure...
3. It runs only when wallpaper has to be changed. So saves resources when not active.
4. Survives soft resets as well.
5. Even takes care of the situation if your phone is off when the time to cycle is reached. Will cycle as soon as ur phone comes back on in this situation.
Planned Updated:
i) Suggestions invited. I have a lot of updates in mind but will incorporate those only which are requested by you.
End Note:
Like every software, this one is also bound to have bugs, please report it asap.
Version History:
1.0 - 10-Jun-07 -> Initial Release
Credits:
daxliniere/wacky.banana -> For asking to make the tool
RapidShare Mirror->http://rapidshare.com/files/36281282/ShantzTodayChanger.zip
Click to expand...
Click to collapse
cool,
i was actually thinking of something like this...
feature request????
how about changing the entire theme....
(what i am planning here is having different themes during different times of the day)
along with it say can you make it check the time (say instead of 600s i would like to change it at 12, 3, 6 and 9...)
whole theme changer(tsk), which will change system solors would be WROBG
@fallenCzar: Whole Theme Changer isn't on the list right now...Maybe I can work on it when I get a few other things together first..
along with it say can you make it check the time (say instead of 600s i would like to change it at 12, 3, 6 and 9...)
Click to expand...
Click to collapse
Do you mean, you want to change it at a specific time of the day? Hmmm, I may try to include an option to specify the "cycle start time" along with the gap, which should take care of this...
not working on my o2 XDA II mini win 2003SE.it says not a valid pocket pc....
@Sathya: It works only on WM5 and WM6. I'll see if just a simple compilation for the WM2003 platform will work and let you know...
@ALL: Those who have tried it on their WM5/WM6 devices, please let me know if its working ok for you or not.
BTW, i've started working on a few updates, check in Post #1..I think I'll make two versions for this, a normal one and an extended one, so that those who want a smaller footprint can use the normal version...
Hey seem to be a nice work shantzg001, checking it out soon ...
Thnx Shailesh, did u get time to run it??
do not work on my Trinity
Shantz,
Just seen this. Many many thanks for your efforts here, most appreciated.
Not had chance to try it yet but most reports sem to be coming back that it doesn't seem to work on a Tytn/WM5 machine? What's your take on that?
Cheers
WB
Hmmm, it works perfectly on my WM6 HTC Wizard and the WM5 emulator as well...Not getting any time right now to look more..Will post a debug build tonight..But can someone please check the registry. I had said earlier also to check under HKEY_CURRENT_USER\Software\ShantzTodayChanger, to report back what all settings exist there, after you have completed all the process...
Found some problems with the code...Have removed the utility till further notice...
Found out part of the problem by inspecting a colleague's device...Its because of how some devices behave to background change if themes are installed..
Will make the change when i go back home tonight and also see if there is any other problem...
Fixed the bug...It should be ok now for all WM5/WM6 devices..
With 1.11 it now works fine!
Is it possible to make it work not only with gif files but with tsk too
Hey guys,
I just got my HD and have really no clue how to get the gsen to work so i can write sms and emails in landscape. Also I would like a few other applications to be in landscape too.
Can anyone help me??? It would be greatly appreciated.
Can someone please help me? or give me website that gives instructions? I really need help for this!!!!!!!!!!!!!!
gsen should by default enable landscape for almost any app (with some exceptions like tf3d and so on). after installed you should run gsen manually and then notice if the screen rotation is working. then if you like etc you can run gsen cfg and set it to autostart via left soft key.
crashDebug said:
gsen should by default enable landscape for almost any app (with some exceptions like tf3d and so on). after installed you should run gsen manually and then notice if the screen rotation is working. then if you like etc you can run gsen cfg and set it to autostart via left soft key.
Click to expand...
Click to collapse
Is it the best software for the HD to use for auto-rotation? Also how do i install it on the phone? thats my main problem. It seems to have come already pre-installed but cant figure out how to work it....
simply download the cab trasfer to phone and tap on it from the phone
OmZ said:
Is it the best software for the HD to use for auto-rotation? Also how do i install it on the phone? thats my main problem. It seems to have come already pre-installed but cant figure out how to work it....
Click to expand...
Click to collapse
Pre-installed?..... GSen doesn't come pre-installed.
Where did you get it from?
He's probably just talking about the original rotator that excludes most everything, aside from the media/internet based programs.
Works??
Hi again.
I installed the prog right now, started and open the settings. Screw the phone -< works fine. close settings, open programs, tur the phone again -> nothing happens. Like in nearly) every other program. Opening the settings again, nothing happens too.
So i turned the GSEN off an on again sometime, settings work but nothing else.
WHAT'S THE PROBLEM???
Thx for reply
Did you read the readme.txt file that came with gsen?
Works fine on my HD
Here is a part of the file:
1. Description
Auto-rotate screen on SOME devices with g-sensor.
Install GSen and run it.
If you run it again, program will ask you "Unload program?".
If you answer yes - program will be unloaded.
This also possible without question with parameter #unload.
You can use configuration shortcut for edit configuration file.
This file can include this command:
#window(text or class name) - add window description
#timeout(value) - default value 1000 ms
#onlyfor(0|1) - if 0 auto rotate work for all programm except defined by #window, otherwise ONLY for this program.
By default program not rotate screen if Manila or Teeter is foreground application, but you can edit this list.
#fdscreenoff(0|1|2) - if 1, program will switch off screen if you put device with screen on bottom, if 2 device will suspend.
#lockscreen(0|1) - if not present = 1, can prevent, if enabled, rotation with locked device
#poweroff180(0|1) - if not present = 0, determine interpretation of rotation to 180, 0 - rotate screen, 1 - power off.
GSen can indicate self state,
you can setup it with this commands:
#show(0|1) - if 1 GSen will show one pixel (by default) indicator on top bar.
#x(X),
#y(Y) coordinates of this indicator, default X=240,Y=1
#clr(R,G,B) - color, default white (255,255,255)
you also can setup width and height (#width(W), #height(H))
Commandline parameters:
#load - load app, if loaded already - exit without questions
#unload - unload app
#toggle - if loaded will unload, otherwise will load, usable with one shortcut
#about - show about window
if you start without parameters - program will ask "Unload?" if already exist one instance, or simple run if not exist.
NOTE: some programs, like Teeter game, cannot start in landscape mode, so switch to standard display orientation before.
Cheers
Yep
... I did.
First time I installed it I changed someting in the configfile as advised. But it doesn't work so in uninstalled and reinstalled it. Then started the prog.
SOMETIMES the picture turnes but not everytime.
I've got a HTC Touch Diamond :-o Shouldn't be the problem i guess...
Okay...
I just changed timeout to 5 and it works just fine on HTC touch HD
Guess it shoudn't be a problem on Diamond.
What is the Contacts program name?
In the GSen Configuration file, I want to be able to tell the program to leave the Contacts screen alone (to not rotate). The only problem I have is that I don't know the actual program name for Contacts, and where is it located?
Thanks,
Peter
Got it ...
I figured it out. When I entered the following command into the GSen configuration file:
#windows(Contacts)
It didn't work because I didn't first save it. Now that I've entered it again, and then saved the file, it works.
Peter
Is there any way to set it to rotate the Today screen? I'm using the default config and all programs rotate apart from Today.
Steeph said:
Did you read the readme.txt file that came with gsen?
Works fine on my HD
Here is a part of the file:
1. Description
Auto-rotate screen on SOME devices with g-sensor.
Install GSen and run it.
If you run it again, program will ask you "Unload program?".
If you answer yes - program will be unloaded.
This also possible without question with parameter #unload.
You can use configuration shortcut for edit configuration file.
This file can include this command:
#window(text or class name) - add window description
#timeout(value) - default value 1000 ms
#onlyfor(0|1) - if 0 auto rotate work for all programm except defined by #window, otherwise ONLY for this program.
By default program not rotate screen if Manila or Teeter is foreground application, but you can edit this list.
#fdscreenoff(0|1|2) - if 1, program will switch off screen if you put device with screen on bottom, if 2 device will suspend.
#lockscreen(0|1) - if not present = 1, can prevent, if enabled, rotation with locked device
#poweroff180(0|1) - if not present = 0, determine interpretation of rotation to 180, 0 - rotate screen, 1 - power off.
GSen can indicate self state,
you can setup it with this commands:
#show(0|1) - if 1 GSen will show one pixel (by default) indicator on top bar.
#x(X),
#y(Y) coordinates of this indicator, default X=240,Y=1
#clr(R,G,B) - color, default white (255,255,255)
you also can setup width and height (#width(W), #height(H))
Commandline parameters:
#load - load app, if loaded already - exit without questions
#unload - unload app
#toggle - if loaded will unload, otherwise will load, usable with one shortcut
#about - show about window
if you start without parameters - program will ask "Unload?" if already exist one instance, or simple run if not exist.
NOTE: some programs, like Teeter game, cannot start in landscape mode, so switch to standard display orientation before.
Cheers
Click to expand...
Click to collapse
i dont understand any of this talk.. if you go into the gsen edit screen, are those what will not rotate? eg, i would like to see the settings screen rotate, how do i add that? would it be something like #window(settings.exe)
Just like A/B/C... you learn, you manage, then MASTER.
There are a million thread's about rotation control with application's, but i never found a solution to control rotation you can manage yourselve, using Gsensor without an application like: Rotate screen, accelerometer,Changescreen,G-config, Gyrator or G-sen to name a fiew.
I use WM 6.5 Energyrom with SPB 3.5.3 and use Rotate screen with the Send "Long Hold" button to rotate screens, but this function took a second or 2 to rotate and I dont like to wait %#*@%.
I wanted to auto-rotate my screen's without waiting for it. Just turn my mobile and the screen would follow .
I found a great solution by MAMV to rotate screen in SPD and this guy even made a .CAB, so it was downloading and installing and done. You can find it on XDA.. http://forum.xda-developers.com/showthread.php?t=616158 <many thanx to him and his solution>.
After installing I found out this would only rotated the SPD screens, not the HTC screens. SMS or Email was still in portrait view.
Using the explaination MAMV gave in his thread, i started my own function to rotate SMS and Email. It took me 2 hours to find the solution, but it works
I started looking if someone had the same problem and found a solution, but all came up with none, but i found a thread by David K. that gave me a good start... http://www.fuzemobility.com/gsen-now-enabled-in-more-apps/
START:
How it works and how you manage your rotation of applications yourselve without installing an APP for it, i will give my explaination how i did it for the SMS / MMS function. (this one works for Email too )
Using Total Commander, navigate to:
HKCU\Software\HTC\HTCSENSOR\GSensor\Calculator. Select File > Copy. \\\registry\HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName\Calculator
Select Copy and save it to \windows
Find the Calculator.reg "file" you just copied with Total commander. Rename it to whatever you like aslong as you keep the .reg . (I called mine Messenger.reg, this will return below at section B: 2)
A:
Adjusting the .reg file properties
Select this "File" and view the Properties. Edit the properties like this:
1: Select tab "Associate" and tab on the button Associate...
2: Change the "Command" to: \Windows\tmail.exe
3: Change the "Parameter" to: -service "SMS"
4: If i am correct the "Icon file" will auto fill itself, but should have these
parameters: \windows\tmail.exe
5: Index: 0 and -1001
Press OK and press OK again, now your .reg file is finished.
Explaination of parameters and how i found these:
The parameter at 3: i found out with Task manager V3.1 (other versions could work, but i have this one).
I first opened the sms box and then started Task manager and searched the process Tmail. Then looked at the path in this process and found \windows\tmail.exe -service "SMS". This i used in the "3: parameter" of the .reg file)
Then i looked at the Details of "tmail.exe" and opened the tab "Windows".
Here i found Window 7C0883E0 "SMS / MMS" Inbox.MainWnd (this i need in the registry and will come back below at B: 5).
NOTE: You can find the window 7C0883E0 easily, because it is the only one lighted up .
B:
Make new Registry settings for the assigning of G-sensor rotation to SMS / MMS
I used Total commander to navigate to: HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
1: make a new string called "SMS / MMS".
2: Contents for <SMS / MMS>: \windows\Messenger.reg (our own made .reg file)
Hit OK and this one is finished.
3: Now navigate to: HKCU\Software\HTC\HTCSENSOR\GSensor\Whitelist
4: make a new string called "SMS / MMS".
5: Contents for <SMS / MMS>: Inbox.MainWnd
Hit OK and this one is finished too
C:
Getting the AUTO-ROTATION to work:
Just soft reset your device and find out if it works.....and i was happy that it did LOL.
This Thread was specially made for AUTO-ROTATION without installing an application.
Other applications can be done likewise, just find out the parameters and make the ABC
A: Change a .reg file parameters. (find your settings with Task manager)
B: Make new strings in the register @ "ModuleName" and "WhiteList".
C: Softreset your device.
Hope this was usefull to some of you.
Well Kwbr's latest 6.5 roms have it built in so maybe they might interest you. It can be quite annoying though tbh so your edits here might help out.
Thanks for the info.
I stick to Energyrom. It is as complete as it gets with applications and updates. Have tried many roms the last few months, but they all work the same.
Now i found out SPB mobile shell and am surprised how convenient it works. Even my main memory stays 50% so it works flawlesly.
Some edits/improvements made by my own makes it even more pleasant to work with
Regards,
Axelman