[ROM][Official] Kali NetHunter for the Nokia 6.1 LOS17.1

yesimxev

Senior Member
May 8, 2017
68
28
18


I present to you: Kali NetHunter for the Nokia 6.1 LOS17.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 ~
- Lineage 17.1 March build - https://androidfilehost.com/?fid=4349826312261740562
- TWRP 3.3.1 unofficial - https://www.androidfilehost.com/?fid=8889791610682920237
- Universal Force Encryption Disabler for Treble - https://www.androidfilehost.com/?fid=8889791610682920239
- Magisk – https://forum.xda-developers.com/apps/magisk
- Unlocked bootloader by Hikari Calyx - https://t.me/HikariCalyxFIH
- Stock Pie, as sometimes Q doesn't let you boot into TWRP (can be downgraded using OSTLA after unlocked bootloader) - https://fih-firmware.hikaricalyx.com/hmd_en.html - Download the appropriate region
- OSTLA - https://www.androidfilehost.com/?fid=8889791610682920445
- Community Vendor - https://androidfilehost.com/?fid=4349826312261717564

~~ Downloads ~~
- NetHunter installer: https://www.androidfilehost.com/?fid=8889791610682934616

~~ How to Install ~~
Assuming you have unlocked bootloader, stock Pie.
To install LineageOS with encryption disabled, follow these steps:
- Copy Lineage, Vendor, Gapps, NetHunter, ForceEncryption Disabler, Magisk onto OTG USB medium
- Boot into TWRP linked above using the 'fastboot boot' command
- Wipe system, cache partitions and format data as well
- Reboot to bootloader
- Boot into TWRP again
- Install LineageOS, Community Vendor - on both slots (Reboot to bootloader, fastboot --set-active command to change slots, reboot into bootloader and boot into TWRP again - wipe system, cache on the second slot, install Lineage, Vendor. Then reboot to bootloader to switch back to active slot with fastboot command)
- Boot into TWRP again via fastboot.
- Install TWRP recovery ramdisk (in advanced menu), format data, reboot into recovery you installed.
- Flash Gapps, Disabler, Magisk. Wipe cache, and reboot into system
- Do initial setup
- Reboot to TWRP
- Flash NetHunter
- Flash Magisk
- Reboot into system, setup Nethunter and do a final reboot
- To upgrade to full Kali fs, do
Code:
apt-get update && apt-get install kali-linux-nethunter -y
~~~ Notes & Updates ~~~
RNDIS is also working (didn't work on devices with kernel above 4.x), thanks to @Thiviyan

Credits: The Offensive Security Team and the NetHunter community

Android Version: 10.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
 
Last edited:

Tsuragi

Senior Member
May 26, 2016
57
8
0
Santiago
i can install this on pixel experience rom ? if i built my own kernel right?
something like
install rom pixel
install custom kernel and magisk
install nethunter pl2
would it work?
 

yesimxev

Senior Member
May 8, 2017
68
28
18
i can install this on pixel experience rom ? if i built my own kernel right?
something like
install rom pixel
install custom kernel and magisk
install nethunter pl2
would it work?
Good point to test out. Make sure you have encryption disabled otherwise it can cause issues. Just flash your Pixel rom instead of my Linage step. Kernel should be fine as long as it's Android 10. Please let me know how was it. :cool:
 

yesimxev

Senior Member
May 8, 2017
68
28
18
Hello,

Does this guide work for Nokia 6.1 plus TA-1116?

Thank,
Unfortunately not, but support for that could come soon as it's similar. I'm too busy right now so it could be a few months unless you want to prepare same as above, but use generic arm64 nethunter zip from next release. (sometime in November) and I might be able to send you a test kernel by that time
 

kazumawasd

New member
Nov 10, 2020
4
0
0
You unplug the USB drive and plug into PC for fastboot commands :highfive:
Haha thanks, easy enough :)

So my bootloader is unlocked and I used the recommended OSTLA to flash "PL2-351F-0-00WW-B04.full.zip" from "https://fih-firmware.hikaricalyx.com/hmd_en.html". I used "Normal Download" and "Check System AP Status" default options. Once flashed, I got a factory reset menu, selected yes and was able to boot into the stock android 9 - March 1, 2019 security patch level. Now when trying to boot into TWRP to really get started I get stuck at the TWRP splash screen. Can you provide any guidance on getting booted into TWRP properly?
 

yesimxev

Senior Member
May 8, 2017
68
28
18
Haha thanks, easy enough :)

So my bootloader is unlocked and I used the recommended OSTLA to flash "PL2-351F-0-00WW-B04.full.zip" from "https://fih-firmware.hikaricalyx.com/hmd_en.html". I used "Normal Download" and "Check System AP Status" default options. Once flashed, I got a factory reset menu, selected yes and was able to boot into the stock android 9 - March 1, 2019 security patch level. Now when trying to boot into TWRP to really get started I get stuck at the TWRP splash screen. Can you provide any guidance on getting booted into TWRP properly?
Are you booting into TWRP via 'fastboot boot'? And not trying to flash rightaway yes?
 

yesimxev

Senior Member
May 8, 2017
68
28
18
I ended up fixing it by running this before booting into TWRP:
Code:
fastboot erase userdata
But unfortunately it looks like the android 9 flash I did locked my bootloader on slot b :(
Simply set A as active with
Code:
fastboot --set-active a
. Btw TWRP should boot without that, as you would format data later 2x (before and after LOS17 flashing)
 

nateberhardt81

New member
Feb 5, 2020
2
0
0
Waiting for my Nokia to get through customs... It was a cheap replacement for my overly abused Mi 9T. I was wondering if we get monitor mode on the internal with this latest release. I loved that the Xiaomi didn't need an external... Keeping my fingers crossed.