CalyxOS (is coming to) is here for FP4!

As the message indicates, you need to update fastboot, the install script has checks to detect if the installed version is to old.

What distro / version are you running? :thinking:

That’s what I did when I used the old package, i.e. the developer package from Andriod. Or how should I update Fastboot

Depends on your distribution, if your package manager has a version new enough (CalyxOS needs at least 31.0.3), install that.
Otherwise download the SDK Platform Tools, extract them and either move them to a directory in your $PATH or just run fastboot directly from that folder ./fastboot (but you would have to modify the install script then).

What’s the output of fastboot --version on your PC currently?

1 Like

fastboot version 28.0.2-debian
Installed as /usr/lib/android-sdk/platform-tools/fastboot

Hi there, I suspect it’s a bug in the flash-all.sh script.

Please delete or comment the following lines in the script in try again:

if ! grep -q partition-exists $(which fastboot); then
echo “fastboot too old; please download the latest version at SDK 플랫폼 도구 출시 노트  |  Android 스튜디오  |  Android Developers
exit 1
fi

I’ve moved your reply to the Calyx thread, otherwise we’ll end up in some complicated language chaos :smirk:

Are you sure there isn’t a reason the script needs at least version 31.0.3? :thinking:
Why include it otherwise…

1 Like

From my ancient rusty German skills I thought I understood the user was sure to be using the latest version.
I actually ran into a similar issue on the windows version of flash-all.bat whereas my fastboot was the latest ones. This solved it…

2 Likes

I would like to repeat that again, why do you really have to update to the latest version of Fastboot now? Why does everyone have to cook their own soup? Why not take an older version that runs on all systems. This is crap. I’m fed up. Typical Americans who always do this with software. I am looking for another software for my FP4. Because I’m not doing this circus anymore. It’s getting annoying. Thank you for your help.

Probably because there are changes the script relies on, I would suspect it to be the ones introduced with the requested version:

31.0.3 (August 2021)

  • fastboot
    • Support flashing vbmeta_vendor.img for fastboot flashall / update.

You could try to get it running with an older version and create a pull request to CalyxOS (or inform them that it already works flawlessly with version xx.xx).

The newer cersion of fastboot will run on your Debian 11, it’s just the package which isn’t up to date. You can download it and run it directly by using the complete path.

2 Likes

Habe ich versucht, doch leider hat das nicht geklappt sudo export PATH=/home/carrabelloy/platform-tools/lib64/:“$PATH”
sudo: export: Befehl nicht gefunden

If you look at the release notes you will see a lot of fixes and improvements during the 3 and a half years since your version came out; don’t you think among all these changes might be one or another that makes sense to use and rely on for todays developers?

1 Like

That may be the case, but I don’t think it always seems to be good without a surface, i.e. distros.
You see the problem again and again where the errors also appear and the whole thing often comes to a standstill. That’s why I wouldn’t use Arch or Fedora. Always Debian

try export without sudo and then fastboot with sudo

?? what do you mean please?

I also tried export without sudo, but the system probably doesn’t eat it.

You might try like this:

sudo PATH=/home/carrabelloy/platform-tools/lib64/:“$PATH” ./flash-all.sh

Information from here: How to export variable for use with sudo? - Unix & Linux Stack Exchange

2 Likes

Look, people are trying to help you despite the not necessarily unstrenuous nature of the discussion. But it’s quite confusing (at least for me) to see the same discussions here and in the CalyxOS Testers channel.
Maybe you should focus on one discussion channel?

I didn’t open two channels. Also, how hard do you think it is to follow English, especially if you don’t like the language. And that goes for many in Germany. Sorry, but it’s not my fault. Don’t forget that. I read tweets in both of them

latform-tools/lib64/:“$PATH” ./flash-all.sh
fastboot too old; please download the latest version at SDK Platform Tools release notes  |  Android Developers