seemoo-lab / nexmon

The C-based Firmware Patching Framework for Broadcom/Cypress WiFi Chips that enables Monitor Mode, Frame Injection and much more
GNU General Public License v3.0
2.45k stars 455 forks source link

Galaxy S8 #152

Open ozsteyr opened 6 years ago

ozsteyr commented 6 years ago

I was curious, over on XDA there are suposed bcm-4361 drivers for the S8 capable of monitor mode. If this is true would it be possible to incorporate these with nexmon. And is the S8 all that different to the S7 when it comes to drivers / kernel and nexmon?

matthiasseemoo commented 6 years ago

You can do monitor mode on all broadcom chips out of the box, but without radiotap headers. just run nexutil -m1. as i dont have a galaxy s8 i cannot test it, but if you donate one i am curious enough to get nexmon running on it, just not within the next two weeks as I have some other deadlines.

Am 25.11.2017 9:12 vorm. schrieb "ozsteyr" notifications@github.com:

I was curious, over on XDA there are suposed bcm-4361 drivers for the S8 capable of monitor mode. If this is true would it be possible to incorporate these with nexmon. And is the S8 all that different to the S7?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/nexmon/issues/152, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7uzlZGj0jPFf3saggWnzpwUC6xH3ks5s58wHgaJpZM4QqWX4 .

zargis commented 6 years ago

I have installed nextutil via the app, I ran nexutil -m1 over an adb shell and I am getting an i/o error. Is there a possible work around for this ? Would love to get my s8+ working with nexmon. Also how can i find out my chipset ? I am having issues confirming it uses the bcm-4361 chipset.

matthiasseemoo commented 6 years ago

Did you execute it with root privileges?

zargis notifications@github.com schrieb am Do., 7. Juni 2018, 02:16:

I have installed nextutil via the app, I ran nexutil -m1 over an adb shell and I am getting an i/o error. Is there a possible work around for this ? Would love to get my s8+ working with nexmon. Also how can i find out my chipset ? I am having issues confirming it uses the bcm-4361 chipset.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/nexmon/issues/152#issuecomment-395253179, or mute the thread https://github.com/notifications/unsubscribe-auth/ALP_7l1usW_DOERX1zV0onTXGHWvDUzeks5t6HDFgaJpZM4QqWX4 .

zargis commented 6 years ago

I realised I hadn't, however I have enabled root in adb by modifying adbd on my phone via chainfire app. However even when running "su -c nexutil -m1", I am getting "__nex_driver_io: error", though I am using Magisk for su (MagiskSU v16.0(1600). However it still says "sh: sudo: can't execute: Permission denied" when executing sudo, however I am not quite sure if sudo is needed on andriod based devices (not super familar with android). I am so keen to get this working. Is there anything i can provide you to help ?

zargis commented 6 years ago

I will note that I am using the NEMISIS ROM on Android 7.1.1, which is a port of the Galaxy S8 Note for the Galaxy S8 Plus. So I am not sure if that makes my phone a possible edge case. It's also using the the NEMESIS_KERNEL_S8 Kernal.

Link: https://forum.xda-developers.com/galaxy-s8/development/rom-nemesis-nougat-s8-1-0-t3594962

KuLiD commented 4 years ago

I have only recently rooted my G955F and indtalled nethunter, I seem to be having the same issue with the BCM4361. Are there any drivers compatible with the G955F/BCM4361 that i can flash to get monitor mode working? I cant seem to find any support online for the BCM4361. Its driving me nuts

JimmmerR commented 4 years ago

I have only recently rooted my G955F and indtalled nethunter, I seem to be having the same issue with the BCM4361. Are there any drivers compatible with the G955F/BCM4361 that i can flash to get monitor mode working? I cant seem to find any support online for the BCM4361. Its driving me nuts

I have an s8 with nethunter installed aswell, a g950u. Have you found a fix? I've been looking for an answer for ages but I don't think there's driver support.

fredericoschardong commented 3 years ago

I have only recently rooted my G955F and indtalled nethunter, I seem to be having the same issue with the BCM4361. Are there any drivers compatible with the G955F/BCM4361 that i can flash to get monitor mode working? I cant seem to find any support online for the BCM4361. Its driving me nuts

I have an s8 with nethunter installed aswell, a g950u. Have you found a fix? I've been looking for an answer for ages but I don't think there's driver support.

Any luck?

KuLiD commented 3 years ago

I did some digging and found that the SElinux is the problem in the kernel build. On the S8+ I cant change it to permissive to allow any commands to modify the broadcom chip, it gets blocked so the only way is to rebuild the stock kernel with the SElinux set to permissive in the script or something like and then install nethunter over that....well thats what i have concluded...

gg13656 commented 3 years ago

Hey, I have S8 and I'm currently playing around with custom ROM's and Karnels and I would like to help here because I'm interested in using Monitor mode on that phone...