• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Kali Nethunter for Magisk

Search This thread

fil3s

Senior Member
Aug 30, 2014
1,306
184
42
bendigo
www.mobiledevices.cc
Can you run this in terminal? It doesn't look like you are getting the updates since it's showing as zero all the way through.

Code:
lsb_release -a

Second thing: try changing the port in your KeX Client to 1 instead of the default 5900.

Yeah it's not upgrading .. any suggestions?

I'm using kalifs-full.tar.xz btw. That's full chroot
 

Attachments

  • Screenshot_20210730_065343.jpg
    Screenshot_20210730_065343.jpg
    650 KB · Views: 20

equi_design

Senior Member
Sep 20, 2009
211
194
FL
Google Nexus 4
HTC Sensation
Yeah it's not upgrading .. any suggestions?

I'm using kalifs-full.tar.xz btw. That's full chroot
Ok. Now we are rolling!

With your favorite root file explorer, open this:
/data/local/nhsystem/kali-armhf/etc/apt/sources.list

The only text in sources.list should be:
<code>
deb http://http.kali.org/kali kali-rolling main non-free contrib
</code>

Save if you changed anything. Then exit, and now delete folder sources.list.d which is located at:
/data/local/nhsystem/kali-armhf/etc/apt/sources.list.d/

You can now exit your file explorer.


Open NH Terminal Emulator. Choose Kali su. Type these commands in & hit enter in between.

groupadd -g 3003 aid_inet && usermod -G nogroup -g aid_inet _apt

echo 'APT::Sandbox::User "root";' > /etc/apt/apt.conf.d/01-android-nosandbox

Close that Term Emulator window (just to be sure).

Open another Kali NH Term Emulator window & try just the apt-get update command.
Let's see if this works.
 
  • Like
Reactions: fil3s

fil3s

Senior Member
Aug 30, 2014
1,306
184
42
bendigo
www.mobiledevices.cc
Ok. Now we are rolling!

With your favorite root file explorer, open this:
/data/local/nhsystem/kali-armhf/etc/apt/sources.list

The only text in sources.list should be:
<code>
deb http://http.kali.org/kali kali-rolling main non-free contrib
</code>

Save if you changed anything. Then exit, and now delete folder sources.list.d which is located at:
/data/local/nhsystem/kali-armhf/etc/apt/sources.list.d/

You can now exit your file explorer.


Open NH Terminal Emulator. Choose Kali su. Type these commands in & hit enter in between.

groupadd -g 3003 aid_inet && usermod -G nogroup -g aid_inet _apt

echo 'APT::Sandbox::User "root";' > /etc/apt/apt.conf.d/01-android-nosandbox

Close that Term Emulator window (just to be sure).

Open another Kali NH Term Emulator window & try just the apt-get update command.
Let's see if this works.

Ok gimme time 🙂 Ive been awake 42 hours.
 

fil3s

Senior Member
Aug 30, 2014
1,306
184
42
bendigo
www.mobiledevices.cc
Ok. Now we are rolling!

With your favorite root file explorer, open this:
/data/local/nhsystem/kali-armhf/etc/apt/sources.list

The only text in sources.list should be:
<code>
deb http://http.kali.org/kali kali-rolling main non-free contrib
</code>

Save if you changed anything. Then exit, and now delete folder sources.list.d which is located at:
/data/local/nhsystem/kali-armhf/etc/apt/sources.list.d/

You can now exit your file explorer.


Open NH Terminal Emulator. Choose Kali su. Type these commands in & hit enter in between.

groupadd -g 3003 aid_inet && usermod -G nogroup -g aid_inet _apt

echo 'APT::Sandbox::User "root";' > /etc/apt/apt.conf.d/01-android-nosandbox

Close that Term Emulator window (just to be sure).

Open another Kali NH Term Emulator window & try just the apt-get update command.
Let's see if this works.

Ok I'm gonna have to take a break (before I break my phone) 😭

I uninstalled kalifs-full and tried to install minimal. Now I'm stuck.

Thanks man 😁 I appreciate it 🍺

I'll get onto it when Ive had a break from this phone. 😭
 
  • Like
Reactions: equi_design

equi_design

Senior Member
Sep 20, 2009
211
194
FL
Google Nexus 4
HTC Sensation
Ok I'm gonna have to take a break (before I break my phone) 😭

I uninstalled kalifs-full and tried to install minimal. Now I'm stuck.

Thanks man 😁 I appreciate it 🍺

I'll get onto it when Ive had a break from this phone. 😭
Full is probably the best. But either way you're working with old. Either will work though... We just gotta get you updated. :)

Btw, surprisingly I'm a girl. One of the few here at xda. :cool: So you definitely made a perfect assumption, but just wanted ya to know. *grin*
 
  • Like
Reactions: fil3s

fil3s

Senior Member
Aug 30, 2014
1,306
184
42
bendigo
www.mobiledevices.cc
Full is probably the best. But either way you're working with old. Either will work though... We just gotta get you updated. :)

Btw, surprisingly I'm a girl. One of the few here at xda. :cool: So you definitely made a perfect assumption, but just wanted ya to know. *grin*

Still the error 😯

--------- beginning of main
07-31 20:37:29.134 6261 6261 E c.nethunter.ke: Not starting debugger since process cannot load the jdwp agent.
07-31 20:37:29.143 6261 6261 V StorageRedirectInject: main: package=com.offsec.nethunter.kex, user=0
07-31 20:37:29.148 6261 6261 V StorageRedirectInject: install hook finished
07-31 20:37:29.169 6261 6261 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
07-31 20:37:29.170 6261 6261 I c.nethunter.ke: The ClassLoaderContext is a special shared library.
07-31 20:37:29.189 6261 6261 D NetworkSecurityConfig: No Network Security Config specified, using platform default
07-31 20:37:29.189 6261 6261 D NetworkSecurityConfig: No Network Security Config specified, using platform default
07-31 20:37:29.277 6261 6261 I GetTextFragment: newInstance called
07-31 20:37:29.277 6261 6261 I GetTextFragment: newInstance called
07-31 20:37:29.279 6261 6261 D PermissionsManager: [android.permission.INTERNET, android.permission.VIBRATE, android.permission.ACCESS_NETWORK_STATE, android.permission.READ_EXTERNAL_STORAGE, android.permission.WRITE_EXTERNAL_STORAGE, android.permission.ACCESS_MEDIA_LOCATION]
07-31 20:37:29.282 6261 6261 I MainConfiguration: onStart called
07-31 20:37:29.283 6261 6261 I MainConfiguration: onResume called
07-31 20:37:29.283 6261 6261 I MainConfiguration: onResumeFragments called
07-31 20:37:29.284 6261 6261 I MainConfiguration: arriveOnPage called
07-31 20:37:29.292 6261 6261 E ConnectionBean: Failed to query default input method, context is null.
07-31 20:37:29.350 6261 19020 I Gralloc4: mapper 4.x is not supported
07-31 20:37:29.351 6261 19020 W Gralloc3: mapper 3.x is not supported
07-31 20:37:29.353 6261 19020 I gralloc : Arm Module v1.0
07-31 20:37:29.412 6261 6261 I AssistStructure: Flattened final assist data: 5200 bytes, containing 1 windows, 27 views
07-31 20:37:30.904 6261 19020 W libEGL : EGLNativeWindowType 0x754e4baa70 disconnect failed
07-31 20:37:36.953 6261 6261 I MainConfiguration: onPause called
07-31 20:37:37.225 6261 6261 I RemoteCanvas: Initializing connection to: localhost, port: 1
07-31 20:37:37.228 6261 20254 I RemoteCanvas: Establishing VNC session to: localhost, port: 5901
07-31 20:37:37.228 6261 20254 V RfbProto: Connecting to server: localhost at port: 5901
07-31 20:37:37.229 6261 6261 I InputHandlerGeneric: displayDensity, baseSwipeDist, immersiveSwipeDistance: 3.05 30.5 30.5
07-31 20:37:37.232 6261 6261 I RemoteCanvasActivity: onResume called.
07-31 20:37:37.242 6261 20254 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 59920): connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.244 6261 20254 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:142)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.Socket.connect(Socket.java:621)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.Socket.connect(Socket.java:570)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.Socket.<init>(Socket.java:450)
07-31 20:37:37.244 6261 20254 W System.err: at java.net.Socket.<init>(Socket.java:218)
07-31 20:37:37.244 6261 20254 W System.err: at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
07-31 20:37:37.244 6261 20254 W System.err: at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
07-31 20:37:37.244 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
07-31 20:37:37.244 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
07-31 20:37:37.244 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
07-31 20:37:37.245 6261 20254 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.245 6261 20254 W System.err: at libcore.io.Linux.connect(Native Method)
07-31 20:37:37.245 6261 20254 W System.err: at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
07-31 20:37:37.245 6261 20254 W System.err: at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:138)
07-31 20:37:37.245 6261 20254 W System.err: at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
07-31 20:37:37.245 6261 20254 W System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:156)
07-31 20:37:37.245 6261 20254 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:134)
07-31 20:37:37.245 6261 20254 W System.err: ... 14 more
07-31 20:37:37.247 6261 20254 E RemoteCanvas: java.lang.Exception: Connection to VNC server failed with reason:
07-31 20:37:37.247 6261 20254 E RemoteCanvas: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 59920): connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 59920): connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.IoBridge.connect(IoBridge.java:142)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.Socket.connect(Socket.java:621)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.Socket.connect(Socket.java:570)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.Socket.<init>(Socket.java:450)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at java.net.Socket.<init>(Socket.java:218)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.Linux.connect(Native Method)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:138)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.IoBridge.connectErrno(IoBridge.java:156)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: at libcore.io.IoBridge.connect(IoBridge.java:134)
07-31 20:37:37.247 6261 20254 E RemoteCanvas: ... 14 more
07-31 20:37:37.247 6261 20254 W System.err: java.lang.Exception: Connection to VNC server failed with reason:
07-31 20:37:37.247 6261 20254 W System.err: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 59920): connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.247 6261 20254 W System.err: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5901) from /:: (port 59920): connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.248 6261 20254 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:142)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.Socket.connect(Socket.java:621)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.Socket.connect(Socket.java:570)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.Socket.<init>(Socket.java:450)
07-31 20:37:37.248 6261 20254 W System.err: at java.net.Socket.<init>(Socket.java:218)
07-31 20:37:37.248 6261 20254 W System.err: at com.iiordanov.bVNC.RfbProto.initSocket(RfbProto.java:354)
07-31 20:37:37.248 6261 20254 W System.err: at com.iiordanov.bVNC.RfbProto.initializeAndAuthenticate(RfbProto.java:401)
07-31 20:37:37.248 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:466)
07-31 20:37:37.248 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
07-31 20:37:37.248 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
07-31 20:37:37.248 6261 20254 W System.err: Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
07-31 20:37:37.249 6261 20254 W System.err: at libcore.io.Linux.connect(Native Method)
07-31 20:37:37.249 6261 20254 W System.err: at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
07-31 20:37:37.249 6261 20254 W System.err: at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:138)
07-31 20:37:37.249 6261 20254 W System.err: at libcore.io.ForwardingOs.connect(ForwardingOs.java:94)
07-31 20:37:37.249 6261 20254 W System.err: at libcore.io.IoBridge.connectErrno(IoBridge.java:156)
07-31 20:37:37.249 6261 20254 W System.err: at libcore.io.IoBridge.connect(IoBridge.java:134)
07-31 20:37:37.249 6261 20254 W System.err: ... 14 more
07-31 20:37:37.249 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas.startVncConnection(RemoteCanvas.java:475)
07-31 20:37:37.249 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas.access$200(RemoteCanvas.java:94)
07-31 20:37:37.249 6261 20254 W System.err: at com.iiordanov.bVNC.RemoteCanvas$2.run(RemoteCanvas.java:289)
07-31 20:37:37.249 6261 20254 V RfbProto: RFB socket closed
07-31 20:37:37.249 6261 20254 V RemoteCanvas: Cleaning up resources
07-31 20:37:37.320 6261 19020 W libEGL : EGLNativeWindowType 0x754e54fad0 disconnect failed
07-31 20:37:37.334 6261 19020 W libEGL : EGLNativeWindowType 0x754e551ce0 disconnect failed
07-31 20:37:37.377 6261 19020 W libEGL : EGLNativeWindowType 0x754e54fad0 disconnect failed
07-31 20:37:37.422 6261 6261 I MainConfiguration: onStop called
07-31 20:37:37.434 6261 19020 W libEGL : EGLNativeWindowType 0x754e4baa70 disconnect failed
07-31 20:37:37.490 6261 19020 W libEGL : EGLNativeWindowType 0x754e551ce0 disconnect failed
07-31 20:37:37.542 6261 19020 W libEGL : EGLNativeWindowType 0x754e54fad0 disconnect failed
07-31 20:37:47.288 6261 19020 W libEGL : EGLNativeWindowType 0x754e54fad0 disconnect failed
07-31 20:37:47.288 6261 19020 D OpenGLRenderer: endAllActiveAnimators on 0x74ce51bb60 (RippleDrawable) with handle 0x73ee4faaf0
07-31 20:37:47.328 6261 6261 D RemoteCanvas: onCreateInputConnection called
07-31 20:37:47.329 6261 6261 D RemoteCanvas: currentIme: com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME
07-31 20:37:47.337 6261 6261 I MainConfiguration: onStart called
07-31 20:37:47.338 6261 6261 I MainConfiguration: onResume called
07-31 20:37:47.338 6261 6261 I MainConfiguration: onResumeFragments called
07-31 20:37:47.338 6261 6261 I MainConfiguration: arriveOnPage called
07-31 20:37:47.399 6261 6261 I AssistStructure: Flattened final assist data: 5248 bytes, containing 1 windows, 27 views
07-31 20:37:47.472 6261 19020 W libEGL : EGLNativeWindowType 0x754e54fad0 disconnect failed
07-31 20:37:47.699 6261 19020 W libEGL : EGLNativeWindowType 0x754e551ce0 disconnect failed
07-31 20:37:47.757 6261 6261 V RfbProto: RFB socket closed
07-31 20:37:47.758 6261 6261 V RemoteCanvas: Cleaning up resources
07-31 20:37:47.768 6261 19020 W libEGL : EGLNativeWindowType 0x754e54fad0 disconnect failed
 

Attachments

  • Screenshot_20210731-201938_Root_Explorer.png
    Screenshot_20210731-201938_Root_Explorer.png
    129.9 KB · Views: 18
Last edited:

Ryan Wing

Member
Aug 17, 2021
7
1
Changelog:

20-09-2017

v1.0
Initial release

20-09-2017
v1.1
Removed a debug line from Nethunter App

04-11-2017
v1.2
Re-based to latest Nethunter App (v2017.10) - changed include fixes for mitmf and UI toggle for HID
Fixed Searchsploit

07-01-2018
v15.00.2
Re-based to latest Magisk module template (1500) - hence version number format change
Added latest Nethunter Apps - this fixes SSL pinning issues

Changelog:

20-09-2017

v1.0
Initial release

20-09-2017
v1.1
Removed a debug line from Nethunter App

04-11-2017
v1.2
Re-based to latest Nethunter App (v2017.10) - changed include fixes for mitmf and UI toggle for HID
Fixed Searchsploit

07-01-2018
v15.00.2
Re-based to latest Magisk module template (1500) - hence version number format change
Added latest Nethunter Apps - this fixes SSL pinning issues
I rooted my device HTC one X9 dual sim with Supersu by TWRP
I want to change it to magisk and i got an error code 1 in TWRP
As i searched on XDA forums, i found that flashing with boot.img will fix the issue.
Can anyone help me to get the firmware for HTC one X9 or boot.img file
Thank you in advance
 

Top Liked Posts

  • There are no posts matching your filters.
  • 58
    Overview
    This module allows you to install the Kali Nethunter chroot on any device with Magisk. This means you get a full Kali chroot environment, but still avoid touching the /system partition and therefore have the advantage of passing SafetyNet (hopefully) etc.
    For further information about Kali Nethunter and what's available, check out: https://github.com/offensive-security/kali-nethunter
    nethunter-git-logo.png


    Screenshots:
    Screenshot_20170920-204114.jpg Screenshot_20170920-203818.jpg Screenshot_20170920-203935.png Screenshot_20170920-203800.png Screenshot_20170920-203809.png Screenshot_20170920-212509.jpg

    Installation instructions:
    1. Install attached Magisk Module
    2. Reboot device
    3. Run Nethunter app - allow 7(!) Root-related permissions prompts and wait for initialisation
    4. Click "Kali Chroot Manager"
    5. Click "Install Kali Chroot" - "Download Latest"
    6. Install the full Chroot Kali package (around 800MB)
    7. Wait for Chroot to download/install (this may take a few minutes)
    8. Click "Install & Update" - allow Root permission for Nethunter Terminal app
    9. Enjoy! :)

    Download:
    V15.00.1 https://forum.xda-developers.com/devdb/project/dl/?id=28005

    Not Working:
    Anything which requires the custom kernel/ramdisk will not work out of the box. This includes:
    • Wi-Fi injection (requires custom kernel/ramdisk)
    • HID Interfaces (BadUSB/Duckhunter etc. - also requires custom kernel/ramdisk)

    Uninstall
    To remove this fully:
    1. Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
    2. Uninstall Kali Nethunter Magisk module (Reboot)
    3. Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
    4. Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log

    Notes
    This is an unofficial build. Credits to all the Offensive Security team and those working on the Nethunter project.
    When first launching VNC Server/Viewer click "Use default config" and then install the Kali menu with "apt install kali-menu" to get the full packages list in the menu.
    This includes the main APKs needed to run, the extra APKs (Hackerskeyboard, Shodan, cSploit etc.) will need to be installed seperately

    Source of this Magisk module: https://github.com/atarii/Magisk_Kali_Nethunter/
    Source of my changes to Nethunter App: https://github.com/atarii/nethunter-app

    XDA:DevDB Information
    Kali Nethunter for Magisk, Tool/Utility for all devices (see above for details)

    Contributors
    Atarii
    Source Code: https://github.com/atarii/Magisk_Kali_Nethunter/blob/master/README.md


    Version Information
    Status: Beta
    Current Beta Version: v15.00.2
    Beta Release Date: 2018-01-07

    Created 2017-09-20
    Last Updated 2018-01-07
    11
    Changelog:

    20-09-2017
    v1.0
    Initial release

    20-09-2017
    v1.1
    Removed a debug line from Nethunter App

    04-11-2017
    v1.2
    Re-based to latest Nethunter App (v2017.10) - changed include fixes for mitmf and UI toggle for HID
    Fixed Searchsploit

    07-01-2018
    v15.00.2
    Re-based to latest Magisk module template (1500) - hence version number format change
    Added latest Nethunter Apps - this fixes SSL pinning issues
    7
    Update:
    Released new version (see first post for download) :good:

    Changes:
    • Re-based to latest Magisk module template (1500) - hence version number format change and the jump from v1.2 -> v15.00.2
    • Added latest Nethunter Apps (Version: 2018.01.01) - this fixes SSL pinning issues

    I undid the APKs installation change that was in development- this caused issues with the updated nhterm.apk application. If there are still issues with APK installation, I'll revisit this
    6
    Nethunter app doesnt install the metapackages or even update because of this error.
    need some help


    Err:2 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod' stretch InRelease
    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
    Reading package lists... Done
    W: GPG error: 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod' stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
    E: The repository 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    That's actually going to end up being two errors. I get this for every new NH Kali install, so do yourself a favor & copy the code someplace.
    Another note: this will take a long run time usually.

    First fix the public key issue with this code:

    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys EB3E94ADBE1229CF
    wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add


    Second you'll need to fix where Kali is pulling the packages & other info from. Copy & paste:

    echo deb http://http.kali.org/kali kali-rolling main contrib non-free > /etc/apt/sources.list apt-get update && apt-get upgrade && apt-get dist-upgrade
    3
    OnePlus 3/3T user Good News!!! ??

    --- MCD-Kernel ---
    * Kali Nethunter features.
    * Packet injection patch
    * OTG External WiFi adapter support ("monitor mode")
    * EAS (Energy Aware Scheduling)
    * Many other necessary features...
    >> Currently Build for OxygenOS 8.0+

    Link: https://forum.xda-developers.com/one...h-mcd-t3838788
    @Atarii
    If possible add this Kernel link for OnePlus 3/3T in 'Supported Kernels' list for Kali Nethunter for Magisk