[Thinkpad Tablet Android Development] iChinmay:
wifi not working

Help Please Guys, Am I missing something ?

Model: Lenovo Tab 4 10 Plus (TB-X704L)

ROM: lineage-16.0-20190430-UNOFFICIAL-TBX704.zip

TWRP Version: twrp-3.2.3-0-TB-X704F.img

Gapps Version: open_gapps-arm64-9.0-pico-20190501.zip

Magisk Version: Magisk-v18.1.zip

Initial android setup was unable to enable wifi

Skipped wifi setup completed rest of the setup

Tried enabling wifi still no luck wifi not enabled

Was not able to test SIM as I do not have a 4G VOLTE SIM

will get the SIM by tomorrow & update

Will attach a log file in some time.

The output of abd logcat command is in file || paste-ee!p!258O9 || (Was not allowed to upload a file or post an external link)

Replace - with . & ! with /

Some part of log which i feel could be useful

04-30 20:11:21.515 541 541 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: Operation not permitted

04-30 20:11:21.516 541 541 E android.hardware.wifi@1.0-service: Failed to change firmware mode

04-30 20:11:21.516 2480 2707 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()

04-30 20:11:21.516 2480 2707 E WifiVendorHal: Failed to create STA iface

04-30 20:11:21.516 2480 2707 E WifiNative: Failed to create STA iface in vendor HAL

04-30 20:11:21.516 2480 2707 E WifiScanOnlyModeManager: Failed to create ClientInterface. Sit in Idle

04-30 20:11:21.517 2480 2707 D WifiStateMachinePrime: ScanOnlyMode mode failed

04-30 20:11:21.521 2480 2707 D WifiStateMachinePrime: Switching from ScanOnlyModeActiveState to ClientMode

04-30 20:11:21.521 2480 2707 D WifiScanOnlyModeManager: currentstate: IdleState

04-30 20:11:21.521 2480 2548 E BatteryExternalStatsWorker: no controller energy info supplied for wifi

04-30 20:11:21.521 2480 2707 D WifiStateMachinePrime: Entering ClientModeActiveState

04-30 20:11:21.524 1790 1790 D keystore: AddAuthenticationToken: timestamp = 42367, time_received = 38

04-30 20:11:21.527 2480 2707 D WifiClientModeManager: entering IdleState

04-30 20:11:21.527 2480 2707 D WifiStateMachinePrime: State changed from client mode. state = 2

04-30 20:11:21.529 2480 2480 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true

04-30 20:11:21.530 2480 2711 E WifiP2pService: Unexpected disable request when WifiChannel is null

04-30 20:11:21.531 2480 2707 I WifiVendorHal: Vendor Hal started successfully

04-30 20:11:21.531 2480 2707 E SupplicantStaIfaceHal: Death handler already present

04-30 20:11:21.538 1790 1790 D keystore: AddAuthenticationToken: timestamp = 42383, time_received = 38

04-30 20:11:21.549 2480 2754 I LockSettingsService: Unlocking user 0 with secret only, length 64

04-30 20:11:21.567 541 541 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: Operation not permitted

04-30 20:11:21.568 541 541 E android.hardware.wifi@1.0-service: Failed to change firmware mode

04-30 20:11:21.568 2480 2707 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()

04-30 20:11:21.568 2480 2707 E WifiVendorHal: Failed to create STA iface

04-30 20:11:21.568 2480 2707 E WifiNative: Failed to create STA iface in vendor HAL

04-30 20:11:21.568 2480 2707 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle

04-30 20:11:21.568 2480 2707 D WifiStateMachinePrime: State changed from client mode. state = 4

04-30 20:11:21.568 2480 2707 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1

04-30 20:11:21.568 2480 2711 I WifiP2pNative: Registering for interface available listener

04-30 20:11:21.570 2480 2480 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true

04-30 20:11:21.570 2480 2711 E WifiP2pService: Unexpected disable request when WifiChannel is null

04-30 20:11:21.571 2480 2707 D WifiStateMachinePrime: ClientMode failed, return to WifiDisabledState.

04-30 20:11:21.571 2480 2707 D WifiController: ClientMode unexpected failure: state unknown

04-30 20:11:21.571 2480 2707 D WifiClientModeManager: currentstate: IdleState

04-30 20:11:21.571 2480 2707 D WifiStateMachinePrime: Entering WifiDisabledState

04-30 20:11:21.571 2480 2548 E BatteryExternalStatsWorker: no controller energy info supplied for wifi

04-30 20:11:21.572 2480 2707 D ActiveModeManager: sending scan available broadcast: false

04-30 20:11:21.572 2480 2707 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=-1ms what=1 target=com.android.internal.util.StateMachine$SmHandler }

04-30 20:11:21.572 2480 2707 D WifiStateMachinePrime: Switching from WifiDisabledState to ScanOnlyMode

04-30 20:11:21.572 2480 2707 D WifiStateMachinePrime: Entering ScanOnlyModeActiveState

04-30 20:11:21.572 2480 2707 D WifiScanOnlyModeManager: entering IdleState

04-30 20:11:21.572 2480 2710 I WifiScanningService: wifi driver unloaded

04-30 20:11:21.574 2480 2707 I WifiVendorHal: Vendor Hal started successfully

04-30 20:11:21.574 2480 2711 I WifiP2pNative: Registering for interface available listener

04-30 20:11:21.574 2480 2707 E SupplicantStaIfaceHal: Death handler already present

04-30 20:11:21.603 541 541 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: Operation not permitted

04-30 20:11:21.603 541 541 E android.hardware.wifi@1.0-service: Failed to change firmware mode

04-30 20:11:21.604 2480 2707 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()

04-30 20:11:21.604 2480 2707 E WifiVendorHal: Failed to create STA iface

04-30 20:11:21.604 2480 2707 E WifiNative: Failed to create STA iface in vendor HAL

04-30 20:11:21.604 2480 2707 E WifiScanOnlyModeManager: Failed to create ClientInterface. Sit in Idle

04-30 20:11:21.604 2480 2707 D WifiStateMachinePrime: ScanOnlyMode mode failed

04-30 20:11:21.604 2480 2707 D WifiStateMachinePrime: ScanOnlyMode failed, return to WifiDisabledState.

04-30 20:11:21.604 2480 2707 D WifiController: ScanOnlyMode unexpected failure: state unknown

04-30 20:11:21.604 2480 2707 D WifiScanOnlyModeManager: currentstate: IdleState

04-30 20:11:21.604 2480 2707 D WifiStateMachinePrime: Entering WifiDisabledState

04-30 20:11:21.604 2480 2707 D ActiveModeManager: sending scan available broadcast: false

04-30 20:11:21.605 2480 2710 I WifiScanningService: wifi driver unloaded

The command adb shell dmesg gives output

permission denied.

If I have missed anything, please let me know, don't want to go back to STOCK

My Issue is resolved, All I did was:

1. Flashed the ROM dated 28th April 2019 then GApps then Magisk 18.1

2. Reboot the device and completed the Basic configuration of Android WiFi worked properly

3. Without Wipe / Format Flashed the ROM dated 30th April 2019 then GApps then Magisk 18.1

3. Reboot the device and again completed Basic Configuration of Android WiFi still working properly

4. New Issue Magisk Saftey Net is giving Error ctsProfile : false

5. Upgraded Magisk to Latest version via Magisk Manager

6. Installed MagiskHide Props Config reboot the Tab

7. Still Same Error

Will provide resolution If I can resolve the issue