Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

Sunday, 31 January 2016

adb und fastboot | Linux | Installation | Einrichtung | Anleitung

Beginnen wir mit der Installation. Öffnet das Terminal und führt diese beiden Befehle aus:
[1] sudo apt-get install android-tools-adb
[2] sudo apt-get install android-tools-fastboot
Sollte Linux eine neue Welt für euch sein, dann wird euch dieser Artikel erklären, was das Terminal ist, wie es gestartet wird und wie Ihr damit arbeiten könnt. Dabei spielt es keine Rolle, ob Ubuntu oder Linux Mint oder gar ein andere Linux-Distribution - Terminal bleibt Terminal (in diesem Fall). 
Damit wäre fastboot und adb installiert. Startet euren Rechner neu und schon könnt Ihr damit arbeiten.

Sollte es Probleme geben, dann könnte Ubuntu die Quellen nicht aktualisiert haben. Momentan ist das der Fall und wer Android 5.x.x Lollipop nutzt, der könnte Probleme bekommen. 
Führt den Befehl adb version aus. In meinem Fall war Version 1.0.31 installiert. Die neuste Version wäre aber 1.0.32. Wer die neue Version installieren möchte, der führt diese Befehle aus:
[1] wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
[2] sudo mv adb /usr/bin/adb
[3] sudo chmod +x /usr/bin/adb
Ihr könnt das Bild oben anklicken, um es zu vergrößern, dann könnt Ihr noch einmal sehen, wie Ihr vorgehen solltet. Sollte als Ausgabe erscheinen Android Debug Bridge version 1.0.32, dann müsst Ihr das natürlich nicht tun. 

In der Anleitung (um zum Beispiel den Bootloader zu entsperren oder um ein Recovery zu flashen) wird oft an erster Stelle stehen "führt den Befehl adb devices aus". Im Bild oben sollte jetzt unter dem List of devices attached eine Nummer stehen, was aber nicht der Fall ist. Was könnte jetzt das Problem sein? 
In 90% der Fälle wäre das die Lösung: 
Führt im Terminal den Befehl lsusb aus. Dieser Befehl listet alle Geräte auf, welche per USB am Rechner angeschlossen sind. Habt Ihr ein Nexus, dann wird etwas wie Google dahinter stehen. In meinem Fall - das ZUK Z1 - steht nichts da. Deshalb führe ich den Befehl zwei mal aus, um zu sehen, welche Zeile verschwindet, wenn mein Z1 nicht mehr angeschlossen ist. 
In diesem Fall wäre das:
Bus 004 Device 007: ID 2b4c:1001
Hier können wir die Manufacturer ID und Model ID herauslesen. Führt jetzt den Befehl:
sudo nano /etc/udev/rules.d/51-android.rules
aus und es erscheint dieses Bild:
In meinen Fall muss ich jetzt diese Zeile reinkopieren:
#ZUK
SUBSYSTEM=="usb", ATTR{idVendor}=="2b4c", MODE="0664", GROUP="plugdev"
STRG gedrückt halten und O drücken, mit der Entertaste bestätigen und mit STRG und X das Fenster wieder schließen (siehe unten im Bild die Bedeutung der Buchtstaben). Ob HTC, LG, OnePlus, Sony, usw. usf. hier findet Ihr eine Liste mit allen Geräten. Dort sucht Ihr euch einfach die aus, die zu eurem Gerät passt. Ich habe extra diese Seite verlinkt, da diese aktualisiert wird. 

Sollte dann mit dem Befehl adb devices eine Zahl erscheinen aber dahinter ein unauthorized stehen, dann müsst Ihr auf euer Gerät schauen. 
Der Fingerabdruck des RSA-Schlüssels für diesen Computer lautet...
Hier ein Haken setzen und mit OK bestätigen. Jetzt wird dieses unauthorized nicht mehr erscheinen und Ihr könnt mit adb arbeiten!

Wenn es weiterhin nicht funktioniert, dann führt den Befehl groups aus. 
Sollte in der Zeile darunter plugdev nicht erscheinen, dann führt Ihr den Befehl
sudo gpasswd -a BENUTZERNAME plugdev
aus. Ihr musst anstelle von BENUTZERNAME euren Benutzernamen eintragen. Kleiner Tipp für alle, die neu dabei sind... Wie oben im Bild zu sehen, steht euer Benutzername vor dem @ - in meinem Fall muhamed. Dann einen Neustart durchführen und es wieder probieren. 

Die letzte Möglichkeit, welche mir bekannt ist (dank OnePlus) wäre diese:
sudo nano ~/.android/adb_usb.ini
ausführen, dann erscheint dieses leere Fenster, wie schon im Beispiel oben.
Hier die vendor ID eintragen. Sollte euch diese nicht bekannt sein, dann einfach Google danach fragen, wie z.B. "xperia z3 vendor id" und schon findet Ihr diese. STRG gedrückt halten und O drücken, mit Entertaste bestätigen und dann wieder STRG gedrückt halten und X drücken, um das Fenster zu schließen. 

Ein Neustart ist eigentlich nicht notwendig aber damit könnt Ihr nicht falsch machen...
adb kill-server beendet adb bzw. schießt es ab.
adb start-server startet adb.


Leider kann ich euch keine weiteren Tipps geben. Sollte es jetzt nicht funktionieren, dann wüsste ich beim besten Willen nicht, was man noch tun könnte. 
Was ich euch aber noch sagen kann (aus Erfahrung):
- für adb kein USB 3.0 verwenden! fastboot funktioniert bei mir mit USB 3.0 aber adb nicht!
- die Wahl des USB-Kabels ist wichtig. Es gibt Kabel, welche nur für das Laden des Akkus bestimmt sind, wie die von Anker (nicht alle aber einige). 
- bei Type C hatte ich zu Beginn richtig Probleme. Ich habe zwei Kabel vom ZUK Z1, das eine will nicht, das andere schon, beim OnePlus Type C Kabel hatte ich keine Chance (drei Stück habe ich davon). Was aber immer funktioniert hat war ein Adapter von Type C auf micro USB. Habe ein altes USB 2.0 Kabel mit Type C Adapter genutzt und das hat immer funktioniert.
- ein USB HUB (2.0) hat mir keine Probleme bereitet, nur einmal wollte es nicht aber direkt am Rechner schon. Mit dem USB 3.0 HUB gab es mit adb keine Verbindung, bei fastboot schon.
- achtet bitte bei den Anleitungen genau auf die Seite oder den Ersteller der Anleitung. Es gibt viele Seiten, welche einfach alte Anleitungen übernehmen, ohne diese zu testen. Beim ZUK zum Beispiel wird der Befehl fastboot devices nicht funktionieren, es müsste fastboot -i 0x2b4c devices sein. 
- ein sudo vor dem Befehl hilft 2016 vielen bereits weiter. Oft werden die Befehl ohne sudo aufgeführt, dabei ist es oft genau das Problem. Damit ist fastboot und nicht adb gemeint!
- viele Anleitungen beginnen mit adb devices, führen dann zu adb reboot bootloader und machen mit fastboot-Befehlen weiter. Diesen Schritt könnt Ihr überspringen, da Ihr per Tastenkombination direkt zum Bootloader springen könnt (oft ist die Rede von fastboot-mode). In der Regel findet Ihr bei Youtube ein Video, wo es euch vorgemacht wird. Die wenigsten werden dann per adb Dateien auf das Gerät kopieren (adb push ... Befehle). Sollte das aber notwendig sein, dann solltet Ihr die abd Befehle nicht überspringen, da Ihr diese später benötigt. 
- wer Android 5.1.1 auf seinem Smartphone hat, der benötigt 1.0.32. Alles darunter führt dazu, dass das Gerät nicht erkannt wird und adb einfach nicht funktioniert. Für Android 6.0.2 Marshmallow gilt natürlich das selbe. Ob es sich bei 6.1 ändert kann ich zum jetzigen Zeitpunkt nicht sagen (kann sein das 1.0.32 zu alt ist).
- bei Herstellern wie Sony gab es nie Probleme. Es lief alles gleich zu Beginn. Bei neuen Herstellern, wie OnePlus oder ZUK könnte es Probleme geben. Mit den Punkten oben sollte aber eine Lösung gefunden werden. 
- diese Punkte oben funktionieren unter Linux Mint 17.3 und Ubuntu 14.04 bzw. auch 15.10. In Zukunft - sprich Linux Mint 18 oder Ubuntu 16.04 könnte es Änderungen geben (besonders die Rechteverwaltung führt oft zu Problemen, wie beim Drucker). Achtet deshalb immer darauf, ob es nicht etwas "neues" gibt. Oft wäre das nur ein Befehl und alle eure Probleme werden damit gelöst. 
- Android baut immer mehr Sicherheit ein. In den Anleitung wird oft stehen USB-Debugging aktivieren (in Zukunft wird das durch Android-Debugging ersetzt - einfach ein neuer Name). Oft müsst Ihr die OEM-Entsperrung bzw. Bootloader-Enstperrung in den Entwickleroptionen freigeben. Sollte also der Befehl zum Bootloader entsperren nicht funktionieren, dann einfach mal schauen, ob Ihr nicht ein Feld, wie dieses im Bild, bei eurem Smartphone findet. 

Monday, 19 October 2015

Android Smartphone per USB mit Linux verbinden | Anleitung

Hier eine kleine Anleitung, wie Ihr unter Linux (Ubuntu, Mint, Debian, usw.) euer Android Smartphone oder Tablet verbinden könnt. 
Massenspeicher gibt es schon lange nicht mehr für Android - das führt unter Linux zu Problemen, dabei ist die Lösung sehr einfach. 
Verbindet euer Android Smartphone/Tablet mit eurem Rechner...
Notification Center aufrufen und auf Als XYZ angeschlossen klicken (so gelangt Ihr zu den USB-Optionen). 
Hier wählen wir Mediengerät (MTP) aus und trennen unser Smartphone/Tablet vom Rechner bzw. USB-Kabel. 
Ruft das Terminal auf und führt diese Befehle aus (wie mache ich das?): 

[1] sudo add-apt-repository ppa:langdalepl/gvfs-mtp
[2] sudo apt-get install mtpfs 
[3] sudo apt-get install mtp-tools 
[4] sudo apt-get update
[5] sudo apt-get dist-upgrade
Ein Neustart ist nicht notwendig (beim einem meiner Notebooks war es der Fall - warum auch immer). 
Jetzt verbindet euer Android Smartphone/Tablet mit eurem Rechner. 
Sollte euer Gerät nicht angezeigt werden, dann öffnet das Terminal und führt diesen Befehl aus: 

[1] sudo mtp-detect 
Jetzt schaut euch genau die 5-te Zeile an. Dort steht (in meinem Fall)
Device 0 (VID=2b4c and PID=1004) is UNKNOWN
Öffnet euren Dateimanager und navigiert zu: 
/etc/udev/rules.d/
Hier solltet Ihr die Datei 69-libmtp.rules finden. 
Sollte das nicht der Fall sein, dann geht Ihr so vor:
Rechtsklick -> Als Systemverwalter öffnen
Euer Passwort eingeben...
Rechtsklick -> Neues Dokument anlegen -> Leeres Dokument -> als 69-libmtp.rules bennenen
Solltet die Datei bereits vorhanden sein, dann einfach Doppelklick auf die Datei und diese Zeile einfügen:
ATTR{idVendor}=="1234", ATTR{idProduct}=="5678", SYMLINK+="libmtp-%k", MODE="660", GROUP="disk", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
Hier müssen wir genau zwei Werte ändern. Ich zeig es euch an meinem Beispiel: 
ATTR{idVendor}=="VID"
ATTR{idProduct}=="PID"
Habt Ihr das gemacht, dann auf Speichern klicken und euer Smartphone bzw. Tablet trennen und wieder verbinden. 
Das wäre es schon! Das funktioniert für alle Android-Geräte ab Android 4.0.x (also auch 5.0.x und 6.0.x). Hier im Test mit Android 5.1.1
Nicht vergessen die Displaysperre zu entsperren, da sonst nicht auf den internen Speicher zugegriffen werden kann. Es ist für einige ein Umweg aber einmal eingerichtet und schon habt Ihr Ruhe. 
Ich persönlich nutze die Methode nicht, da ich alles per WLAN hin und her kopiere aber ein Umsteiger wollte wissen, wie es unter Linux funktioniert... 
Sollte es Fragen geben, dann einfach ein Kommentar hinterlassen. 

Wednesday, 6 May 2015

Setool Box Latest Smart Card Driver Free Download For Windows 7, 8 And Windows XP

setool-box-driver-download
Setool Box latest version connectivity driver is free available here to download for free. If you want to download latest and updated version of Setool Box smart card driver for your windows, then you are coming in a good place to free download. In here, we provide latest and updated driver of Setool Box for your computer to your Box connectivity. The driver is the most important thing that connects your Setool Box to the computer easily. Provided driver of Setool Box is in the latest version and supported on windows XP, 7 and windows 8 (32-bit and 64-bit). Just download this driver of Box Setool and install it on your windows operating system. Driver helps you to connect your Setool Box in high working performance with your computer. So, download smart card driver of Setool Box free for your computer windows operating system and install it on your computer. The driver is protected from all type of viruses and threats. Just follow our provided download link and click to start your download for completely free.
Description: Setool Box Driver Free Download For Windows
Supported OS: Windows XP, 7 And Windows 8 

Sunday, 3 May 2015

Volcano Box Tool All USB Driver For Windows 7, 8 And XP Free Download

volcano-box-usb-driver-download-free
Volcano Box, the most amazing and perfect free tool to flash mobile phones easily. If you are the user of this box and you are trying to connect your tool box to the computer. Then you should know that, first you have to do something for your this awesome Volcano Box. This is not a heavy work or not you have to find another thing from the out range of this post. The all required thing's for your box to connect to the computer are found here and you have to just manage them. The main thing is to connect your tool is the Volcano Box USB driver is free available here to download for your computer windows. If your Volcano Box can't connect with your computer or it doesn't work properly. Then, first you download Volcano Box connectivity USB driver from here provided download link. We provided latest and updated USB driver of Volcano Box for windows xp, 8 and windows 7 (32-bit and 64-bit). This version of driver is latest and updated version and supported on all windows versions. Just download Volcano Box driver and install it on your windows operating system and then connect your Volcano Box with your computer. This Volcano Box USB driver supports you to connect your tool easily with best working performance. So, if you want to download Volcano Box USB driver, then just follow available link and click to start your download for free.
Description: Volcano Box USB Driver Free Download
Supported OS: Windows XP, 7 And Windows 8 (32-Bit or 64-Bit)
Download (MediaFire)

Thursday, 30 April 2015

SPT Box Smart Card Driver For Windows 7 32-Bit And 64-Bit Free Download

spt-box-smart-card-driver-free-download
SPT Box, one of the best and top listed flashing box for mobiles and is using in high ranking of peoples in the world. If you are the one of them who are using SPT Box to flash mobiles. And looking to connect your SPT to the computer but the connection is the failure. Then, first of all, you have to download immediately the latest card driver of SPT Box for your windows. The driver is provided here in the latest version and absolutely free. Connectivity driver of SPT Box for windows is free available here to download. If anyone wants to download Smart Card driver of SPT Box for windows operating system. Then from here you can download latest and updated version of SPT Box connectivity Smart Card driver for free for your computer windows operating system. The driver is most important if you want to connect your SPT Box or any other tool or device with your computers. First of all, just download connectivity driver of SPT Box for your windows operating system and install it on your computer, then connect your tool or device. The driver is most supportive that connects your devices and tools with your computers. So, we provide drivers completely free for you to download. Just follow our provided download link and click to start your download.
Description: SPT Box Smart Card Driver Free Download
Supported OS: Windows XP, 8 And Windows 7
Download (MediaFire)

Thursday, 29 January 2015

UFS HWK Box USB Driver Free Download For Windows XP, 7 And Windows 8

ufs-driver-free-download-for-windows
UFS box USB connectivity driver free download now. If you are looking for to connect your box to the computer but isn't connecting and you are thinking about it's connectivity that how you can connect your UFS to the computer easily and quickly. From this post, you can get the solution to connect your box for free. In this post, we are providing the latest version of the USB driver of UFS box for all windows 7, 8 and windows XP for completely free to download. You have nothing to do more things. Just Download UFS driver latest version for windows 32-bit and 64-bit and install it on your OS. USB driver is the most needed thing that supports your device and tools connectivity. This version of the driver of UFS box is completely free available here and supported on windows XP, 7 and windows 8. If you are looking for download driver of UFS hwk box. Then here you can download the driver for absolutely free. This driver is fully working. The driver of UFS download link is fully original and protected from all type of viruses and threats. So, download the driver of UFS HWK and start to work what that you want to do. This driver is updated version and small file size. Download in few seconds and install it on your operating system.
Description: UFS Box USB Driver Free Download
Supported OS: Windows XP, 7, 8 And 32-Bit Or 64-Bit
Download (Google Drive)