Cannot read 'sideload' when installation on S4 mini

Hello to everyone on this forum.
I’m a newbie here with smartphones and trying to escape from GAFAs dictatorship.
When trying to install /e/ on S4 mini from an Ubuntu 14.04 host machine, I was at the very final step of the installation manual [], close to be done.
I was in recovery mode with TWRP on the phone, trying to sideload the /e/ .zip package, and Terminal showed “cannot read ‘sideload’”.
Any suggestion?

1 Like

Hello, welcome in the community :slight_smile:

To sideload you have to :

  • “apt install adb” on your Ubuntu
  • In TWRP go to Advanced > Sideload > swipe to enter in sideload mode.
  • then on Ubuntu go with the terminal where the file to sideload is and enter “adb sideload”.

Hi and thanks a lot for your quick answer and help.

  • adb was already installed on my Ubuntu,
  • everything had been done in TWRP,
  • my first mistake was that I hadn’t gone with terminal where the file was located, but had directly entered “adb sideload /path/to/”, which I thought was the same.

Then I tried to do it the right way, but still with no success (“protocol error”).
At this point, I realized that TWRP had sent a notice showing that I needed adb version 1.0.32 or newer, as mine was version 1.0.31. I don’t know whether further versions of Ubuntu (mine is 14.04LTS) can have newer version of adb, but all my efforts to upgrade my adb with regular repositories proved unsuccessful.
Though, I could find a solution at this link:

adb version

Android Debug Bridge version 1.0.31

wget -O - | tar -zxvf - adb

sudo mv adb /usr/bin/adb

sudo chmod +x /usr/bin/adb

adb version

Android Debug Bridge version 1.0.32

And I eventually could go through the installation of /e/ on my S4 mini.

Nevertheless, thanks again for the time you spent on my problem!

1 Like