android13/packages/modules/Bluetooth/android/pandora/server/scripts/setup.sh

13 lines
270 B
Bash
Executable File

#!/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