Push errors on version 35
On Linux with
fastboot version 35.0.2-android-tools
I have errors when doing adb push or fastboot flash:
# adb push SuperHybrid\ Flasher\ Global\ 16.0.1.304.zip /sdcard/Download/
adb: error: 65544-byte write failed: SuccessGlobal 16.0.1.304.zip
# fastboot flash recovery recovery.img
Warning: skip copying recovery image avb footer (recovery partition size: 0, recovery image size: 104857600).
Sending 'recovery' (102400 KB) FAILED (Status read failed (No such device))
fastboot: error: Command failed
On Linux I need to use a Windows VM with
fastboot version 36.0.0-13206524
and there all transfers are working, same hardware.
Both are working fine in my setup with same command. I even upgraded LineageOS with that same fastboot command some days ago.
I have these issues since I got a OnePlus 13. Other users have reported issues with the Linux android-tools with this device as well. Might be fixed by upstream version 36, can you release that as well?
Google has not released source code of newer platform-tools. See the tag list here https://android.googlesource.com/platform/packages/modules/adb.git/+refs
Here is a suggestion from a maintainer of another Android project.
export ADB_LIBUSB=0 ; adb kill-server will likely workaround the first one the latter is random
I've not had that issue with my Snap variant of the platform tools (sudo snap install android-platform-tools).