Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Put Device In DFU Mode (Power Up with DFU Button Down) in a VM may show as a NXP
- root@kali:~# lsusb
- Bus 001 Device 005: ID 1fc9:000c NXP Semiconductors
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
- Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- root@kali:~#
- Download Unzip Firmware
- root@kali:~# wget https://github.com/mossmann/hackrf/releases/download/v2018.01.1/hackrf-2018.01.1.zip
- --2018-08-20 13:58:31-- https://github.com/mossmann/hackrf/releases/download/v2018.01.1/hackrf-2018.01.1.zip
- Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
- Connecting to github.com (github.com)|192.30.253.113|:443... connected.
- HTTP request sent, awaiting response... 302 Found
- Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/3681392/504e2a36-0463-11e8-8a81-92c1bfab3bcc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180820%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180820T125832Z&X-Amz-Expires=300&X-Amz-Signature=98ec0abad85c823b48241cd40472a24ba4d4830573a829d15a73773fd459ff69&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dhackrf-2018.01.1.zip&response-content-type=application%2Foctet-stream [following]
- --2018-08-20 13:58:31-- https://github-production-release-asset-2e65be.s3.amazonaws.com/3681392/504e2a36-0463-11e8-8a81-92c1bfab3bcc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180820%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180820T125832Z&X-Amz-Expires=300&X-Amz-Signature=98ec0abad85c823b48241cd40472a24ba4d4830573a829d15a73773fd459ff69&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dhackrf-2018.01.1.zip&response-content-type=application%2Foctet-stream
- Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.104.251
- Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.104.251|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 17207133 (16M) [application/octet-stream]
- Saving to: ‘hackrf-2018.01.1.zip’
- hackrf-2018.01.1.zip 100%[=====================================================================================================================>] 16.41M 2.37MB/s in 10s
- 2018-08-20 13:58:42 (1.60 MB/s) - ‘hackrf-2018.01.1.zip’ saved [17207133/17207133]
- root@kali:~# unzip hackrf-2018.01.1.zip
- Archive: hackrf-2018.01.1.zip
- creating: hackrf-2018.01.1/
- creating: hackrf-2018.01.1/firmware-bin/
- inflating: hackrf-2018.01.1/firmware-bin/hackrf_cpld_default.xsvf
- inflating: hackrf-2018.01.1/firmware-bin/hackrf_jawbreaker_usb.bin
- inflating: hackrf-2018.01.1/firmware-bin/hackrf_jawbreaker_usb.dfu
- {SNIP}
- inflating: hackrf-2018.01.1/Readme.md
- inflating: hackrf-2018.01.1/COPYING
- cd to the location and run DFU flasher
- root@kali:~/hackrf-2018.01.1# cd firmware-bin/
- root@kali:~/hackrf-2018.01.1/firmware-bin# ls
- hackrf_cpld_default.xsvf hackrf_jawbreaker_usb.bin hackrf_jawbreaker_usb.dfu hackrf_one_usb.bin hackrf_one_usb.dfu
- root@kali:~/hackrf-2018.01.1/firmware-bin# dfu-util --device 1fc9:000c --alt 0 --download hackrf_one_usb.dfu
- dfu-util 0.9
- Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
- Copyright 2010-2016 Tormod Volden and Stefan Schmidt
- This program is Free Software and has ABSOLUTELY NO WARRANTY
- Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
- dfu-util: DFU suffix CRC does not match
- dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
- Opening DFU capable USB device...
- ID 1fc9:000c
- Run-time device DFU version 0100
- Claiming USB DFU Interface...
- Setting Alternate Setting #0 ...
- Determining device status: state = dfuIDLE, status = 0
- dfuIDLE, continuing
- DFU mode device DFU version 0100
- Device returned transfer size 2048
- Copying data from PC to DFU device
- Download [=========================] 100% 22056 bytes
- Download done.
- dfu-util: unable to read DFU status after completion
- Device Will Auto Restart and Should Show in lsusb and OpenMoko
- root@kali:~/hackrf-2018.01.1/firmware-bin# lsusb
- Bus 001 Device 006: ID 1d50:6089 OpenMoko, Inc.
- Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
- Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
- If that worked then hackrf_info should work as shown below
- root@kali:~/hackrf-2018.01.1/firmware-bin# hackrf_info
- hackrf_info version: unknown
- libhackrf version: unknown (0.5)
- Found HackRF
- Index: 0
- Serial number: 0000000000000000909864c8397b6acf
- Board ID Number: 2 (HackRF One)
- Firmware Version: 2018.01.1 (API:1.02)
- Part ID Number: 0xa000cb3c 0x00564f5a
- root@kali:~/hackrf-2018.01.1/firmware-bin#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement