/data/data/com.offsec.nhterm/files/usr/bin/kali: line 35: -c: command not found

When starting the Nethunter Terminal, an error is displayed:

/data/data/com.offsec.nhterm/files/usr/bin/kali: line 35: -c: command not found

[Process completed (code 127) - press Enter]

Does anyone know what the problem is?

Nethunter installed on the phone:

Google Pixel 4a 5G (Twelve)

I installed it according to the instructions in this video.:

Install Kali Nethunter on Google Pixel 4a | connect external wifi adapter, monitor mode and HID

And instructions from here:

[KERNEL] Nethunter For Pixel 4a 5G Android 12L

https://xdaforums.com/t/kernel-nethunter-for-pixel-4a-5g-android-12l.4475363/

I suspect that perhaps this version: Nethunter Terminal 2023.4, is incompatible.

I also installed the previous version.:

Version 2023.3 (2023030200) - Added on Aug 25, 2023

from here:

NetHunter Terminal | Kali NetHunter App Store - Android App Repository for Penetraton Testing and Forensics /

but, the error remains the same.

In the video, he installed the 2022 version of Nethunter Terminal.

Please tell me where I can download the same version of Nethunter Terminal that he has.


Another application: NetHunter, for 2025, also did not install.

When I clicked the Install button in the Nethunter Store, nothing happened.

Only version 2024.4 was installed.

The NetHunter app, by the way, launched without any problems.

If I understand correctly, it would be more appropriate to delete all applications, i.e.:
Nethunter Terminal
Nethunter
Nethunter Store

and install this zip file:
https://kali.download/…ramble-twelve-full.zip
as a Magisk module?

That is, as shown in this video tutorial:
How to Install Kali Nethunter on Rooted Phones Kali Nethunter Magisk Module
https://www.youtube.co…s&ab_channel=MagiskZIP

Just download “Google Pixel 4a 5G (Twelve)”, not “NetHunter Generic”.

Is that possible?
Or is there another solution to make Nethunter Terminal work?

Install termux from F-Droid

It didn’t help.
I also tried to execute the commands in Termux, installed from Nethunter Store, as described in this XDA forum in Extra:
[KERNEL] Nethunter For Pixel 4a 5G Android 12L
https://xdaforums.com/…g-android-12l.4475363/

if you want to replace nethunter terminal with termux (not completely nethunter main app will still launch nethunter terminal everytime for any operation but you can access kali chroot environment from termux.
(i know nethunter terminal sucks)

Follow these steps to access the environment from Termux:…

But this was not under root, i.e. $, not #, because the command: su, did not work.

This produced the following errors:

pkg update && pkg install root-repo tsu wget

Ign:1 https://termux.dev/packages stable InRelease Ign:3 https://dl.bintray.com/grimler/game-packages-24 games InRelease Err:2 https://termux.dev/packages stable Release 404 Ign:4 https://dl.bintray.com/grimler/science-packages-24 science InRelease Err:5 https://dl.bintray.com/grimler/game-packages-24 games Release 404 Not Found Err:6 https://dl.bintray.com/grimler/science-packages-24 science Release 404 Not Found Reading package lists… Done E: The repository ‘https://termux.org/packages stable Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). E: The repository ‘https://dl.bintray.com/grimler/game-packages-24 games Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). E: The repository ‘https://dl.bintray.com/grimler/science-packages-24 science Release’ does not have a Release file. N: Metadata integrity can’t be verified, repository is disabled now. N: Possible cause: repository is under maintenance or down (wrong sources.list URL?). $ wget https://raw.githubusercontent.com/name-is-cipher/boot-nethunter/main/install_boot-kali.sh The program wget is not installed. Install it by executing: pkg install wget

$ pkg install wget

Reading package lists... Done Building dependency tree... Done E: Unable to locate package wget

How to properly configure Termux to work with the Kali chroot environment?

termux in the nethunter app is old and will fail, you need a newer version, fdroid is newest (play store is also outdated)

command you run are same in newer termux, but will complete…

can take a couple of goes to have the download.

once you have the files you’ll need to create a folder to unpack it too, and then later copy it to the correct location. there are posts about this part on the forum about this already