0

Kali NetHunter app is crashing on a rooted Android. Root installed with Magisk and Kali NetHunter installed with nethunter-generic-arm64.

Phone details: Redmi Note 11 (MIUI 13 - Android version 11)

I'm opening the NetHunter app - it opens for first time - takes location & storage permission - it exits (closes app) automatically - till here is fine, everything goes as per many tutorials show - then after reopening, it asks for root permission - after giving root permission it again closes - then for the last time when we open the Kali NetHunter App (latest version - tested with both the APKs - one which gets per-installed while installing from Magisk and generic zip file & one downloaded and installed from NetHunter store) - it shows black screen and then exits after few seconds.

Someone have solution for this?

Here is a issue related to it, that I can relate or is same as mine a bit: Gitlab issues

(another issue - not so relatable but could help : not so helpful issue)

Update
OLD version (specifically v2019.1, Github repo) the NetHunter app is working - means not crashing (but not able to download chroot- says some Javax...SSl... error) - I haven't got any version from 2020 but after v2021.4 nothing is working.

Download Log

9
  • The first step in fixing a bug or bypassing the problem is understanding why and what happens. I would recommend to check logcat if you see an exception or a problem. One the the cause has been identified you can try to bypass the problem or open an Gitlab issue that has the chance of being fixed.
    – Robert
    Apr 13, 2022 at 19:52
  • I have already created an issue on their official Gitlab repo, but don't have any response. I'll surely check logcat and share the log here.
    – Divinemonk
    Apr 14, 2022 at 5:15
  • Without any debugging details the chance of your issue is very low that it will be resolved. Tom my experience issues without debugging details are mostly not resolved, unless some developer has very similar device and thus is able to reproduce the issue. So if you want the issue t be resolved you have to provide more detailed debugging info and logcat is the very basic information. As you have a rooted device logcat shouldn't be a problem for you.
    – Robert
    Apr 14, 2022 at 6:59
  • Here is the logcat's log download file (size:8.62mb). The log is captured from the steps mentioned in problem description till last (apps crashes)
    – Divinemonk
    Apr 14, 2022 at 7:57
  • And how should we know when the error occurred? You have posted a logcat that covers a few weeks instead of just that part when the error occurred. Clear the logcat using logcat -c then start logcat, reproduce the error search the error in logcat based on the shown time and extract it and add it to your issue.
    – Robert
    Apr 14, 2022 at 8:01

1 Answer 1

0

The issue was of permissions - to solve the issue, run the following commands in AndroidSU

pm grant com.offsec.nethunter android.permission.ACCESS_FINE_LOCATION 

pm grant com.offsec.nethunter android.permission.ACCESS_COARSE_LOCATION

pm grant com.offsec.nethunter android.permission.READ_EXTERNAL_STORAGE

pm grant com.offsec.nethunter android.permission.WRITE_EXTERNAL_STORAGE

pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT 

pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT_SU

pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT_NH

pm grant com.offsec.nethunter com.offsec.nhterm.permission.RUN_SCRIPT_NH_LOGIN

The above commands are given by developer of NetHunter App, @yesimxev. You can check the discussion on GitLab.

You can also check this video, Gdrive link, to see what was the problem.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .