From 3711fd50e80a55ff636bca9d33d6437b4dafdf56 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Sun, 1 Jul 2018 23:06:11 +0200 Subject: [PATCH] Detect Wifi 5G on MTK --- rw-system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 110b322..e644863 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -74,3 +74,7 @@ fi if getprop ro.vendor.build.fingerprint |grep full_k50v1_64;then setprop persist.sys.overlay.nightmode false fi + +if getprop ro.wlan.mtk.wifi.5g |grep -qF 1;then + setprop persist.sys.overlay.wifi5g true +fi