Fastboot error while flashing the Meles

I am getting a strange crash from fastboot while trying to initialize the Meles. Has anyone seen this?

$ sudo fastboot flash boot boot-meles-20240601_180943.ext4
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::compare: __pos (which is 917456) > this->size() (which is 0)
[1]    249278 IOT instruction  sudo fastboot flash boot boot-meles-20240601_180943.ext4

Flashing u-boot-with-spl-meles.bin went fine.

1 Like

Replying to myself for future readers. I resolved this problem by using the latest version of fastboot from https://dl.google.com/android/repository/platform-tools-latest-linux.zip.

Apparently Fedora has a slightly outdated android-tools package which is incompatible with Meles PR#8: Update to 35.0.1 - rpms/android-tools - src.fedoraproject.org.

1 Like