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

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/PL2

- 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: https://www.androidfilehost.com/?fid=17825722713688281784

~~ 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

Contributors

@yesimxev

For LineageOS: @theimpulson

For bootloader unlock and general Nokia support: @hikari_calyx

Huge thanks for both as this project would not be possible without them!

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

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

Follow me on Twitter!