Skip to content

Commit

Permalink
Support 3rd party Magisk versions with magiskhide
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsmh committed Jan 19, 2024
1 parent 4c8f35f commit 62d48d2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ Please follow the instuction below from @axeldna: 请按照说明进行操作

* 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. 您应该使用最新的Magisk Manager来安装此模块。如果您在Magisk Manager中安装模块遇到问题,请尝试使用Recovery来安装

* Recent fixes:
Support Magisk Canary(26404).
Fix path detection for old devices.
### Recent fixes:
- Support 3rd party Magisk versions with magiskhide.
- Support Magisk Canary(26404).
- Fix path detection for old devices.


## Credit & Support 版权及支持
Expand Down
11 changes: 6 additions & 5 deletions customize.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
if [ "$MAGISK_VER_CODE" -lt 24000 ]; then
ui_print "*********************************************************"
ui_print "! Please install Magisk v24+"
abort "*********************************************************"
[ -x `which magisk` ] && {
if magisk --denylist ls &>/dev/null; then
CMDPREFIX="magisk --denylist exec"
elif magisk magiskhide ls &>/dev/null; then
CMDPREFIX="magisk magiskhide exec"
fi
[ -x "$(which magisk)" ] && CMDPREFIX="magisk --denylist exec" || unset CMDPREFIX
} || unset CMDPREFIX
CHECK_DIRS="/system /vendor /product /system_ext"
EXISTING_DIRS=""
for dir in $CHECK_DIRS; do
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id=wifi-bonding
name=Wifi Bonding (Qcom)
version=1.16
versionCode=17
version=1.17
versionCode=18
author=simonsmh
description=Doubles your wi-fi bandwith by modifying WCNSS_qcom_cfg.ini.
updateJson=https://cdn.jsdelivr.net/gh/Magisk-Modules-Repo/wifi-bonding/version.json
6 changes: 3 additions & 3 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.16",
"versionCode": 17,
"zipUrl": "https://github.com/Magisk-Modules-Repo/wifi-bonding/releases/download/17/wifi_bonding.zip",
"version": "1.17",
"versionCode": 18,
"zipUrl": "https://github.com/Magisk-Modules-Repo/wifi-bonding/releases/download/18/wifi_bonding.zip",
"changelog": "https://cdn.jsdelivr.net/gh/Magisk-Modules-Repo/wifi-bonding/README.md"
}

0 comments on commit 62d48d2

Please sign in to comment.