GrapheneOS-Archive / legacy_bugtracker

See the new issue tracker for GrapheneOS at https://github.com/GrapheneOS/os_issue_tracker.
112 stars 11 forks source link

Nexus 5X - Wifi not starting #856

Closed reg0l closed 6 years ago

reg0l commented 6 years ago

Description: Wifi not starting on the devices. Hotspot not working either.

Step to reproduce issue Flash devices to lastest stock os version. Flash latest copperhead os version from mac osx using flash-all.sh Start wifi from configuration panel. The system freeze and wifi is not activating (on-off button).

Informations Model impacted: Nexus 5X Android version: 8.1.0 Baseband version: M8994F-2.6.41.5.01 Bootloader version: BHZ31b CopperheadOs build number: OPM2.171019.029.2018.04.02.21

Dump using logcat when starting wifi


01-08 13:10:28.368   763   997 D WifiService: setWifiEnabled: true pid=989, uid=10027, package=com.android.systemui
01-08 13:10:28.368   763   997 I WifiService: setWifiEnabled package=com.android.systemui uid=10027 enable=true
01-08 13:10:28.371   566  3781 D audio_route: Apply path: speaker-protected
01-08 13:10:28.377   425   425 I android.hardware.wifi@1.0-service: Wifi HAL started
01-08 13:10:28.380   566  3781 D audio_hw_primary: enable_snd_device: snd_device(95: vi-feedback)
01-08 13:10:28.380   566  3781 D audio_route: Apply path: vi-feedback
01-08 13:10:28.380   566  3781 D audio_hw_primary: enable_audio_route: usecase(24) apply and update mixer path: spkr-vi-record
01-08 13:10:28.380   566  3781 D audio_route: Apply path: spkr-vi-record
01-08 13:10:28.408   566  3781 D audio_hw_primary: enable_audio_route: usecase(1) apply and update mixer path: low-latency-playback
01-08 13:10:28.408   566  3781 D audio_route: Apply path: low-latency-playback
01-08 13:10:28.446   566  3781 E msm8974_platform: ramp_speaker_gain: Could not get ctl for mixer cmd - Left Speaker Gain or Right Speaker Gain, not applying speaker gain ramp
01-08 13:10:28.446   566  3781 D audio_hw_primary: out_write: retry previous failed cal level set
01-08 13:10:28.951   566   723 D audio_hw_primary: disable_audio_route: usecase(1) reset and update mixer path: low-latency-playback
01-08 13:10:28.965   566   723 D audio_hw_primary: disable_snd_device: snd_device(95: vi-feedback)
01-08 13:10:28.965   566   723 D audio_hw_primary: disable_audio_route: usecase(24) reset and update mixer path: spkr-vi-record
01-08 13:10:32.792   425   425 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: No such device
01-08 13:10:32.792   425   425 E android.hardware.wifi@1.0-service: Failed to change firmware mode
01-08 13:10:32.792   763   916 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 ()
01-08 13:10:32.995   425   425 I android.hardware.wifi@1.0-service: Wifi HAL stopped
01-08 13:10:32.996   763   916 E WifiNative-wlan0: Failed to start HAL for client mode
01-08 13:10:32.998   763   763 E WifiController: WifiControllerWifi turn on failed
01-08 13:10:33.002   763   916 I WifiVendorHal: Vendor Hal stopped
01-08 13:10:33.002   763   916 D WificondControl: tearing down interfaces in wificond
01-08 13:10:33.005   425   425 I android.hardware.wifi@1.0-service: Wifi HAL started
01-08 13:10:37.597   425   425 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: No such device
01-08 13:10:37.597   425   425 E android.hardware.wifi@1.0-service: Failed to change firmware mode
01-08 13:10:37.598   763   916 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 ()
01-08 13:10:37.801   425   425 I android.hardware.wifi@1.0-service: Wifi HAL stopped
01-08 13:10:37.803   763   916 E WifiNative-wlan0: Failed to start HAL for client mode
01-08 13:10:37.807   763   763 E WifiController: WifiControllerWifi turn on failed
01-08 13:10:37.809   763   916 I WifiVendorHal: Vendor Hal stopped
01-08 13:10:37.809   763   916 D WificondControl: tearing down interfaces in wificond
01-08 13:10:37.817   425   425 I android.hardware.wifi@1.0-service: Wifi HAL started
01-08 13:10:42.434   425   425 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: No such device
01-08 13:10:42.434   425   425 E android.hardware.wifi@1.0-service: Failed to change firmware mode
01-08 13:10:42.434   763   916 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 ()
01-08 13:10:42.639   425   425 I android.hardware.wifi@1.0-service: Wifi HAL stopped
01-08 13:10:42.639   763   916 E WifiNative-wlan0: Failed to start HAL for client mode
01-08 13:10:42.642   763   763 E WifiController: WifiControllerWifi turn on failed
01-08 13:10:42.646   763   916 I WifiVendorHal: Vendor Hal stopped
01-08 13:10:42.646   763   916 D WificondControl: tearing down interfaces in wificond
01-08 13:10:58.292   763   793 I PowerManagerService: Going to sleep due to screen timeout (uid 1000)...
01-08 13:10:58.821   763   793 I DisplayPowerController: Blocking screen off
01-08 13:10:58.824   763   793 I DisplayPowerController: Unblocked screen off after 2 ms
01-08 13:10:58.879   989   989 D StatusBar: disable<e i a s b h r c s q >
01-08 13:10:58.885   763   791 I DisplayManagerService: Display device changed state: "Built-in Screen", OFF
01-08 13:10:58.886   431   431 D SurfaceFlinger: Set power mode=0, type=0 flinger=0x7645546000
01-08 13:10:58.887   431   431 D qdhwcomposer: hwc_setPowerMode: Setting mode 0 on display: 0
01-08 13:10:58.890   763   888 W LocalDisplayAdapter: Unable to find color mode 0, ignoring request.
01-08 13:10:58.894   763   907 I InputReader: Reconfiguring input devices.  changes=0x00000004
01-08 13:10:58.911   989   989 D StatusBar: disable<e i a s b h r c s q >
01-08 13:10:59.004   431   489 I qdhwcomposer: handle_blank_event: dpy:0 panel power state: 0
01-08 13:10:59.009   431   431 D qdhwcomposer: hwc_setPowerMode: Done setting mode 0 on display 0
01-08 13:10:59.010   763   961 D SurfaceControl: Excessive delay in setPowerMode()
01-08 13:10:59.012   763   793 I QCOMPowerHAL: Got set_interactive hint
01-08 13:10:59.014   763   793 I DreamManagerService: Entering dreamland.
01-08 13:10:59.015   763   793 I PowerManagerService: Dozing...
01-08 13:10:59.025   763   789 I DreamController: Starting dream: name=ComponentInfo{com.android.systemui/com.android.systemui.doze.DozeService}, isTest=false, canDoze=true, userId=0
01-08 13:10:59.124   989   989 D StatusBar: disable<e i a s b h r c s q >
01-08 13:10:59.125   989   989 D StatusBar: disable<e i a s b h r c s q >
01-08 13:10:59.146   763   893 I nanohub : osLog: [PickupGesture] power: 1
01-08 13:10:59.151   763   893 I nanohub : osLog: [AR_CHRE] OFF => ON
01-08 13:10:59.153   763   893 I nanohub : osLog: [AR_CHRE] activity powered on
01-08 13:10:59.175   989   989 D StatusBar: disable<e i a s b h r c s q >
01-08 13:11:03.400   989   989 I chatty  : uid=10027(com.android.systemui) identical 7 lines
01-08 13:11:03.400   989   989 D StatusBar: disable<e i a s b h r c s q >
01-08 13:11:03.435   989   989 D StatusBar: disable<e i a s b H!R!c s q >```
thestinger commented 6 years ago

Does it work on stock Android?

Did you fully complete the instructions including locking the bootloader for CopperheadOS?

reg0l commented 6 years ago

Yes i did reproduced all step highlighted on the documentation which are quite standard btw. It was working on stock os the first time i flashed the images back to copperhead not working. I re-flashed a last time to stock os and now is not working either on the stock os . Probably a faulty hardware. Anyway. Thanks for your help.

thestinger commented 6 years ago

Yeah, it's probably failing hardware then. I haven't seen this problem before though. It looks like the Wi-Fi essentially isn't present at all anymore, i.e. the chip died, became detached or something like that.