Giter Club home page Giter Club logo

Comments (20)

0E800 avatar 0E800 commented on July 18, 2024 1

I have a Nexus 5.
I'll test it and give you my recipe for success .

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

What I definitely know that best is to install NetHunter onto a clean install with TWRP or NetHunter-LRT. However, I did similar, and realised that there are a few ways:
If you want a fresh (reinstalled) chroot, best to uninstall the chroot from NH app, then uninstall the app and NH terminal. If you install the 2019 generic kalifs then everything should be installed. Note that the 2019.2 branch is not merged into master yet so the 2 NH apps might be still needed.

If you want to update chroot, best to use
apt-get update && apt-get dist-upgrade
Note NH apps still need to be uninstalled and updated ones reinstalled.

Both ways ensure you have custom commands backed up if there was any!

In some cases it is useful/enough to create an uninstaller and updater from here. Use the uninstaller if you need to, then reinstall everything. Otherwise, try the updater from below, if you updated chroot and need the apps done too. Might not work on some devices though.

git clone https://github.com/offensive-security/kali-nethunter.git -b 2019.2 kali-nethunter
cd kali-nethunter/nethunter-installer
./build.py -u
./build.py -g armhf -su

P.S. your old nethunter kernel is not modified, unless you reinstalled your OS. If you need to update the kernel, it can be done anytime after OS is updated

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

OKAY EDDIITT:: NEW SITUATION::

So I did a totally clean install of CM14.1 on my Nexus 5 Hamerhead, works fine, flashed Kalifs, and then flashed kernel for nougat. From the nightly build in the 2019_3 folder.

All went well and succesful BUT when I boot into my new system, it looks fine but when I try to do something in the Nethunter app it kinda crashes.

VNC manager setup goes to terminal, terminal keeps crashing..
If I try the DeAuth option from the menu with an OTG wlan adapter that is compatble my phone just reboots..

Please help I want this to work so bad, I've been waiting for a Nethunter update for waaaay too long man! =)

from kali-nethunter.

0E800 avatar 0E800 commented on July 18, 2024

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Have you tried just flashing the generic kernel and then flash magisk instead of using SuperSU and then download the Nethunter Magisk module and the wireless drivers magisk module?

On Wed, Mar 27, 2019, 3:01 AM ThirstyThursten @.***> wrote: OKAY EDDIITT:: NEW SITUATION:: So I did a totally clean install of CM14.1 on my Nexus 5 Hamerhead, works fine, flashed Kalifs, and then flashed kernel for nougat. From the nightly build in the 2019_3 folder. All went well and succesful BUT when I boot into my new system, it looks fine but when I try to do something in the Nethunter app it kinda crashes. VNC manager setup goes to terminal, terminal keeps crashing.. If I try the DeAuth option from the menu with an OTG wlan adapter that is compatble my phone just reboots.. Please help I want this to work so bad, I've been waiting for a Nethunter update for waaaay too long man! =) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1276 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AGUyhfLte5BFKh7AMreChBfY02TwwnUWks5va0FdgaJpZM4cMXNj .

What? I have no idea what you mean with flashing magisk or supersu.. That is included in the kalifs zip right?

Or am I missing a step? Please do elaborate! =)

Edit:

I downloadedthe following:

  • CM 14.1 Nougat from somewhere on XDA
  • OpenGApps from official source

from here :

  • kernel-nethunter-hammerhead-nougat-2019.03-13-0514.zip
  • nethunter-generic-armhf-kalifs-full-rolling-2019.03-13-0514.zip

Right now I have done the following:

  • TWRP is already installed
  • Wiped everything except internal storage partition
  • Flashed an official CM14.1 image designed for the Nexus 5 Hammerhead
  • Flashed OpenGApps nano
  • Booted into system and finished setup of google account wizard etc.
  • Back to TWRP and first flashed nethunter-generic-armhf-kalifs-full-rolling-2019.03-13-0514.zip
  • Then immediatly flashed kernel-nethunter-hammerhead-nougat-2019.03-13-0514.zip

Booted back into system, opened Nethunter App and gave it all the permissions it asked.
But then the above described problems occured..

from kali-nethunter.

0E800 avatar 0E800 commented on July 18, 2024

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

My instructions had SuperSU included in the nethunter generic installer zip, but yes. SuperSu and Magisk is needed for root access. To be installed after Android, before Nethunter

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Buddha say: Not wise to be scuba diver if not first learn how to swim. On Wed, Mar 27, 2019, 3:20 AM ThirstyThursten [email protected] wrote:

Sorry, not quite sure what you mean?

My instructions had SuperSU included in the nethunter generic installer zip, but yes. SuperSu and Magisk is needed for root access. To be installed after Android, before Nethunter

Okay, so if I'd start over how would you propose I proceed? Where do I get them etc.?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Your last comment about your steps are fine. But is there SuperSU installed?
If not, you can either flash it with TWRP
https://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip
Apps might need to be reinstalled.

Or build an updater:

git clone https://github.com/offensive-security/kali-nethunter.git -b 2019.2 kali-nethunter
cd kali-nethunter/nethunter-installer
./build.py -g armhf -su

and install the zip with TWRP

I'm not sure how to do with Magisk

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Your last comment about your steps are fine. But is there SuperSU installed?
If not, you can either flash it with TWRP
https://download.chainfire.eu/1220/SuperSU/SR5-SuperSU-v2.82-SR5-20171001224502.zip
Apps might need to be reinstalled.

Or build an updater:

git clone https://github.com/offensive-security/kali-nethunter.git -b 2019.2 kali-nethunter
cd kali-nethunter/nethunter-installer
./build.py -g armhf -su

and install the zip with TWRP

I'm not sure how to do with Magisk

Hi, thanks for the tip! I'm trying to do the build part now, but it turns up with an error on walrus apk. Error 404
That path it's trying to follow doesn't exist anymore, I've checked the repo of walrus..
Is there a work around, or is it located somewhere else, and can I change that path in the build.py or something? (I do know a little python)

Thanks in advance!

Edit: typos..

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

I think you can remove that line from build.py for now, seems like there are no .apks in that repo.
Can get it from GooglePlay as it says on the github readme

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Nice that went through without any errors! So I can just flash this with TWRP over my existing image? Imma try that now!
Thanks for the help! Great community here! =)
Will report back and close if it worked in a bit! =)

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Yup, try it. It would basically install SuperSU, then the apps. Make sure you delete them first to avoid any conflicts

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Okay almost fine.. xD
Now I'm missing the Terminal application.. I tried simply to do an Nmap through the NetHunter app and it said "Failed to lauch intent. Install android terminal"
I saw in the terminal on my pc when I did the build.py command you stated, that a certain Term-nh.apk was added. I think that's the Terminal but it didn't actually install it I think.. Can I get the apk somewhere and install it through android?

Thanks again for all the help! =)

EDIT:
If I try to install the TM-nethunter.apk from the 2019.2 branch from here and try to install it through Android, it doesn't work, it says it confilcts with an existing package..

What now?

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

So I'm thinking of building the whole generic kalifs thing from scratch.. I've read in the build.py it's possible with several different parameters.

So if I'd start again from scratch with the process of wiping, android flashing etc. But with my own build version of nethunter 2019.2 is there anything I should take in to account? Or any tips for a first time builder?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

I think you are missing from SuperSU or busybox. Anyway you don't really need to build if you don't have special requirements. Make it running first, then easy to modify the kernel if needed. Install android, gapps if needed, do initial setup. Inatall SuperSU - probably the unsuccesful step with first try (or Magisk if you would like that, but sure how it works).
Install latest kalifs, and kernel from build.nethunter.com/nightly you should be good to go to play with latest apks and modifications

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Okay I did a clean install like you suggested! It is rooted, it has all the apps, terminal is working BUT... yes always a but I'm sorry xD
Terminal by itself works, but if the Nethunter app does something "through" the terminal like the DeAuth functions at the bottom of the NetHunter app menu, it doesn't work, but duckhunter HID does work..
In the DeAuth when I click scan networks (I do have confirmed my otg wifi adapter is recognized and compatible as promiscious mode) it says "Nethunter has been granted superuser rights for interactive shell" But then just nothing happens..

Any ideas?
And again thanks for all the help so far!
And if I decide to run that update I build earlier again, which apps do I need to remove/uninstall manually?

from kali-nethunter.

yesimxev avatar yesimxev commented on July 18, 2024

Hmm not sure about the that, should be easy to solve by searching in closed issues. You're welcome, glad to help. To update chroot, just use
apt-get update && apt-get dist-upgrade
To update apps, make sure you backup custom commands. Delete the apps and install them manually, or by making an updater with nethunter-installer. Be careful, the latest NH app is missing a line to mount system so don't update until the next commit

from kali-nethunter.

ThirstyThursten avatar ThirstyThursten commented on July 18, 2024

Hi!
I've been reading around, found another issue threat from the Nethunter App But that is from late 2017.. So it's super old..

There must be more people having this problem..

Would it help if I build my own zips? As in build my own kernel and fs? Maybe the app? Through the SDK options somewhere on the wiki?

And could you please if I want to use an update flash zip. Like I build, (see some posts back),
Could you please tell me which specific apps I should uninstall before updating? Like NetHunter App, Terminal app etc.?

Thanks again! It is somehow working kinda now, but I want that DeAuth option so bad! =P

from kali-nethunter.

0E800 avatar 0E800 commented on July 18, 2024

Here is current Nethunter.apk and NH-Term.apk
apps.zip

from kali-nethunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.