Hello! I recently faced an issue trying to upload big file to Android tablet. It doesn’t detect with MTP so I tried to push it via ADB. But I get this error:

$ adb push myfile /sdcard
adb: error: 65544-byte write failed: Success

How can I fix it? Why is this happening? Storage space is enough:

EDIT: I want to use it for app devlopment, so I need ADB or quick MTP for app installing.

  • @[email protected]
    link
    fedilink
    English
    13 days ago

    How old is this phone? My guess is corruption at hardware level.

    If you can shell into it and have dd or something, try to write a simple file to e.g dd if=/dev/zero of=/sdcard/testfile bs=1MB count=200 If that fails when directly on the device, you can rule out network issues.

    You can also try downloading a file from the web that’s about the size of your file or serving your file on the local WLAN with python3 -m http.server and accessing it on your phone. Just to see what happens.

    Anti Commercial-AI license

    • @user_naaOP
      link
      English
      13 days ago

      I can’t do it until I formatted data. After it file can be downloaded from net, but adb still fails.

      • @[email protected]
        link
        fedilink
        English
        1
        edit-2
        2 days ago

        Shooting from the hip here, but it sounds like the storage chip may be dying. I have a 128GB Pixel 1XL that crashes if I use more than ~20GB of space.