n800 : Simplified instructions for adding bluetooth a2dp
August 15th, 2007 by OptimusMilhouse has done a great job simplifying the steps for getting A2dp working on the n800. I just copied his posting here for easy reference.
Thanks Milhouse!
Great work!
–
Credits to MilHouse
Full instructions for downloading and installing A2DP software can be found here. The instructions listed here offer a simplified and largely automated installation methodology that should work every time.
Jump to step 5 if you have xterm and wget installed, root access and have already paired your Bluetooth headset.
Pre-requisites to be satisfied before installing A2DP
1. xterm must be installed
- Install xterm via the one-click install file on this page: http://maemo.org/downloads/product/osso-xterm-advanced
2. “Becomeroot” package must be installed or device in R&D mode
- Install the Becomeroot package by adding the following repository to application manager:
Quote:
Web Address: http://eko.one.pl/maemo
Distribution: bora
Components: user - Alternatively see the maemo.org wiki for details on how to enable R&D mode.
3. wget installed for downloading web-based files from the command line
- Open xterm and execute the following commands in xterm (you must have satisfied pre-requisite #2 before continuing):
Code:
sudo gainroot apt-get install wget exit
4. Pair your Bluetooth headset with your N800
- Pairing instructions will vary from device to device. A pairing code of 0000 will typically allow the headset to pair automatically once set into pairing mode.
Once all of the above pre-requisites are satisfied continue at step 5.
Installing the A2DP software
5. Download and execute the A2DP software installation scripts
- The following commands will create a temporary working directory, download two shell scripts using wget then execute those two scripts in turn.
As user “user”
- The first script, btscan.sh, will attempt to identify the Bluetooth address for the Bluetooth headset paired with your N800.
- Execute the second script, install.sh, and pass the address of your Bluetooth headset (identified after running the first script, including colons) as a parameter. This step will download the A2DP software packages and generate configuration scripts specific to your Bluetooth headset.
Code:
mkdir ~/a2dp cd ~/a2dp wget http://www.nmacleod.com/a2dp/btscan.sh wget http://www.nmacleod.com/a2dp/install.sh chmod +x btscan.sh install.sh ./btscan.sh ./install.sh 00:11:22:33:44:55
where 00:11:22:33:44:55 must be replaced by YOUR Bluetooth Headset address as identified by btscan.sh.
As user “root”
- Switch to the root superuser and again execute the second script install.sh. This step will install the A2DP packages and finalise the configuration. Reboot.
Code:
sudo gainroot ./install.sh reboot
- Optionally remove the temporary directory ~/a2dp with the following command as the directory and it’s contents are no longer required:
Code:
rm -fr ~/a2dp
- Enjoy A2DP audio when using the Kagu audio player.

EDIT:
18 August 2007: Updated install.sh script to support repository based installation of the latest mplayer (currently 1.0rc1-maemo.18.n800)
Posted in A2DP, Bluetooth, Nokia n800 | 2 Comments »

