yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] sigma95:
I have the same issue. I believe that the chroot environment doesn't start. You have to manually start it after each boot(wait until the start-up scripts finish and a notification toast with "NetHunter has been granted superuser permissions" appears). Open a terminal(not nh-terminal) and issue the following commands:

su
bootkali
[Nexus 5X Android Development] TheWalkingDread:
Yeah, I think you are right about it, thank you!
[Nexus 5X Android Development] :
Using other terminal will not be helpful. Some executables like wifite dont work on other terminals. They work just fine on nh-terminal. wifite says that the program iw is not installed on other terminals, while it works fine on nh-term. Most of the time I found nh-term crashing is because I selected some color theme that won't load properly. Using white on black and havent faced a single crash.
[Nexus 5X Android Development] sigma95:
I was referring only to the bootkali command. I switch to nh-terminal after that.
[Nexus 5X Android Development] JSBmanD:
I have cyanogen mod latest snapshot. It was unrooted before kali installing, now i installed kali and supersu require update binaries but fail when i did this. What need i do to fix this? CM 13 with full kali.
[Nexus 5X Android Development] Lord_Flaya:
Just recieved my Nexus 5x and is wondering just how stable this build is? I am running stock Nougat atm, and is looking to run Nethunter alongside it.
[Nexus 5X Android Development] JSBmanD:
This isn't build. It's like some additional apps in your system that need ~2-5 gb.
[Nexus 5X Android Development] Lord_Flaya:
So you don't flash it over i.e. cm13? It's not compiled? Then I should be able to just grab the apps and run them on stock unmodified Nougat?

---------- Post added at 05:38 PM ---------- Previous post was at 05:21 PM ----------

BTW, that's sarcasm. I've been flash and modding since God knows when. I just wanted to know if it's stable and runs Good enough to be useable for my work?
[Nexus 5X Android Development] :
I have the same issue. I just ignore it, supersu works just like it should. Although on every reboot it gives me a notification to update, kinda irritating.

---------- Post added at 09:25 PM ---------- Previous post was at 09:24 PM ----------

Pretty stable, battery life on the modified kali kernel is decent enough.
[Nexus 5X Android Development] JSBmanD:
I can't say that it's single ROM.
[Nexus 5X Android Development] Lord_Flaya:
I agree. It's more of an add-on than a standalone ROM. Anyway it's a good thing to have. It could make my job way easier. A smartphone is way lighter than a laptop. ☺️
[Nexus 5X Android Development] JSBmanD:
I need to install linux-headers, but "uname -r" prints cyanogenmod kernel. Which headers I need? Do anyone know?
[Nexus 5X Android Development] ReeVestrife:
I also have the iritating thing with SuperSu binary that needs update. wont it work to just flash the latest SuperSu again?
[Nexus 5X Android Development] JSBmanD:
You can just turn off notifications of SuperSU.

Why my kernel on Android 7 was 3.10.73-kali1, and now it's 3.10.73-ElementalX on the 6.0.1? I also can't find linux-headers for this kernel.

---------- Post added at 10:37 PM ---------- Previous post was at 10:36 PM ----------

How you install drivers without headers?
[Nexus 5X Android Development] :
You need the kali kernel for things to work right. Without it, most of the tools won't work.
[Nexus 5X Android Development] JSBmanD:
Yesterday I flash stock, then root it and flash twrp. Then I flash Kali full and in the setting and uname -r print ElementalX. I didn't flash ElementalX.
[Nexus 5X Android Development] :
I unrooted before I flashed. IDK if it makes a difference, since kali relies on chroot, I read that unrooting before flashing is important.
[Nexus 5X Android Development] albysprx:
I have the Alfa AWUS036NHA that works well on pc, I just need an usb otg cable to get it working on this release?
[Nexus 5X Android Development] :
Yes
[Nexus 5X Android Development] Shiestie:
Before I left for work this morning I started building the latest versions/updates, I will upload them this evening after I get home and post the links.
[Nexus 5X Android Development] Shiestie:
Exactly what Nihad15;68541402 said, the internal network interface can't be put into monitor mode currently.
[Nexus 5X Android Development] :
Will dirty flashing over the existing installation work or will I need a clean install? BTW I do update through the terminal using the apt-get update command on a kali shell. Do the new packages include the same updates or are they any different ?

---------- Post added at 08:27 PM ---------- Previous post was at 08:26 PM ----------

[MENTION=5601774]Shiestie[/MENTION]
[Nexus 5X Android Development] Shiestie:
I actually believe I ran into the same terminal issue you did, when I went into the terminal on the kali-fs it would just crash, but the android terminal worked fine.. To be honest, I didn't really look into that much, I just reflashed the Kali install and it worked fine again, i haven't been able to recreate the problem so I haven't been able to pinpoint the problem., if you run into the problem again if you want do a twrp backup of the data and system partitions and I'll run em on a VD to see if I can find the issue, or send me your log files that'll at least give me somewhere to start
[Nexus 5X Android Development] Shiestie:
I run Kali on Nougat, what issues are your having?
[Nexus 5X Android Development] Shiestie:
I'm still working on the Kali kernel for nougat hammerhead.. But to be completely honest I haven't had a ton of free time to work on it so it's not coming along super fast, plus my Nexus 5 recently met a few car tires and pavement so I have no way of testing the kernel other than on a Virtual Device so commiting changes, compiling the kernel, then finding someone to test it, then getting then to send me the logs, comb through the logs for the problems, fix the source code, commit changes, etc, etc, etc has made development come to a crawl =/
[Nexus 5X Android Development] TheWalkingDread:
Well the issued was resolved using the method posted in #33 http://xdaforums.com/showpost.php?p=68706642&postcount=33.

The fix is not permanent so every time I need the terminal or an application needs terminal, I have to open an android shell, type

su && bootkali

or it will crash.
[Nexus 5X Android Development] nihad15:
Oh, totally understand (that poor hammerhead got run-over :crying:)

Take your time. It's not like we pay you or anything lol
[Nexus 5X Android Development] jbhall56:
Phone Hangs On Boot

I installed the NetHunter Nougat build for my Nexus 5X and my phone hangs when I reboot after installing the image. Just sits at the Google screen (the non-animated one with the unlocked lock) and never goes any further. I'm using the September Nougat Build (NRD90S) that has been rooted with SuperSU.

The steps I took to build it are as follows.

1. Flashed my phone with the NRD90S build.

2. Configured Nougat and ran updates of software and Play.

3. Routed phone with SuperSU.

4. Installed TWRP, booted to recovery mode and copied NetHunter onto phone.

5. Installed NetHunter under TWRP.

Any ideas on what I may have done wrong?
[Nexus 5X Android Development] drpancake:
Here are the steps i did to get it working perfectly. I haven't run into any problems issues been using for the past few days.

Factory Reset in TWRP

Wipe>Advanced>check System,Data,Dalvik, and Cache

Stay in TWRP > Mount and put CM13, Gapps, BusyBox, and SuperSU in TWRP folder

Install CM13, Google Apps, Busybox, and SU through TWRP

Reboot phone go through setup

Open and install BusyBox

Open and run SU

Reboot to TWRP

(Dirty Flash) by Installing the NetHunter Marshmallow full in TWRP.

Reboot and hopefully it should work and you will have CM13 with NetHunter

Open NetHunter app and it should start giving you pop ups asking for root permissions - accept them all

Again, this is what I did and its working fine for me hope it works for you if you try it.

I still have SuperSU notification to update binaries but I see others have that problem too I just ignore it.
[Nexus 5X Android Development] m4ssnet:
I will be honest, I really don't trust install this together my daily driver rom...

I've tried the full version (all seems ok and working at most), the minimal version it didn't work for me (added the modules, but they won't install correctly).

Wifite for example works with external usb card.

I think i will setup as secondary rom, hope it will be fast and without issues...
[Nexus 5X Android Development] jbhall56:
Was Hoping To Run Nougat Not Marshmallow

I had NetHuner installed on Marshmallow with a problem getting it to root properly. But what I really wanted was NetHunter running on Nougat.
[Nexus 5X Android Development] Shiestie:
Don't root the phone, the Kali install roots the phone..

So try flashing the nougat firmware, boot phone and finish the Android setup. Then flash the twrp recovery, and then flash the Kali install. Try that and let me kno if it still hangs on boot. Also, it will take a minute or two on the first boot as it loads the Kali files and all for the first time, so don't worry if it takes 2-5min the first boot, but it should at least get to the boot animation (after the Google logo).

If it still hangs, boot into recovery and save the log file and if you can send it to me so I can check if there is anything wrong in the recovery logs.
[Nexus 5X Android Development] jcadduono:
Just found this thread in a Google search, excellent job. Are you planning on merging this into the official repository?

You can send us a pull request at https://github.com/offensive-security/nethunter-devices/pulls at any time.

Neither I nor binkybear have the 5X so it's a challenge to maintain, so we do appreciate if people want to step up and maintain their devices, especially so we can put our time into adding other new devices or adding features to the NetHunter apps.

By the way, I'd like to add that users are free to choose their own rooting methods - we encourage it, especially since SuperSU is not GPL compliant. I'd prefer to include phh's superuser in the installer instead, alas, it's not as versatile and compatible across all devices. :(

To choose your own root method, all you have to do is open the zip in an app such as 7-zip and remove supersu.su - it's that easy!
[Nexus 5X Android Development] nihad15:
Stupid unrelated question

Are you gonna officially support/make hammerhead nougat zips even though it's no longer maintained by Google?
[Nexus 5X Android Development] :
Oops no mirrors

Can you upload the full nougat zip again to androidfilehost? I would appreciate it.
[Nexus 5X Android Development] zopsi:
Same issue. Please upload latest release again when you get a chance. Thanks
[Nexus 5X Android Development] drpancake:
ditto
[Nexus 5X Android Development] Thargorsson:
Ej guy,

thank you for compiling.

Just a little question, could you add fauxsound feature to the kernel?

I dont know how and actually im switching between two boot.img since i wanna use viper4android.

Thanks in advance.

P.S. by the way see this link https://idlekernel.com/nethunter/nightly/3.15.2-20161002-0200/
[Nexus 5X Android Development] jbhall56:
Giving Up On Nougat

I tried a few more times with no luck. The phone just sits at the Google screen and never goes to boot to Android. I've tried everyone's suggestions. I'm going to put it up on Marshmallow I guess and the upgrade from that to Nougat. The problem I had with Marshmallow was that NetHunter did NOT root the phone and I couldn't get SuperSU to install properly to correct that problem.

---------- Post added at 05:15 PM ---------- Previous post was at 04:32 PM ----------

The download site is saying there are no mirrors found for all of your builds. :(
[Nexus 5X Android Development] Aditya3693:
nethunter-bullhead-nougat-kalifs-full-20160928_182424.zip (AndroidFileHost) unable to download when I click the link to download it was showing like no mirrors found plz update the link ASAP !
[Nexus 5X Android Development] Shiestie:
I'll reupload the nougat full zip, right now..
[Nexus 5X Android Development] Shiestie:
I reuploaded and set the new link in the OP. Try Downloading again please.
[Nexus 5X Android Development] Shiestie:
I'm reuploading all the zips, as we speak.. So hopefully by the time you read this reply all the links should be working again.

I'll toy around with things to see if I can find a fix for you.
[Nexus 5X Android Development] :
Still no files to download. Did you notice there is/was a bug uploading multiple files on AFH ?

Thanks for the effort though :)
[Nexus 5X Android Development] Shiestie:
I could help maintain the 5X/bullhead for nethunter.. I don't really have time to do a nightly build, unless I write a script to do it.. But I can def. do at least a weekly compile and build.. I'll send a pull request on github from my Linuxbox if a few.
[Nexus 5X Android Development] jcadduono:
We do nightly builds ourselves based on what's in the repository. If you were to maintain, you would only have to push new device folder updates when you feel it is necessary, ex. device folder no longer works when flashed on latest firmware of device.

If you do take interest, feel free to contact binkybear in #nethunter on freenode IRC.
[Nexus 5X Android Development] albysprx:
Hi, what I need to do before flashing? I installed it on chroma and the device doesn't boot, then I wiped everything, flashed chroma -> elementalx -> gapps -> kali and the device doesn't boot...

I wiped everything again and installed the rom without kali and it works without kali
[Nexus 5X Android Development] Shiestie:
Have you booted into the device after flashing the rom, gapps, and ElementalX Kernel? You need to complete the setup on first boot before flashing kali
[Nexus 5X Android Development] Shiestie:
Sounds good, I can definitely do that.. I'll hop on freenode after work tmrw and get ahold of binkybear.
[Nexus 5X Android Development] albysprx:
yes because I was on chroma from months the first time that I flashed kali
[Nexus 5X Android Development] sigma95:
The link for nethunter-bullhead-nougat-kalifs-full-20160928.zip is the same as the one for nethunter-bullhead-marshmallow-kalifs-full-20160928.zip

I think that the link for nethunter-bullhead-nougat-kalifs-full-20160928.zip is https://www.androidfilehost.com/?fid=385035244224382416 with md5: 4aacc3230061069a3224a28f61389169
[Nexus 5X Android Development] Thargorsson:
Ok just another request as my Last hasnt been answered.

Is it possible to get all ElementalX features along with metasploit's database? Actually it throws me this error as in the pic.

R in other words could you adapt fauxsound mod to the net hunter kernel? That would be great.
[Nexus 5X Android Development] Thargorsson:
OK some info:

I'm running on:

Nougat 7.0 October update NOT September.

Installed Tupiac4u rom (is lighter than stock)

Installed full Kali Chroot package my own nightly build from 03.09.2016 (Also tried you're zip but same error anyway)

Postgresql IS NOT running.

It seems that the localhost server isn't responding
[Nexus 5X Android Development] sloeberiaan:
---------- Post added at 09:02 PM ---------- Previous post was at 09:01 PM ----------

[/COLOR]

Could you tell me how you go to this point?

I have a Nexus 5X, OTG cable, TP link adapter same as you.

However, after installing the build, when I use wifite, or anything else using the adapter

in monitor mode, it gets kicked out of monitor mode after just a a couple of seconds...
[Nexus 5X Android Development] zyklon11:
Is there another way to flash the nethunter rom without MultiRom manager? I am running nougat on my nexus 5x and it says it is unsupported.

*update*

nevermind, I just flashed via recovery
[Nexus 5X Android Development] Lord_Flaya:
Well I think this will be postponed until multirom, xposed and the nethunter itself is a bit more stable and compatible with Nougat. Really love this and will follow this project closely.

Keep up the good work. :)
[Nexus 5X Android Development] Thargorsson:
EJ MAN THIS IS THE THIRD POST I MADE.

I GOT A ****ING PROBLEM AND YOU JUST DONT REPLY.

When running net hunter with ElementalX Kernel it seems that the postgresql server us not running probably. It seems to be a problem with the kernel. The init.rc does not includes the nethunter.rc which leads to not load any services. But when manually fixing it (adding it to the init.rc the phone hangs on the Google logo. (Seems to be a problem with ElementalX with net hunter script) So how can I fix it?

Just a little reply would be ****ING awesome since nobody even replies to me.
[Nexus 5X Android Development] jbhall56:
I tried again this AM and it sat for more than 20 minutes before I booted back to recovery mode and backed up the log which is attached. Any help would be appreciated. Thanks.
[Nexus 5X Android Development] :
Get a new OTG cable? try ifconfig or iwconfig and see if you have 3 options (adapters) or not. You can also try plugging in and issuing a command from nh-terminal " ifconfig wlan1 up" at this point the green light should be on. Then reboot the phone without removing the otg. when you reboot your primary adapter should be the external adapter and the internal card as the secondary. Then try wifite.
[Nexus 5X Android Development] sloeberiaan:
Thanks mate got that working! Now I applied some patches to get wifite working, however, capturing handshakes doesn't work for me, it says it captured one, but when I try to actually open it, it's just an empty file.

Can't convert to .pcap or anything either. Does that work for you? The orginal wifite doesn't capture handshakes at all for me, just keeps looping.

---------- Post added at 04:30 PM ---------- Previous post was at 04:27 PM ----------

Btw the full nougat link is pointing to the marshmallow link instead, if you could fix this please?

Meanwhile for those who need it the link is: https://www.androidfilehost.com/?fid=385035244224382416

Thanks
[Nexus 5X Android Development] :
I never was able to capture a handshake, some kali forums pointed out that there is a bug in wifite, so I tried manually and still failed. Even on a full kali desktop installation I am not able to get hold of a handshake, tried different targets. Finally I settled down and tried other stuff like mana rogue AP, Evil twin, msfvenom etc.
[Nexus 5X Android Development] Thargorsson:
Guys did anyone ever read my posts?

If so even a reply would be great.:confused:

For Those who didn't know some Kali services failed to boot after installing ElementalX kernel. The problem seems to be in the included scripts from the init.rc or the kernel does something other when just flashing the full Kali boot.img.
[Nexus 5X Android Development] sigma95:
Is Nethunter terminal working properly? I've had some issues with it because bootkali was missing (see a few pages back) and a lot of thighs weren't working because of that. You could post some logs and maybe someone more knowledgeable can figure out the problem.
[Nexus 5X Android Development] Thargorsson:
Yep working but the problem seems to be with the kernel. I've tried reflashing the old ramdisk and all features worked fine. I would send some logs but how?

---------- Post added at 06:19 PM ---------- Previous post was at 06:18 PM ----------

But wait boot Kali is missing on normal terminal

---------- Post added at 06:21 PM ---------- Previous post was at 06:19 PM ----------

Edit nope boot Kali command didn't fixed it

---------- Post added at 06:21 PM ---------- Previous post was at 06:21 PM ----------

Postgresql server is still offline
[Nexus 5X Android Development] sigma95:
I think you could post a dmesg as your issue is related to the kernel.
[Nexus 5X Android Development] teknojeewes:
Ok, i got everything working and nicely set up. Now i want to uninstall nethunter from my phone. Im using PureNexus and flashed marshmallow full on top of it.

I downloaded the uninstall nethunter zip and it goes thru saying nethunter uninstalled but its still in my phone. Boot animation, apps, etc.

Please help.
[Nexus 5X Android Development] silentmanww:
Thank you very much for compiling these packages. One quick correction, the link for the full nougat build points to the marshmallow package. I found your nougat full package under your androidfilehost user account though and I'll install it later today to test. Thanks!
[Nexus 5X Android Development] Thargorsson:
Jep I've noticed that too

---------- Post added at 07:23 PM ---------- Previous post was at 07:22 PM ----------

Only the Kali chroot will be uninstalled you have to delete all apps on your own also nethunter won't backup your boot animation so it cannot restore it.
[Nexus 5X Android Development] Elcivor:
Hello guys. My first post here.

I've got the problem with the Kali terminal giving the "no title" error and closes.

I've tried using a different terminal and using the commands

but get the error:

How do I fix this one?

I've read the previous pages but it seems it's a little bit different problem. I've also searched google and checked if the symlinks were correct and they were.

EDIT: Completely forgot to mention what I use....

I use CM13 latest snapshot.

I also reinstalled the chroot inside the app.
[Nexus 5X Android Development] biossone:
i'm not sure if i have understood all.

I'm on xTrasmooth MTC20F and ElementalX, can i simply flash the zip?
[Nexus 5X Android Development] pairedprototype:
Hasn't worked on the first try, but did on the second after using the correct zip

Just installed it over my complete stock Nougat install other than rooting and installing TWP as the prerequisites for installing Nethunter on my Nexus 5X.

I used the full chroot install and installed that through TWP using ADB sideload.

The phone now only boots into recovery.

From the device's current state I'm going to install the full chroot again, however I'm going to move the zip to the phone and install from there instead to see if it makes a difference.

I'll update this post with my findings.

Just noticed this reply. That might explain why it's not booting :D I'll give this package a go :) I don't know how I didn't notice it on the download page...

For anyone else passing through, the correct full chroot nougat zip link.

Flashing the correct one over the wrong one worked fine. Device has successfully booted. I shall now have a look around :) Thanks OP.
[Nexus 5X Android Development] ReeVestrife:
Hi, I was on Marshmallow, then flashed stock Nougat with fastboot, then flashed nethunter.

Now i wanted to flash stock Android 7.1 preview, but suddenly fastboot is not recognizing my device anymore.

Is it at all possible that Nethunter somehow influenced my Fastboot?

I am googling and i cant find any other nexus 5x owner that recently suddenly have a fastboot problem ? Fastboot was working fine before, using the same windows pc.

Any help, or pointers in any direction will be greatly appreciated!

Thanks
[Nexus 5X Android Development] Kaisar Reagan:
Any update for hammerhead nougat with nougat kali kernel? Santosh already build a nougat rom for hammerhead which is working flawlessly.
[Nexus 5X Android Development] JSBmanD:
How can I setup connection to WiFi with GUI?
[Nexus 5X Android Development] NullFunction:
Solved?

I had the same problem at 7.1.1, i solved it using the debian adb and fastboot it's not that hard using liveboot but i get that this is not an option for everyone
[Nexus 5X Android Development] Lossyx:
Edit: nevermind
[Nexus 5X Android Development] Thargorsson:
Nope its the kernel. Ive this problem too but with metasploit framework not working properly
[Nexus 5X Android Development] MafiaBoy98:
Nexus 5x 7.0 Nethunter

So I have a rooted nexus 5x 7.0 phone I have a couple questions I want to get Nethunter. I'm a little new to this ok so I have Nexus root toolkit just to make sure all I gotta do is go to advanced utilities and use the tool flash zips and use the zip file I downloaded. If that's correct is there any precautions I should take before hand? And one last thing this shouldn't mess up my carrier googlefis network right? Thanks for any replies.
[Nexus 5X Android Development] MafiaBoy98:
Never mind figured everything out google fi still works