Difference between revisions of "MAP Bluetooth Legacy Devices"

From WebOS Internals
Jump to navigation Jump to search
m (→‎Overview: add useful link)
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= Overview =
 
= Overview =
This wiki page is designed to help you get the [http://en.wikipedia.org/wiki/Bluetooth_profile#Message_Access_Profile_.28MAP.29 MAP Bluetooth® profile] onto your webOS 2.1 devices. [http://kb.hpwebos.com/wps/portal/kb/na/touchpad/touchpad/wifi/solutions/article/21765_en.html Bluetooth MAP is used by HP] to send and receive text (SMS) messages from Palm/HP smartphone to HP TouchPad tablet.
+
This wiki page is designed to help you get the [http://en.wikipedia.org/wiki/Bluetooth_profile#Message_Access_Profile_.28MAP.29 MAP Bluetooth® profile] onto your webOS 2.1 devices. [http://kb.hpwebos.com/wps/portal/kb/na/touchpad/touchpad/wifi/solutions/article/21765_en.html#N10052 Bluetooth MAP is used by HP] to send and receive text (SMS) messages from Palm/HP smartphone to HP TouchPad tablet.
All instructions on this page are taken from the webOS|Nation thread found [http://forums.webosnation.com/webos-internals/276460-how-install-webos-2-1-0-pre-pre-using-meta-doctor-213.html#post3265408 here]. Support can be found [http://forums.webosroundup.com/index.php?threads/map-bluetooth-on-legacy-2-1-devices.1298/ here].
+
For Veer owners who wish to stay on webOS 2.1.x use this [http://forums.webosnation.com/hp-veer/312539-veer-bluetooth-map-sms-mirror-webos-2-1-x.html#post3304959 process] to produce a btveer224.tar file.
 +
For Pre/PrePlus/Pre2 owners, all instructions on this page are taken from this webOS|Nation [http://forums.webosnation.com/webos-internals/276460-how-install-webos-2-1-0-pre-pre-using-meta-doctor-213.html#post3265408 thread]. Support can be found [http://forums.webosroundup.com/index.php?threads/map-bluetooth-on-legacy-2-1-devices.1298/ here].
 
<br>'''''We (Patrick Campanale, John Steffes, or WebOS Internals) are not responsible for any damage this may cause to your device. This has been tested and should not cause any damage to your device, but it is possible. Use at your own risk.'''''
 
<br>'''''We (Patrick Campanale, John Steffes, or WebOS Internals) are not responsible for any damage this may cause to your device. This has been tested and should not cause any damage to your device, but it is possible. Use at your own risk.'''''
<br>This '''only''' works on webOS 2.1 devices right now. We are working to make this work on webOS 1.4.5 devices, but it is not 100% confirmed working yet. This wiki page will be updated if/when we find out if it is possible.
+
<br>This '''only''' works on webOS 2.1 Veer, Pre, PrePlus, and Pre2 devices right now. We are working to make this work on webOS 1.4.5 devices, but it is not 100% confirmed working yet. This wiki page will be updated if/when we find out if it is possible.
 
<Br>
 
<Br>
  
Line 11: Line 12:
 
= Step 2 =
 
= Step 2 =
 
== Download the getbt script ==
 
== Download the getbt script ==
Next, you need to download the script that will run and get you the needed files for the MAP Bluetooth® profile. You can download that file [https://www.box.com/shared/static/1lgqzdsfq37huamzkz9s here]
+
Next, you need to download the script that will run and get you the needed files for the MAP Bluetooth® profile.  
 +
For Veer owners use the this [http://forums.webosnation.com/hp-veer/312539-veer-bluetooth-map-sms-mirror-webos-2-1-x.html#post3304959 process]  to produce a btveer224.tar file.
 +
For Pre/PrePlus/Pre2 owners, use this [http://forums.webosnation.com/webos-internals/276460-how-install-webos-2-1-0-pre-pre-using-meta-doctor-213.html#post3265408 process]  to produce a bt.tar file. The script file is also posted [https://www.box.com/shared/static/1lgqzdsfq37huamzkz9s here] however it might not be the most current version.
 
== Moving the getbt file ==
 
== Moving the getbt file ==
Next, you need to move the getbt file that you just download to the scripts/ directory of the meta-doctor.  
+
Next, you need to move the getbt/getbtveer file that you just download to the scripts/ directory of the meta-doctor.  
 
= Step 3 =
 
= Step 3 =
 
== Running the script ==
 
== Running the script ==
This part is easy, once the getbt file is in the scripts/ directory, you need to run the script. We do this from the main directory of the meta-doctor, and run this command  
+
This part is easy, once the getbt/getbtveer file is in the scripts/ directory, you need to run the script. We do this from the main directory of the meta-doctor, and run this command  
 +
For Pre/PrePlus/Pre2:
 
<pre><nowiki>
 
<pre><nowiki>
./scripts/getbt
+
./scripts/getbt
 +
</nowiki></pre>
 +
For Veer:
 +
<pre><nowiki>
 +
./scripts/getbtveer carrier ("att" or "wr")
 
</nowiki></pre>
 
</nowiki></pre>
 
= Step 4 =
 
= Step 4 =
== Extracting the bt.tar ==
+
== Extracting the bt.tar/btveer224 ==
What we just did in Step 3 was build a file called bt.tar (which is now in the main directory of the meta-doctor.) Now, we need to extract those files. Open the bt.tar file in your favorite archive manager (7zip or the stock one on Linux will do just fine.) Navigate into the section of the .tar file until you see 2 folders named usr/ and etc/. Once you find those files, extract them into a new folder named bt.
+
What we just did in Step 3 was build a file called bt.tar/btveer224.tar (which is now in the main directory of the meta-doctor.) Now, we need to extract those files. Open the bt.tar/btveer224 file in your favorite archive manager (7zip or the stock one on Linux will do just fine.) Navigate into the section of the .tar file until you see 2 folders named usr/ and etc/. Once you find those files, extract them into a new folder named bt.
 
== Moving the folder to the device ==
 
== Moving the folder to the device ==
 
The new bt folder we just created and extracted the usr/ and etc/ folders to now needs to be put on the device. We need to place this folder in the /media/internal directory (or the main directory of the USB drive).
 
The new bt folder we just created and extracted the usr/ and etc/ folders to now needs to be put on the device. We need to place this folder in the /media/internal directory (or the main directory of the USB drive).
 
= Step 5 =
 
= Step 5 =
== Making backup of existing file ==
+
== Renaming the current files in use and copying the new webOS 2.2.4 files ==
Now that you have all the files you need for the MAP Bluetooth® profile from the webOS Doctor on the device, it's time to make backups of the existing files on the device in case anything goes wrong.
+
Now that you have all the files you need for the MAP Bluetooth® profile from the webOS Doctor on the device, it's time to rename the existing files on the device so we can put the new files onto the device. There may be other files on your system that might need to be renamed.
 +
 
 +
'''''BEFORE CONTINUING, MAKE SURE THAT Bluetooth® IS TURNED OFF'''''
 +
<br>
 
<br>From novaterm we run the following commands from root (/)
 
<br>From novaterm we run the following commands from root (/)
 
<pre><nowiki>
 
<pre><nowiki>
 +
mount -o remount,rw /
 
mv /usr/bin/BluetoothMonitor /usr/bin/BluetoothMonitor.old
 
mv /usr/bin/BluetoothMonitor /usr/bin/BluetoothMonitor.old
 
mv /usr/bin/PmBtStack /usr/bin/PmBtStack.old
 
mv /usr/bin/PmBtStack /usr/bin/PmBtStack.old
 +
mv /var/preferences/com.palm.bluetooth/prefsDB.sl /var/preferences/com.palm.bluetooth/prefsDB.sl.old
 +
rm -rf /usr/palm/applications/com.palm.app.bluetooth/resources/en/ie
 +
cp -r /media/internal/bt/* ./
 +
reboot
 
</nowiki></pre>
 
</nowiki></pre>
'''''BEFORE CONTINUING, MAKE SURE THAT Bluetooth® IS TURNED OFF'''''
+
Then, once we have our files renamed, we run the following command to remove them as they are not needed
<br>
 
Then, once we have our backup files made, we run the following command
 
 
<pre><nowiki>
 
<pre><nowiki>
cp -r /media/internal/bt/* ./
+
mount -o remount,rw /
 +
rm -rf /usr/bin/BluetoothMonitor.old /usr/bin/PmBtStack.old /var/preferences/com.palm.bluetooth/prefsDB.sl.old
 +
mount -o remount,ro /
 +
exit
 
</nowiki></pre>
 
</nowiki></pre>
Next, reboot, wait for the device to come back online, then turn Bluetooth® back on. It might take a while for it to come on the first time.  
+
Next, reboot, wait for the device to come back online, then turn Bluetooth® back on. It might take a while for it to come on the first time.
 +
 
 
= Enjoy =
 
= Enjoy =
 
Now that Bluetooth® is turned on, pair your phone with your HP TouchPad® and enjoy text forwarding!
 
Now that Bluetooth® is turned on, pair your phone with your HP TouchPad® and enjoy text forwarding!
 +
 +
= Issues =
 +
 +
If  you see the '''''unable to connect messaging (MAP) profile'''''  then there might be a profile issue on both devices, deleting both preference files (on touchpad and phone) and re-setting up both BlueTooth profiles might fix this, use novaterm on both devices and type:
 +
 +
<pre><nowiki>
 +
mount -o remount,rw /
 +
mv /var/preferences/com.palm.bluetooth/prefsDB.sl /var/preferences/com.palm.bluetooth/prefsDB.sl.old
 +
exit
 +
</nowiki></pre>
 +
 +
Once both devices are re-setup, go to the BlueTooth preferences for the Touchpad device on the Phone, select off (turn off) for Mirror SMS, exit preferences, then go back into preferences for the Touchpad device on the Phone, select on (turn on) Mirror SMS.
 +
 +
If this fixes your issue you can then use novaterm on both devices and remove the .old files:
 +
 +
<pre><nowiki>
 +
mount -o remount,rw /
 +
rm -rf  /var/preferences/com.palm.bluetooth/prefsDB.sl.old
 +
mount -o remount,ro /
 +
exit
 +
</nowiki></pre>
 +
 +
Now it should be working?

Latest revision as of 14:38, 5 March 2012

Overview

This wiki page is designed to help you get the MAP Bluetooth® profile onto your webOS 2.1 devices. Bluetooth MAP is used by HP to send and receive text (SMS) messages from Palm/HP smartphone to HP TouchPad tablet. For Veer owners who wish to stay on webOS 2.1.x use this process to produce a btveer224.tar file. For Pre/PrePlus/Pre2 owners, all instructions on this page are taken from this webOS|Nation thread. Support can be found here.
We (Patrick Campanale, John Steffes, or WebOS Internals) are not responsible for any damage this may cause to your device. This has been tested and should not cause any damage to your device, but it is possible. Use at your own risk.
This only works on webOS 2.1 Veer, Pre, PrePlus, and Pre2 devices right now. We are working to make this work on webOS 1.4.5 devices, but it is not 100% confirmed working yet. This wiki page will be updated if/when we find out if it is possible.

Step 1

WebOS Internals Meta-Doctor

First, you must download the WebOS Internals Meta-Doctor found Application:MetaDoctor

Step 2

Download the getbt script

Next, you need to download the script that will run and get you the needed files for the MAP Bluetooth® profile. For Veer owners use the this process to produce a btveer224.tar file. For Pre/PrePlus/Pre2 owners, use this process to produce a bt.tar file. The script file is also posted here however it might not be the most current version.

Moving the getbt file

Next, you need to move the getbt/getbtveer file that you just download to the scripts/ directory of the meta-doctor.

Step 3

Running the script

This part is easy, once the getbt/getbtveer file is in the scripts/ directory, you need to run the script. We do this from the main directory of the meta-doctor, and run this command For Pre/PrePlus/Pre2:

 ./scripts/getbt

For Veer:

./scripts/getbtveer carrier ("att" or "wr") 

Step 4

Extracting the bt.tar/btveer224

What we just did in Step 3 was build a file called bt.tar/btveer224.tar (which is now in the main directory of the meta-doctor.) Now, we need to extract those files. Open the bt.tar/btveer224 file in your favorite archive manager (7zip or the stock one on Linux will do just fine.) Navigate into the section of the .tar file until you see 2 folders named usr/ and etc/. Once you find those files, extract them into a new folder named bt.

Moving the folder to the device

The new bt folder we just created and extracted the usr/ and etc/ folders to now needs to be put on the device. We need to place this folder in the /media/internal directory (or the main directory of the USB drive).

Step 5

Renaming the current files in use and copying the new webOS 2.2.4 files

Now that you have all the files you need for the MAP Bluetooth® profile from the webOS Doctor on the device, it's time to rename the existing files on the device so we can put the new files onto the device. There may be other files on your system that might need to be renamed.

BEFORE CONTINUING, MAKE SURE THAT Bluetooth® IS TURNED OFF

From novaterm we run the following commands from root (/)

mount -o remount,rw /
mv /usr/bin/BluetoothMonitor /usr/bin/BluetoothMonitor.old
mv /usr/bin/PmBtStack /usr/bin/PmBtStack.old
mv /var/preferences/com.palm.bluetooth/prefsDB.sl /var/preferences/com.palm.bluetooth/prefsDB.sl.old
rm -rf /usr/palm/applications/com.palm.app.bluetooth/resources/en/ie
cp -r /media/internal/bt/* ./
reboot

Then, once we have our files renamed, we run the following command to remove them as they are not needed

mount -o remount,rw /
rm -rf /usr/bin/BluetoothMonitor.old /usr/bin/PmBtStack.old /var/preferences/com.palm.bluetooth/prefsDB.sl.old
mount -o remount,ro /
exit

Next, reboot, wait for the device to come back online, then turn Bluetooth® back on. It might take a while for it to come on the first time.

Enjoy

Now that Bluetooth® is turned on, pair your phone with your HP TouchPad® and enjoy text forwarding!

Issues

If you see the unable to connect messaging (MAP) profile then there might be a profile issue on both devices, deleting both preference files (on touchpad and phone) and re-setting up both BlueTooth profiles might fix this, use novaterm on both devices and type:

mount -o remount,rw /
mv /var/preferences/com.palm.bluetooth/prefsDB.sl /var/preferences/com.palm.bluetooth/prefsDB.sl.old
exit

Once both devices are re-setup, go to the BlueTooth preferences for the Touchpad device on the Phone, select off (turn off) for Mirror SMS, exit preferences, then go back into preferences for the Touchpad device on the Phone, select on (turn on) Mirror SMS.

If this fixes your issue you can then use novaterm on both devices and remove the .old files:

mount -o remount,rw /
rm -rf  /var/preferences/com.palm.bluetooth/prefsDB.sl.old
mount -o remount,ro /
exit

Now it should be working?