[Linux] fastboot: error: Couldn't parse partition size '0x'

I found and alternative method to do it:

# echo -1 > /sys/module/usbcore/parameters/autosuspend

Now when you connect the phone, it won’t be suspended! And now I’m having success with my main computer, even with a USB3 port, in the front panel, with a long cable! First try!

Perhaps this could be integrated to flash.sh to further improve compatibility @jovirkku?

Edit: I’m using Manjaro Linux 64-bit, with fastboot version 31.0.2 which contains the fix.

Edit edit: I still had to flash my sisters brand new Xperia 10 II twice to resolve boot loop (with a broken Android mascot quickly flashing on the screen). Both of the X10II’s I bought did exactly the same thing.

(To make it survive reboot, you can add kernel parameter usbcore.autosuspend=-1 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.)

6 Likes