Ich möchte CyanogenMod auf meinem Samsung Galaxy S5 installieren. Ich hatte die Version heruntergeladen und die genauen Schritte aus dem Wiki durchgeführt. Aber wenn ich versuche, mit Heimdall zu flashen, bekomme ich diesen Fehler:
Ubuntu-Laptop:~/Downloads/cm-12.1-20151007-SNAPSHOT-YOG4PAO333-klte$ sudo heimdall flash --RECOVERY boot.img --no-reboot
Heimdall v1.4.1
Copyright (c) 2010-2014 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: Protocol initialisation failed!
Releasing device interface...
Mit Google habe ich nichts gefunden. Bitte helfen Sie.
Vielen Dank.
Ich hatte auch ein ähnliches Problem. Ich habe die udev-Regel hinzugefügt, wie in GitHub vorgeschlagen (Link oben), aber das Telefon würde immer noch nicht herunterladen. Dann habe ich auf GitHub eine andere einfache Lösung gefunden:
Es funktionierte wie ein Zauber.
Ich hatte das gleiche Problem und fand in einem Kommentar zu Heimdall-Ausgabe Nr. 228 eine Lösung, die für mich funktionierte .
Das Problem für mich war, dass udev das Telefon als Modem reservierte, als ich es einsteckte. Wenn Sie dmesg ausführen und eine Zeile sehen, die besagt: "Dieses Gerät kann keine Anrufe alleine tätigen. Es ist kein Modem.", dann dies könnte für dich arbeiten.
Erstellen Sie als Root eine Datei namens /etc/udev/rules.d/79-samsung.rules mit folgendem Inhalt:
ATTRS{idVendor}=="04e8", ENV{ID_MM_DEVICE_IGNORE}="1"
Starten Sie dann udev mit „sudo service udev restart“ neu und trennen/replug das Gerät, und Sie können versuchen, es erneut zu installieren.
Wenn das nicht funktioniert oder wenn es sich um ein anderes Problem handelt, können Sie Ihre Frage bearbeiten, um die Ausgabe dieser Befehle hinzuzufügen:
heimdall detect --verbose --usb-log-level debug
sudo heimdall print-pit --verbose --no-reboot
ERROR: libusb error -4 whilst sending bulk transfer. Retrying...
:SIch hatte ähnliche Probleme, es stellte sich heraus, dass es nur mit Heimdall v1.4.2 auf meinem Linux-Mint-19-System funktionierte
DIE SITUATION MIT HEIMDALL 1.4.0:
OS:LinuxMint 19 (tara) Kernel 4.20.0-042000-generisch
heimdall flash --REOVERY /home/user/Downloads/twrp-3.3.1-0-gts210vewifi.img --pit /home/user/s2a.pit --no-reboot --verbose
Heimdall v1.4.0
Copyright (c) 2010-2013, 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...
Manufacturer: "Sasmsung"
Product: "MSM8952"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
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: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
Protocol initialisation successful.
Beginning session...
Some devices may take up to 2 minutes to respond.
Please be patient!
Session begun.
Downloading device's PIT file...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet.
ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet. Retrying...
ERROR: libusb error -7 whilst sending packet.
ERROR: Failed to send end session packet!
Releasing device interface...
heimdall download-pit --output s2.pit --verbose
Heimdall v1.4.0
Copyright (c) 2010-2013, 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...
Manufacturer: "Sasmsung"
Product: "MSM8952"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
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: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response. Retrying...
ERROR: Failed to receive handshake response.
ERROR: Protocol initialisation failed!
Releasing device interface...
DIE REPARATUR:
... diesen hilfreichen Artikel gefunden und Heimdall v1.4.2 installiert
SO INSTALLIEREN SIE HEIMDALL VERSION 1.4.2 AUF UBUNTU 16 UND HÖHER
installieren ver. 1.4.2 Folgendes tun:
sudo apt purge heimdall-flash
sudo apt install build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev
cd ~
wget https://gitlab.com/BenjaminDobell/Heimdall/-/archive/master/Heimdall-master.tar.gz
tar -xvf Heimdall-master.tar.gz
cd Heimdall-master/
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
sudo mv ./bin/heimdall* /usr/local/bin
Erfolg prüfen mit
heimdall version
v1.4.2
Nach dieser Operation änderte sich das Verhalten wie folgt:
heimdall flash --RECOVERY /home/user/Downloads/twrp-3.3.1-0-gts210vewifi.img --pit /home/chris/s2.pit --no-reboot --verbose
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...
Manufacturer: "Sasmsung"
Product: "MSM8952"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
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: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
Initialising protocol...
Protocol initialisation successful.
Beginning session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
Some devices may take up to 2 minutes to respond.
Please be patient!
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
Session begun.
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
Downloading device's PIT file...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
PIT file download successful.
Uploading RECOVERY
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
0%WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
7%
14%
21%
28%
35%
42%
49%
56%
63%
70%
77%
85%
92%
99%
100%
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
RECOVERY upload successful
Ending session...
WARNING: Empty bulk transfer after sending packet failed. Continuing anyway...
ERROR: libusb error -7 whilst receiving bulk transfer. Retrying...
Releasing device interface...
Vor der Operation habe ich das Tablet aus- und wieder eingesteckt
damit ich das TWRP flashen kann
GLÜCKLICH
Dies ist mir in v1.4.1 passiert. Es gibt mehrere Möglichkeiten, das Problem zu beheben:
sudo apt-get install build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev
Wenn keine der obigen Antworten funktioniert hat, könnte die Antwort so dumm sein, wie sie sich für mich herausstellte.
Zwei Dinge, die Sie möglicherweise ausprobieren müssen, bevor Sie Ihren Kopf gegen Ihren Bildschirm stoßen:
Mögliche Lösung 1: Starten Sie im Download-Modus neu, ohne dass der USB-Anschluss angeschlossen ist, und schließen Sie ihn erst an, nachdem Sie die Taste gedrückt haben, mit der Sie diese gefährliche Reise fortsetzen können (Lautstärke-Taste, nehme ich an). Wenn Sie dies noch nicht getan haben, ersetzen Sie anschließend die Treiber durch Zadig und Heimdall könnte funktionieren. Ich schätze, das war die Lösung für mich, aber es hätte genauso gut sein können ...
Mögliche Lösung 2: Starten Sie Ihr Mobilgerät neu, nachdem Sie die Treiber durch Zadig ersetzt haben. Ja, super albern, aber das hätte leicht die Lösung sein können (da die erste Lösung einen Neustart erforderte).
Hoffentlich bricht niemand einen Schädel ein.
Httqm
daviewales
daviewales
adb reboot download
die Schaltflächen zu verwenden, anstatt sie zu verwenden, wie hier beschrieben