I have had this issue ever since the filesize exceeded 2gb. I have tried making adb large address aware with software found on xda and still have the issue. Someone told me I need to build adb with x64 but I have not tried. I just flash using fastboot and use userdebug recovery to format data afterwards.
I've also tried the exact same thing.
This may be our issue. I will let you know what I find
SOLVED:
I updated several things.
platform-tools
ADB device driver.
Windows oneplus bootloader driver . ( Oneplus drivers )
Initially, within recovery, Windows 10 saw my op7t as some generic android device. I then loaded latest oneplus device drivers, by uninstalling the generic and installing opo manually .
Now, when attempting to flash a kernel, says no space left on device.
Seems /root is full?