• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][Official] Kali NetHunter for the OnePlus One LineageOS 16.0 Pie

Search This thread

yesimxev

Senior Member
May 8, 2017
184
74
https:_gitlab.com_kalilinux_nethunter_build-scripts_kali-nethunter-project_raw_master_images_n...png


I present to you: Kali NetHunter for the OnePlus One LineageOS 16.0 Pie

This is the recommended stable version for the OnePlus One. It is available for a while, but as there's only a small install guide in the issues section, I think this is the correct place to have it.

Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
NetHunter is an open-source project developed by Offensive Security and the community.

~ Prerequisites ~
- Lineage 16.0 July build- https://www.androidfilehost.com/?fid=4349826312261652174
- Gapps if needed - https://opengapps.org
- TWRP - https://twrp.me/
- Magisk – https://forum.xda-developers.com/apps/magisk

~~ Downloads ~~
- NetHunter: https://images.kali.org/nethunter/nethunter-2020.3-oneplus1-pie-kalifs-full.zip

~~ How to Install ~~
Assuming you have unlocked bootloader
- Flash TWRP
- Copy Lineage, Magisk and NetHunter image to USB drive
- Boot into TWRP, insert USB drive.
- Flash Lineage and Gapps if needed, reboot and do initial setup
- Reboot into TWRP
- Flash NetHunter image
- Flash Magisk
- Reboot
- Run NetHunter app
- Reboot

~~~ Notes & Updates ~~~
- wlan1 unplug reboot is solved
- Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
Code:
bootkali ycable start
To stop:
Code:
bootkali ycable stop
- Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
- Mana is being replaced, for the time being you can downgrade iptables with the following :
Code:
wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb

dpkg -i *.deb

apt-mark hold iptables
apt-mark hold libip4tc0
apt-mark hold libip6tc0
apt-mark hold libiptc0
apt-mark hold libxtables12

Credits: The Offensive Security Team and the NetHunter community

Android Version: 9.0

XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the OnePlus One

Contributors
@yesimxev

Source Code: https://gitlab.com/kalilinux/nethunter/
Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974

Follow me on Twitter!
 
Last edited:

Tometh28

Member
Dec 5, 2020
5
0
Hi after flashing magisk and nethunter, my OnePlusOne reboots, attempts to boot the OS then boots into TWRP.I didnt flash gapps. any help?
Files: Magisk-v21.1.zip, nethunter-2020.4-oneplus1-pie-kalifs-full.zip
 

Tometh28

Member
Dec 5, 2020
5
0
The name was: lineage-17.1-20201203-nightly-bacon-signed.zip
I got it to work using the lineage zip you gave, magisk v20.4 and the latest nethunter image. But now Im getting an error starting the chroot it says 'sdcard /lib/modules/3.4.113-yesimxev-lineageos-ga06023c36fa-dirty doesn't exist or isn't mounted' then the chroot doesn't start
 
Last edited:

yesimxev

Senior Member
May 8, 2017
184
74
Yeah what I mentioned in the post. It doesn't work after July build. Please update the NH app so it will only give you warning. Modules are not needed on this device
 

lonly-lokly

New member
Dec 21, 2020
2
0
Unfortunately, I also have a problem. My system is crashed when I try to change wlan0 to monitor mode.
I used
Nethunter - Custom Commands - Start wlan0 in monitor mode:
Penmun:
airmon-ng start wlan0:
iwconfig wlan0 mode monitor, but I got the same results (the system was crashed)
 

Beatan

New member
Dec 12, 2020
4
1
Unfortunately, I also have a problem. My system is crashed when I try to change wlan0 to monitor mode.
I used
Nethunter - Custom Commands - Start wlan0 in monitor mode:
Penmun:
airmon-ng start wlan0:
iwconfig wlan0 mode monitor, but I got the same results (the system was crashed)

You need QCACLD-3.0 driver for this.
Unfortunately, there is WCNSS driver :(
 
  • Like
Reactions: lonly-lokly

franco985

Senior Member
Feb 9, 2011
279
54
OnePlus 8 Pro
OnePlus 9 Pro
https%3A%2F%2Fgitlab.com%2Fkalilinux%2Fnethunter%2Fbuild-scripts%2Fkali-nethunter-project%2Fraw%2Fmaster%2Fimages%2Fnethunter-git-logo.png


I present to you: Kali NetHunter for the OnePlus One LineageOS 16.0 Pie

This is the recommended stable version for the OnePlus One. It is available for a while, but as there's only a small install guide in the issues section, I think this is the correct place to have it.

Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
NetHunter is an open-source project developed by Offensive Security and the community.

~ Prerequisites ~
- Lineage 16.0 July build- https://www.androidfilehost.com/?fid=4349826312261652174
- Gapps if needed - https://opengapps.org
- TWRP - https://twrp.me/
- Magisk – https://forum.xda-developers.com/apps/magisk

~~ Downloads ~~
- NetHunter: https://images.kali.org/nethunter/nethunter-2020.3-oneplus1-pie-kalifs-full.zip

~~ How to Install ~~
Assuming you have unlocked bootloader
- Flash TWRP
- Copy Lineage, Magisk and NetHunter image to USB drive
- Boot into TWRP, insert USB drive.
- Flash Lineage and Gapps if needed, reboot and do initial setup
- Reboot into TWRP
- Flash NetHunter image
- Flash Magisk
- Reboot
- Run NetHunter app
- Reboot

~~~ Notes & Updates ~~~
- wlan1 unplug reboot is solved
- Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
Code:
bootkali ycable start
To stop:
Code:
bootkali ycable stop
- Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
- Mana is being replaced, for the time being you can downgrade iptables with the following :
Code:
wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb

dpkg -i *.deb

apt-mark hold iptables
apt-mark hold libip4tc0
apt-mark hold libip6tc0
apt-mark hold libiptc0
apt-mark hold libxtables12

Credits: The Offensive Security Team and the NetHunter community

Android Version: 9.0

XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the OnePlus One

Contributors
@yesimxev

Source Code: https://gitlab.com/kalilinux/nethunter/
Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974
Follow me on Twitter
Hi dev. I have followed your setup instruction and setup finishes without problem. i have tried different combo, the setup is OK with all available lineage PIE biulds, the latest too. i have some questions for you:
- i have found on your androidfilehot folder different kernel. i have installed your last kernel build on top of Lineage OS 2019 lineage-16.0-20190701-nightly-bacon-signed.zip, is it suggested or not?
- i am trying to compile bluez 4.101 from scratch but i have problem with gstreamer 0.10 library. could you suggest me a solution?
thank you in advance.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    https:_gitlab.com_kalilinux_nethunter_build-scripts_kali-nethunter-project_raw_master_images_n...png


    I present to you: Kali NetHunter for the OnePlus One LineageOS 16.0 Pie

    This is the recommended stable version for the OnePlus One. It is available for a while, but as there's only a small install guide in the issues section, I think this is the correct place to have it.

    Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
    The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
    Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
    NetHunter is an open-source project developed by Offensive Security and the community.

    ~ Prerequisites ~
    - Lineage 16.0 July build- https://www.androidfilehost.com/?fid=4349826312261652174
    - Gapps if needed - https://opengapps.org
    - TWRP - https://twrp.me/
    - Magisk – https://forum.xda-developers.com/apps/magisk

    ~~ Downloads ~~
    - NetHunter: https://images.kali.org/nethunter/nethunter-2020.3-oneplus1-pie-kalifs-full.zip

    ~~ How to Install ~~
    Assuming you have unlocked bootloader
    - Flash TWRP
    - Copy Lineage, Magisk and NetHunter image to USB drive
    - Boot into TWRP, insert USB drive.
    - Flash Lineage and Gapps if needed, reboot and do initial setup
    - Reboot into TWRP
    - Flash NetHunter image
    - Flash Magisk
    - Reboot
    - Run NetHunter app
    - Reboot

    ~~~ Notes & Updates ~~~
    - wlan1 unplug reboot is solved
    - Y-cable is still supported, just need to have it as a Custom Command or in a script (AndroidSU)
    Code:
    bootkali ycable start
    To stop:
    Code:
    bootkali ycable stop
    - Bluetooth Arsenal is supported, but you need to downgrade Bluez to 4.101 by compiling it in Kali chroot and installing "on top of" current Bluez so the bluetooth service will be able to run
    - Mana is being replaced, for the time being you can downgrade iptables with the following :
    Code:
    wget http://old.kali.org/kali/pool/main/i/iptables/iptables_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libip4tc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libip6tc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libiptc0_1.6.2-1.1_armhf.deb
    wget http://old.kali.org/kali/pool/main/i/iptables/libxtables12_1.6.2-1.1_armhf.deb
    
    dpkg -i *.deb
    
    apt-mark hold iptables
    apt-mark hold libip4tc0
    apt-mark hold libip6tc0
    apt-mark hold libiptc0
    apt-mark hold libxtables12

    Credits: The Offensive Security Team and the NetHunter community

    Android Version: 9.0

    XDA: DevDB Information
    Kali Nethunter, Kernel & ROM for the OnePlus One

    Contributors
    @yesimxev

    Source Code: https://gitlab.com/kalilinux/nethunter/
    Kernel Source: https://github.com/yesimxev/android_kernel_oppo_msm8974

    Follow me on Twitter!
    1
    Unfortunately, I also have a problem. My system is crashed when I try to change wlan0 to monitor mode.
    I used
    Nethunter - Custom Commands - Start wlan0 in monitor mode:
    Penmun:
    airmon-ng start wlan0:
    iwconfig wlan0 mode monitor, but I got the same results (the system was crashed)

    You need QCACLD-3.0 driver for this.
    Unfortunately, there is WCNSS driver :(
    1
    Hi dev. I have followed your setup instruction and setup finishes without problem. i have tried different combo, the setup is OK with all available lineage PIE biulds, the latest too. i have some questions for you:
    - i have found on your androidfilehot folder different kernel. i have installed your last kernel build on top of Lineage OS 2019 lineage-16.0-20190701-nightly-bacon-signed.zip, is it suggested or not?
    - i am trying to compile bluez 4.101 from scratch but i have problem with gstreamer 0.10 library. could you suggest me a solution?
    thank you in advance.

    lineage version is good, kernel should be the latest, it could even work from my androidfilehost or latest NH zip could include the same kernel, on OffSec NetHunter downloads page.

    I remember I had to install many libs to build. I know this is not 0.10, but try
    Code:
    apt-get install libgstreamer1.0-dev
    or try to install one from http://old.kali.org/kali/pool/main/g/gstreamer0.10/ with dpkg -i