OnePlus 5 All in One Toolkit offers a handful of functions to its users. Developed by an XDA a member mauronofrio, the tool kit is a Windows application and really simple to use. All you need to install the tool on your PC, then select a desired option (start with driver installation) from its GUI and follow the instruction. The All in one Toolkit offers the following functions: Note that, the toolkit support many other devices too, such as OnePlus 5, OnePlus X/1/2/3/3T, most Nexus devices, LeEco, ZUK Z1/Z2, and more. However, not all functions are available for all device variants. Installation:

  1. Download OnePlus 5 All in One Toolkit zip file from here (source)
  2. Unzip the file and double click on the setup exe file (requires latest Microsoft .Net Framework on the PC).
  3. After installing the toolkit, open it, connect your device and start with installing driver file.

Note: Before connecting your OnePlus 5 to your PC, enable OEM Unlock and USB Debugging on the phone. Also, reboot your phone into fastboot mode. (Source)