Related
I'm in possession of a HD for 3 months now. Great device. Tried several roms, no complaints there. There is only one problem, which is bothering me for a long time. The connection with my bluetooth carkit (Opel Zafira / NAVI-DVD90) drops after a few minutes, because for some reason bluetooth is turned off. To restore the connection again, i have to turn bluetooth on again. I've tried several tips & tricks. Even installed Jetware, which worked great on my P3600. Nothing helped.... But since a week i'm using BTRestore. This little app checks every 5 seconds the bluetooth status. Using BTRestore when i'm the car, for some reason solved my problem.
I have written a little mortscript, which checks if bluetooth is connected to my carkit. If it is, the script starts the app BTRestore. When i leave my car, the scripts kills BTRestore.
How to install
1. Install Mortscript on your device
2. Install BTRestore on your device. For more information about the app see site (it's in dutch)
3. start notepad on your pc and copy/paste script below in notepad
4. save the script to a file with extension mscr, for example handsfree.mscr
5. place the file on your device in folder "windows\Startup"
6. Restart the device or executed the script manually by selecting the file.
By placing the script in folder "windows\Startup" the script is executed automatically when you start your device.
The script checks the status every 10 seconds. You can change timeout by changing parameter 'Sleepfor'. Each time the app BTRestore is started or killed the device vibrates. If you don't want that, change the parameter 'EnableVibrate' to value '0'
Code:
#initialize script
SleepFor = 10000
EnableBTRestore = 0
BTProcessFull = "Program Files\BTRestore\BTRestore.exe"
BTProcess = "BTRestore.exe"
EnableVibrate = 1
VibrateFor = 250
While (1)
BluetoothState = RegRead("HKLM", "System\State\Hardware", "Bluetooth")
if (BluetoothState <= 8)
#Bluetooth off. kill BTRestore
EnableBTRestore = 0
Call ("BTRestore")
else
#bluetooth is switched on. Check if Handsfree is enabled
HandsfreeState = RegRead("HKLM", "System\State\Hardware", "Handsfree")
if (HandsfreeState = 1)
#Phone is connected to handsfree device. Activate BTRestore
EnableBTRestore = 1
Call ("BTRestore")
else
#Phone is not connected to handsfree device. So kill BTRestore
EnableBTRestore = 0
Call ("BTRestore")
endif
endif
Sleep(SleepFor)
EndWhile
Sub BTRestore
Running = ProcExists(BTProcess)
if (EnableBTRestore = 1)
#check if BTRestore already is running
if (Running = TRUE)
#BTRestore already running
else
#execute BTRestore
run (BTProcessFull)
if (EnableVibrate = 1)
Vibrate(VibrateFor)
endif
endif
else
#check if BTRestore is running
if (running = TRUE)
#Kill BTRestore
kill ("BTRestore.exe")
if (EnableVibrate = 1)
Vibrate(VibrateFor)
endif
else
#BTRestore not running. Do nothing
endif
endif
EndSub
The maker of BTRestore has also another application BTRestart which is especially made for this kind of bluetooth connections losses.
You only need the BTRestart app.
BTRestart is not helping me. BTRestart restarts the bluetooth connection after a phone conversation. My connection drops even before i can make a phone call
i'm gonna try this, i will post back the results... I have the same issue as you, opel astra dvd90 also..... problem is that the connection drops are not always on a regular interval. yesterday i went to belgium, the whole trip the connection was good. Even made a few phone calls during the trip. But on the way home, every now and then it disconnected..... I really hope the script provides a solution...
to be continued........
ok. Good luck. I hope it works for you too
I encourage everyone with BT in-car kit to ask for an update version of the software of your car system. That might help.
Most of the times, the compatibility from BT in-car kits are very low. For ex, some car kit only accept a few phone models
onesolo said:
I encourage everyone with BT in-car kit to ask for an update version of the software of your car system. That might help.
Most of the times, the compatibility from BT in-car kits are very low. For ex, some car kit only accept a few phone models
Click to expand...
Click to collapse
You are right. That could help. When i bought my car, the bluetooth connection wasn't working with my P3600. After an upgrade of my carkit, the connection was fine. After buying the HD i went back to the garage for an another upgrade. Only this time it didn't help me
same here..... and so far this fix really works!
freggelfrot said:
I'm in possession of a HD for 3 months now. Great device. Tried several roms, no complaints there. There is only one problem, which is bothering me for a long time. The connection with my bluetooth carkit (Opel Zafira / NAVI-DVD90) drops after a few minutes, because for some reason bluetooth is turned off. To restore the connection again, i have to turn bluetooth on again. I've tried several tips & tricks. Even installed Jetware, which worked great on my P3600. Nothing helped.... But since a week i'm using BTRestore. This little app checks every 5 seconds the bluetooth status. Using BTRestore when i'm the car, for some reason solved my problem.
I have written a little mortscript, which checks if bluetooth is connected to my carkit. If it is, the script starts the app BTRestore. When i leave my car, the scripts kills BTRestore.
How to install
1. Install Mortscript on your device
2. Install BTRestore on your device. For more information about the app see site (it's in dutch)
3. start notepad on your pc and copy/paste script below in notepad
4. save the script to a file with extension mscr, for example handsfree.mscr
5. place the file on your device in folder "windows\Startup"
6. Restart the device or executed the script manually by selecting the file.
By placing the script in folder "windows\Startup" the script is executed automatically when you start your device.
The script checks the status every 10 seconds. You can change timeout by changing parameter 'Sleepfor'. Each time the app BTRestore is started or killed the device vibrates. If you don't want that, change the parameter 'EnableVibrate' to value '0'
Code:
#initialize script
SleepFor = 10000
EnableBTRestore = 0
BTProcessFull = "Program Files\BTRestore\BTRestore.exe"
BTProcess = "BTRestore.exe"
EnableVibrate = 1
VibrateFor = 250
While (1)
BluetoothState = RegRead("HKLM", "System\State\Hardware", "Bluetooth")
if (BluetoothState <= 8)
#Bluetooth off. kill BTRestore
EnableBTRestore = 0
Call ("BTRestore")
else
#bluetooth is switched on. Check if Handsfree is enabled
HandsfreeState = RegRead("HKLM", "System\State\Hardware", "Handsfree")
if (HandsfreeState = 1)
#Phone is connected to handsfree device. Activate BTRestore
EnableBTRestore = 1
Call ("BTRestore")
else
#Phone is not connected to handsfree device. So kill BTRestore
EnableBTRestore = 0
Call ("BTRestore")
endif
endif
Sleep(SleepFor)
EndWhile
Sub BTRestore
Running = ProcExists(BTProcess)
if (EnableBTRestore = 1)
#check if BTRestore already is running
if (Running = TRUE)
#BTRestore already running
else
#execute BTRestore
run (BTProcessFull)
if (EnableVibrate = 1)
Vibrate(VibrateFor)
endif
endif
else
#check if BTRestore is running
if (running = TRUE)
#Kill BTRestore
kill ("BTRestore.exe")
if (EnableVibrate = 1)
Vibrate(VibrateFor)
endif
else
#BTRestore not running. Do nothing
endif
endif
EndSub
Click to expand...
Click to collapse
i've done everything that you've described.
the only question i have is when i open the BTRestore program, there are two buttons to choose from:
Achtergrond
Afsluiten
Which one do I choose?
And when the phone is restarted, the handsfree.mscr script automatically runs because it's placed in the windows/startup folder. but do i have to do anything with the Mortscript program?
thanks.
Achtergrond = background
Afsluiten = close
i have used this script for a while now and i must say: IT FREAKING WORKS!!!!
i'm soooo glad, i have waited sooo long for this fix
now everything works as i want it. Connection stays up, phonebook works, i'm happy!
well, unfortunately, it doesn't work for me.
the phone connects to my car and downloads the phonebook.
however, when i try to make a call, the bluetooth connection is lost.
i'm not having a problem with the phone's bluetooth turning off; it's always on and visible. i'm having a problem keeping the connection between the phone and the car.
i was able to initially make a few calls after i installed the script on my phone; but now, the connection always drops when i try to make a call.
if anyone knows of anything else i can try, i'm open to suggestions.
by the way, i have a 2008 landrover lr2; i just got it back from the dealer the other day for some services performed; one of them was supposedly a bluetooth software update for the car.
mine stay connected with this script even after making calls. I'm using this script a while now (few weeks) and for my work i'm a lot in the car, so if there was a problem with the script, then i would have noticed by now. The problem with connection lost i also had before i used the script. What i also did notice is that my recent call list is now also loaded. The only difference i have now compared to a month ago is that i now flashed a custom rom. The one from dutty v1.7. And the bluetooth options there got an extra tab, named Car Kit. There you can set a headset as a default car kit. Combined with this script i think it works like a charm!
freggelfrot said:
I'm in possession of a HD for 3 months now. Great device. Tried several roms, no complaints there. There is only one problem, which is bothering me for a long time. The connection with my bluetooth carkit (Opel Zafira / NAVI-DVD90) drops after a few minutes, because for some reason bluetooth is turned off.
Click to expand...
Click to collapse
I also have a Zafira with DVD90 but without bluetooth. My dealer told me before buying it's a drama with opel. I'am using a bluetouch carkit and that's working fine. Aldo one questions, is BT turning off on your HD or on your car?
in my case (also dvd90 but opel astra) the bluetooth on the phone is turned off. The bluetooth of the car stays on and keeps functioning. That is also the reason this script works.
mouki_9 said:
mine stay connected with this script even after making calls. I'm using this script a while now (few weeks) and for my work i'm a lot in the car, so if there was a problem with the script, then i would have noticed by now. The problem with connection lost i also had before i used the script. What i also did notice is that my recent call list is now also loaded. The only difference i have now compared to a month ago is that i now flashed a custom rom. The one from dutty v1.7. And the bluetooth options there got an extra tab, named Car Kit. There you can set a headset as a default car kit. Combined with this script i think it works like a charm!
Click to expand...
Click to collapse
do you have the link for this custom rom? i'm willing to try anything.
akhoury said:
well, unfortunately, it doesn't work for me.
the phone connects to my car and downloads the phonebook.
however, when i try to make a call, the bluetooth connection is lost.
i'm not having a problem with the phone's bluetooth turning off; it's always on and visible. i'm having a problem keeping the connection between the phone and the car.
i was able to initially make a few calls after i installed the script on my phone; but now, the connection always drops when i try to make a call.
if anyone knows of anything else i can try, i'm open to suggestions.
by the way, i have a 2008 landrover lr2; i just got it back from the dealer the other day for some services performed; one of them was supposedly a bluetooth software update for the car.
Click to expand...
Click to collapse
Hi,
Try BTRestart. This program restarts the bluetooth connection after making a phonecall.
The tool is made by the same persoon who made BTRestore. The tool doesn't work for me. Let me know if it works. If you are interested i will adjust the mortscript for you.
Grz
akhoury said:
do you have the link for this custom rom? i'm willing to try anything.
Click to expand...
Click to collapse
Hi,
Tested the script in dutty's rom, laurentius26 rom and in the original rom. In all 3 roms it works!
Grz
freggelfrot said:
Hi,
Try BTRestart. This program restarts the bluetooth connection after making a phonecall.
The tool is made by the same persoon who made BTRestore. The tool doesn't work for me. Let me know if it works. If you are interested i will adjust the mortscript for you.
Grz
Click to expand...
Click to collapse
thanks i'd appreciate that.
should i remove BTRestore before i install BTRestart? or can they both be installed on the phone?
i guess i'll try this method before i install a new rom; which by the way if anyone has the link to any of the custom rom's i'd appreciate it.
akhoury said:
thanks i'd appreciate that.
should i remove BTRestore before i install BTRestart? or can they both be installed on the phone?
i guess i'll try this method before i install a new rom; which by the way if anyone has the link to any of the custom rom's i'd appreciate it.
Click to expand...
Click to collapse
They can both be installed together.
akhoury said:
thanks i'd appreciate that.
should i remove BTRestore before i install BTRestart? or can they both be installed on the phone?
i guess i'll try this method before i install a new rom; which by the way if anyone has the link to any of the custom rom's i'd appreciate it.
Click to expand...
Click to collapse
No, it's not necessary to remove BTRestore. Both work at the same time.
Maybe BTRestart is the only application you need. I use BTRestore so my bluetooth connection won't drop randomly. If your connections stays stable and it only drops after a phonecall, just install BTRestart.
Hi,
Like you sure have heared before, the Touch Pro 2 disconnects the Wi-Fi when in standby mode. Normally this isn't a big problem, but because i often use MSN messenger on my phone, it automatically enables GPRS/UMTS when the phone goes in to standby. Because of this i will have data costs when i have a Wi-Fi available too. I have tried some tweaks i found here already. I have used tools like HD tweak. These wouldn't work for me. I have also tried changing the registry keys manually. I changed to following keys.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1 (was 4 before)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1 (was 4 before)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1 (was 0 before)
This also has no effect and for some reason everytime i soft-reset my device, the unattended key has changed back to 0 again.
Does anyone have any idea how to solve this problem? I dont mind that GPRS/UMTS starts automatically when no other connection is active. But I have Wi-Fi only enabled when i actually use it so i dont mind the battery life too much in that case.
Hope anyone has a solution. Thnx in advance..
me too.
Tried advanced-configuration-tool , HD Tweak, Diamond Tweak, none of these work.
Any solution?
RB85 said:
Hi,
Like you sure have heared before, the Touch Pro 2 disconnects the Wi-Fi when in standby mode. Normally this isn't a big problem, but because i often use MSN messenger on my phone, it automatically enables GPRS/UMTS when the phone goes in to standby. Because of this i will have data costs when i have a Wi-Fi available too. I have tried some tweaks i found here already. I have used tools like HD tweak. These wouldn't work for me. I have also tried changing the registry keys manually. I changed to following keys.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1 (was 4 before)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1 (was 4 before)
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}
-change (Default) DWORD Dec to 1 (was 0 before)
This also has no effect and for some reason everytime i soft-reset my device, the unattended key has changed back to 0 again.
Does anyone have any idea how to solve this problem? I dont mind that GPRS/UMTS starts automatically when no other connection is active. But I have Wi-Fi only enabled when i actually use it so i dont mind the battery life too much in that case.
Hope anyone has a solution. Thnx in advance..
Click to expand...
Click to collapse
Worked it out!!!!!!!!
make the changes in reg:
[HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
[HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
Only the 1st key is needed. thanks
jzhyok said:
Worked it out!!!!!!!!
make the changes in reg:
[HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
[HKEY_LOCAL_MACHINE\Comm\TNETW12511\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
Click to expand...
Click to collapse
Sweet! Thanks you should put this up in the tweaks sticky!
Pimmr said:
Sweet! Thanks you should put this up in the tweaks sticky!
Click to expand...
Click to collapse
Doing it now
loving this - works perfect (after a soft reset, for me)
Thanks!
martinjclarke said:
loving this - works perfect (after a soft reset, for me)
Thanks!
Click to expand...
Click to collapse
in fact, you don't have to do the soft-reset
it takes effect immediately(at least for me)
It looks like since I changed this setting, the battery drains very quickly. This morning 8AM it was fully charged, now 2PM its on 40%, and I haven't hardly touched it...
I will restore the key value to 0 again to see if it solves the battery drain...
Yes this works also for Topaz. However you need to keep something in mind:
This setting may reset itself on soft-reset (some people on Topaz forum reported this)
This will drain battery like a "mofo". I would not suggest using it unless you really need it, like when using VoIP completely and no normal 'call' at all.
Please note that "MSN Messenger" use will also use lot of power, as it may keep the phone in unattended mode, which uses much more power than normal true "standby" (suspended) mode.
Final, for Topaz you would use TNETW... registry hack, for Rhodium you use the BCM.... one. You don't need to do both (Rhodium introduces new Wi-Fi chip compared to last 10 or so HTC phones)
Effect is immediate - however beware when connecting/disconnecting USB cable/activesync at the same time as switching back/from unattended mode, as the activesync connection bug worked around by the Topaz and Rhodium Wi-Fi drivers will temporarily disable Wi-Fi, may reset this setting, and data connections made at the exact moment this happens will use the cellular connection instead of Wi-Fi.
(I needed to disasm entire driver to figure this out for new WMWifiRouter Topaz/Rhodium compatibility patch )
working perfectly
Guys,
Off course if you apply this hack and leave WIFI on all the time the battery will be dead in no time. Whenever you know that you won't be using it, wifi should be turned off. I like this hack because in the case were I am online on MSN for example, I don't have to keep concerned about the device shutting off so that I don't loose connection. It can suspend and still have wifi connection.
However, when I stop using wifi, I turn wifi off completely from communication manager to save battery. What is the use of wifi being kept on with no need for it?
What I love about my Nokia E71 is that it automatically asks me to choose a way to connect when I access a web site or send/receive an email or try to log into MSN. I would just choose the access point and viola as easy as that. In wm, we have to turn on wifi and then do what we want to do.
I guess its a small price to pay for having such a device
Ok, this is my report. I only change the 1st key & it will stick even on soft-reset.
12AM full charge. Device in standby mode with wifi always on & live mail set to sync as item arrive. 6.45AM = Alarm triggered, battery at 80% , 25 email in inbox, 3 in junk folder. Device was set to play tone & vibrate on new email. Volume below medium. Good enough for me
Works perfect on my sprint tp2. just the first registry change needed (second isn't even there). I then mapped the left soft key in the today screen in manilla to \windows\wifisettings.exe so that it is easy to manually turn this on/off. It worked perfect for me for a couple days until I fell asleep surfing the web and the battery was dead when I awoke.
Note: I just changed it back and turned wifi settings to best performance instead. I will just have to deal with continually having to go to the service agreement page for the open network at my hospital. This is better than a dead battery.
WiFi always-on tweak now broken on TP2/WM6.5
Chainfire said:
Yes this works also for Topaz. However you need to keep something in mind:
This setting may reset itself on soft-reset (some people on Topaz forum reported this)
This will drain battery like a "mofo". I would not suggest using it unless you really need it, like when using VoIP completely and no normal 'call' at all.
Please note that "MSN Messenger" use will also use lot of power, as it may keep the phone in unattended mode, which uses much more power than normal true "standby" (suspended) mode.
Final, for Topaz you would use TNETW... registry hack, for Rhodium you use the BCM.... one. You don't need to do both (Rhodium introduces new Wi-Fi chip compared to last 10 or so HTC phones)
Effect is immediate - however beware when connecting/disconnecting USB cable/activesync at the same time as switching back/from unattended mode, as the activesync connection bug worked around by the Topaz and Rhodium Wi-Fi drivers will temporarily disable Wi-Fi, may reset this setting, and data connections made at the exact moment this happens will use the cellular connection instead of Wi-Fi.
(I needed to disasm entire driver to figure this out for new WMWifiRouter Topaz/Rhodium compatibility patch )
Click to expand...
Click to collapse
Hi Chainfire,
Looks like this tweak setting is now reseting itself on soft-reset on the TP2 with the official WM6.5 ROM.
(Used to work for TP2/WM6.1).
Searched the Rhodium/Topaz forums for a solution - no luck.
Have you had any luck with your disassembler ?
-- haongusa.
haongusa said:
Hi Chainfire,
Looks like this tweak setting is now reseting itself on soft-reset on the TP2 with the official WM6.5 ROM.
(Used to work for TP2/WM6.1).
Searched the Rhodium/Topaz forums for a solution - no luck.
Have you had any luck with your disassembler ?
-- haongusa.
Click to expand...
Click to collapse
Any luck with this? I just flashed the official WWE 6.5 ROM yesterday and I experience the same...
jzhyok said:
Worked it out!!!!!!!!
make the changes in reg:
[HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms]
"HTCKeepWifiOnWhenUnattended"=dword:00000001
Click to expand...
Click to collapse
So I only need to change this.NOTHING ELSE?
The other registries are not necessary to change from 4->1 ?
EDIT: Never mind, you should also change the other registries
But now, my phone doesnt sleep on its own, I have to force it by hitting the power button
This worked for me for a while and then it stopped. It was doing exactly what i wanted (ie...downloading my emails even during standby), then all of a sudden, it stopped and kept turning on the data connection. The registry values didn't change back to default, but it still kept undoing the edit. I thought of a [less effective] way around it still.
Since wifi disables during standby, disable standby. When my phone's not being used, the backlight turns off and the phone locks, but you can still see the contents of the screen and wifi stays on. I JUST started trying it, so I don't know what that does for the battery as yet. If anyone can gimme some advice, please do.
Same here with the stock 6.5 rom.
A solution would be really good...
Am i to think that it only remains constant on the 6.1 rom?
Hello Everyone and welcome to the first program I provide to the community!
As we all know, a constant bluetooth connection drains your battery quickly.
Now what I've done here is a program, that toggles BT-Radio unter certain conditions
You can (at the moment) choose:
Enable BT when a call comes in
Enable BT when you place a call
Enable BT whe the phone is charging
If a condition is no longer valid, BT will be switched off, i.e. if you end
your call, BT Radio will be disabled again.
Requirements:-NET CF 3.5
Usage: Choose your options and select 'run and hide' from the menu.
This has got a hard coded smart minimize, as the program needs to run in background.
Settings are saved as you make them, there's no save button.
Please bear in mind, this is BETA.
It works for me so far and I hope for willing testers, so any suggestions for further
functionality or bug reports are welcome!
I've posted it under Blackstone because that's the device it's been developed and tested with.
Anyone who wants to install on a different device is fine with me, and as soon as it's stable I'll
post it on general level.
Enjoy!
Cheers,
Thomas
P.S.: Pleeeeze don't call it 'App'
Important:
This programm will only work with devices that implement the MS-Bluetooth stack (such as the blackstone).
Widcomm driven devices (HD2 or HD Mini) will not work!
As soon as I find a decent way, to control the Widcomm stack from C#, I'll provide a version for this.
Changelog / Bugs
20/03/2010
BT switched off after a few sec on incomming call - FIXED
26/03/2010
BT stopped, when charging was completed - FIXED
Code for Charging detection was completely rewritten
BT stopped after a few seconds on outgoing call - FIXED
BT switches on late on outgoing call. Improved (not sure if I can get that any faster ).
Basic functions should be fine now.
Added function to permanently disable BT below a choosable Battery level (this is totally untested...).
The GUI has changed slightly (I'll sort out a propper GUI later).
XML settings file has been moved to application directory
background thread speeded up considerably (prog. still shows up with 0,0% CPU when running in B/G.
Found a tester with a touch diamond
31/03/2010
Build in debug option added
how to use it:
In the applications directory open the file BtProfilerSettings.xml with a suitable editor.
Somewhere in the settings node add the following line: <WriteLog>X</WriteLog>
Restart the program.
In your device's root directory you'll find a trace file per day, named '3132010BTProfiler_Debug.txt' (thats the one for today)
Please note, that entries are not necessarily in the exact order, as there are 2 separate threads, one dealing with System events and one polling data every second. Thats why entries may even occur twice.
01/04/2010
Code for BT Radio control rewritten, now uses direct P/I invoke instead of MS Shared Sources dll. Seems to be a lot quicker in enabling BT
08/04/2010
New version uploaded.
New functions:
Option to enable BT in discoverable mode
Enable BT for 60 seconds
Enable BT permanently
GUI changed to black (as this is BLACKstone...not Greystone )
I refrained from creating a fancy new GUI in order to keep the footprint in Memory small.
It is still beta, but apart from the HD2 issue we're getting somewhere.
enjoy!
Wishlist / ToDo
Option to enable BT for 60 seconds manually (for file transfer or other purposes) - DONE
Option to enable BT when the Dialer shows up to reduce response time on outgoing calls (not sure if this is still required..).
Scheduler to enable / disable BT.
Separate GUI from Worker Thread to get rid of the smart minimize and enable Autostart option (WIP).
It looks very useful to me, as I use HD with BT handset.
I will test it and let you know how it works for me.
Thanks!
EDIT: Quick Report:
At first call-in, it turns ON BT and handset correctly, but if I let the phone ring, it closes the BT after a few seconds. After that, in second call it does nothing.
At a call out, it does nothing (BT remains closed).
Thanks for testing and your patience!
The first issue was a bug (switching BT off after a few secs), fixed in the cab. Please uninstall and reinstall.
Second issue looks like the program was closed.
Whenever you bring it up, please make sure you use the 'run and hide' button from the menu, to send it to background properly.
Cheers,
Thomas
Tested new cab:
Incoming call works all the time, but it has two little problems:
1st. Since first ring until BT handset is ON, there is a delay of about 10-14
secs
2nd. After BT handset is ON, the ringing is passed only to the handset and
the device speaker is silent
At outgoing call, BT Profiler still not working (it is running in the background)
A step forward at least
The time it takes until a call is being transfered to the headset is something I can't influence and I think, that depends on the combination Phone/handsfree.
All I do (at the moment) is switching BT-radio on/off.
Second issue must be some setting I think. With my Jabra handsfree as well as my car kit the phone still rings. The software does not touch any settings.
Outgoing call works with me, but I admit, the delay until BT is switched on is a bit to long, which results from the event being fired a late.
For this one, I'll try to catch a different (earlier) event, which I already identified but this will be not before next week.
Agian, thanks a lot for your effort. I'll keep on developing this thing until it works as desired.
Please be patiend with me, I'm working in dev for some 20 Years now, but I'm just developing my skills in doing smart device software.
Cheers,
Thomas
I'll test this tool on my HD2. By accident I found your thread, hope I'll make more accidents like this! I will focus solely on turning bluetooth automatically on on USB connect (since thats the only time I use it).
edit: It doesn't seem to turn on bluetooth when I connect my USB cable and phone begins to charge.
Did you check, if the program ran in background?
Switching on BT when charging was my main focus bevor I started developing the program.
However, there will be a new version withing tihs week, fixing some bugs with the eventhandlers, so you may give it another try then
thomas_b said:
Did you check, if the program ran in background?
Switching on BT when charging was my main focus bevor I started developing the program.
However, there will be a new version withing tihs week, fixing some bugs with the eventhandlers, so you may give it another try then
Click to expand...
Click to collapse
Yes program ran in BG. Ill wait patiently for your update
housert said:
Yes program ran in BG. Ill wait patiently for your update
Click to expand...
Click to collapse
Currently testing on my device, I'll post it as soon as possible
thomas_b said:
Currently testing on my device, I'll post it as soon as possible
Click to expand...
Click to collapse
Np. Take your time.
New version is up
Please make sure to read the notes in post #2.
Sorry it took a while, but I had to rewrite the charging portion of the program. the managed libraries are not very good in power line detection, so I had to dig into API.
I tested it again. On incoming call it doesnt turn on bluetooth. On charging it doesnt turn on bluetooth. Maybe the way the Leo works is completely different from HD? Or could it be problem i hooked it up to my pc usb, instead of just a charger?
Umm....the current version is running on my HD as well as on a workmates Diamond since Friday and it behaves well, although the time gap before BT is switched on on outgoing as well as incomming calls is still to long (I'm looking for a solution).
This version should recognize USB PC as well as chargers of different kinds (actually tested with Motorola USB charger in my car and different USB Chargers) as long as they provide power, regardless of the battery state.
My HD is not on Stock ROM, but on an Energy ROM, so its 6.5, same as yours.
At the moment I'm working on a version, that can provide debug information in a tracefile, that's probably what we need to sort out why it's not working on your phone.
Hopefully that version will be up tomorrow.
For the time being:
Have you checked (Task manager) that the program still runs in background?
(silly question you got .NET CF 3.5 installed?
Thanks 4 your patience!
Well, its not really about patience. I mean, it's your tool, take whatever time you need. Since I'm using EnergyROM, I've got .NET installed aswell. Having a debug option is a good idea, maybe there's something I did with my phone (I've tried multiple bluetooth solutions to turn on bluetooth on charger-connect before, KixAss Bluepower for example) that causes your tool not to work.
For the time being debug should point us to the right direction. I will be flashing my Lep with new energy when GTX theme from ElCondor is released, NRG cooks it in his rom with Cookie, and I dont see any bug reports anymore (so I think that won't happen in 2 weeks..)
well, if I provide software, it should better work
Debug Version is up, HowTo in post #2.
Code:
13:46:58 App. startup, using settings:
13:46:58 OnChargingX
13:46:58 OnIncommingX
13:46:58 OnOutgoingX
13:46:58 OnBattLow Perc0
13:47:03 Charging finished
13:47:34 BT switched on
13:48:39 BT switched on
13:49:11 BT switched on
13:49:43 BT switched on
13:49:48 Charging finished
13:49:49 Charging finished
13:50:01 Device cradled
13:50:15 BT switched on
13:50:45 BT switched on
But, Bluetooth is not turned on. I also tried to actually look for my phone using a collegue's phone, but it just doesnt pop up on his display untill i manually turn BT on on my phone.
that looks like the HD2 simply is not responding to the BTon request, which I find a bit strange.
I reckon, Bluepower did not work for you either?
However, I've emailed the developer of Bluepower to check if he's willing to share his sourcecode with me.
Bottom line seems to be that I have to look for a different implementation to control BT Radio in Order to make it work on the HD2.
Bluepower didnt work for me neither, that's why was so happy initially to find your topic I've emailed the developer of bluepower over a month ago, no response so far.
Happy youre active!
I reckon he uses the same API as I do. Got no reply so far either.
Shame I don't have an HD2 but I'll see if I can find something in the API doc.
If BT Radio can be controlled by software, I should be able to find it.
Somewhere in the hardware interface layer I guess, as my ROM is based on Leo as well.
EDIT:
Having trouble keeping the program focusing, so does not work yet.
It's a basic program which makes sure the display doesn't timeout while TomTom is running. Devices such as the HTC Maple and the HTC Excalibur doesn't support this function natively.
I have only tested it on my HTC Maple and it works fine. The default path to TomTom is \Storage Card\Program Files\Navigator\TomTom Navigator.exe
It comes with two programs, one is for launching TomTom and the other one is to change the default path. I suggest copying the files into your TomTom folder, but it doesn't matter. Remember to create a shortcut to the launcher and add it to your startmenu for easy access.
It could work on the HTC Excalibur but I haven't tested yet, so If someone could test and reply to this thread, that would be great.
Hmm?!? I've been using WinMo for quite some years, since Qtek S200 and also serveral different versions of TomTom, 5 6 and 7, and I never, but never saw my pda going timeout due to TomTom...
The same I cannot say of iGo8...
onesolo said:
Hmm?!? I've been using WinMo for quite some years, since Qtek S200 and also serveral different versions of TomTom, 5 6 and 7, and I never, but never saw my pda going timeout due to TomTom...
The same I cannot say of iGo8...
Click to expand...
Click to collapse
I think the timeout being referred to is when you have a PIN setup? I am going to download and try on Diamond - will post result.
Can it be used for Garmin as well?
I don't know about Tom Tom but I have the same issue with Garmin - could you modify this app so that it will so the same for Garmin? WOuld be greatly appreciated
burnes said:
I think the timeout being referred to is when you have a PIN setup? I am going to download and try on Diamond - will post result.
Click to expand...
Click to collapse
What pin setup??
onesolo said:
Hmm?!? I've been using WinMo for quite some years, since Qtek S200 and also serveral different versions of TomTom, 5 6 and 7, and I never, but never saw my pda going timeout due to TomTom...
The same I cannot say of iGo8...
Click to expand...
Click to collapse
Your right, I've used the HTC Universal and that work fine for TomTom. But with phones such as the HTC Excalibur and now my phone the HTC Maple, the TomTom times out. So the problem probably vary with different phones and maybe even different TomTom version.
Ross202 said:
I don't know about Tom Tom but I have the same issue with Garmin - could you modify this app so that it will so the same for Garmin? WOuld be greatly appreciated
Click to expand...
Click to collapse
Have you tried using this program with Garmin as well? Even though it says its for tomtom it could be used for other programs.
If it doesn't work its probably because your device has a different pvDevice name than my HTC Maple. The pvDevice name is needed to access the power functions on the phone (Mine is BKL1: ). What is your device name? I could check the pvDevice name and update the program to work with your phone and my phone
Same issue with Garmin
Have you tried using this program with Garmin as well? Even though it says its for tomtom it could be used for other programs.
If it doesn't work its probably because your device has a different pvDevice name than my HTC Maple. The pvDevice name is needed to access the power functions on the phone (Mine is BKL1: ). What is your device name? I could check the pvDevice name and update the program to work with your phone and my phone [/QUOTE]
Thanks for the prompt reply. I am currently using my old iMate JasJam (runs wm6.1) as the GPS chip on my HD2 died. It is - hopefully - being repaired as we speak. However, as I am off to the Czech Republic in a week for a holiday I may have to use it instead. Nothing worse than having to restart the phone every 5 min as you are walking around trying to see the sights.
Don't know what "pvDevice name" is or where to find it. Under Device settings in wm6.1 it says my model no is Herm100 and Platform is PocketPC using CRCs rom version r13.5 but I'm guessing that's not what you are referring to.
I will try just installing it and see what happens. Any further help would be greatly appreciated as this app would be brilliant.
Edit: 1: Just edited the "Save TomTom.exe path" file to point the Tom Tom Navigator launcher to Garmin instead. This has worked to launch Garmin instead of Tom Tom but it still cuts out after a few minutes. I also have S2U2 running so I will add Garmin to the Exceptional Exe list on that and see if that helps.
Edit: 2: Still turned itself even after adding to S2U2 Exceptional Exe's!
Ross202 said:
Thanks for the prompt reply. I am currently using my old iMate JasJam (runs wm6.1) as the GPS chip on my HD2 died. It is - hopefully - being repaired as we speak. However, as I am off to the Czech Republic in a week for a holiday I may have to use it instead. Nothing worse than having to restart the phone every 5 min as you are walking around trying to see the sights.
Don't know what "pvDevice name" is or where to find it. Under Device settings in wm6.1 it says my model no is Herm100 and Platform is PocketPC using CRCs rom version r13.5 but I'm guessing that's not what you are referring to.
I will try just installing it and see what happens. Any further help would be greatly appreciated as this app would be brilliant.
Edit: 1: Just edited the "Save TomTom.exe path" file to point the Tom Tom Navigator launcher to Garmin instead. This has worked to launch Garmin instead of Tom Tom but it still cuts out after a few minutes. I also have S2U2 running so I will add Garmin to the Exceptional Exe list on that and see if that helps.
Edit: 2: Still turned itself even after adding to S2U2 Exceptional Exe's!
Click to expand...
Click to collapse
Im really sorry. I just did a full test today and It seems even I can't get it working . The screen stays on but it loses focus after a while. I'll start working on it now!
When you say "cuts out after a few minutes" is that the display turning off? Or just Garmin losing focus?
Nothing to apologise for - just to have someone develop such an app and make it available for free is a privilege - wish I had the knowledge and skills to do it.
To answer your question, the screen turns off - I have to press the screen-on button at the side of the jasjam, then navigate to the Garmin program launch icon and press it. The program comes back up to where it left off so I guess it must still be running in the background. Of course, when I am on external power this is not a problem - it keeps running. OK in the car but not much good when walking around.
I have noticed that in System/Backlight settings the screen is set to turn off after 5min when on Battery Power so I have unchecked this option, ie screen shouldn't ever turn off. This seems to be working; however, when Garmin is turned off I then have to remember to reset the backlight-off timeout otherwise I'll quickly have a flat battery.
Nowhere near as elegant as your app promises to be.
Have had Garmin running for past 10 min while I have been typing/composing this reply and it hasn't dropped out ..... yet.
What do you mean by "losing focus"
Further to above, I have had Garmin running non-stop since the above post - 30 min - so unchecking the "turn off screen backlight" seems to have done the trick. Now I just have to go through the nausea of manually checking it again in he system properties.
Thanks for your assistance.
What do you mean by "losing focus"
Click to expand...
Click to collapse
Its just like your desktop, when you are doing something in a window, be it typing, mouse clicking etc, you are focused to that window. But as soon as you click another window your focus changes to that window. So whats happening with this program is its focused on TomTom for around 30s but then it is losing focus to something in the background. Nothing visually happens on the screen, but as soon as I press a key it switches to the background.
It sounds like even the backlight doesn't stay on for you...
Hopefully I can figure this problem out by soon, when I do, ill post
For your info, I have two settings that seem to be relevant both related to Battery Power:
1. Settings>System>backlight>battery power> uncheck "turnoff backlight if device not used for ..."
2. Settings>System>power>advanced> on battery power> uncheck "turnoff device if device not used for ..."
When the Garmin first turned itself off I noted that "1" was checked and set to 5 minutes and "2" was checked and set to 2 minutes. 2 minutes seemed to be the time it took before the phone/screen turned itself off. Once I unchecked "1" the setting @ "2" was irrelevant.
Re loss of focus - no, the screen went blank. When I pressed the power on button for the screen the "today" screen came back up. I then pressed the program launcher>Garmin and Garmin resumed where it had left off.
Hope this helps. Regards Ross
Just a heads up.
You can just download a LightJacker from this address:
http://w1.ozone.mine.nu/default.asp?c=index_lj Looks like it does what people want and is easy to use.
hi guys.
okay, I´m currently running arrrghhh's froyo-bundle on my "T-Mobile Mda Vario IV (HTC Raphael 300)".
as it seems, nobody else uses or even heared of that HTC Touch Pro clone ^^
first at all, I installed the bundle with the startup.txt of the RAPH100. installation was fine, everything was working (eccept for the known bugs).
but there was one point which confused me; have a look at that page:
http://pdadb.net/index.php?m=pdacomparer&id=12&c=all_htc_raphael_variants
have a closer look at all the buttons and then notice the swapped buttons on the t-mobile clone (RAPH300). -.-
so everytime I hit the "back" button, the phone turns black/locks. when I press the "home"-button I get a list of all my calls.
also when touching the upper button, the lower button lights up and so on..
is there a chance to switch the buttons? I already wrote PNs with 'arrrghhh' and he said it seems that I´m the only guy which uses the phone
don´t get me wrong, I will not complain. I can live with the swapped buttons. ^^ but if there is a chance to fix that, would be great
(I think) You will have to find your answer within the rootfs/you will have to edit it some how. In the meantime you could change the end button behavior to either set it under spare parts; if you are using xdandroid as i could not find it in the neopeek variants.
no you are not the only , i have that phone too, don't worry about the buttons because its all right, software doesn't make changes on these, buttons will work fine as they worked before on WM. But can you explain me please how did you installed Android on this?? cause i tried different bundles raph100 500 800, and no one works. Haret starts for a while and then it stops saying something about the memory card is busy! actually i formated it before!! can you send me a link with the bundle that you used please ? thank you
I also have a Raphael 300 running (T-Mobile MDA Vario IV), but from T-Mobile NL, here I have the current FRX05 complete bundle running from arrgh on top of the forumthreads right now.
This still has some issues, but is the currently most stable version I have yet tested.But the Home Button is somehow not in the function it should be, but that a minor issue for me.
Hello,
I got a RAPH120, it's the german O2 XDA Diamond Pro.
It has the same button layout as the german MDA Vario 4, and i don't think, that there is any difference in those phones besides the branding.
I use in startup.txt for keyboard layout "german_raph" and everything is working fine with the FRX05 complete build.
Tristard said:
so everytime I hit the "back" button, the phone turns black/locks. when I press the "home"-button I get a list of all my calls.
also when touching the upper button, the lower button lights up and so on..
Click to expand...
Click to collapse
Yesterday I had the same experience. I restartet the phone, and since then I got no further problems.
vonPfirsing said:
Yesterday I had the same experience. I restartet the phone, and since then I got no further problems.
Click to expand...
Click to collapse
restart doesn´t help. but maybe you can post the content of your startup.txt in this thread? because on my device the sleepmode leads to some lockups, no matter which mode I choose...
the only thing i changed from the RAPH100 Startup.txt is to put for keyboard:
Code:
physkeyboard=german_raph
I don't have the txt right here, if you need it, I will upload it, when I'm home.
vonPfirsing said:
the only thing i changed from the RAPH100 Startup.txt is to put for keyboard:
Code:
physkeyboard=german_raph
I don't have the txt right here, if you need it, I will upload it, when I'm home.
Click to expand...
Click to collapse
Could you upload your startup.txt here, same problems here, also freezes time-to-time
here my startup.txt:
Code:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 1910
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=210 msmvkeyb_toggle=off gsensor_axis=-1,-2,3 board-htcraphael-navi.wake=0 pm.sleep_mode=1 physkeyboard=german_raph"
boot
sometimes i got random freezes too, but not to bad. I think it usually happens, when you let the phone go to sleep and you don't have the launcher on top.
I get it, when i let the phone sleep after an alarm rings e.g.
that´s the point, I like my alarm function in the morning before I go to work
but thanks for the startup.txt, german keyboard works perfekt! also with "Ö, Ä and Ü" ^^
this morning, it didn't freeze, i used it for like a minute after the alarm.
an yes, i like that keyboard too. It's like heaven compared to other phone inputs like milestone e.g..
this morning, everything worked fine. now I´m @work and the screen stays black, no chance. so reinsert battery and reboot again...
Has anybody a solution?
I face the same problems with MDa Vario IV...it's annoying to take the right buttons...
Right now all devs are focusing more on RHOD and some TOPA but none for RAPH. The idea is that the devs hope that RHOD development will be passed down to the RAPH. So, unless you have the know-how, one is only adding on to the same questions being repeated over and over but in different ways(makes for difficult searching).
For example, one of the first things one would have to figure out is how to collapse and wake the panel properly, as this is not being done for obvious reasons. The work around I have posted many times in other threads, forums, works for me and a few others but not for all.
Additionally, if you want to disable the end as power key, one would need to set this in spare parts
Tristard said:
this morning, everything worked fine. now I´m @work and the screen stays black, no chance. so reinsert battery and reboot again...
Click to expand...
Click to collapse
currently I am testing my FRX05 Build on Stability. I think the display driver is not perfect, but it is not the cause of SoDs. Everytime when my phone had a SoD, it was very warm.
I experienced a similar situation, when i used GPS or charged the phone, or both.
I don't use the GPS or CTL Services on the phone, i use my old Kaiser as Navigation System, so i disabled both Options.
This is still in testing, but since i disabled those Options, my phone is still alive.
My normal way to work is 20 kilometres, and it was normal to have a SoD after this distance.
Yesterday i had an appointment 300 kilometres away. On the way to this appointment my phone had a SoD. I restartet Android, and disabled CTL. (I disabled GPS before). Since then, after more than 450 km of travelling, and 22 hours, the phone didn't had a SoD.
vonPfirsing said:
currently I am testing my FRX05 Build on Stability. I think the display driver is not perfect, but it is not the cause of SoDs. Everytime when my phone had a SoD, it was very warm.
I experienced a similar situation, when i used GPS or charged the phone, or both.
I don't use the GPS or CTL Services on the phone, i use my old Kaiser as Navigation System, so i disabled both Options.
This is still in testing, but since i disabled those Options, my phone is still alive.
My normal way to work is 20 kilometres, and it was normal to have a SoD after this distance.
Yesterday i had an appointment 300 kilometres away. On the way to this appointment my phone had a SoD. I restartet Android, and disabled CTL. (I disabled GPS before). Since then, after more than 450 km of travelling, and 22 hours, the phone didn't had a SoD.
Click to expand...
Click to collapse
Not sure what CTL is, but the RIL is a HUGE cause of the SoD issue. Basically poor service, switching 2g/3g, cell sites, etc - cause the SoD condition. hyc is testing/building new RIL's, and they've been working great - they should be phone-agnostic, check it out!
CTL = Cell Tower Location
and yes, i thought RIL was causing SoDs too, but since i got an SoD in Airplane mode, with activated GPS, i was not sure about that.
I live in an area which has not the best 3G coverage, my phone is switching between G and 3G all the time, when i am at home.
Maybe RIL is working better with GSM than CDMA.
I will report any SoDs, when i got some, until now, my phone is running very smooth (without OC).
vonPfirsing said:
CTL = Cell Tower Location
and yes, i thought RIL was causing SoDs too, but since i got an SoD in Airplane mode, with activated GPS, i was not sure about that.
I live in an area which has not the best 3G coverage, my phone is switching between G and 3G all the time, when i am at home.
Maybe RIL is working better with GSM than CDMA.
I will report any SoDs, when i got some, until now, my phone is running very smooth (without OC).
Click to expand...
Click to collapse
Ah, what you call CTL, I call netloc .
Try out that new RIL, it should help both CDMA and GSM folk. It's just that a ton of code was missing for CDMA, we were really running in a fake GSM mode this entire time .
ok, i'll call it netloc from now on
I will try FRX06 with the new RIL.