ADB en fastboot installeren en gebruiken op de mac

Windows, Android, iOS, Linux, Chrome OS, ...
Plaats reactie
bartman
Elite Poster
Elite Poster
Berichten: 2275
Lid geworden op: 08 nov 2004, 12:13
Uitgedeelde bedankjes: 18 keer
Bedankt: 29 keer

Ik slaag er maar niet in om adb en fastboot werkend te krijgen. Op Windows fluitje van een cent maar ik ben genoodzaakt om ditmaal het unixachtige mac te gebruiken. Ik heb de zipfile ontzilt en het commando ./ adb-install.sh gedaan en wat ik dan krijg lijkt OK maar achteraf kent hij het adb commando niet
Dima_2005
Elite Poster
Elite Poster
Berichten: 2524
Lid geworden op: 23 jan 2010, 15:45
Uitgedeelde bedankjes: 86 keer
Bedankt: 264 keer

Gebruikersavatar
jphermans
Elite Poster
Elite Poster
Berichten: 928
Lid geworden op: 31 aug 2009, 15:28
Locatie: Aalst
Uitgedeelde bedankjes: 142 keer
Bedankt: 109 keer

Beste is om deze files te copieren naar de map /usr/bin en dan kan je deze gewoon in terminal de commando's gebruiken.


Sent from my mobile device!
Internet via Mobile Vikings
bartman
Elite Poster
Elite Poster
Berichten: 2275
Lid geworden op: 08 nov 2004, 12:13
Uitgedeelde bedankjes: 18 keer
Bedankt: 29 keer

sorry dat ik jullie nogmaals moet storen maar na reeds meer dan een uur te sukkelen lukt het me niet, in tegenstelling tot de vorige development build Android L. Toen kon ik dit onder win7 installeren, helaas ben ik nu verplicht om de terminal van mac te gebruiken. ik ben al zover dat adb werkt want het commando ./adb reboot bootloader zet de nexus 5 effectief in die speciale mode. ik zit enkel vast met het ./flashall.sh commando. geef ik dit in dan krijg ik
./flash-all.sh: line 17: fastboot: command not found
./flash-all.sh: line 18: fastboot: command not found
./flash-all.sh: line 20: fastboot: command not found
./flash-all.sh: line 21: fastboot: command not found
./flash-all.sh: line 23: fastboot: command not found

doe ik ./fastboot krijg ik dit
usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message

options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable

ik volg deze leidraad
http://androidworld.nl/nieuws/android-m ... -download/
bartman
Elite Poster
Elite Poster
Berichten: 2275
Lid geworden op: 08 nov 2004, 12:13
Uitgedeelde bedankjes: 18 keer
Bedankt: 29 keer

update/ het is me dan uiteindelijk toch gelukt. Voor de geinteresseerden:

dubbelklikken op de file ./flashallsh en een texteditor opent. hier heb ik voor ieder woord fastboot telkens ./ gezet en gesaved. Daarna werkte het commando wel en nu staat er Android M op de nexus 5 . Let wel op: het duurt langer dan anders alvorens je het woord ANDROID ziet verschijnen
Plaats reactie

Terug naar “Software en apps”