Skip to content

Commit

Permalink
bcm4335b0: adjusted firmware path on phone in makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasseemoo committed Aug 9, 2017
1 parent 38d024c commit 82d42d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/bcm4335b0/6.30.171.1_sta/nexmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ install-firmware: fw_bcmdhd.bin
$(Q)adb shell 'su -c "mount -o rw,remount /system"'
@printf "\033[0;31m COPYING TO PHONE\033[0m %s => /sdcard/%s\n" $< $<
$(Q)adb push $< /sdcard/ >> log/adb.log 2>> log/adb.log
@printf "\033[0;31m COPYING\033[0m /sdcard/fw_bcmdhd.bin => /vendor/firmware/fw_bcmdhd.bin\n"
$(Q)adb shell 'su -c "cp /sdcard/fw_bcmdhd.bin /vendor/firmware/fw_bcmdhd.bin"'
@printf "\033[0;31m COPYING\033[0m /sdcard/fw_bcmdhd.bin => /system/etc/wifi/bcmdhd_sta.bin\n"
$(Q)adb shell 'su -c "cp /sdcard/fw_bcmdhd.bin /system/etc/wifi/bcmdhd_sta.bin"'
@printf "\033[0;31m RELOADING FIRMWARE\033[0m\n"
$(Q)adb shell 'su -c "ifconfig wlan0 down && ifconfig wlan0 up"'

Expand Down

9 comments on commit 82d42d4

@Systemad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my HTC one m7, the path seems to be /system/etc/firmware/fw_bcm4335_b0.bin
if you still need a bcm4335 phone to "try things", I will be available. just reply here on GitHub

@matthiasseemoo
Copy link
Member Author

@matthiasseemoo matthiasseemoo commented on 82d42d4 Aug 17, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Systemad
Copy link

@Systemad Systemad commented on 82d42d4 Aug 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthiasseemoo The bcmon firmware seems to be installed successfully, it says Nexmon firmware 2.2.1-115-gef3981-dirty under Firmware INstallation Status in nexmon app.
I'm exactly sure on how to enable monitor mode though...

@matthiasseemoo
Copy link
Member Author

@matthiasseemoo matthiasseemoo commented on 82d42d4 Aug 18, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Systemad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthiasseemoo This works great now(i think). btw, when trying airodump attack it says "no injection support available, sorry". Is this supposed to be working or have I screwed up something?

@matthiasseemoo
Copy link
Member Author

@matthiasseemoo matthiasseemoo commented on 82d42d4 Aug 18, 2017 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Systemad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthiasseemoo ah, should have read things more properly! This works great now, thank you

@ssummer1337
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am currently trying to install the patch manually and I noticed that the "backup-firmware" and "install-backup" still copies from "/vendor/firmware/". Shouldn't the backup get copied from "/system/etc/wifi/" ?

@matthiasseemoo
Copy link
Member Author

@matthiasseemoo matthiasseemoo commented on 82d42d4 Jan 1, 2018 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.