[Nokia 6.1 Plus (X6) ROMs, Kernels, Recoveries, & O] yesimxev:
I present to you: Kali NetHunter for the Nokia 6.1 Plus LOS18.1

I don't personally own this device. This is created as requested by the community, mirrored from the Nokia 6.1 Guide. Please feel free to comment if anything is different or missing.

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 ~

- Unlocked bootloader - https://www.techmesto.com/guide-unl...unlock_the_bootloader_on_Nokia_Android_phones

- Lineage 18.1 - https://download.lineageos.org/DRG

- Lineage recovery from above link

- TWRP 3.4.0 unofficial (if you have blank screen issue on LOS recovery) - https://www.androidfilehost.com/?fid=7161016148664802740

- Universal Force Encryption Disabler for Treble - https://www.androidfilehost.com/?fid=8889791610682920239

- Magisk – https://xdaforums.com/apps/magisk

- Gapps - http://downloads.codefi.re/jdcteam/javelinanddart/gapps

~~ Downloads ~~

- NetHunter installer (scroll down for latest Nokia 6.1 Plus installer image):

Get Kali | Kali Linux

Home of Kali Linux, an Advanced Penetration Testing Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments.

www.kali.org

~~ How to Install ~~

Assuming you have unlocked bootloader, on official Android 9.

If you have Android 10, you might need to downgrade to 9 with OSTLA, as some users report blank screen issue on LOS or TWRP recovery, the cause is not confirmed yet.

To install LineageOS with encryption disabled, follow these steps:

- Reboot your phone into fastboot (download) mode

- fastboot flash boot lineage_recovery

- fastboot reboot, and hold vol+up + power until you get into LOS recovery

- adb sideload linage zip

- Advanced - reboot to recovery

- Format data

- Flash Gapps, Disabler, Magisk, and reboot into system

- Do initial setup

- Launch Magisk app to install and reboot

- Reboot to recovery

- ADB sideload NetHunter zip

- Reboot into system, start Nethunter app and chroot in it's menu

- Do a final reboot

- To upgrade to full Kali fs, do

apt-get update && apt-get install kali-linux-nethunter -y

, as this phone only accepts minimal fs for flashing.

~~~ Notes & Updates ~~~

- RNDIS is also working (didn't work on devices with kernel above 4.x), thanks to @Thiviyan

- If your TWRP is steady, you can still have the "OTG adapter not seen" issue. This happens since somehow, in a really misterious way, XHCI is not working if kernel is flashed from TWRP. Hence I say boot with fastboot, even if TWRP works.

- RTL88XXAU driver added, tested with AWUS1900

- Mana is being replaced, for the time being you can downgrade iptables with the following :

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: 11.0

XDA: DevDB Information

Kali Nethunter, Kernel & ROM for the Nokia 6.1 Plus

Contributors

@yesimxev

Source Code: https://gitlab.com/kalilinux/nethunter/

Kernel Source: https://github.com/yesimxev/android_kernel_nokia_sdm660

Follow me on Twitter!