Disable/enable the GPS in HD2 - HD2 General

Hi!
I've been using android for the past months but decided to take the jump to HD2 because of the BIG! screen
One thing confuses me though... In android there was a gps on/off toggle in the data connection settings (where you see wifi-status etc.)... I cant see one on the HD2???
So, as you may have guessed, my question is: Is there a gps on/off toggle on the HD2? (as i don't wanna put my battery to no use)
Thanks!

It's off until an App turns it on, and then off again when you exit the app.
I have not seen a On/Off toggle anywhere............. but not looked specifically for one.

Karlos G said:
It's off until an App turns it on, and then off again when you exit the app.
I have not seen a On/Off toggle anywhere............. but not looked specifically for one.
Click to expand...
Click to collapse
Ok thanks ... Would be pretty awesome if there was one though.. I like being in "total" control of my gadgets

A way to disable GPS on HD2..
Hey. I think I know a way to disable gps. I use PHM Registry editor, and change value from '1' to '0' in key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\GPS Intermediate Driver]
"IsEnabled"=0
Then a soft reboot is required. And your gps apps will no longer 'see' your gps hardware. It looks like you get more battery life, but not as much as I would hope.
To re-enable, just do in reverse.

Get this one and You can switch on/off
http://forum.xda-developers.com/showthread.php?t=670116

Related

How to create a shortcut to activate wifi

Hi there,
I would know if someone know how to create a shortcut for toggle wifi (activate and desactivate)
Thanks
I've read several threads/posts in these forums and it seems no-one has been able to come up with a way to do it. At the moment, ONLY the comm manager can turn wifi on/off.
pocketAlarm, has a today plugin which toggles wifi from a press of a single button on the Today screen, with some of its newest skins.
However, the feature does not work on all devices, but the list is expanding, so you might want to check it out.
Cheers.
Whats wrong with just clicking on the gprs icon and then turn on wifi ?
knowsleyroader said:
Whats wrong with just clicking on the gprs icon and then turn on wifi ?
Click to expand...
Click to collapse
That still translate to four taps, not just one.
1. Click GPRS
2. Click Comm Manager
3. Click on WIFI toggle
4. Close Comm Manager (optional)
Rayan said:
knowsleyroader said:
Whats wrong with just clicking on the gprs icon and then turn on wifi ?
Click to expand...
Click to collapse
That still translate to four taps, not just one.
1. Click GPRS
2. Click Comm Manager
3. Click on WIFI toggle
4. Close Comm Manager (optional)
Click to expand...
Click to collapse
2 Clicks on mine.
Click GPRS icon on top menu bar.
Click on Turn on wifi.
Thats it !
In my T-Mobile 2.24 Extended Rom there are 2 executables, one to turn Wifi on and one turn Wifi off.
I will look them up for you tomorrow, I will post them in this thread.
Well molski can you upload the two executables please !!!
I will look if is work on my wizard
Here you go Kheops.
I tried both files and they both work perfect on my Wizard.
Thanks a lot mister Molski
have you a toggler?
Damn, those apps do nothing on mine (8125 w/Molski 2.26 ROM).
Sigh.
//Adam F
but there is still a problem that you must turn WIFI on for the first time after reboot, or no link will work, right? that was a problem on 2.3 i know, but the new os maybe got that fixed...
P.
check out vijay's app
Vijay555 has an app called VJVolubilis.exe which does pretty much what your looking for, as well as toggling bluetooth, etc. It has a wifi toggle feature, but unfortunatly doesn't seem to work on Wizards. However, the "wifi on" and "wifi off" work fine. Some people have reported not being able to use the "wifi on" feature after a soft reset until they manually turned on their wifi at least once. This can be fixed with a registry tweak that I'm too lazy to look up right now, however I found it previously on this forum with a search. If I have time I'll look it up and post in the morning (almost bedtime here in the U.S. Eastern Time Zone). The trick to this app is to create a shortcut with command line parameters to either turn on or turn off. I use claunch on my today screen where I have a wifi on, wifi off, blutooth toggle, and "make bluetooth discoverable" icons. These are on my "wireless" tab in claunch. Totally rocks.
Easy with SKSchema
SKSchema comes with a wifitoggle program. Of course it only works if you have skschema installed.
I couldn;t find one that worked the way I wanted, so I ended up using PhoneAlarm.

WiFi on/off on HTC home plugin?

Hi all..
I was wondering if there was a way to add a shortcut to the Kaiser HTC Home Plgin installed on my trinity to turn the WiFi directly on & off without the need of running the comm manager.
Thanks
Hi,you can use aebuttonsplus and attribuate to hardware key,bluetooth and wifi connections.
Marcdu81 said:
Hi,you can use aebuttonsplus and attribuate to hardware key,bluetooth and wifi connections.
Click to expand...
Click to collapse
Well, that's obviously not what I wanted, but thanks.. I already use the hardware buttons.
I tried a couple of different plugins, but found that SPB Phone Suite was the only one that worked for me. It's not a direct button like PhoneAlarm was supposed to be, but a two-step process - you have to tap the communication button on screen and then tap 'turn on wifi'. It's faster than the comm manager tho.
I see.
It's very strange, i never thought a simple action like this could be so complicated
try to use phone weaver! Nice today plugin with small icons....and with one click you can turn wi-fi on/off.
This is what you're after go to http://www.vijay555.com/?Releases:VJVolubilis for info.

[APP] GSuspend - suspend device by facedown.

Hello!
GSuspend simple tool which put device to suspend (standby) mode when HTC Diamand is facedown.
To unload start it again.
To install , just extract folder to Program Files, and copy .lnk to Windows\Start Menu\Programs.
After new ROM has issued, GSEN stop worked stabily, and i started to search my favourity ability of gsen - facedown suspend. But i can't find replacement of GSEN in this ability.
Finally fight win my desire against my laziness and done this application.
In the base of this app was SensorLock thanks surfsmurf.
I hope somebody also find it usefull.
Thanks
P.S. Improved power management.
Still looking sample to catch event of incoming call, if somebody can share C++
Tnx, I'll try it right now!
[EDIT] Works perfect! Very small and light application btw.
One thing I noticed; my phone is not locked with PocketShield after turning back on.
Thanks
roma_pop said:
Hello!
GSuspend simple tool which put device to suspend (standby) mode when HTC Diamand is facedown.
After new ROM has issued, GSEN stop worked stabily, and i started to search my favourity ability of gsen - facedown suspend. But i can't find replacement of GSEN in this ability.
Finally fight win my desire against my laziness and done this application.
In the base of this app was SensorLock thanks surfsmurf.
I hope somebody also find it usefull.
Thanks
Click to expand...
Click to collapse
Thank you for what must've cost you time & valued effort.
Is it possible for you to modify this in a way that it would automatically Silence the device when facedown, and back to normal volume settings on all other positions? I find it VERY useful to have that -instead of having to turn it face up & down everytime a call comes in". Everybody else apparently misses the point that a phone vibrating on wooden desks is just as terribley impolite as having it spitting jams left & right.
Do consider it...
changeScreen has a feature built into it that can suspend the phone when it's flipped face down
ruskiyab said:
changeScreen has a feature built into it that can suspend the phone when it's flipped face down
Click to expand...
Click to collapse
I didn't need any others functionality, so i've made for my desires.
roma_pop said:
I didn't need any others functionality, so i've made for my desires.
Click to expand...
Click to collapse
thats exactly what I want
but I think "upside down" or "Portrait 180" is more reliable for this job
and a small vibrate in the hand to confirm the suspend is good too
1KB MEM . . . thats awesome
thanks,
Sorry , i noticed battery drain, will work on that , sorry
is this app only turn off scren on face down or it is suspend device, because changescreen only tunr off screen??
"upside down" or "Portrait 180" excellent idea
but i dont need vibrate(i hate it)
I'm a little confused now . I'm reading about an app that turns the device on silent when faced down. This is what I'm looking for, so I can easily mute during a meeting. Vibrate on 'siwtch' is also perfectly. But my confusion is: which app do I need (or doe'sn't it exist for now )
watikjebrom said:
I'm a little confused now . I'm reading about an app that turns the device on silent when faced down. This is what I'm looking for, so I can easily mute during a meeting. Vibrate on 'siwtch' is also perfectly. But my confusion is: which app do I need (or doe'sn't it exist for now )
Click to expand...
Click to collapse
If you receive a call during a meeting, the function to turn your phone face-down to mute the call is already build in. (maybe you have to activate it using Advanced Configuration)
GSuspend it a tool to put your device in standby on face-down.
johanromijn said:
If you receive a call during a meeting, the function to turn your phone face-down to mute the call is already build in. (maybe you have to activate it using Advanced Configuration)
GSuspend it a tool to put your device in standby on face-down.
Click to expand...
Click to collapse
TouchLockPro can do the same (configurable), is also small and is at the same time a lock/unlock program. Beside the GSensor, it also can couple commands to capacitive swipes, e.g. to suspend the device.
johanromijn said:
If you receive a call during a meeting, the function to turn your phone face-down to mute the call is already build in. (maybe you have to activate it using Advanced Configuration)
GSuspend it a tool to put your device in standby on face-down.
Click to expand...
Click to collapse
The 'turn-to-mute' function is working oké, but what I'm looking for is an app that turns my device on 'silent' when my device ís faceddown and 'normal' faced-up. So when I'm in a meeting I don't have to switch profile or flip my phone
watikjebrom said:
The 'turn-to-mute' function is working oké, but what I'm looking for is an app that turns my device on 'silent' when my device ís faceddown and 'normal' faced-up. So when I'm in a meeting I don't have to switch profile or flip my phone
Click to expand...
Click to collapse
Right on, +1 here. In meetings, if you're unprepared, you'd have to flip over & over & over, etc..., everytime you get a call. It gets irritating until you actually start pushing buttons and adjusting it manually...
If you have that meeting scheduled in your calendar, you could try G-Profile for example.
Based on your calendar, G-Profile can adjust your notification settings.
shirreer said:
Right on, +1 here. In meetings, if you're unprepared, you'd have to flip over & over & over, etc..., everytime you get a call. It gets irritating until you actually start pushing buttons and adjusting it manually...
Click to expand...
Click to collapse
Probably i can release app that kind, but still looking for solution to reduce power consumption. Otherwise this all are useless.
Any ideas, how to correctly snooze program appreciated and really helps me.
Sry i'm not a proffesional designer, don't ask from me too much pls.
Thanks
shirreer said:
Right on, +1 here. In meetings, if you're unprepared, you'd have to flip over & over & over, etc..., everytime you get a call. It gets irritating until you actually start pushing buttons and adjusting it manually...
Click to expand...
Click to collapse
That's exactly what I mean. I don't use the build-in calender so G-Profile won't work for me
watikjebrom said:
I'm a little confused now . I'm reading about an app that turns the device on silent when faced down. This is what I'm looking for, so I can easily mute during a meeting. Vibrate on 'siwtch' is also perfectly. But my confusion is: which app do I need (or doe'sn't it exist for now )
Click to expand...
Click to collapse
hi,
Have you try with this soft : MobilMagic
very powerfull and customized tool, it can do what you want.... but don't know if it drain battery a lot or not.
GSuspend is very cool, simple and do exactly what i want but, when i switch on the screen, it switch off again (only 1 time but....) i don't know why, need to switch on 2 times.
V.

wifi activation via hard/softkey

hey hey,
i'm using a sense 2.1 rom (gen.y d2 r5.3 - thanks man, nice work ) and i wonder wether there is a way to map a soft/hardkey to activate/deactivate wi-fi without taking all the way through the comm manager or the wi-fi settings.
would be magnificent since i frequently switch wi-fi on and off and it's kinda annoying the regular way
thanks a lot
Trying to do the same thing, I found this:
Touch X reset and wifi.cab -adds shortcuts for quick reset and WiFi on/off, nice to have on new program tab..
Click to expand...
Click to collapse
I'm not sure if it will work on sense 2.1, but on sense 2.5, it adds a toggle, with work similary to a application shortcut, appart from that it doesn't launch anything, it just toogles the wifi on and off.
Smabergs list of [Sense 2.5 tweaks & mods] [CABS] contains a lot useful stuff for sense 2.5 (though not all of it works on the diamond), I suspect that some if it might work on the 2.1 too
thanks. I was looking for something similar!
I'd like to ask another thing. Is there a way to make the diamond search for a wifi connection before connecting to the gprs internet? In other words, when a connection is needed it should switch on the wifi radio (if it is off) instead of searching a gprs connection.
Do you think it's possible?
sorry for me taking so long.
well, yeah, thanks man! that was exactly what i was looking for.
To use Hardware buttons for switching wifi on/off I use AEButton plus (use forum search). A very nice pieco of software
I have Wifi on/off on long press volume down and bluetooth on/off on long press volume up.

My Solution to Help Stop Screen Freezes (Tasker app)

Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.

Categories

Resources