aboutsummaryrefslogtreecommitdiff
path: root/android/pandora/server/scripts/setup.sh
blob: 674dd4c3fb3c49a876e8237e3a570c95d77a5681 (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 Pandora server port
adb forward tcp:8999 tcp:8999