summaryrefslogtreecommitdiff
path: root/android/blueberry/server/scripts/setup.sh
blob: 1ade4f51597cc92bc9c1341bb4cb864eb6467def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/env bash

# Run Rootcanal and forward port
if [ "$1" == "--rootcanal" ]
then
    adb root
    adb shell ./vendor/bin/hw/android.hardware.bluetooth@1.1-service.sim &
    adb forward tcp:6211 tcp:6211
fi

# Forward Blueberry server port
adb forward tcp:8999 tcp:8999