How to use it? Open the terminal from the adb tool directory. Input .\adb devices command to check whether the decice is connected. Input .\adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh to authorize the brevent.
https://gist.github.com/WillieYang/a35dc1159ef8b3dae99b6397d67448b8?permalink_comment_id=5221570#gistcomment-5221570