1*4882a593Smuzhiyun#!/bin/sh 2*4882a593Smuzhiyun 3*4882a593Smuzhiyunkillall brcm_patchram_plus1 4*4882a593Smuzhiyun 5*4882a593Smuzhiyunecho 0 > /sys/class/rfkill/rfkill0/state 6*4882a593Smuzhiyunecho 0 > /proc/bluetooth/sleep/btwrite 7*4882a593Smuzhiyunsleep 2 8*4882a593Smuzhiyunecho 1 > /sys/class/rfkill/rfkill0/state 9*4882a593Smuzhiyunecho 1 > /proc/bluetooth/sleep/btwrite 10*4882a593Smuzhiyunsleep 2 11*4882a593Smuzhiyun 12*4882a593Smuzhiyunbrcm_patchram_plus1 --bd_addr_rand --enable_hci --no2bytes --use_baudrate_for_download --tosleep 200000 --baudrate 1500000 --patchram BTFIRMWARE_PATH BT_TTY_DEV & 13*4882a593Smuzhiyunhciconfig hci0 up 14