Host Linux Machine
- Remove modemmanager. At least in Ubuntu 14.04 and 16.04 verions, we found a conflicting issue if modemmanager is installed and active. Modemmanager monitors ttyUSBx’s incoming data, when it reads some given pattern, it will send some bytes back into the tty as response. And those bytes sent by modemmanager can make board side recovery flashing tool confuse and fail. Solution is to uninstall this service. If you have a doubt whether you are safe to remove it or not, double confirm here: ModemManager homepage.
$ sudo dpkg -s modemmanager$ sudo apt-get remove modemmanager
- Android SDK “Platform-Tools” for Linux can be downloaded here
- Use terminal to clone this repository into desired folder and cd into tools-images-hikey960
$ git clone https://github.com/96boards-hikey/tools-images-hikey960$ cd tools-images-hikey960