• R/O
  • HTTP
  • SSH

system-bt: Resumen Repositorio


Recent Commits RSS

Rev. Tiempo Autor Mensaje
5de7ed3 2022-03-14 05:41:50 Mauro Rossi r-x86 hci_packetizer: fix unused building errors Fixes the fol...
7bcd808 2022-03-14 05:41:50 Chih-Wei Huang Add back libbt-vendor
58939df 2022-03-14 05:41:50 Gaganpreet kaur Fix for multiple crash issues. Iss...
f446b17 2022-03-14 05:41:49 anitha3x A work around fix for incorrect controller response. Rea...
d03a9a9 2022-03-14 05:41:49 Chih-Wei Huang Avoid annoying crashing on VMware
3a08e38 2022-03-14 05:41:48 Chih-Wei Huang Remove the unused function
146dbfd 2022-03-14 05:41:48 Chih-Wei Huang HCI: don't abort on timeout Timeout is normal. Especiall...
d610035 2021-07-06 17:20:02 Chih-Wei Huang pie-x86 Android 9.0.0 Release 61 (6780336) -----BEGIN PGP SIGNA...
30098cc 2021-07-01 20:03:48 Android Build Coastguard Worker Merge cherrypicks of [15172584, 15172286, 15172594, 15172...
10f7c3b 2021-07-01 20:01:57 Hansong Zhang SMP: Reject pairing if public_key.x match Bug: 189329824...

Recently edited Tags

Nombre Rev. Tiempo Autor
android-x86-8.1-r6 c9b4109 2021-03-02 23:23:40 Chih-Wei Huang
android-x86-7.1-r5 42a3fb7 2020-05-20 14:07:45 Chih-Wei Huang
android-x86-8.1-r5 f5543f1 2020-05-08 11:55:55 Chih-Wei Huang
android-x86-8.1-r4 8d930b9 2020-03-16 19:40:40 Chih-Wei Huang
android-x86-9.0-r1 f27b26c 2020-02-14 12:38:38 Chih-Wei Huang
android-x86-9.0-r2 f27b26c 2020-02-14 12:38:38 Chih-Wei Huang
android-x86-7.1-r3 f5493c8 2019-10-16 23:30:17 Chih-Wei Huang
android-x86-7.1-r4 f5493c8 2019-10-16 23:30:17 Chih-Wei Huang
android-x86-8.1-r3 ff2742a 2019-10-15 17:47:31 Chih-Wei Huang
android-x86-8.1-r2 f32527f 2019-06-05 18:35:26 Chih-Wei Huang
android-x86-8.1-r1 ae95628 2019-01-08 17:16:56 Chih-Wei Huang
android-x86-7.1-r1 f020a64 2018-02-04 16:51:04 xiezhongtian
android-x86-7.1-r2 f020a64 2018-02-04 16:51:04 xiezhongtian


Nombre Rev. Tiempo Autor Mensaje
r-x86 5de7ed3 2022-03-14 05:41:50 Mauro Rossi hci_packetizer: fix unused ...
pie-x86 d610035 2021-07-06 17:20:02 Chih-Wei Huang Android 9.0.0 Release 61 (...
oreo-x86 c9b4109 2021-03-02 23:23:40 Chih-Wei Huang Android 8.1.0 Release 81 (...
cm-14.1-x86 af557cb 2021-02-14 22:40:57 Chih-Wei Huang Merge remote-tracking branc...
nougat-x86 42a3fb7 2020-05-20 14:07:45 Chih-Wei Huang Avoid more annoying crashing
q-x86 4b92ee8 2020-04-14 23:54:21 Mauro Rossi hci_packetizer: fix unused ...
cm-14.0-x86 36ab0e7 2016-11-15 10:16:30 Jaap Jan Meijer [REVERT ME] Ignore time out...

Fluoride Bluetooth stack

Building and running on AOSP

Just build AOSP - Fluoride is there by default.

Building and running on Linux

Instructions for Ubuntu, tested on 15.10 with GCC 5.2.1.

Install required libraries

sudo apt-get install libevent-dev

Install build tools

  • Install ninja build system
sudo apt-get install ninja-build

or download binary from

  • Install gn - meta-build system that generates NinjaBuild files.

Get sha1 of current version from here and then download corresponding executable:

wget -O gn<gn.sha1>

i.e. if sha1 is "3491f6687bd9f19946035700eb84ce3eed18c5fa" (value from 24 Feb 2016) do

wget -O gn

Then make binary executable and put it on your PATH, i.e.:

chmod a+x ./gn
sudo mv ./gn /usr/bin

Download source

mkdir ~/fluoride
cd ~/fluoride
git clone

Then fetch third party dependencies:

cd ~/fluoride/bt
mkdir third_party
git clone
git clone
git clone
git clone

And third party dependencies of third party dependencies:

cd fluoride/bt/third_party/libchrome/base/third_party
mkdir valgrind
cd valgrind
curl | base64 -d > valgrind.h
curl | base64 -d > memcheck.h

Fluoride currently has dependency on some internal Android projects, which also need to be downloaded. This will be removed in future:

cd ~/fluoride
git clone
git clone
git clone

Configure your build

We need to configure some paths to make the build successful. Run:

cd ~/fluoride/bt
gn args out/Default

This will prompt you to fill the contents of your "out/Default/" file. Make it look like below. Replace "/home/job" with path to your home directory, and don't use "~" in build arguments:

# Build arguments go here. Examples:
#   is_component_build = true
#   is_debug = false
# See "gn args <out_dir> --list" for available build arguments.

libhw_include_path = "/home/job/fluoride/libhardware/include"
core_include_path = "/home/job/fluoride/core/include"
audio_include_path = "/home/job/fluoride/media/audio/include"

Then generate your build files by calling

cd ~/fluoride/bt
gn gen out/Default


cd ~/fluoride/bt
ninja -C out/Default all

This will build all targets (the shared library, executables, tests, etc) and put them in out/Default. To build an individual target, replace "all" with the target of your choice, e.g. ninja -C out/Default net_test_osi.


cd ~/fluoride/bt/out/Default
LD_LIBRARY_PATH=./ ./bluetoothtbd -create-ipc-socket=fluoride
Show on old repository browser