FORUMS
Remove All Ads from XDA

Kali Nethunter for Magisk

734 posts
Thanks Meter: 661
 
By Atarii, Senior Member on 20th September 2017, 09:14 PM
Post Reply Email Thread
Announcement from Atarii: Updated
24th September 2017, 11:38 AM |#21  
OP Senior Member
Thanks Meter: 661
 
Donate to Me
More
Quote:
Originally Posted by keeganjk

I got it to work!

This is what I did:
1. Re-downloaded the Magisk-nethunter module zip
2. Flashed it in TWRP
3. De-compressed the Magisk-nethunter module zip and manually installed the APKs
4. Opened Net Hunter app
5. Went to Chroot manager, selected download and selected full Chroot
6. PROFIT

Ok great, you got there in the end. So follow OP instructions, but you needed to manually install the APKs. That helps - it may mean the "pm install APK" command is not supported on your Android version. Did you have "Install apps from unknown sources enabled?". Can you try running "pm install nethunter_magisk.apk" in the same folder as the APK (it's ok to install over existing)

Quote:
Originally Posted by storm68

What is the true benefit of chroot?

The benefits mentioned plus for this Nethunter module it allows you to use Kali tools natively. For example, you can set Android proxy to 127.0.0.1 and use Burp Proxy in Kali to view/modify Android traffic. Or use msfconsole to launch metasploit activities from your phone
24th September 2017, 12:53 PM |#22  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Atarii

Ok great, you got there in the end. So follow OP instructions, but you needed to manually install the APKs. That helps - it may mean the "pm install APK" command is not supported on your Android version. Did you have "Install apps from unknown sources enabled?". Can you try running "pm install nethunter_magisk.apk" in the same folder as the APK (it's ok to install over existing)


The benefits mentioned plus for this Nethunter module it allows you to use Kali tools natively. For example, you can set Android proxy to 127.0.0.1 and use Burp Proxy in Kali to view/modify Android traffic. Or use msfconsole to launch metasploit activities from your phone

Unknown sources were enabled, where would I run on install from?
24th September 2017, 01:04 PM |#23  
OP Senior Member
Thanks Meter: 661
 
Donate to Me
More
Quote:
Originally Posted by keeganjk

Unknown sources were enabled, where would I run on install from?

  1. Copy nethunter_magisk.apk to /sdcard/Downloads
  2. Open a Terminal on your phone (or adb)
  3. cd /sdcard/Downloads
  4. pm install nethunter_magisk.apk
Then let me know the output
24th September 2017, 01:09 PM |#24  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Atarii

Copy nethunter_magisk.apk to /sdcard/Downloads
Open a Terminal on your phone (or adb)
cd /sdcard/Downloads
pm install nethunter_magisk.apk

Then let me know the output

Wait, isn't nethunter_magisk a .zip file?
24th September 2017, 01:12 PM |#25  
OP Senior Member
Thanks Meter: 661
 
Donate to Me
More
Quote:
Originally Posted by keeganjk

Wait, isn't nethunter_magisk a .zip file?

Magisk_Kali_Nethunter_v1_1.zip is a zip file.
nethunter_magisk.apk inside that zip file (in the files directory) is an APK file.
The Following User Says Thank You to Atarii For This Useful Post: [ View ] Gift Atarii Ad-Free
24th September 2017, 01:14 PM |#26  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Atarii

Magisk_Kali_Nethunter_v1_1.zip is a zip file.
nethunter_magisk.apk inside that zip file (in the files directory) is an APK file.

Just found it, it's in -------.zip/files/

---------- Post added at 12:14 PM ---------- Previous post was at 12:13 PM ----------

Quote:
Originally Posted by Atarii

Copy nethunter_magisk.apk to /sdcard/Downloads
Open a Terminal on your phone (or adb)
cd /sdcard/Downloads
pm install nethunter_magisk.apk

Then let me know the output

Says:
Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.offsec.nethunter without first uninstalling.]
24th September 2017, 01:33 PM |#27  
OP Senior Member
Thanks Meter: 661
 
Donate to Me
More
Quote:
Originally Posted by keeganjk

Just found it, it's in -------.zip/files/

---------- Post added at 12:14 PM ---------- Previous post was at 12:13 PM ----------


Says:
Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.offsec.nethunter without first uninstalling.]

Yes, uninstall the one you have already (only uninstall the Nethunter app), then try again please
24th September 2017, 01:35 PM |#28  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Atarii

Yea, uninstall the one you have already (only uninstall the Nethunter app), then try again please

Success
24th September 2017, 02:23 PM |#29  
OP Senior Member
Thanks Meter: 661
 
Donate to Me
More
Quote:
Originally Posted by keeganjk

Success

Hmm this indicates that it should have just worked fine in the first place.
Can you try to install the zip here https://forum.xda-developers.com/att...3&d=1505940986 directly from Magisk Manager (don't need to uninstall anything first). If it fails send a screenshot of the black output log please.
If we get to the bottom of this, I'll add you as a tester for the project
24th September 2017, 02:33 PM |#30  
Senior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by Atarii

Hmm this indicates that it should have just worked fine in the first place.
Can you try to install the zip here https://forum.xda-developers.com/att...3&d=1505940986 directly from Magisk Manager (don't need to uninstall anything first). If it fails send a screenshot of the black output log please.
If we get to the bottom of this, I'll add you as a tester for the project

It appears to have worked. I can't upload a screenshot for some reason, here's a link to it: https://drive.google.com/file/d/0B-e...w?usp=drivesdk
24th September 2017, 02:46 PM |#31  
OP Senior Member
Thanks Meter: 661
 
Donate to Me
More
Quote:
Originally Posted by keeganjk

It appears to have worked. I can't upload a screenshot for some reason, here's a link to it: https://drive.google.com/file/d/0B-e...w?usp=drivesdk

Congrats - you now have the proper Magisk module working I guess the other things you installed changed the system somehow, but glad we got to the bottom of it. Can you change the instructions you've posted on here and github to say to just follow the instructions here https://forum.xda-developers.com/sho....php?t=3676681 please?
You should have the Nethunter build version of Busybox working for it now too.
I'll add you as a tester for future builds
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes