Installation /e/ sur Galaxy Tab S5e

Bonjour et merci de votre patiente Piero et smu44.
Je loupe sûrement un truc, en effet.
Mais, dans les divers tutos que je lis, il y a systématiquement un manque.
Ce qui est écrit fait comme si c’était très simple alors que c’est juste n’importe quoi.
Et dans les forums, je ne suis visiblement pas le seul à être bloqué par ces non-dits.

Je m’explique : si je prends par exemple le tuto que m’indique smu44 (mais c’est pareil pour les autres), je prends juste les étapes 1 et 2 :

  1. Unlock the bootloader
  • Connect to WiFi network
  • Enable OEM Unlock in developer options
  • Turn off the tablet - Boot to download mode manually by plugging in USB and holding all the buttons for few seconds
  • Follow instructions on the screen
  1. Connect to WiFi network and make sure OEM Unlock in developer options is still checked

Lorsque l’on « Turn off the tablet - Boot to download mode manually », on arrive sur un écran « Téléchargement » sur lequel il y a aucun menu ni aucune option.
L’appareil attend simplement le téléchargement d’une version.
Donc, écrire « follow instructions » n’a aucun sens.
Et encore moins l’opération 2 où l’on est censé se connecter au wifi à partir d’un écran vide sur un système non chargé !

Voilà ce qui m’énerve : c’est cette imprécision.
Je sais que les gens qui font ça le font la plupart du temps bénévolement et gentiment, et donc que je suis malvenu à critiquer.
Mais enfin, le but c’est quand même d’aider les autres à avancer, pas à les faire arriver à des situations insolubles !

Pour des raisons de concision,
Dans les fils de conversations, il arrive que l’on conseille a un utilisateur d’aller se laver les mains, en précisant que le lavabo de droite est a éviter car bouché, ommetant parfois de préciser qu’il faut pour cela lever la jambe (mais pas trop) avancer le pieds, reposer la jambe et y porter son poids avant de faire la meme chose avec l’autre côté. On dit seulement qu’il y a dix pas et qu’il est important d’arriver pieds-joints devant le lavabo…

Lel.

OK, au temps pour moi. Je dois être trop idiot pour ne pas être capable de comprendre comment faire ces quelques pas. Désolé

Comparé au processus habituel, (que je ne recopirai pas intégralement ici),

Il y a apparemment une étape supplémentaire sur cet appareil, après avoir déverrouillé le bootloader et avant d’ installer TWRP, ( lanceur de démarrage )
Il s’agit de remplacer le contenu de la partition /vbmeta

Merci. Je regarde ça rapidement.

Il y aura peutetre une solution ici :

Oui merci Piero.
Je dois peut-être flasher préalablement vbmeta.img avec heimdall.
Mais le problème que je rencontre est en amont.
Quoi que je fasse, Heimdall me retourne toujours une erreur :

Initialising protocol…
ERROR: libusb error -7 whilst sending bulk transfer. Retrying…

Ce genre d’erreur est rencontré depuis longtemps avec Linux et les appareils Samsung récents. Voir https://github.com/Benjamin-Dobell/Heimdall/issues/414
Je pense maintenant que la solution pour moi sera peut-être de récupérer une machine Windows.

Je crois comprendre que cette commande met a jour libusb pour ajouter les appareils récents

sudo apt-get update
sudo apt-get install heimdall-flash android-tools-fastboot android-tools-adb libusb-0.1-4 libusb-1.0-0 libusb-1.0-0-dev
sudo heimdall print-pit
sudo heimdall flash --RECOVERY /path/to/recovery.img --VBMETA /path/to/vbmeta.img

J’avais déjà récupéré les dernières version de libusb.
En revanche, quand je tape la commande que tu indiques, j’ai une erreur légèrement différente :

$ sudo heimdall flash --RECOVERY twrp-3.5.2_9-0-gts4lvwifi.img --VBMETA vbmeta.img

Heimdall v1.4.2

Copyright (c) 2010-2017 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection…
Detecting device…
Claiming interface…
Setting up interface…

Initialising protocol…
ERROR: Failed to send handshake!ERROR: Protocol initialisation failed!

Releasing device interface…

I think the device Bootloader is not properly unlocked as you are suposed to follow instructions on the phone screen to achieve the operation.

Here is my bootloader screen with OEM unlock status :

Ok (U) must means Unlocked.

Try to flash only vbmeta fisrt,
Then flash twrp

Also try without sudo

Try using Odin on a Windows PC

Supported models

  • SM-T720
  • SM-T720N

About the Galaxy s10e :

https://mirrorbits.lineageos.org/recovery/gts4lvwifi/20211025/lineage-18.1-20211025-recovery-gts4lvwifi.img

Try to flash only vbmeta fisrt, Then flash twrp
Already tried : same result

Also try without sudo
Already tried : same result

Try using Odin on a Windows PC
Will try as soon as possible, after having found a windows PC

Supported models: SM-T720 SM-T720N
My model is a SM-T720

From the LOS maintainer for the device that TWRP could create a problem…
My problem lived long before the TWRP flash.
I think this is a problem accessing the device via USB because this is what I get in response to the simple “heimdall print-pit --verbose” command:

> heimdall print-pit --verbose
Heimdall v1.4.2
…/…
Initialising connection…
Detecting device…
Manufacturer: “Samsung”
Product: “SDM710”

        length: 18
  device class: 2
           S/N: 0
       VID:PID: 04E8:685D
     bcdDevice: 021B

iMan:iProd:iSer: 1:2:0
nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 01
max packet size: 0200
polling interval: 00
endpoint[1].address: 81
max packet size: 0200
polling interval: 00
Claiming interface…
Setting up interface…

Initialising protocol…
> ERROR: libusb error -7 whilst sending bulk transfer. Retrying…
> ERROR: libusb error -7 whilst sending bulk transfer. Retrying…
…/…
> ERROR: libusb error -7 whilst sending bulk transfer.
> ERROR: Failed to send handshake!ERROR: Failed to receive handshake response. Result: -7
> ERROR: Protocol initialisation failed!
Releasing device interface…

1 Like

I just read something interesting in the xda instructions :

  1. Flash custom VBMeta image ( https://dl.twrp.me/gts4lvwifi/vbmeta.tar.html ) in Odin ( use AP slot )
  2. After flashing VBMeta, boot to stock. It’ll likely ask you to wipe data
  3. Connect to WiFi network and make sure OEM Unlock in developer options is still checked
  4. Now you can flash TWRP ( https://dl.twrp.me/gts4lvwifi ) in Odin ( use AP slot once again ), for convenience you can hold volume up while flashing it so that you boot to recovery right after it’s flashed

If factory reset (wipe /data) is not proposed, force it : go to settings

(First, I did not translate the whole thread before replying!)

The libusb error probably occurs due to USB cable, ports, or some form of incompatibility.

There is an issue mentioned in an issue belonging to Heimdall.

From memory The error was slightly different, but when I found it for another user, he eventually solved the problem even though he reported he was already using a Samsung cable! This was a situation where he had already established contact via adb devices, but Heimdall could not do its magic! I found it: [LIST] Devices working with the Easy Installer - #78 by aibd

1 Like

haha !
1234567890

Si le e-recovery n’a pas encore été publié, tu peux essayer le lineage-recovery. Je crois que c’est une bonne piste.
Mais le cable, haha! , c’est souvent ça !
ou parfois un bug de l’ICC, (ICK in English)…

Sinon récemment sur le forum xda :

Posted in thread ‘[ROM][OFFICIAL][gts4lvwifi][11] LineageOS 18.1’ [ROM][OFFICIAL][gts4lvwifi][11] LineageOS 18.1 | Page 16 | XDA Forums

Salut Piero,
Je suis fou de joie d’avoir finalement pu installer /e/ sur ma tablette Samsung S5e.
En fait, Samsung a dû faire quelque chose sur la liaison USB, car c’est impossible à faire sous Linux (heimdall ne fonctionne pas) : j’ai perdu un temps incroyable pour rien !
J’ai dû sacrifier un PC pour lui installer Windows (une VM sous Linux ne suffit pas) après avoir fait l’acquisition d’une licence OEM.
La procédure fonctionne avec Odin après avoir installé les derniers drivers USB Samsung.
Merci encore pour le temps que tu m’as consacré.

1 Like

J’aurais utilisé la machine windows d’un ami, voisin, famille…

Je suis content que tu ai finalement réussi l’installation.