offensive-security / kali-nethunter

The Kali NetHunter Project
https://github.com/offensive-security/kali-nethunter/wiki
3.51k stars 889 forks source link

Can't find Crazyradio PA USB dongle #1205

Closed Droid-MAX closed 5 years ago

Droid-MAX commented 6 years ago

Device: Nexus 5 Android Version: 6.0.1 My Nexus5 mobile phone with NetHunter installed also encountered the same problem. The Crazy PA USB dongle could not be found. It is not recognized after the branch in the nrf24.py file has no backend modification, but the device information can be seen when dmesg is executed.

TheMMcOfficial commented 6 years ago

Do you install the nethunter kernel ? Because for wifi injection you need the modified Nethunther kernel. There is all the wifi card supported: https://github.com/offensive-security/kali-nethunter/wiki/Wireless-Cards

If your card/chipset is not supported you need to compile a kernel for your Nexus 5 with the module (driver) for it. You can follow those steps and add a patch for your wifi card: https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel

Droid-MAX commented 6 years ago

Can the official add the usb serial device driver to the kernel at the next update? Enable ttyACM or ttyUSB device files when accessing some usb devices

TheMMcOfficial commented 6 years ago

You will need to compile it... The nethunther team doen't update the kernel anymore. If you want to share your kernel you can do it there: https://github.com/offensive-security/nethunter-devices

Droid-MAX commented 6 years ago

Does anyone know which kernel source code is used by the latest NetHunter kernel in Nexus5? There are several Nexus5 kernel source download addresses in the kernel.txt file, and my Nexus5 is currently running the official Android 6.0.1 system.

Droid-MAX commented 6 years ago

I am using the nexus5 kernel source provided by binkybear, but in the process of compiling, I have not reported any options, I can't successfully compile the kernel, let alone add custom modifications.

TheMMcOfficial commented 6 years ago

You can maybe try this source: https://github.com/LineageOS/android_kernel_lge_hammerhead

And you will need to find an android patch for your chipset (nRF24LU1) to add with the kernel source. After all those steps you will need to "activate" it in the "make menuconfig". If everything is done correctly and the kernel is compiled. You need to flash it in your Nexus 5. You can do a zip file with the nethunter build.py in this repo.

https://github.com/offensive-security/kali-nethunter/wiki/Building-Nethunter