kimocoder / qualcomm_android_monitor_mode

Qualcomm QCACLD WiFi monitor mode for Android
https://www.aircrack-ng.org
291 stars 51 forks source link

Modification of my old driver #15

Open iamcharanrajjj opened 4 years ago

iamcharanrajjj commented 4 years ago

@kimocoder Needed instructions to patch the enable_monitor_mode.patch to my driver

arunbiju969 commented 4 years ago

Use kali nethunter kernel builder

iamcharanrajjj commented 4 years ago

@ArunBiju I patched the kernel and I got an error in the patch file during kernel patch

Anyway the kernel patching is done and on monitor mode enable cmd my device reboots and leaves wlan0 to managed mode

arunbiju969 commented 4 years ago

Which is your kernel version, device? And what were the errors?

Thiviyan commented 4 years ago

@iamcharanrajjj this happens on most of the LOS sources.. the only way you can fix this is by merging your qcacld drivers with Q-Tag. with this method Initial merge:

git remote add qcacld-3.0 https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0

git fetch qcacld-3.0

git merge -s ours --no-commit --allow-unrelated-histories FETCH_HEAD

git read-tree --prefix=drivers/staging/qcacld-3.0 -u FETCH_HEAD

git commit

Updating to a newer tag:

git fetch qcacld-3.0

git merge -X subtree=drivers/staging/qcacld-3.0 FETCH_HEAD

Repeat the above for qca-wifi-host-cmn and fw-api as well. qcacld-3.0 source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0 fw-api source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/fw-api qca-wifi-host-cmn source: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn