[GUIDE] How to switch wifi band 2.4/5ghz only (oreo/pie)

ZaldhyDarwin

Senior Member
Jan 19, 2014
120
42
0
27
Makassar
i realy missed the feature that let us choose the prefered wifi band / frequency on android 7.0 and dont know why they removed this from wifi advanced settings. Why? because sometimes when im outside and using a public wifi that have the same ssid beetwen 2.4 and 5ghz channel so i cant choose manually.
So heres how i did it manually using root explorer,
first go to system/vendor/etc/wifi/ and then open WCNSS_qcom_cfg.ini with text editor
scroll down untill you find this line:

#Preferred band (both or 2.4 only or 5 only)
BandCapability=0

change it to:

BandCapability=2

0 = auto, 1 = 2.4ghz only, 2 = 5ghz only.
this should be working on all device running oreo or pie. but do it with your own risk and always backup the original file first! :fingers-crossed:
 
Last edited:
  • Like
Reactions: Khimin

Khimin

Member
Mar 9, 2017
48
4
0
Thx dude

---------- Post added at 10:49 AM ---------- Previous post was at 10:42 AM ----------

i realy missed the feature that let us choose the prefered wifi band / frequency on android 7.0 and dont know why they removed this from wifi advanced settings. Why? because sometimes when im outside and using a public wifi that have the same ssid beetwen 2.4 and 5ghz channel so i cant choose manually.
So heres how i did it manually using root explorer,
first go to system/vendor/etc/wifi/ and then open WCNSS_qcom_cfg.ini with text editor
scroll down untill you find this line:

#Preferred band (both or 2.4 only or 5 only)
BandCapability=0

change it to:

BandCapability=2

0 = auto, 1 = 2.4ghz only, 2 = 5ghz only.
this should be working on all device running oreo or pie. but do it with your own risk and always backup the original file first! :fingers-crossed:
Thx dude, its work. Can you make easy to switch 2.4ghz only or 5ghz only? Maybe like application switcher? Or togle?