FORUMS
Remove All Ads from XDA

Workarround - Bluetooth drops when connected to carkit

54 posts
Thanks Meter: 0
 
By freggelfrot, Member on 17th January 2009, 09:20 AM
Post Reply Email Thread
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
 
 
17th January 2009, 10:10 AM |#2  
Vanstra's Avatar
Senior Member
Thanks Meter: 0
 
More
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.
17th January 2009, 10:15 AM |#3  
OP Member
Thanks Meter: 0
 
More
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
17th January 2009, 10:46 AM |#4  
Senior Member
Thanks Meter: 101
 
More
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........ :P
18th January 2009, 11:07 AM |#5  
OP Member
Thanks Meter: 0
 
More
ok. Good luck. I hope it works for you too
19th January 2009, 11:36 AM |#6  
onesolo's Avatar
Senior Member
Thanks Meter: 211
 
More
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
19th January 2009, 12:07 PM |#7  
OP Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by onesolo

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

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
19th January 2009, 12:10 PM |#8  
Senior Member
Thanks Meter: 101
 
More
same here..... and so far this fix really works!
29th January 2009, 07:59 PM |#9  
Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by freggelfrot

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



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.
29th January 2009, 08:10 PM |#10  
Senior Member
Thanks Meter: 101
 
More
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!
30th January 2009, 12:22 AM |#11  
Member
Thanks Meter: 0
 
More
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.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes