android-tools icon indicating copy to clipboard operation
android-tools copied to clipboard

Push errors on version 35

Open Massimo-B opened this issue 1 month ago • 5 comments

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.

Massimo-B avatar Nov 20 '25 08:11 Massimo-B

Both are working fine in my setup with same command. I even upgraded LineageOS with that same fastboot command some days ago.

Biswa96 avatar Nov 20 '25 09:11 Biswa96

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?

Massimo-B avatar Nov 20 '25 11:11 Massimo-B

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

Biswa96 avatar Nov 20 '25 12:11 Biswa96

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

Biswa96 avatar Nov 20 '25 13:11 Biswa96

I've not had that issue with my Snap variant of the platform tools (sudo snap install android-platform-tools).

fredldotme avatar Nov 21 '25 00:11 fredldotme