How I fixed this issue.
Hei guys !
I have a htc one with unlocked bootloader and s-off.
Yesterday my phone started to experience some trouble with the wi-fi connections. When i turn on the wi-fi it remains stuck on "turning on" and i can't turn it off anymore. I tried to more options by clicking on the 3 dots in the right corner but no succes..all options but "Advanced" are greyed out.
I already tried to flash a custom rom (Viper rom) and reflashed stock ruu and the problem persisted.
Any of you experienced similar problems?
Hello. I have created an account here just to share how I fixed this problem because I couldn't find that solution posted on any forum. It might be helpful for someone, but also I might have been the one that caused the issue in the first place. I have a rooted HTC One M7 running 5.0.2.
So, the "Turning on..." for me occured once my phone's battery completely drained. I have plugged the phone in the charger and it displayed 0%. Once the charge level reached 1% I turned on the phone and almost immediatelly turned mobile data off and wifi on. It was then when it got stuck. I have tried almost all the accepted solutions and none of them worked. As I didn't have time to keep trying to solve the issue I left the phone as it was, not trying to connect anymore but saying "Error" under Wifi in Settings.
I thought about what might have caused this and remembered that I have recently tried to use my phone as a wifi extender using the app called "fqrouter2". Within the app there is an option in configuration "Disable Wifi P2P" that should be, as recommended by the app, disabled if the app failed to work. I have, of course, tried it but it didn't work anyway. I have uninstalled the app and that was it. Wifi worked fine until my phone died. So I decided to reinstall the app and try the "Restore Wifi P2P" option. After restoring it I uninstalled the app and power cycled my phone. When it turned on wifi started working again as if nothing ever happened.
As I said, I might have been the cause of the problem in the first place and I doubt somebody had the exact same situation as mine, but I'll leave this here, just in case. Cheers