I tried this in another thread a while ago but as nobody even replied I thought I should try it again before I completely give up
Is there a tool (or can someone code one maybe?) to switch between 3G and GSM without going the "normal" route of
Settings-Phone-Options-Band(or whatever it´s called in the english version) and then change it to either WCDMA, GSM or Auto. Of course you will have to disconnect any active connection before you can do that.
A tool to accomplish the same thing would really help in improving battery life as with it you could switch to 3g only if needed (websurfing) and leave it in GSM mode most of the time.
If a tool is impossible to create, a shortcut to make the procedure above easier would help. too.
Yep i would love this too any takers :>
JEREMY
You could try writing a macro using mortscript - it can simulate taps on the
screen. And yes, I'd like to have such a tool, too..
Thanks for the Mortscript hint. I managed to write a tiny little scriptlet (it´s ridiculous really, but it does the job) that does the following through stylus tap simulation and app calls:
- Open the Phonepad
- open the options dialog
- select the "Band" tab
- change the band selection from 3g to GSM without clicking OK
- call a subscript which disconnects the current connection (otherwise a bandchange is not possible). The subscript is necessary as Mortscript will not process any command that comes after a "Disconnect"
- here I would like to click OK. But for the love of god...I can´t find the right coordinates on my Trion. Can anyone help?
- here I would like to close the phonepad again
Same stuf in a second script for GSM to 3g of course.
I´m pretty sure most of it can be done through SendTab/SendDown etc. Figured that out a little too late. Might clean it up a bit to make it less resolution-dependent.
Voila
Even without the last two steps it is rather useful. When you call the script it will do everything except press OK for you.
Band Tab
I upgraded to the Cingular (1.34) rom and now I do not have the "Band" tab on the phone settings. Has anyone else experienced this? I would love to have the utility to switch back and forth as the battery drain is too fast in
3G mode.
Thanks!
See this page for details:
http://www.securegsm.com/pages.php?pageid=85
"... If you do not see the “Band” tab, please download this CAB file and execute on your device. After executing this CAB file...
The above CAB file contains a registry change for your device. No special application is installed when you execute the above CAB file..."
Please note: login is required to download.
Alternatively, you can enable "Band" selection tab using registry editor.
BixbySpartan said:
I upgraded to the Cingular (1.34) rom and now I do not have the "Band" tab on the phone settings. Has anyone else experienced this? I would love to have the utility to switch back and forth as the battery drain is too fast in
3G mode.
Thanks!
Click to expand...
Click to collapse
SecureGSM -
The CAB file worked flawlessly. I appreciate the information and your assistance.
Thanks!
Ok, I cleaned up the two Mortscript scriplets to just use sendkeys. No more stylus tap simulation, makes it a lot more reliable.
Executing either script will now open the phonepad, go to options-band, diconnect the current connection and then change the band.
Unfortunately closing the phonepad doesn´t work riliably as it will leave the phonepad screen in the foreground and the UI will freeze.
Maybe someone a little more gifted can make this more interactive (e.g. ead what app is active and switch back to it after the band change or something).
For me it is good enough for now.
If anyone wants it, let me know.
What the heck. Maybe someone can make use of it.
VERY clumsy and thrown together in a couple of minutes. Should work on any Trion etc.
You will have to edit the window captions and paths as I did this on a German ROM.
"Telefon" is "phone" or whatever the phonepad caption/link to the phonepad is called.
Works on my Trion. Improvements as mentioned above more than welcome.
Latest Mortscript beta needed. Can be found here:
http://www.sto-helit.de/downloads/pocketpc/MortScript-4.0RC2.zip
uhmm.. just my 2 cents. there is slightly better way of doing this:
step #1: change band selection to GSM or to WCDMA directly in registry
step#2: flick device radio to flight mode on and then off
Also, step #2 will restart the radio regardles of established connection is present or not.
alternitevely if you would like to close data connection gracefully:
call datadisconnect.exe located in \windows. nice utility btw. it surely has CLI mode as well.
any C / C++ programmer should be able to get this project done in few hours at most.
SecureGSM said:
uhmm.. just my 2 cents. there is slightly better way of doing this:
step #1: change band selection to GSM or to WCDMA directly in registry
step#2: flick device radio to flight mode on and then off
Also, step #2 will restart the radio regardles of established connection is present or not.
alternitevely if you would like to close data connection gracefully:
call datadisconnect.exe located in \windows. nice utility btw. it surely has CLI mode as well.
any C / C++ programmer should be able to get this project done in few hours at most.
Click to expand...
Click to collapse
Great! As I said before, I just did this to have something (not much, I know).
Wouldn´t the "disadvantage" be, though, that you would have to enter your pin every time flightmode is turned off?
Do you know what registry entries this would be?
Is it HKLM,Software\OEM\UMTS,OpMode ? And if so, what would be the values for 3g, GSM and Auto?
EDIT: Think I found it. Auto=0, GSM=1, 3g=2
Is this correct?
Plus, is there any shortcut you can run to toggle flightmode? If so, these two things could be put into another Mortscript scriptlet (it can change the registry).
Thanks!
did a test over the last day I disabled incoming beams (which I've had ticked all the time apparently ) and I manually put the phone into 2g mode but had it connected all the time to gprs. man the battery life more than doubled I've still got 70% battery left after a heavy days of usage.
but I miss 3g speeds for web browsing tho. so I think a tool for 2g to 3g and back would be most appreciated preferably not using mortscript and with a message saying "switching to Xg mode" or something. unfortunately my programming skills are nearly non existant.
anyone
Jeremy
Install Flightmode.exe from WinMobileApps.com and run it via MortScript.
# UMTS
RegWriteDWord HKLM,Software\OEM\UMTS,OpMode,2
sleep 500
Run "\Programme\FlightMode\Flightmode.exe"
sleep 3000
Run "\Programme\FlightMode\Flightmode.exe"
Use OpMode, 1 for GSM only and 0 for Auto.
Thanks, but it was me posting this to ppc-welt
bball said:
Thanks, but it was me posting this to ppc-welt
Click to expand...
Click to collapse
I wasn't claiming to be the author, just wanted to share the information here. Usually it's the other way round, sharing information from the Developers in other forums. Hope it helps and, yes, bball appearently is the Author.
Nono, I didn´t take it like that, I was just surprised and thought it was quite funny to see my solution to this in the thread I originally asked for it
bball said:
Nono, I didn´t take it like that, I was just surprised and thought it was quite funny to see my solution to this in the thread I originally asked for it
Click to expand...
Click to collapse
Yeah, it is funny indeed. But the solution you found yourself hasn't been posted here so I was thinking it should be added so people in this forum can find it. This is the international forum to share information at.
Anyway, thank you for the great solution! It really works fine and I still have the great runtime of my Trion together with fast UMTS where I need/want it. I think this has a high value!
GSM & 3G switching via Skschema Scripts
Hi folks,
I know some of you have beens using Mortscript to change the network band in the registry and subsequently switch to 3G or GSM by clicking.
Well I had a look at seeing if I could do something similiar using a SKschema script.
This is what I have come up with so far.
Skschema has commands which allow it to switch the radio(gsm) on/off as well as writing and deleting values/keys to the registry. (Tested on the Hermes)
SwitchToGSM.sksc
This script Writes to registry the value "1" for OpMode, pauses 1 second, turns radio off, turns radio on and connects to your data connection(GPRS ONLY).
Code:
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;1) #sleep(1000)
#r(#gsmoff)
#r(#gsmon)
#r(#connect)
SwitchTo3G.sksc
This script Writes to registry the value "0" for OpMode, pauses 1 second, turns radio off, turns radio on and connects to your data connection(Auto - if 3G present it will connect to that).
Code:
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;0) #sleep(1000)
#r(#gsmoff)
#r(#gsmon)
#r(#connect)
You could assign both these Skschema scripts to a hardware buttons, even better if you use the voice notes button on the Hermes you could use one script for [press] and the other for [press & hold].
toggle2G_3G.sksc
This script I have tried to add some intelligence into the script, I wanted to use a script for 1 hardware button and for just one [press] to switch to GSM then a second [press] to 3G - so it really toggles between the two modes.
To achieve this I used a little bit of logic and an extra key in the registry.
Code:
#r(#rgget) #p(HKCU;\Software\sk\schema\rad;Gsense;DWORD;0)
#r(#iftrue) #p(set2G)
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;0)
#r(#rgset) #p(HKCU;\Software\sk\schema\rad;Gsense;DWORD;0)
#r(#goto) #p(act)
#r(#label) #p(set2G)
#r(#rgset) #p(HKLM;\SOFTWARE\OEM\UMTS;OpMode;DWORD;1)
#r(#rgdelkey) #p(HKCU;\Software\sk\schema;rad)
#r(#goto) #p(act)
#r(#label) #p(act)
#r(#disconnect) #sleep(1000)
#r(#gsmoff) #sleep(1000)
#r(#gsmon)
#r(#connect)
This is how the script works the "rad" key which I have put in the Skschema registry path, is completely functionless - It's merely there as a check.
The script firstly checks to see if this key exists?
If it does then the script moves along to the "set2G" line.
If it doesn't then the script continues, The OpMode value is changed to "0" - enables AUTO mode. Then the "rad" key is created and the script moves along to the "act" label.
following along from above at the "set2G" label, OpMode value is changed to "1" - enables GSM mode only. Then the "rad" key is deleted and the script moves along to the "act" label.
At the "act" label the current data connection (if present or not) is disconnected, a pause before doing this of 1 second, the radio is switched off with another pause of 1 second, followed by switching the radio back on. Finally the data connection is re-connected.
The "rad" key is used to enable the script to decide which switching is required to GSM or to 3G.
Maybe a similar toggle action in one script could be done in Mortscript?
For anybody with Skschema I have attached the 3 script files.
Chalky.
-------
checkout Skschema tutorials
enable Band selection
SecureGSM said:
Alternatively, you can enable "Band" selection tab using registry editor.
Click to expand...
Click to collapse
Can someone tell me which registry keys to change, to enable Band selection using registry editor? The cab file mentioned did nothing on my device when I clicked on it.
I looked in WM5_Tweaks_Other and saw nothing refering to band selection. Thanks.
Hi. I am doing a program with a botton icon to do this.
to activate only gprs:
1) Change the registry.
2) turn radio off.
3) turn radio on.
but only when i turn off the radio using comm panel the system "refresh" its data from registry and then it works. Any idea?
Thanks
Hi guys, i'm trying this program (VERY VERY useful!!)
On my Tytn LVSW WM6 works without the option "Communicate over GSM-Modem"
It shows a "COM2 opening error" when try to learn the cell with the function enabled.
I'm asking you if there are convenients reasons to try to communicate with the gsm modem (ie: save battery, or better/comprensible cell codes).
The program say that if i change "detection method", i have to rebuild the cell id database (so i hope there are different codes.)
Ps: which com is assigned to GSM modem on a tytn with WM6 ?
I HIGHLY recommend trying out phonealarm (the paid version) as this does the job WAAAAAAAAAAAAY better. Cell profiler has jack all support when compared to phonealarm.
Ive used it since i bought my TyTN (I used to have Magic Profiles Pro on my SE P900....a lifesaver) and it is just AWESOME.
i know that palarm goes well, but there are A LOT of options & settings that i don't need, also it needs + resources...
try Comm Mgr Pro
http://forum.xda-developers.com/showthread.php?t=299070
www.commmgrpro.com
Just updated my device to the latest ROM on the TMo WM Upgrade page.
When connecting to the internet in a coverage area that supports EDGE, I still get the G Icon on the top of the screen and the dialog box saying Im connecting/connected to GPRS
My cousin has the MDA as well and sitting next to me, when connecting/connected, his Icon is an E indicating he is on EDGE
Im currently running the Mobile 5.0 OS 5.1.195 (Build 14955.2.3.0) ROM from TMo
Are there any settings that I have to change after the upgrade? All I did was upgrade and take the new ROM as is, I made no changes thus far.
Any help is appreciated, thanks in advance.
-III
Conquest said:
Just updated my device to the latest ROM on the TMo WM Upgrade page.
When connecting to the internet in a coverage area that supports EDGE, I still get the G Icon on the top of the screen and the dialog box saying Im connecting/connected to GPRS
My cousin has the MDA as well and sitting next to me, when connecting/connected, his Icon is an E indicating he is on EDGE
Im currently running the Mobile 5.0 OS 5.1.195 (Build 14955.2.3.0) ROM from TMo
Are there any settings that I have to change after the upgrade? All I did was upgrade and take the new ROM as is, I made no changes thus far.
Any help is appreciated, thanks in advance.
-III
Click to expand...
Click to collapse
Use a registry editor like "PHM Registry Editor" and got to key:
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL\
Create a new DWord EnableDifferGprsEdgeIcon and assign it a value of 1
Soft Reset phone
Should work after that.
So this whole time Ive been on the EDGE system, I just didnt have the EDGE Icon?
Attached you will find the original connection settings cab's from T-Mobile - that are the ones from the original firmware. I used them on several ROMs and they work just fine.
It is easier to run the CAB files than going in to the registry all the time!
All I always use are:
P_Generic_Conn_Settings (sets up GPRS connections T-MO data / T-Mo MMS)
P_Edge_Icon
MMS.jpg (for setting up the MMS server in the Message options)
Hope that helps?
Thanks for the cabs!
Hi there,
I hope I've found the right place to post my question.
While using my Touch HD I always switch off 3G to save some battery. When I need it I turn it on at Settings -> Phone -> Band (well thats the german name).
What I'd like to do is - write a program that does this for me - switch from 3G to GPRS/GSM and back. Currently I try to achieve that with Visual Studio 2008 and the 5.5/6.0 SDK.
I can't find any Assembly to set exactly these settings. Could anyone give me a hint where to look for these settings?
Thx in Advance
Steve
I read that our Blackstone uses less battery in 3G-Mode than in normal GSM
greetz
Would be nice to have a bind to switch from 3g to gsm....
For example: If you open IE or Opera the gsm will switch to 3G-mode and if you close IE/Opera it will go back to GSM
Moved out for Development
http://forum.xda-developers.com/showpost.php?p=3726097&postcount=11171
Might be of some help?
there's already a cab out there called CommManager8, which gives 8 entry items to your communication manager 1 of which is a 3G/GSM switch.
http://forum.xda-developers.com/showthread.php?t=453518
or you can always use advanced configuration to add the 3G/GSM switch into the coomunication manager
zesper said:
there's already a cab out there called CommManager8, which gives 8 entry items to your communication manager 1 of which is a 3G/GSM switch.
http://forum.xda-developers.com/showthread.php?t=453518
or you can always use advanced configuration to add the 3G/GSM switch into the coomunication manager
Click to expand...
Click to collapse
perhaps I´m a bit late ...
try CommMgrPro by Daniel Herrero
forum.xda-developers.com/showthread.php?t=299070
I´m using it since early trinity times
take VGA skin
regards, Ralf
I just found out, there is hidden "3G switch" support in HTC CommManager.
So there is no need to upgrade ROM with beta packages from Mega if you just want this feature.
To activate the 3G feature you need:
0. Kill CommManager process. (fdcsoft task manager is your friend).
1. add these regkeys
[HKEY_LOCAL_MACHINE\Software\OEM\UMTS]
"OpMode"=dword:00000001
"PrefRAT"=dword:00000001
@=dword:00000000
"PrefDomain"=dword:00000002
[HKEY_LOCAL_MACHINE\Software\OEM\UMTS\BandSelection]
"Band"=dword:00000000
2. you need to replace some item in CommManager GUI with 3G item:
For example if I want to replace "Bluetooth" I will change this key (before its value was "Bluetooth")
[HKEY_LOCAL_MACHINE\Software\HTC\CommManager\2]
@="3G"
3. copy these images to your windows folder
Function_3G.png
Function_3G_Disable.png
Thats it.
You can choose 3G or GSM with one click now =)
tested with HTC CommManager_2_7_5_0,
Iolite version,
from RUU_Iolite_hTC_Asia_WWE_1.11.707.1_Radio_Sign_12.4 1.30.16_0.41.30.12_Ship,
released 3/3/2009
3g connection
the problem is that in Kaiser WM6.1 latest radio(expected to be the best) or any other radios, when in 3g mode u cant make a call. It just starting to search operation.
Any solution for this will be highly appriciated by many ppl in the form
tnx in advance
there is an even easier way built in the new roms, my 3g coverage is crap at best
go to start/settings/personal/phone at the bottom of the screen go to (gsm/umts services) then in the box tap band then get settings and change from auto to gsm and all sorted this is an easier way if you dont need to be swapping and changing from one to the other.
This could be done absolutely ages ago with Advanced Configurator but thanks anyway