5GHz wifi problem fix?

Dec 27, 2018
8
1
0
Hello xda members, I am facing a serious problem of 5GHz wifi netwroks. My university routers have two frequency ranges 2.4GHz and 5GHz. And as Mi A1 also support dual wifi band so my phone keeps on switching wifi networks and it remain unstable even if I sit under the router because when it connects to 5GHz network it become unstable and again connect to 2.4 network and then keep on switching networks. both the networks are single and doesn't show different frequencies and it only show frequency when it connects to network .I googled this problem but not found a satisfactory answers. Actually there was a feature in android nougat to select wifi band manually but this feature was removed in oreo and pie. Kindly suggest any solution. It would be a great help.
 

Jt380p

Senior Member
Apr 1, 2018
822
380
0
New South Wales
Hello xda members, I am facing a serious problem of 5GHz wifi netwroks. My university routers have two frequency ranges 2.4GHz and 5GHz. And as Mi A1 also support dual wifi band so my phone keeps on switching wifi networks and it remain unstable even if I sit under the router because when it connects to 5GHz network it become unstable and again connect to 2.4 network and then keep on switching networks. both the networks are single and doesn't show different frequencies and it only show frequency when it connects to network .I googled this problem but not found a satisfactory answers. Actually there was a feature in android nougat to select wifi band manually but this feature was removed in oreo and pie. Kindly suggest any solution. It would be a great help.
I personally think that the Android one team at Xiaomi is trying to ruin the mi a1. I think they're trying to promote the mi A2 more. As I'm still facing issues with wifi not connecting and automatically disconnecting in custom ROMs. There is no solution as of now, and I've lost faith in Xiaomi's Android one program. This is probably the worst purchase decision I've ever made. I'm going to move to the mi 9 se. My Mi A1 is only a year old..
 
  • Like
Reactions: luciorasta

danilopiazza

Member
Mar 23, 2019
5
0
0
[Guide][Root] How to disable 5 GHz Wi-Fi

Following this post by Ironsigh on LG G3 subforum, I was able to disable 5 GHz Wi-Fi on my rooted Xiaomi Mi A1:

  1. Open a root shell using adb:
    Code:
    adb shell
  2. Navigate to /vendor/etc/wifi:
    Code:
    cd /vendor/etc/wifi
  3. Mount /system as read-write:
    Code:
    mount -o remount,rw /
  4. Open WCNSS_qcom_cfg.ini:
    Code:
    nano WCNSS_qcom_cfg.ini
  5. On line 253 (your line number may be different), change BandCapability=0 to BandCapability=1:
    Code:
    #Preferred band (both or 2.4 only or 5 only)
    
    BandCapability=0
    • Possible values are:
      • 0 = Use both 2.4 GHz and 5 GHz
      • 1 = Use 2.4 GHz only
      • 2 = Use 5 GHz only
  6. Save the file and exit the editor
  7. Remount /system as read-only:
    Code:
    mount -o remount,ro /
 
Last edited: