Skip to content

Commit

Permalink
Add more paths && Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsmh committed Jan 19, 2018
1 parent 062e7dd commit a473311
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
9 changes: 6 additions & 3 deletions META-INF/com/google/android/update-binary
Original file line number Diff line number Diff line change
Expand Up @@ -153,16 +153,19 @@ if [ -z $(grep gChannelBondingMode5GHz $MODPATH$CFGPATH$CFG) ]; then
fi
}

ui_print "- Migrating WCNSS_qcom_cfg.ini "
ui_print "- Migrating WCNSS_qcom_cfg.ini"
CFG=WCNSS_qcom_cfg.ini
if [ -f /system/etc/wifi/$CFG ]; then
CFGPATH=/system/etc/wifi/
Cfg_Migration
elif [ -f /system/vendor/etc/wifi/$CFG ]; then
CFGPATH=/system/vendor/etc/wifi/
Cfg_Migration
else
ui_print "- Migration FAILED."
elif [ -f /system/etc/firmware/wlan/qca_cld/$CFG ]; then
CFGPATH=/system/etc/firmware/wlan/qca_cld/
Cfg_Migration
else
ui_print "- Migration FAILED. Please report it to the developer with your WCNSS_qcom_cfg.ini path."
fi

ui_print "- Setting permissions"
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
#### Magisk WiFi Bonding

Make 40Mhz runing at 2.4Ghz/5Ghz on your Qualcomm devices!
Make 2.4Ghz/5Ghz WiFi running at 40Mhz on your Qualcomm devices!

This module could work on most of the devices. By default, some devices provided an ini file to control thewifi behavior. This module modified the `WCNSS_qcom_cfg.ini` in order to support 40mhz. The basic logic is simple, but not all devices need such kind of module. If you can find `WCNSS_qcom_cfg.ini` in your system partition, please open an issue to report it to me; if you can't, this module won't work for you, including almost all Nexus/Pixel devices.

#### NOTICE

* You should use latest Magisk Manager to install this module. If you meet any problem under installation from Magisk Manager, please try to install it from recovery.
* Recent fixes:
Magisk v15 Template 1500 compatabilities
Add more file paths

#### Credit & Support

Expand Down
6 changes: 3 additions & 3 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=wifi-bonding
name=Wifi Bonding (Qualcomm)
version=1.4
versionCode=5
version=1.5
versionCode=6
author=simonsmh
description=Make 2.4Ghz/5Ghz WiFi runing on 40Mhz on your Qualcomm devices.
description=Make 2.4Ghz/5Ghz WiFi running at 40Mhz on your Qualcomm devices.
minMagisk=1500

0 comments on commit a473311

Please sign in to comment.