[Xiaomi Mi 9 ROMs, Kernels, Recoveries, & Other Dev] Netvetra:
@ lamjiidii1 Thanks for your work on the new version. It's pity to say the Wifi still a problem for my devices.

The device was on Fluid 1.1 which has Wifi working. I did a clean install: format and flash PE ROM, wipe cache and Delvik, reboot. Skipped Wireless networking, Wifi kept on finding AP and no result.

Insert SIM cards and use wireless data to finish setup, and found I can't toggle Wifi on, as shown on the attached screenshot, if you toggle it on, it displays as "Turning on..." forever, come back when screen auto dim, it's turned off status.

Checking from adb shell, seems the Wifi is not enabled, log attached here, let me know if any more information or test needed.

----------------------------------------------------------------------------------------------------------------------------------

cepheus:/ $ ifconfig

dummy0 Link encap:UNSPEC

inet6 addr: fe80::18e1:d2ff:fe83:b535/64 Scope: Link

UP BROADCAST RUNNING NOARP MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:33 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 TX bytes:4804

lo Link encap:UNSPEC

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope: Host

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:26 errors:0 dropped:0 overruns:0 frame:0

TX packets:26 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2450 TX bytes:2450

rmnet_data2 Link encap:UNSPEC

inet addr:49.224.135.14 Mask:255.255.255.252

UP RUNNING MTU:1500 Metric:1

RX packets:13868 errors:0 dropped:0 overruns:0 frame:0

TX packets:11962 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:102546638 TX bytes:1673437

rmnet_data0 Link encap:UNSPEC

inet6 addr: fe80::2973:521a:3fec:4331/64 Scope: Link

UP RUNNING MTU:1500 Metric:1

RX packets:12 errors:0 dropped:0 overruns:0 frame:0

TX packets:16 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:2880 TX bytes:1049

rmnet_ipa0 Link encap:UNSPEC

UP RUNNING MTU:9216 Metric:1

RX packets:3870 errors:0 dropped:0 overruns:0 frame:0

TX packets:4323 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:29324280 TX bytes:1770710

rmnet_data1 Link encap:UNSPEC

inet addr:10.5.30.249 Mask:255.255.255.252

UP RUNNING MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 TX bytes:0

cepheus:/ $ logcat -d | grep Wifi

02-14 00:23:22.114 1444 1927 I chatty : uid=1000(system) WifiHandlerThre expire 10 lines

02-14 00:23:42.595 1444 1927 I chatty : uid=1000(system) WifiHandlerThre expire 47 lines

02-14 00:23:42.596 1444 1931 I chatty : uid=1000(system) WifiScanningSer expire 2 lines

02-14 00:23:45.750 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:45.753 1444 1887 E WifiService: Attempt to retrieve passpoint with invalid scanResult List

02-14 00:23:45.753 1444 1887 E WifiService: Attempt to retrieve OsuProviders with invalid scanResult List

02-14 00:23:45.761 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:45.782 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:45.784 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:45.786 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:45.788 1444 6292 E WifiService: Attempt to retrieve passpoint with invalid scanResult List

02-14 00:23:45.788 1444 6292 E WifiService: Attempt to retrieve OsuProviders with invalid scanResult List

02-14 00:23:47.255 1444 1927 D WifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=65, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10144 AdministratorUids: [] RequestorUid: 10144 RequestorPackageName: com.android.vending] ] with score 50 and providerId 3

02-14 00:23:47.255 1444 1927 D UntrustedWifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=65, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10144 AdministratorUids: [] RequestorUid: 10144 RequestorPackageName: com.android.vending] ] with score 50 and providerId 3

02-14 00:23:47.867 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:52.323 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:23:52.518 1444 5603 E WifiService: Permission violation - getScanResults not allowed for uid=10136, packageName=com.google.android.gms, reason=java.lang.SecurityException: Location mode is disabled for the device

02-14 00:24:02.795 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.839 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.882 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.882 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.882 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.884 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.886 1444 6292 E WifiService: Attempt to retrieve passpoint with invalid scanResult List

02-14 00:24:02.886 1444 6292 E WifiService: Attempt to retrieve OsuProviders with invalid scanResult List

02-14 00:24:02.923 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.923 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.924 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:02.926 1444 1989 E WifiService: Attempt to retrieve passpoint with invalid scanResult List

02-14 00:24:02.926 1444 2062 E WifiService: Attempt to retrieve OsuProviders with invalid scanResult List

02-14 00:24:04.261 1444 1927 E WifiNative: Could not get Iface object for interface null

02-14 00:24:19.864 1444 6957 I WifiService: startScan uid=10136

02-14 00:24:19.865 1444 6957 E WifiService: Permission violation - startScan not allowed for uid=10136, packageName=com.google.android.gms, reason=java.lang.SecurityException: Location mode is disabled for the device

02-14 00:24:56.825 1444 1927 E WifiClientModeImpl: getWifiLinkLayerStats called without an interface

02-14 00:25:00.467 1444 1927 D WifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=70, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10140 AdministratorUids: [] RequestorUid: 10140 RequestorPackageName: com.google.android.googlequicksearchbox] ] with score 50 and providerId 3

02-14 00:25:00.467 1444 1927 D UntrustedWifiNetworkFactory: got request NetworkRequest [ TRACK_DEFAULT id=70, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Uid: 10140 AdministratorUids: [] RequestorUid: 10140 RequestorPackageName: com.google.android.googlequicksearchbox] ] with score 50 and providerId 3

cepheus:/ $