Skip to content

Instantly share code, notes, and snippets.

Avatar
😄

tp7309 tp7309

😄
View GitHub Profile
@tp7309
tp7309 / auth_adb.bat
Last active Dec 7, 2018
fix adb unauthorized issue
View auth_adb.bat
chcp 65001
@echo fix adb unauthorized issue, can only fix one PC, run it in recovery mode
@echo 用于修复nexus6p不能连接adb的问题,在recovery模式下运行此脚本。
set currentDir=%~dp0
@echo add local fastboot to PATH variable
@set PATH=%currentDir%lib\platform-tools;%PATH%
adb devices 2>nul | findstr /r /c:"recovery" || @echo "error : device not in recovery mode" && pause && exit /B 1
@echo off
You can’t perform that action at this time.