[Nokia 3.1 ROMs, Kernels, Recoveries, & Other Devel] yesimxev:
View attachment 5212295

I present to you: Kali NetHunter for the Nokia 3.1 Android 9

The first Nokia with Kali Nethunter! (in chronological order)

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 ~

- Android 9 Stock (V3.180) https://androidfilehost.com/?fid=4349826312261827395

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

- TWRP with fixed touch by @belkaliz - https://xdaforums.com/attachments/recovery-boot_a_twrp_nokia31-20211016-0945-img.5435907/

- TWRP (no touch) unofficial - https://www.androidfilehost.com/?fid=8889791610682928997

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

- Unlocked bootloader by Hikari Calyx https://t.me/HikariCalyxFIH

~~ Downloads ~~

- NetHunter installer: https://kali.org/get-kali#kali-mobile

- NetHunter bootanimation and firmwares: https://www.androidfilehost.com/?fid=8889791610682929010

~~ How to Install ~~

Assuming you have unlocked bootloader, stock Pie (v3.180).

Please note due to the lack of device tree, my TWRP porting skills and time, we're using my TWRP with no touch. Several methods and solutions were tried by not only me without success.

I can only think of that the touch driver is being initialised from /vendor during boot.

Feel free to contribute if you make a working TWRP :)

You'll need an OTG cable and mouse to do one step of the following process. You'll also need a Linux or Windows PC with adb tools downloaded

- Do initial setup after unlocked bootloader - don't use wifi at setup, as you don't want OTA, they are not supported

- Plug your phone into your PC

- Turn on ADB debug in Developer Settings, then adb reboot bootloader - or do it with plug in USB when powered off and hold power + vol down

- Flash TWRP

fastboot flash boot_a boot_a_twrp.img

- Do "fastboot reboot" into TWRP (to do this, as soon as it vibrates, hold power+vol up, release power on AndriodOne logo, release vol on twrp logo)

- Use OTG mouse: Format data and reboot into TWRP

- Do adb push FBEDisabler and install it

adb push DisableForceEncryption_Treble.zip /sdcard/
twrp install zip /sdcard/DisableForceEncryption_Treble.zip

- Do initial setup, enable ADB

- Reboot to recovery,

adb reboot recovery

- Do adb push NH, Magisk, bootanimation, firmware zip and scripts (from unzipped nokia_nh.zip) to /sdcard/ and flash them.

adb push <DOWNLOADED_FILES_PATH>/* /sdcard/
adb shell
twrp install zip /sdcard/nethunter-2020.3-es2-pie-kalifs-minimal.zip
twrp install zip /sdcard/Magisk-v20.1.zip
cd /sdcard/
sh bootanimation.sh
sh firmware.sh
reboot

- Start Kali NH App and do a final reboot

- To upgrade to full Kali fs, do

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

~~~ Notes & Updates ~~~

Credits: The Offensive Security Team and the NetHunter community

Android Version: 9.0

XDA: DevDB Information

Kali Nethunter, Kernel & ROM for the Nokia 3.1

Contributors

@yesimxev

For bootloader unlock and general Nokia support: @hikari_calyx

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

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