[Kernel][Exynos][BROKEN] Kali NetHunter for the Galaxy S7 Edge

This is Kali NetHunter 3.0.5 for the Galaxy S7 Edge.

If you don't know what Kali NetHunter is, well, it's the entire Kali Linux operating system in a chroot on your phone, plus a bunch of awesome apps for executing exploits, fixing things, doing cool things. It goes on, I suppose.
I'm gonna be honest guys, I'm not a security person. When it comes to security, I'm more of a Paul Blart.
What I do know though, is that there is apt-get, and apt-get is life.

Find much more information here: https://github.com/offensive-securit...nethunter/wiki
The answer to all your questions, generally the answer is YES, IT CAN DO THAT.

Most ROMs should be supported, as our installer uses a dynamic patching method on your current boot image!

The updater zip will add a few files to your /system partition, and install all of the NetHunter apps to your /data partition.
The chroot is located in /data/local, so you don't have to worry about your system partition being full. It's full read/write capable.
Understand that the zip will replace your current kernel with a completely different one.
This is necessary because most stock or custom kernels don't provide the drivers needed to operate most of Kali NetHunter's features.

DOWNLOAD

Current version: 3.0.5 (beta, 2016-03-11)

Please be careful to download the right version based on this table:
SM-G935F, SM-G935FD, SM-G935X, SM-G935W8: hero2lte
SM-G930F, SM-G930FD, SM-G930X, SM-G930W8: See proper forum.
All others be sad.

Download is available at: https://idlekernel.com/nethunter/hero2lte/
Grab the 700 MB+ zip.
Kernel-only zip is for upgrading your kernel, or just using the NetHunter kernel by itself. (yes, you can do that!)

BEFORE INSTALLING

IMPORTANT: Kali NetHunter requires write access to your data partition!
Flash this zip in TWRP to allow system modifications and unencrypted data: https://idlekernel.com/fun-stuff-tru...pt-encrypt.zip
Once that is flashed, go to the wipe page and use the [Format Data] button.
This will wipe all your data, including internal storage!
Boot up your system and set up Android.
Now you can go back into TWRP and flash Kali NetHunter.

Currently, Samsung encryption is not supported by TWRP, so we have to disable it.
Sorry security freaks! There's a lot of irony here, isn't there?

The Kali chroot and apps are installed on your data partition (in /data/local for chroot). To initialize the chroot and install Kali Linux, you need to start the Kali NetHunter app.

The NetHunter installer will automatically install SuperSU (2.68) in system mode, which I consider to be more stable. Since NetHunter already modifies your system partition, there is no need to use systemless SuperSU anyways.

Also included is an extra Busybox that gives you full large file support and some extra applets.

FULL FRESH INSTALL STEPS
  1. Install Team Win Recovery Project to your recovery partition.
  2. If your data partition doesn't mount in TWRP:
    Go to [Wipe] -> [Format Data] (not advanced wipe) -> type "yes".
    WARNING: This will wipe your internal storage, disable encryption, and factory reset your phone!
    Once your data partition is formatted, go to [Reboot] -> [Recovery].
  3. Download dm-verity and force encryption disabler.
    Without exiting TWRP, transfer no-verity-opt-encrypt.zip to your device over MTP* and flash it using [Install] in TWRP.
  4. If you wiped your data partition in step 2:
    Go to [Reboot] -> [System].
    Set up your phone by following the Android setup wizard.
    Once it's set up, reboot back into recovery.
  5. Download Kali NetHunter.
    Without exiting TWRP, transfer the NetHunter installer zip to your device over MTP* and flash it using [Install] in TWRP.
  6. Go to [Reboot] -> [System].
  7. Wait 5-15 minutes for your device to finish setting itself up.
  8. Open the NetHunter app to initialize the environment
  9. You're done!
* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.

UPDATING TO A NEWER BUILD

Going from 3.0.0 and up, all you have to do is flash the new build in recovery and wipe dalvik cache.

UPDATING YOUR ROM

To get all your NetHunter and SuperSU functions back after flashing a new ROM, just flash the ~60 MB update-nethunter-* zip again.

THE KERNEL

The NetHunter kernel for the Galaxy S7 Edge is based on Samsung's OSRC G935FXXU1APAW kernel sources.
It has the following changes:
  • F2FS updated to Jaeguek Kim's latest kernel.org f2fs-stable sources
  • F2FS formatted system, data, and cache partition support
  • UKSM Ultra Kernel Same-page Merging KSM support
  • Updated and enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
  • Simple IO (SIO) scheduler as default IO scheduler
  • USB HID Gadget keyboard support
  • mac80211 packet injection support
  • DriveDroid compatibility
  • Additional drivers built in for the full Kali NetHunter experience
  • Data partition encryption changed from forced to optional (disabled during installation)
  • Disables dm-verity and allows you to boot modified system partitions

RAN INTO AN ISSUE OR BUG?

In order for me to help you, you have to at minimum reply with:
  • The link to the exact zip you downloaded
  • Your device model (it better not be something other than G935F, dangit!)
  • The name of the ROM you're flashing it on
  • The version and build date of the ROM you're flashing it on
  • A complete description of your problem
  • Optional: An audio recording of you reading this entire post
If your issue is with a specific app, it might be better to contact the developer of that app.

If your issue is during the installation (ex. flashing the NetHunter zip), then please collect a TWRP recovery.log for me.

If you found a problem and were able to fix it, and no one's mentioned it in the thread already, it would be kind to state the issue and your fix for others to make use of as well.

You can join me and the other NetHunter developers on IRC at the #nethunter room on freenode to more handily diagnose problems together.
I apologize, but I can't do house calls at this time.

KNOWN ISSUES

  • USB Keyboard - The keyboard is unusable when using Google Keyboard as your input method. Switch to Hacker's Keyboard.
  • NetHunter Terminal - It doesn't automatically set the columns/rows, so you need to type "resize" sometimes to fix the display.
DEVELOPMENT

You can see my branch of the installer development here: https://github.com/jcadduono/kali-nethunter
Alternatively, the main branch is also available on the Offensive Security GitHub: https://github.com/offensive-security/kali-nethunter
Kernel source: https://github.com/jcadduono/nethunter_kernel_herolte


DISCLAIMER

I am not affiliated with Offensive Security. They seem like cool guys though.
I'm not even a novice when it comes to security and penetration. I'm just a simple system administrator with a passion for breaking Android.
Please restrain yourselves from asking me security related questions.
Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

1 comments: