New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nexmon crashes on fresh install on Kali Nethunter Nexus 5 #397
Comments
I'm having the same issue on my Nexus 5. Here's a bit more context for my case. Device model: Nexus 5, D821 adb logcat when the crash happen:
|
I too am having this problem; though on a different device and OS. Device: Nexus 7 2012 (tilapia) Nexmon crashes when pressing the 'GRANT ROOT, PERMISSIONS & CHECK INSTALLATION' button and the same BufferUnderflowException appears in logcat. I can't claim to know Android development, but I traced the code back for nexmon/app/app/src/main/java/de/tu_darmstadt/seemoo/nexmon/utils/FirmwareUtil.java Lines 25 to 28 in 456923f
nexmon/app/app/src/main/java/de/tu_darmstadt/seemoo/nexmon/utils/Nexutil.java Lines 189 to 190 in 456923f
nexmon/app/app/src/main/java/de/tu_darmstadt/seemoo/nexmon/utils/Nexutil.java Lines 85 to 87 in 456923f
nexmon/app/app/src/main/java/de/tu_darmstadt/seemoo/nexmon/utils/Assets.java Lines 49 to 87 in 456923f
It seems like it isn't able to find I also get 'Permission denied' errors in logcat when attempting Menu > Tools > tick nexutil > Install Binaries and Libraries. May be worth checking that too. I pulled the APK and unzipped it and couldn't find any binaries/executables in the assets folder. After finding an old APK at seemoo-lab/bcm-public/tree/master/androidstudioprojects/Nexmon/app I unzipped that and did find a I don't know if Nexmon downloads these files or similar in the newer version of the app, so can't say this is the actual issue. How is this just an issue now, seeing the APK from the Nethunter Store was released 2019-07-01? This may all be completely off the mark, I don't know enough. Edit After copying the nexmon files from the old APK back onto my device and
Attempting a |
I am also having this issue on Nexus 7 2013 Android 6.0.1. |
Previous issues indicate that it's probably best to go all out and build from source: I grabbed a copy of the 2.1.3 APK from the web and unzipped it. I put the assets/nexmon contents into the Installing the older version from downloaded APK didn't have these issues, but I wasn't able to get it to install the correct firmware for my device. Considering this is distributed in the Nethunter Store and the changelog on the app page says "Built for the NetHunter App Store" I'm guessing this is actually a build issue on the NetHunter side of things and building from source straight from this repository would get better support. I've also got a Alfa AWUS036NEH on the way, so will not likely pursue this any further. |
@ctrl-freak |
Trying an old APK (2.1.3) kind of works, but it makes compatibility issues with other tools because of different versions of FW and tools. |
Thanks for testing what I didn't have time to verify.
Kind of works is better than not at all! I will try this if I ever get some spare time again. |
This is still unsolved ? |
I'm not sure if I'm doing something wrong but this is a completely fresh install on Kali Nethunter on a Nexus 5 (which I've done several times before and is otherwise working).
When I install Nexmon from the Kali store version and attempt the "start" phase on first opening, root is granted and then the app just crashes giving the error "Unfortunately, Nexmon has stopped". After opening a second time (in case the lack of initial root was the issue) it does it again and every time after.
Should I be using a different version?
The text was updated successfully, but these errors were encountered: