KaliLinux NetHunter v1.0 [Kali v2.0/Backtrack 5][athene] - Moto G4 Plus ROMs, Kernels, Recoveries, & Other De

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks. Beyond the penetration testing tools arsenal within Kali Linux, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, [URL="https://github.com/offensive-security/kali-nethunter/wiki/NetHunter-Mana-Wireless"]Evil AP MANA attacks[/URL], and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page. NetHunter is an open-source project developed by Offensive Security and the community.
FIRST THINGS FIRST, SERIOUSLY:
Your warranty was void as soon as you unlocked your bootloader.
Although Kali Nethunter should be safe to use, I am not responsible for whatever happens to your device, router, or whatever networking infrastructure because of YOU misusing the available facilities of Kali.
Remember that while Kali can be absolutely safe, if you handle root access improperly, no one will help you.
Make sure you read all of the info here and have some basic knowledge about networking, kernels and Linux/Unix.
Even if you're able to find a vulnerability on a different host (often called victim) , don't misuse the advantage you have.
Report the issue to the device's owner and the OEM. Do not complain if the attacks aren't working. Security has been ramping up ever since the wikileaks incident and the Edward Snowden thing.
FEATURES:
Kali NetHunter Application
Home Screen - General information panel, network interfaces and HID device status.
Kali Chroot Manager - For managing chroot metapackage installations.
Check App Update - For checking Kali NetHunter Android App updates.
Kali Services - Start / stop various chrooted services. Enable or disable them at boot time.
Custom Commands - Add your own custom commands and functions to the launcher.
MAC Changer - Change your Wi-Fi MAC address (only on certain devices)
VNC Manager - Set up an instant VNC session with your Kali chroot.
HID Attacks - Various HID attacks, Teensy style.
DuckHunter HID - Rubber Ducky style HID attacks
BadUSB MITM Attack - Nuff said.
MANA Wireless Toolkit - Setup a malicious Access Point at the click of a button.
MITM Framework - Inject binary backdoors into downloaded executables on the fly.
NMap Scan - Quick Nmap scanner interface.
Metasploit Payload Generator - Generating Metasploit payloads on the fly.
Searchsploit - Easy searching for exploits in the Exploit-DB.
3rd Party Android Applications (WIP)
NetHunter Terminal Application
DriveDroid
USB Keyboard
Shodan
Router Keygen
cSploit
Remember that there might be many other exploits and attack features available online, the ones mentioned above are officially documented by Kali. Secondly, not much support will be possible regarding the attacking since not everyone will have the same opportunities.
DOWNLOADS
Sourceforge might show this file as Malware for obvious reasons, but open the filename and choose the directlink. I will contact their support team for this soon, meanwhile you can also check the Android File Host mirror.
1. For N Custom ROMs :
Sourceforge folder
Android Filehost
2. For stock N:
3. For MM Custom ROMs:
4. For Stock MM:
INSTALLATION
IMPORTANT NOTE: Kali NetHunter is NOT an Android ROM, but it is an overlay ( you have to flash it above android).
The builds currently provided are to be used on Nougat based custom ROMs ONLY. (which use the LineageOS kernel)
Installing it on a ROM which uses the LineageOS 14.1 kernel. (examples include all of our N custom ROMs like Lineage, AEX, AICP, AOKP, DU ) :
1. Make sure you are running the latest available build of the ROM you have installed.
2. Reboot to TWRP.
3. Make sure you backup Boot, System and Data partitions, just incase you want to remove Kali, you can restore it.
3. Wipe Cache and ART Cache (Formerly known as Dalvik Cache). Do NOT wipe your data partition.
4. Install the zip file.
5. Reboot to System.
POST INSTALLATION:
1. Open the NetHunter App and start the Kali Chroot Manager.
2. You might want to download the real packages which might be around 400-500 MB in size.
3. Set up Hacker Keyboard.
4. Configure Kali Services, such as SSH.
5. Set up custom commands.
6. Initialize the Exploit Database.
BUGS:
Please read the help thread before you point out issues here. It has been created specifically to help new users to adapt to custom roms easier. Before you post your issue, please check if it has already been reported and if a fix has already been mentioned.
SCREENSHOTS:
https://vimeo.com/132329259
https://youtu.be/yV6AzqgdBo4
IMPORTANT LINKS:
1. My build of TWRP
2. KaliLinux NetHunter Github Wiki
3. KaliLinux NetHunter Website
4. Source for athene: https://github.com/tywinlannister7/nethunter-devices
XDA:DevDB Information
KaliNethunter for athene, ROM for the Moto G4 Plus
Contributors
tywinlannister7 @keerten
Source Code: https://github.com/offensive-security/kali-nethunter
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest stock Nougat firmware
Version Information
Status: Stable
Created 2017-07-20
Last Updated 2017-07-20

Reserved

Reserved

Will it work on AOSP CAF?

aravindmj said:
Will it work on AOSP CAF?
Click to expand...
Click to collapse
It uses the LineageOS kernel, so YES. :good:

First off thank you for this second how do we add HID devices to kali

khaoticking said:
First off thank you for this second how do we add HID devices to kali
Click to expand...
Click to collapse
You're welcome.
The NetHunter HID Atacks turn any device and its OTG USB cable into a pre-programmed keyboard, able to type any given commands. HID here refers to the Human Interface Devices like your keyboard mouse touchpad etc. The mounting process should be similar like you do on any android device. If you're not sure that kali isn't detecting the device, you might want to try running this command in the terminal:
Code:
lsusb

tywinlannister7 said:
You're welcome.
The NetHunter HID Atacks turn any device and its OTG USB cable into a pre-programmed keyboard, able to type any given commands. HID here refers to the Human Interface Devices like your keyboard mouse touchpad etc. The mounting process should be similar like you do on any android device. If you're not sure that kali isn't detecting the device, you might want to try running this command in the terminal:
Click to expand...
Click to collapse
Kali doesn't detect any HID devices when trying to run the hello world duck script it won't type anything

Can you give me the link to the kernel sources...

khaoticking said:
First off thank you for this second how do we add HID devices to kali
Click to expand...
Click to collapse
The Android HID patch as mentioned by pelya has not been applied to the kernel sources. That's why there is no HID Interfaces...
If anybody knows how to custom compile a kernel then one can look at @pelya guide how to patch it..
Link to kernel source of tywinlannister https://github.com/tywinlannister7/elementalx_kernel_motorola_msm8952
Link to patched kernel sources Jleeblanch but it is not compiling he is the official maintainer of Resurrection remix for Athene "the Kali branch"
https://github.com/Jleeblanch/android_kernel_motorola_msm8952
If anybody looks into the matter we can get fully functional Kali nethunter...
Thanks in advance..:good:

Does it work on Moto g4 plus and how to remove the Kali overlay latter. Thanks

Sobhan Bhuyan said:
Does it work on Moto g4 plus and how to remove the Kali overlay latter. Thanks
Click to expand...
Click to collapse
This is in the G4 Plus forum. That usually means it works on the G4 Plus.

zeomal said:
This is in the G4 Plus forum. That usually means it works on the G4 Plus.
Click to expand...
Click to collapse
I flashed it and got an error in twrp ( named error one or something) and then there were no overlays to be seen inside. Later I knew that caller ID is not visible while calling or being called. Restored then. Pls advice. Should I flash again.

Managed to get the error message from twrp. Pls advice

Sobhan Bhuyan said:
Managed to get the error message from twrp. Pls advice
Click to expand...
Click to collapse
As it says in the TWRP error, did you boot and set up your device, then reboot to flash the Kali overlay? From the opening post, this appears to flash over existing custom ROMs.
What ROM are you attempting to flash Kali over?

Sobhan Bhuyan said:
Managed to get the error message from twrp. Pls advice
Click to expand...
Click to collapse
First of all a ROM must be installed and on top of that only nethunter should be flashed(so only it is called overlay ROM ,something has to be underneath it...:good: )

echo92 said:
As it says in the TWRP error, did you boot and set up your device, then reboot to flash the Kali overlay? From the opening post, this appears to flash over existing custom ROMs.
What ROM are you attempting to flash Kali over?
Click to expand...
Click to collapse
I m currently on ressurection remix ROM ,device XT1643
So you mean that after wiping cache I must set up device as new first then reboot and flash the overlay. Ok I will try and let you know

Sorry to bother, but what about ElementalEx kernel? Is it compatible, untested, or uncompatible?
Also, does it need a fresh ROM flash, or could it be used over an already flashed, rooted and used ROM with EX ?

Will it work for Viper OS 7.1 nougat?

What is the difference between this version and version 3.0?
'

Related

[Kernel+][Exynos] Kali NetHunter for the Galaxy S7

​
WARNING: When using custom kernels on the S7, never turn off developer options or OEM unlock. If you do, you will lose all your data and have to flash a full stock firmware restore to use your device again!
OKAY SO
This is Kali NetHunter 3.15.2 for the Galaxy S7.
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-security/kali-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 NetHunter installer 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/nhsystem, 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.
NetHunter also includes its own Busybox that gives you full large file support and some extra applets.
It will not overwrite your current one, and will happily install alongside it as busybox_nh.
DOWNLOAD
Current version: 3.15.2 (stable, 2016-11-04)
Please be careful to download the right version based on this table:
SM-G930F, SM-G930FD, SM-G930W8, SM-G930X: kernel-nethunter-herolte-*
SM-G930K, SM-G930L, SM-G930S: kernel-nethunter-heroltekor-*
S7 edge: You're in the wrong forum!
All others be sad.
For the apps, chroot, and everything other than just the kernel, you will also need to download:
nethunter-generic-arm64-*
See installation instructions before proceeding!
Downloads are available at: http://build.nethunter.com/nightly/
BEFORE INSTALLING
IMPORTANT: Kali NetHunter requires write access to your data partition!
This means that if your data partition is encrypted, you will need to use the [Format Data] button in TWRP to remove encryption.
This will delete all your data, including internal storage.
You should back everything up first before installing Kali NetHunter.
Samsung Smart Switch Mobile can be useful for this, and allows you to back up your apps to a location on an external SDcard.
Unfortunately it doesn't back up most app data.
The Kali chroot and apps are installed on your data partition (in /data/local/nhsystem for chroot). To initialize the chroot and install Kali Linux, you need to start the Kali NetHunter app.
The generic NetHunter installer will automatically install SuperSU. We try to keep it up to date, but it isn't always.
If you already have SuperSU or another root method installed, please simply delete the supersu.zip from the root of the zip file before installing it.
It's recommended that you restore or flash your ROM's original kernel before installing NetHunter.
It's become apparent that there may be issues with the stock ROM and this kernel, and that it might run best on a Note 7 port.
FULL INSTALLATION STEPS
Install Team Win Recovery Project to your recovery partition.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Recommended: If you have a custom kernel or SuperSU installed, restore your stock kernel. (called Boot in TWRP)
This isn't entirely necessary, but you may need to flash the NetHunter kernel again if SuperSU replaces it.
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].
Download the kernel-nethunter zip specific to your device.
Without exiting TWRP, transfer the NetHunter kernel installer zip to your device over MTP* and flash it using [Install] in TWRP.
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.
For new installations: Download the nethunter-generic-arm64-kalifs zip.
For upgrades: Download the update-nethunter-generic-arm64 zip.
Without exiting TWRP, transfer the NetHunter generic arm64 installer zip to your device over MTP* and flash it using [Install] in TWRP.
Go to [Reboot] -> [System].
Wait 2-5 minutes for your device to finish setting itself up.
Open the NetHunter app to initialize the environment
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 OR UPDATING YOUR ROM
Follow the installation steps above. NetHunter can be installed over itself as many times as you'd like.
If you don't want to lose your chroot, flash the smaller update-nethunter-generic-arm64 zip instead.
THE KERNEL
The NetHunter kernel for the Galaxy S7 is based on Samsung's OSRC N930SKSU2BPID Note 7 kernel sources.
It has the following changes:
Carefully updated to Linux 3.18.44 (with dirtycow vulnerability patched)
SELinux permissive
F2FS updated to Jaeguek Kim's latest kernel.org f2fs-stable sources
F2FS formatted data partition support
Enabled USB (OTG) Atheros, Ralink, and Realtek WiFi drivers
FIOPS IO scheduler as default IO scheduler, SIO available
USB HID Gadget keyboard & mouse support
mac80211 packet injection support
DriveDroid compatibility
Additional drivers built in for the full Kali NetHunter experience
Data partition encryption disabled (not supported by custom kernels at the moment)
Kernel module support, insert your own modules!
CIFS, NFS available through included kernel modules
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
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
If your issue is with a specific app, it might be better to contact the developer of that app.
For Kali NetHunter bugs/issues, you can open a ticket at: https://github.com/offensive-security/kali-nethunter/issues
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.
Reboot after 60 seconds - Sometimes when you boot your device it could reboot after 60 seconds because of a Samsung secure service not responding. Unresolved, but rare, and only happens within 60 seconds of a boot.
DEVELOPMENT
You can see the main branch of NetHunter's development on the Offensive Security GitHub: https://github.com/offensive-security/kali-nethunter
Galaxy S7 NetHunter kernel source: https://github.com/jcadduono/android_kernel_samsung_universal8890/tree/nethunter-6.0
SCREENSHOTS
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.
XDA:DevDB Information
Kali NetHunter for the Galaxy S7, Kernel for the Samsung Galaxy S7
Contributors
jcadduono, The Kali NetHunter team
Source Code: https://github.com/offensive-security/kali-nethunter
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 3.15.2
Stable Release Date: 2016-11-04
Created 2016-10-06
Last Updated 2016-11-04
I cannot test this today, but i ****in love you !
saphirrot said:
I cannot test this today, but i ****in love you !
Click to expand...
Click to collapse
Yeah I just hope it's all working fine this time Last time I opened a thread for NetHunter on S7 it was a little embarrassing as I didn't own any recent Galaxy phones I had no idea they'd be such a challenge to get custom development going on.
I still haven't exactly tested this, but I do have the Note 7 now so I'm really hoping that everything done to make it work on the Note 7 makes it work on the S7 and S7 edge too... *crosses fingers*
We've got a few issues to fix before an actual release but they're all related to the apps.
1. The NetHunter Terminal app is quite buggy, so you might want to use JuiceSSH local terminal for now. (type su -c bootkali_login to enter Kali environment)
2. The NetHunter app's scripts are all hardcoded for armhf right now. I've actually completed arm64 support in the installer and we can build working arm64 rootfs and install it, just the NetHunter app can't see it yet so we're using armhf on arm64 instead for now.
Anyways, hope to hear some good news from ya! These remaining issues shouldn't take long for us to overcome...
For s7 edge do I have download the arm packages or arm64 packages?
Handeman707 said:
For s7 edge do I have download the arm packages or arm64 packages?
Click to expand...
Click to collapse
you're in the wrong forum, go to S7 edge forum
http://forum.xda-developers.com/s7-edge/development/kernel-kali-nethunter-galaxy-s7-edge-t3475413
this probably isn't something you want to play around with if you don't know if your phone is arm or arm64 :/
Has anyone else been able to get DriveDroid working bootabley (definitely a real word) on this build / Galaxy S7?
I can get the device to show in Windows, but none of the configuration options seem to make it show up as a boot option.
I've tried with both the DriveDroid apk in the nethunter installer, and the latest one from the DriveDroid website.
(P.S. It's not a configuration issue on my laptop as it works with DriveDroid on a Nexus 5. )
XanSama said:
Has anyone else been able to get DriveDroid working bootabley (definitely a real word) on this build / Galaxy S7?
I can get the device to show in Windows, but none of the configuration options seem to make it show up as a boot option.
I've tried with both the DriveDroid apk in the nethunter installer, and the latest one from the DriveDroid website.
(P.S. It's not a configuration issue on my laptop as it works with DriveDroid on a Nexus 5. )
Click to expand...
Click to collapse
I've never been able to boot from DriveDroid CDROM mode but always just mounted ISOs as USB Storage and booted off that, essentially the same as dd'ing an ISO to a flash drive.
Not sure what the Nexus 5 is doing differently... It is kernel related though, as actually mounting this stuff is very trivial and can be done through terminal.
jcadduono said:
I've never been able to boot from DriveDroid CDROM mode but always just mounted ISOs as USB Storage and booted off that, essentially the same as dd'ing an ISO to a flash drive.
Not sure what the Nexus 5 is doing differently... It is kernel related though, as actually mounting this stuff is very trivial and can be done through terminal.
Click to expand...
Click to collapse
Doesn't seem to be working for me in USB RW, USB RO, or CDROM mode on this build; are you saying that the one of the USB modes -is- functioning for you currently? or none at all (same as me?)
XanSama said:
Doesn't seem to be working for me in USB RW, USB RO, or CDROM mode on this build; are you saying that the one of the USB modes -is- functioning for you currently? or none at all (same as me?)
Click to expand...
Click to collapse
Used USB RO to install Windows 10 from boot the other day, but that was in UEFI mode
dude pls tell me what is the best rom to have nethunter because i tried a lot of roms it keeps ending in bootloop. also pls tell me whether it works in stock rom...
ahamed.rafi135 said:
dude pls tell me what is the best rom to have nethunter because i tried a lot of roms it keeps ending in bootloop. also pls tell me whether it works in stock rom...
Click to expand...
Click to collapse
Only tested on latest stock FXXU1BPI firmware
jcadduono said:
Only tested on latest stock FXXU1BPI firmware
Click to expand...
Click to collapse
but when i try flashing on stock it says boot image failed
boot image file xxxxxbits larger
ahamed.rafi135 said:
but when i try flashing on stock it says boot image failed
boot image file xxxxxbits larger
Click to expand...
Click to collapse
recovery log...
doesnt make sense, by my calculations the resulting image should be close to 40953856 bytes and partition should fit it at *41943040‬ bytes :/
jcadduono said:
recovery log...
doesnt make sense, by my calculations the resulting image should be close to 40953856 bytes and partition should fit it at *41943040‬ bytes :/
Click to expand...
Click to collapse
yeah dude just gimme a moment flashing stock rom, btw i just did all the setup in bobcat rom it is soooooo lagggy
and i would like to have this on stock rom. And one more thing thanks for your continuous support.
AND MY FIRMWARE IS G935FXXU1APB6 is it ok?
ahamed.rafi135 said:
yeah dude just gimme a moment flashing stock rom, btw i just did all the setup in bobcat rom it is soooooo lagggy
and i would like to have this on stock rom. And one more thing thanks for your continuous support.
AND MY FIRMWARE IS G935FXXU1APB6 is it ok?
Click to expand...
Click to collapse
i have no idea...only tested on FXXU1BP firmware... maybe consider updating?
i will see about maybe removing ffu and signature checker binaries to reduce size, i dont think they are even able to run except by OTAs/stock anyway which are broken by custom kernels
i have attached the log
jcadduono said:
i have no idea...only tested on FXXU1BP firmware... maybe consider updating?
i will see about maybe removing ffu and signature checker binaries to reduce size, i dont think they are even able to run except by OTAs/stock anyway which are broken by custom kernels
Click to expand...
Click to collapse
also which rom do you recommend?
ahamed.rafi135 said:
also which rom do you recommend?
Click to expand...
Click to collapse
the one that matches your boot image...
i will always recommend stock over anything else though
ok try a build from here instead:
http://build.nethunter.com/test-builds/
update: tested myself and it worked fine, posted new nightly build with changes
it will remove the firmware upgrade service from boot image, which is useless anyway as we can't take OTAs with custom kernels
Hi, I have flashed both of the lastest kernels (kernel-nethunter-herolte-marshmallow-3.15.2-20161024-2241) and (kernel-nethunter-herolte-marshmallow-3.15.2-20161023-0148) but they are still laggy and are having poor CPU performance in geekbench tests. Any fix?
Does it requires an external WiFi adapter to test my internet security or does the WiFi adapter of the S7 can do the job ?
Thank you

[Z00L/T] [KERNEL LESS] Kali NetHunter - Mobile Penetration Testing Platform

A project by Offensive Security​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Kali NetHunter is an Android penetration testing platform targeted towards Nexus and OnePlus devices built on top of Kali Linux, which includes some special and unique features. Of course, you have all the usual Kali tools in NetHunter as well as the ability to get a full VNC session from your phone to a graphical Kali chroot, however the strength of NetHunter does not end there. We've incorporated some amazing features into the NetHunter OS which are both powerful and unique. From pre-programmed HID Keyboard (Teensy) attacks, to BadUSB Man In The Middle attacks, to one-click MANA Evil Access Point setups, access to the Offensive Security Exploit Database... And yes, NetHunter natively supports wireless 802.11 frame injection with a variety of supported USB NICs.
Documentation and Attack Descriptions
Attack descriptions as well as some documentation to get you started with the installation and setup of Kali NetHunter can be found at: https://github.com/offensive-securit...nethunter/wiki.
List of included attack tools: [url]https://github.com/offensive-securit...s-and-features[/URL]
Is Kali NetHunter an Android ROM?
Kali Linux NetHunter is not a ROM but is meant to be installed over an existing stock/factory image of Android. It can also be installed over some Cyanogenmod based ROMs depending on device support. It is heavily based on using custom kernels and only supports a select number of devices. We're relying on you, the community, to port your devices for the full Kali NetHunter experience.
Bugs
1. Terminal crashes every time [See workaround]
2. Terminal doesn't opens up in Kali[See workaround]
3. cSploit crashes while updating core. [Need confirmation]
Downloads
Z00L :-
Marshmallow
Nougat
Z00T :-
Marshmallow
Nougat
Uninstaller for both Z00L & Z00T
Installation Instructions
1. Download the ZIP as per system.
2. Reboot into recovery and flash the zip.
3. It will take time. Wait for it to complete and then reboot system.
4. After system boots, open NetHunter app from drawer and grant permissions and root access. [Takes time]
5. Now on NetHunter app, slide drawer and select Chroot manager. Here you can download type of chroot you want. Minimal or full. Minimal will take 2 GB space and Full will take 5 GB approx. Download as you wish.
6. Done.
Screenshots
See Screenshots tab.:laugh:
Workaround
1. After Installation and initial setup, uninstall the preloaded terminal and install the terminal from the downloads tab. It will now open and stop crashing.
2. For opening terminal in Kali, open the terminal and select "Kali" now type "exit" [Without Quotes]. Terminal will open in [email protected]:laugh:
Tips
1. If you are having problems with root access, use SuperSu.
2. After booting up as [email protected] in terminal don't forget to hit "apt-get update" and "apt-get upgrade" [Without Quotes].
Support Development
[url]https://www.paypal.me/AayushGupta[/URL]
XDA:DevDB Information
Kali NetHunter - Mobile Penetration Testing Platform, Tool/Utility for the Zenfone 2 Laser
Contributors
aayushgupta219, madScript
Source Code: [url]https://github.com/TheImpulse/kali-nethunter[/URL]
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2017-08-07
Created 2017-07-24
Last Updated 2017-08-07
XDA:DevDB Information
[Z00L/T] [KERNEL LESS] Kali NetHunter - Mobile Penetration Testing Platform, ROM for the Zenfone 2 Laser
Contributors
Impulse
ROM OS Version: 2.3.x Gingerbread
Version Information
Status: Testing
Created 2017-08-20
Last Updated 2017-09-07
Reserved
Reserved
Reserved
Great! waiting for ss. Will try soon. Hope no major bugs
kunalchitara said:
Great! waiting for ss. Will try soon. Hope no major bugs
Click to expand...
Click to collapse
Screenshots are already added and Bugs and workaround is mentioned too.
Good work... alwayz wanted to have this ROM on ZOOL....
aadi50 said:
Good work... alwayz wanted to have this ROM on ZOOL....
Click to expand...
Click to collapse
This is not a rom i think... Check OP
[email protected]@t said:
This is not a rom i think... Check OP
Click to expand...
Click to collapse
yeah it isnt ROM... whatever this is mobile penetration testing platform
Good job!! Dev I was waiting for this penetration testing platform on zool for a long time, finally you made it.
sunilpolavarapu said:
Good job!! Dev I was waiting for this penetration testing platform on zool for a long time, finally you made it.
Click to expand...
Click to collapse
Update will be made to crush bugs soon!
aayushgupta219 said:
Update will be made to crush bugs soon!
Click to expand...
Click to collapse
For Z00T please. On other post by fab the zip is not found.
ndrancs said:
For Z00T please. On other post by fab the zip is not found.
Click to expand...
Click to collapse
I will look if I can.
If someone is interested in sending me the hardware info and Kernel of Z00T, to build Kali Nethunter for Z00T, PM me the files.
Great job...the minimal chroot version installed and worked perfectly ...but full chroot unable to install ...ran out of memory ...so how can I install full chroot on my device .
joshi_1996 said:
Great job...the minimal chroot version installed and worked perfectly ...but full chroot unable to install ...ran out of memory ...so how can I install full chroot on my device .
Click to expand...
Click to collapse
Format sdcard as system partition and link it via link2sd or format sdcard as internal memory and try then. Use a high speed memory card. I use class 10 32 gb card.
aayushgupta219 said:
If someone is interested in sending me the hardware info and Kernel of Z00T, to build Kali Nethunter for Z00T, PM me the files.
Click to expand...
Click to collapse
I checked your github repo. Why you fork from cyanogenmod? Instead of Los? Just asking
ndrancs said:
I checked your github repo. Why you fork from cyanogenmod? Instead of Los? Just asking
Click to expand...
Click to collapse
Because @LuK1337 keeps files updated. I want to use Asus repo but they haven't updated it to nougat and most users are on nougat now. Also his Lineage is base for almost all other ROM's. I am currently testing the new builds. It will be available to download by the end of the week.
Impulse said:
Because @LuK1337 keeps files updated. I want to use Asus repo but they haven't updated it to nougat and most users are on nougat now. Also his Lineage is base for almost all other ROM's. I am currently testing the new builds. It will be available to download by the end of the week.
Click to expand...
Click to collapse
Thanks.
Did you mean this weekend?
ndrancs said:
Thanks.
Did you mean this weekend?
Click to expand...
Click to collapse
Today!
New Builds Up. Old users stay on old build. Z00T users test and report. Don't report known bugs. I will fix known bugs in next update. Custom Kernel will be added in next update for both users that will fix almost all bugs and will allow all features of Kali to work. Pre chrooted builds are now removed, manually download chroot now.

[KERNEL+][Q][PIE][Treble][Nethunter][Andrax]

A project by Offensive Security
The Kali NetHunter is an Android penetration testing platform targeted towards Nexus and OnePlus devices built on top of Kali Linux, which includes some special and unique features. Of course, you have all the usual Kali tools in NetHunter as well as the ability to get a full VNC session from your phone to a graphical Kali chroot, however the strength of NetHunter does not end there. We've incorporated some amazing features into the NetHunter OS which are both powerful and unique. From pre-programmed HID Keyboard (Teensy) attacks, to BadUSB Man In The Middle attacks, to one-click MANA Evil Access Point setups, access to the Offensive Security Exploit Database... And yes, NetHunter natively supports wireless 802.11 frame injection with a variety of supported USB NICs.
AN ALTERNATIVE TO NETHUNTER
ANDRAX - A project by Weidsom Nascimento of The Cracker Technology - Advanced Pentest
ANDRAX is a penetration testing platform developed specifically for Android smartphones, ANDRAX has the ability to run natively on Android so it behaves like a common Linux distribution, But more powerful than a common distribution!
The development of ANDRAX began on 08/09/2016 (DD/MM/YYYY) only for people in Brazil.
ANDRAX has been fully redefined and reloaded on 05/10/2018 (DD/MM/YYYY) open to the international public.
ANDRAX enable to all Android device with root access enabled and a good unlocked rom become a weapon for advanced Penetration Testing.
Downloads:
For Android PIE:
[url]https://sourceforge.net/projects/nethunterkernel-z2plus-pie/files/[/URL]
For Android Q:
https://sourceforge.net/projects/nethunter-andrax-android-10/files/​
GUIDE:​1.Simply flash it through TWRP ,clear cache and reboot
It will take around 10-15 mins to boot..
2.For the rest guide on how to install nethunter and all ,you can easily find it on google
OR
Refer to:[url]https://forum.xda-developers.com/lenovo-zuk-z2/development/kernel-kali-nethunter-t3813746[/URL]
IF ANYONE FACES TWRP "ERROR 1" WHILE FLASHING THE ZIP FILE
Flash this TWRP(V 3.2.3) by kubersharma and flash the zip
NOTE: This TWRP is only for those ROM users who have mounted /vendor as /factory partition.
If you do not belong in this category ,simply flash vendor to factory.zip and then flash this twrp.​
https://www.androidfilehost.com/?fid=11410963190603913223
Disclaimer:
This Kernel was tested only on Arrow OS 9.0 ROM only.***It works "ALMOST" almost on any ROM now.***
"I WONT BE RESPONSIBLE FOR ANY BRICKED,DAMAGED PHONES ETC. FLASH IT AT YOUR OWN RISK.
I DO NOT TAKE ANY RESPONSIBILITY FOR ANY MISUSE OF THIS KERNEL. THIS KERNEL IS TOTALLY MEANT FOR SECURITY PENTESTING."​
WHATS WORKING?​Wifi Injection and monitor mode​
Bugs:​1.HID (because currently there is no patch available for 4.4.X Kernel.So anyone interested to create the patch message me)
2.You tell me.​
Credits:​Offensive Security, Andrax
@Atharva Ambre[AT]
@faizauthar12
@kenny3fcb
@kubersharma
@frap129(For spectrum support)
#teamfirangi(Bubblewrap)​
XDAevDB Information
Kali Nethunter, Kernel for the Lenovo ZUK Z2 (Plus)
Source Code:https://github.com/theimprobableoneATSH/nethunter
Source Code(Bubblewrap):
[url]https://github.com/theimprobableoneATSH/kernel_bubblewrap_4.4[/URL]
For Android 10:-
Source Code:https://github.com/VarshankDhiman/kernel_zuk_msm8996
Status: Stable
Beta Release Date: 2019-02-26
Latest release: 2020-04-26
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Initial Release:
-Test build : Have enabled Wifi modules for Ralink,Realtek and Atheros(partial support for ath9k_htc based chipset based i.e. monitor mode works problems faced during injecting packets)
V2 Release:
-Fixed Atheros(ath9k_htc based) partial support. Now it works completely fine with atheros chipset based cards
Eg: Tp link 722N.
-USB Modem -CDC ACM support is available for Proxmark and Similar devices
V3 Release:
-Updated to latest CAF kernel version 4.4.176 for the latest Arrow build.
-Bug fixes.
-Improved Stability
Reserved pt.2
Due to various changes in new version of kernel 4.4.X , the kernel might not work as expected or you may face bugs.Be sure to report it!
Finally Nethunter is back to life. Thank You Dev for this update. Make this kernel as stable as BubbleWrap. :good: By the way, zuk z2's internal wifi adaptor work in monitor mode or I have to use evternal wifi adaptor?
ChetanLokhande said:
Finally Nethunter is back to life. Thank You Dev for this update. Make this kernel as stable as BubbleWrap. :good: By the way, zuk z2's internal wifi adaptor work in monitor mode or I have to use evternal wifi adaptor?
Click to expand...
Click to collapse
External adapter
Internal is not supported.
Yes the next update will be available maybe by this weekend which might fix all the major issues.
Could you push repo with commit history?
Star_king12 said:
Could you push repo with commit history?
Click to expand...
Click to collapse
Yes my apologies. I didnt had any commit history i will add it shortly
hey! I'm not into this nethunter thing but i want to start, can anyone help me where can I start because I want to use this kernel!
Installation stuck when trying to install nethunter apk. Kernel installs and boots
Artap~ said:
Installation stuck when trying to install nethunter apk. Kernel installs and boots
Click to expand...
Click to collapse
You should flash this through Magisk Manager not TWRP
Under modules section and add this zip file and reboot.
Atharva Ambre[AT said:
;79011418]You should flash this through Magisk Manager not TWRP
Under modules section and add this zip file and reboot.
Click to expand...
Click to collapse
Ok ty so much
the_harsh said:
hey! I'm not into this nethunter thing but i want to start, can anyone help me where can I start because I want to use this kernel!
Click to expand...
Click to collapse
First learn linux basic commands and how to use it , become familiar with the linux OS and CLI (Debian is a good start or maybe ubuntu)then u try to learn kali linux and its tools. This kernel will help only with wifi pentesting. But u must first how to use it..
Pro tip: Dont use this kernel for any bad purpose. I and Offensive Security do not take any responsibility for any misuse . It comes with absolutely no warranty. So any misuse willl be treated as illegal. Its absolutely for security pentesting.
#Build 2 is up!
https://sourceforge.net/projects/nethunterkernel-z2plus-pie/files/
Changelog is present in post #1
Atharva Ambre[AT said:
;79016363]First learn linux basic commands and how to use it , become familiar with the linux OS and CLI (Debian is a good start or maybe ubuntu)then u try to learn kali linux and its tools. This kernel will help only with wifi pentesting. But u must first how to use it..
Pro tip: Dont use this kernel for any bad purpose. I and Offensive Security do not take any responsibility for any misuse . It comes with absolutely no warranty. So any misuse willl be treated as illegal. Its absolutely for security pentesting.
Click to expand...
Click to collapse
aye captain ! no harm will be caused to anyone. it's only for education purposes. I'll use it for penetration testing of my WiFi only! ?
---------- Post added at 06:13 AM ---------- Previous post was at 05:49 AM ----------
one guide on how to uninstall it completely would also help alot!
Atharva Ambre[AT said:
;79016407]#Build 2 is up!
https://sourceforge.net/projects/nethunterkernel-z2plus-pie/files/
Changelog is present in post #1
Click to expand...
Click to collapse
Fking love this project.
Deleted
the_harsh said:
aye captain ! no harm will be caused to anyone. it's only for education purposes. I'll use it for penetration testing of my WiFi only! ?
---------- Post added at 06:13 AM ---------- Previous post was at 05:49 AM ----------
one guide on how to uninstall it completely would also help alot!
Click to expand...
Click to collapse
Uninstall what kernel or Kali nethunter?
If u r speaking of kernel simply extract the boot.img from ur ROM zip
And den boot into twrp and select Install Image and den flash it under boot section.
Also make sure to resintall the Magisk if u r gonna need root back again(since it reverts all the changes)
Or else simply clear cache and boot
I would like the kernel testers out there for their feedback!
Any bug report etc..
Atharva Ambre[AT said:
;79021175]Uninstall what kernel or Kali nethunter?
If u r speaking of kernel simply extract the boot.img from ur ROM zip
And den boot into twrp and select Install Image and den flash it under boot section.
Also make sure to resintall the Magisk if u r gonna need root back again(since it reverts all the changes)
Or else simply clear cache and boot
Click to expand...
Click to collapse
Dirty flashing rom won't work?
BTW spectrum is working for me. I can change profiles and all, not sure how. Im on pixys and came from bubble wrap.

[ROM][GNU/Linux][OTA][3.4.0.24] Sailfish OS for OnePlus 5

This work is released under the permissive MIT license.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(click above image for higher resolution and quality images!)
Code:
#include <std_disclaimer.h>
/*
* I am NOT responsible for data loss, you getting fired because the alarm app failed or if you brick
* your device. Please do some research if you have any concerns about features included in this OS
* port before flashing! YOU are choosing to do these modifications, and if you point the finger at me
* for messing up your device, I will laugh at you.
* BOOM goes the dynamite!
*/
Hello, fellow XDA developers & users alike!
I think it's been long enough that we've not had alternative non-Android operating systems in a usable state for the popular OnePlus 5* devices, so here is a Sailfish OS port after over 6 months in development!
I'd really appreciate it if you give feedback and report bugs so I can attempt to fix them as best I can
Features
Slick and clean Sailfish OS UI/UX
Fully gesture driven navigation of the OS (physical back buttons may or may not work depending on the app)
Ambiences: a combination of system background, primary UI colors, sounds & volume levels
Sleep mode gestures e.g. double-tap to wake, music controls, 'V' for toggling flashlight etc
Ability to control configurable ambiences with the notification slider
Independent & alternative OS not based on Android (droid base is only used for drivers & HAL in SFOS)
Run regular GNU/Linux (armhf) tools and utilities natively out of the box from Jolla, OpenRepos, other custom repositories or direct binary format
Privacy-first OS with no spyware or bloatware pre-installed
Dual-booting between LineageOS & Sailfish OS with a simple zip flash in recovery (boot-switcher, linked below)
OS version OTAs, look at the merproject wiki page (see 'OTA updates' below)
A stable hardware adaptation (port) with basically everything working, but please also read about the problems right below
And more to explore...
Problems
No Android apps (APK) will run inside Sailfish OS as is the norm with community ports; you can just dual-boot with LineageOS (see FAQ below)
There is no VoLTE / VoWiFi support in SFOS (see FAQ below)
Even though NFC works, it's implementation is quite basic in Sailfish OS currently
Produced video recordings from the camera are unusable right now due to corruption of the beginning in recordings & artifacts when moving even slightly
Flashlight misbehaves for picture taking by taking too long to activate and causing nearly pitch black images (it also turns on/off rapidly a few times when disabling)
Some audio does not get routed properly to/from (Bluetooth) headsets
Sailfish OS Developer mode (SSH via USB cable) doesn't work
Rarely waking up from sleep mode can take a long time (up to about 15 seconds)
How to install
Backup all your data from the device to a computer
Download Pie Firmware 9.0.11, TWRP 3.4.x image, the LineageOS 16.0 base ROM & a Sailfish OS release
Install device firmware version 9.0.11 (not the ROM!)
Flash TWRP 3.4.x as your recovery
Reformat /data to ext4 and check it for issues
Reboot to recovery
Wipe cache & dalvik
Flash LineageOS 16.0
Flash anything else you normally flash for Android e.g. GApps, Magisk, no dm_verity etc
Flash Sailfish OS (the zip that contains rootfs.tar.bz2) from inside CI artifacts archive
Reboot and enjoy!
You can also flash my boot-switcher zip (or switch between hybris-boot and droid-boot images created on /sdcard) afterwards for simple dual-booting of the 2 operating systems!
Links & source
sailfishos-oneplus5: All project repos & source
important: Info and detailed guides about flashing, self-building etc
android_kernel_oneplus_msm8998: The used kernel source
sailfishos.org: General info about the OS as well as contributing, translation, app development etc
Changelog
wiki.merproject.org: Place with general info about the port status, OTAs etc
droid-config commits: Stuff modified on the Sailfish OS side
OTA updates
See "OTA (Over-the-Air) update" section under the libhybris adaptation wiki page.
Special thanks to
@kimmoli for gesture-daemon & triambience
@nathanchance for maintaining the OP5 linux-stable merged kernel tree
@Mister_Magister, mal, r0kk3rz, @rinigus, @PiggZ, spiiroin, jusa, vknecht, NotKit and everyone else at #sailfishos-porters
The port was made possible thanks to you all!
FAQ
What does "SFOS" mean?
Sailfish OS; it's simply a common abbreviation.
Can I run [insert name here] Android app in Sailfish OS?
If there is no currently maintained client or similar app in the Jolla Store or (my preference) OpenRepos, then probably not. I may look into bringing Android app support via Anbox or similar project much later on; no ETAs.
Does VoLTE or VoWiFi work in Sailfish OS?
As of SFOS 3.4.0, these are still not implemented, but should be coming later in perhaps Sailfish OS 4.
How can I skip the SFOS beginner tutorial?
Tap each corner of the screen once starting from top-left going clockwise.
I found a bug, what can I do?
See "Report bugs" section under the libhybris adaptation wiki page.
XDA:DevDB Information
[ROM][GNU/Linux][OTA][3.4.0.24] Sailfish OS for OnePlus 5, ROM for the OnePlus 5
Contributors
deathmist
Source Code: https://github.com/sailfishos-oneplus5
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: 9.0.11 (Pie)
Based On: LineageOS 16.0
Version Information
Status: Stable
Current Stable Version: 3.4.0.24 (Pallas-Yllästunturi)
Created 2020-01-17
Last Updated 2020-12-10
Reserved
I'm inside thanks area! Thanks!
Congratulations! If you bump libhybris (https://build.merproject.org/package/show/nemo:testing:hw:oneplus:cheeseburger/libhybris) to the current version (0.0.5.34), Flatpak support should be available as well.
Added to the OnePlus 5 Index Thread here.
Thanks for developing this. If no APK's work, how are we supposed to use the apps we use in Android?
After usuing it i will add snap .. thanks a lor for new rom
pleomaxell said:
Thanks for developing this. If no APK's work, how are we supposed to use the apps we use in Android?
Click to expand...
Click to collapse
Depends on the app really. WhatsApp, Snapchat etc are an absolute no-go since they are very much against any kind of 3rd party clients and any & all work on those in OpenRepos hasn't even been started or has been discontinued.
For Telegram however there are clients like Depecher and Telegra'me (both depend on tdlibjson, install this first if you're gonna try them out!), but they also aren't perfect due to only a few people usually (or sometimes just one person) working on the projects on their free time instead of a big corporations putting in the work.
If you only need a select set of applications/games infrequently, the dual-boot setup may just work for you.
Otherwise read the FAQ.
Added to OP5 channel on telegram here: t.me/op5_files/1508
deathmist said:
Depends on the app really. WhatsApp, Snapchat etc are an absolute no-go since they are very much against any kind of 3rd party clients and any & all work on those in OpenRepos hasn't even been started or has been discontinued.
For Telegram however there are clients like Depecher and Telegra'me (both depend on tdlibjson, install this first if you're gonna try them out!), but they also aren't perfect due to only a few people usually (or sometimes just one person) working on the projects on their free time instead of a big corporations putting in the work.
If you only need a select set of applications/games infrequently, the dual-boot setup may just work for you.
Otherwise read the FAQ.
Click to expand...
Click to collapse
Thanks for the clarification.
There has been a long-standing issue with NFC always getting re-enabled after a reboot in SFOS. Obviously this is not what you'd want as it causes unnecessary battery drain even when NFC is entirely unused.
This was happening due to a directory ownership issue and should be fixed in the next Sailfish OS release officially.
For now though I fixed this manually on the new uploaded Sailfish OS image (zip), BUT if you already have the OS installed (flashed build <=20200117), you can just reinstall nfcd from a terminal & toggle the option once in Settings to fix the same issue:
Code:
devel-su zypper in --force nfcd
I waited for any linux for op5 so long. Thank you! Howewer i expected something more open source like postmarket os
.
Could you walk us through how to use your dual-boot solution please?
TheZakDroid said:
Could you walk us through how to use your dual-boot solution please?
Click to expand...
Click to collapse
Could you please re-read what the link I specifically linked under "How to install" said in it?
https://github.com/sailfishos-oneplus5/boot-switcher/releases/latest
Its doesnt work!
Please do a youtube tutorial because if i do that it will not work!
Johann Beinsen said:
Please do a youtube tutorial because if i do that it will not work!
Click to expand...
Click to collapse
"Its doesnt work!" is really vague and I literally cannot help you if you don't tell me more about the issue you're having.
What doesn't work? Does it error with some message or code, then what? Did you follow each 11 steps under "How to install"? Did you flash ANY Android kernels or zips AFTER step 10?
I just reflashed my device from Pie following the instructions and got thru the initial Sailfish OS setup.
I also tested flashing boot-switcher and got through the Android setup, THOUGH seemingly without also flashing no_verity before Sailfish (maybe not needed, but I always flash this normally anyway) and wiping caches again I didn't get past LineageOS logo for the first time (may have to add this under the thread).
I've noticed the LineageOS 15.1 base ROM has an issue with the System process being unresponsive for the first minute after a boot every single time, may have to investigate that as Sailfish OS doesn't even touch /system or /vendor (and boot image is just a backup taken before hybris-boot gets flashed)...
It says Error 10. I did all the steps according to the instructions. up to the point where lineage os is installed everything works but after that nothing more!
Johann Beinsen said:
It says Error 10. I did all the steps according to the instructions. up to the point where lineage os is installed everything works but after that nothing more!
Click to expand...
Click to collapse
Error 10 during Sailfish OS flashing points to the installer not being able to extract the SFOS rootfs => said line in install script
Could you upload your /tmp/recovery.log from the device AFTER trying to install Sailfish OS using the steps to say pastebin and link it here (or send a PM)? I feel like the Sailfish archive must be corrupted or something else is wrong on your end.
Do you have telegram
Does it have to be lineage for bootswitcher to work? Can I use pixel experience?

[ROM][Official] Kali NetHunter for the Nokia 3.1 Android 9

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I present to you: Kali NetHunter for the Nokia 3.1 Android 9
The first Nokia with Kali Nethunter! (in chronological order)
Kali NetHunter is an Android ROM overlay that turns an ordinary phone into the ultimate Mobile Penetration Testing Platform.
The overlay includes a custom kernel, a Kali Linux chroot, an accompanying Android application, which allows for easier interaction with various security tools and attacks, as well as a client to the Kali NetHunter App Store.
Beyond the penetration testing tools arsenal within Kali Linux and the Kali NetHunter App Store, NetHunter also supports several additional classes, such as HID Keyboard Attacks, BadUSB attacks, Evil AP MANA attacks, and much more. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page.
NetHunter is an open-source project developed by Offensive Security and the community.
~ Prerequisites ~
- Android 9 Stock (V3.180) https://androidfilehost.com/?fid=4349826312261827395
- Universal Force Encryption Disabler - https://www.androidfilehost.com/?fid=8889791610682920239
- TWRP with fixed touch by @belkaliz - https://forum.xda-developers.com/attachments/recovery-boot_a_twrp_nokia31-20211016-0945-img.5435907/
- TWRP (no touch) unofficial - https://www.androidfilehost.com/?fid=8889791610682928997
- Magisk – https://forum.xda-developers.com/apps/magisk
- Unlocked bootloader by Hikari Calyx https://t.me/HikariCalyxFIH
~~ Downloads ~~
- NetHunter installer: https://kali.org/get-kali#kali-mobile
- NetHunter bootanimation and firmwares: https://www.androidfilehost.com/?fid=8889791610682929010
~~ How to Install ~~
Assuming you have unlocked bootloader, stock Pie (v3.180).
Please note due to the lack of device tree, my TWRP porting skills and time, we're using my TWRP with no touch. Several methods and solutions were tried by not only me without success.
I can only think of that the touch driver is being initialised from /vendor during boot.
Feel free to contribute if you make a working TWRP
You'll need an OTG cable and mouse to do one step of the following process. You'll also need a Linux or Windows PC with adb tools downloaded
- Do initial setup after unlocked bootloader - don't use wifi at setup, as you don't want OTA, they are not supported
- Plug your phone into your PC
- Turn on ADB debug in Developer Settings, then adb reboot bootloader - or do it with plug in USB when powered off and hold power + vol down
- Flash TWRP
Code:
fastboot flash boot_a boot_a_twrp.img
- Do "fastboot reboot" into TWRP (to do this, as soon as it vibrates, hold power+vol up, release power on AndriodOne logo, release vol on twrp logo)
- Use OTG mouse: Format data and reboot into TWRP
- Do adb push FBEDisabler and install it
Code:
adb push DisableForceEncryption_Treble.zip /sdcard/
twrp install zip /sdcard/DisableForceEncryption_Treble.zip
- Do initial setup, enable ADB
- Reboot to recovery,
Code:
adb reboot recovery
- Do adb push NH, Magisk, bootanimation, firmware zip and scripts (from unzipped nokia_nh.zip) to /sdcard/ and flash them.
Code:
adb push <DOWNLOADED_FILES_PATH>/* /sdcard/
adb shell
twrp install zip /sdcard/nethunter-2020.3-es2-pie-kalifs-minimal.zip
twrp install zip /sdcard/Magisk-v20.1.zip
cd /sdcard/
sh bootanimation.sh
sh firmware.sh
reboot
- Start Kali NH App and do a final reboot
- To upgrade to full Kali fs, do
Code:
apt-get update && apt-get install kali-linux-nethunter -y
~~~ Notes & Updates ~~~
Credits: The Offensive Security Team and the NetHunter community
Android Version: 9.0
XDA: DevDB Information
Kali Nethunter, Kernel & ROM for the Nokia 3.1
Contributors
@yesimxev
For bootloader unlock and general Nokia support: @hikari_calyx
Source Code: https://gitlab.com/kalilinux/nethunter
Kernel Source: https://github.com/yesimxev/android_kernel_nokia_es2
Reserved
Reserved #2
Hi there,
Thank for very much for the release and the flashing instructions. I'm wondering though if you'll be releasing the TWRP sources. Perhaps your work will help others make a release with touch support.
Cheers
ivan_the_persnickety said:
Hi there,
Thank for very much for the release and the flashing instructions. I'm wondering though if you'll be releasing the TWRP sources. Perhaps your work will help others make a release with touch support.
Cheers
Click to expand...
Click to collapse
Sorry for the late reply, I wanted to give a better code for you but I mainly used this in the above TWRP hybrid :laugh:
Built with twrpbuilder device tree generator with omni 7 source. I'm aware that 8 or 9 should have been used but it didn't build successfully for me.
https://github.com/yesimxev/android_device_nokia_ES2_sprout/
twrp.fstab is with with system_a vendor_a etc now, because it was always using _b even if I was booting into _a, but I left it like that because slotselect should really work
Hey again Yesimxev, Does the Nokia 3.1 offer Wireless monitor mode? Thanks
TrillbyMcTipp said:
Hey again Yesimxev, Does the Nokia 3.1 offer Wireless monitor mode? Thanks
Click to expand...
Click to collapse
No, unfortunately it doesn't
Hello! Does the TWRP recovery work on Android 10? (I don't need the ROM, just the recovery)
Gabi_203 said:
Hello! Does the TWRP recovery work on Android 10? (I don't need the ROM, just the recovery)
Click to expand...
Click to collapse
Not sure as this was made of and for Pie source
Hello, wanted to ask if anyone here has tried this or knows it'll work for the 3.1 Plus?
AFAIK it has a different kernel source and no TWRP, so not likely
I fixed touch in your TWRP.
belkaliz said:
I fixed touch in your TWRP.
Click to expand...
Click to collapse
You're a champ! Unfortunately I don't own a 3.1 since, but I'll try as soon as I get one again
Hi all! I guess I'm stuck on the step #1 and all other are failing. I get Error 1 when tring to install Nethunter, both full and minimal versions.
Where do I get the Android 9 Stock (V3.180)?
Марија said:
Hi all! I guess I'm stuck on the step #1 and all other are failing. I get Error 1 when tring to install Nethunter, both full and minimal versions.
Where do I get the Android 9 Stock (V3.180)?
Click to expand...
Click to collapse
Do you have android 10 now? @hikari_calyx is 3.1 downgradable to v3.180? He has the images but I don't remember
Марија said:
Hi all! I guess I'm stuck on the step #1 and all other are failing. I get Error 1 when tring to install Nethunter, both full and minimal versions.
Where do I get the Android 9 Stock (V3.180)?
Click to expand...
Click to collapse
Hello here : https://sourceforge.net/projects/fihsw-mtk/ . I downloaded, and i install in my nokia 3.1. it's a good version 9.0 pie. Is the @hikari_calix link.
Hi yesimxev, I see you are here, just a quick question. I installed your Kali nh in my nokia 3.1. I followed step by step, and every folder or zip downloaded, and installed well in my phone. But I have a problem at the end, when I restart my phone I don't have the nh app and the magisk app, just a nice screenshot, and the standard google apps. in the second to last command you say: and flash them,, but in the commands below I don't see for example: "fastboot flash boot_a /path to nethunter/".
Could you just clarify these lines of code, please.
Dooblewoops said:
Hi yesimxev, I see you are here, just a quick question. I installed your Kali nh in my nokia 3.1. I followed step by step, and every folder or zip downloaded, and installed well in my phone. But I have a problem at the end, when I restart my phone I don't have the nh app and the magisk app, just a nice screenshot, and the standard google apps. in the second to last command you say: and flash them,, but in the commands below I don't see for example: "fastboot flash boot_a /path to nethunter/".
Could you just clarify these lines of code, please.
Click to expand...
Click to collapse
I see. Flash NH means to install the NH zip through recovery
hi yesimxev, tank's for you quick reply. i do make something false, because i have the confirmation the magisk is installed, but i have not magisk in my phone ? You say "do initial setup" where ? in the twrp or in app magisk on the phone ?
Initial setup is android first start after formatting data and flashing force encryption disabler and Magisk. NetHunter can only be installed after android setup is done. And Magisk has to be started once, to finish it's setup after installed in TWRP

Categories

Resources