参考链接:
https://www.rojtberg.net/668/how-to-root-android-using-ubuntu/
https://itsfoss.com/root-nexus-7-2013-ubuntu-linux/
安装adb和fastboot
1.sudo apt-get install adroid-tools-adb
2.sudo apt-get install android-tools-fastboot
3.adb reboot bootloader
adb devices :查看连接状态
手机怎么进去重装系统:
音量下+电源键
sudo adb start-server/kill-server
adb version