WIFI stucks on "Obtaining IP-Address" after Flashing - Xiaomi Mi 5 Questions & Answers

Hi.
I've used my Mi5 for two month with the Global Dev Rom, no Problems.
Then I wanted to try Lineage OS, unlocking and flashing was fine but when I wanted to connect with my Wifi, the Phone can't obtain an IP-Address.
Meanwhile I've tried everything obvious: Restart the Router, try to connect with other Routers and WIFIs, Flashing other Roms (Lineage, miui.eu, cyanogenmod, china stable, china dev, global stable, global dev), others Kernels - everything works but the WIFI
Has someone an Idea whats wrong with my Phone?
Thanks for Help!

i dunno if this will helps.
Go to etc/firmware/wlan/qca_cld/ and rename wlan_mac.bin to wlan_mac.bin_bak.bak
Hope it helps!

Have you tried connecting to some other wifi ?

Same issue. My wifi only works on official MIUI and on .eu (haven't tried any other MIUI roms). However, on Havoc, Pixel, LineageOS.... nothing. Its able to find the networks and attempt to connect but theres an authentication errror (password is well written tho) and it can never connect. Just like you, I have tried using different wifis (even without password), reset router, change wifi channel, 2.4/5ghz, different firmware for the phone... nothing seems to work.
Any idea?
PS: the antenna and the charging port flex on the device has been replaced because it didnt have good cellphone reception, so it might not be the original from xiaomi. Im not sure if this might be causing the problem.
Thanks for your help!

Related

Wifi on Cyanogen issues

I just finally got sick of waiting for an official Froyo(Bell isn't about to give me an upgrade anyhow.) So I went to a froyo rom that was based on one of the stock roms. But I figured since I'm rooted anyhow why not play around, and grabbed cyanogen 6.1 and installed it. Then I end up with the issue of its not connecting to my wifi, I have no issues on the stock 2.2 roms. One thing I have noticed is the cyanogen shows the network as wep, but it's actually wpa encrypted. I flashed into it from the stock without clearing it first and it worked until I shut off and came back to it. Any ideas on what might be the issue. I'm fairly new but I did look and couldn't find anything to fix this.
I assume you flashed 6.1 stable version? I have no issue whatsoever on my device (and I also used official froyo previously). Did you wipe all before flashing 6.1?
He said he "flashed without cleaning"...so I presume no wipe. This could be the problem, a wipe is strongly adviced if going to CM from a non CM ROM. Also check the number of WiFi channels set by default in advanced settings of wifi. It is set for 11 and if the router is set to 13 or 14 it could not work
Sent from my Legend using XDA App
I had the same problem when i was installing CM6.1. (with wipe)
The phone could just se a wep version of my network and not the wpa that i have. But after i turned on and off the wifi a couple of times i suddenly saw the wpa version of my network and after i connected to that the problem was solved. I also did click "forget network" on the wep version.
Hope this will help you
ricky007 said:
I had the same problem when i was installing CM6.1. (with wipe)
The phone could just se a wep version of my network and not the wpa that i have. But after i turned on and off the wifi a couple of times i suddenly saw the wpa version of my network and after i connected to that the problem was solved. I also did click "forget network" on the wep version.
Hope this will help you
Click to expand...
Click to collapse
Trying this now but no go. Sometimes will flash it as wpa and then jump back to wep. This is after a full wipe. What I was trying to say was once I flashed in without wiping and it worked for a bit but jumped right back to not working, after the phone going to sleep.
Bump.
Any insight into this issue? Still only reading my network as wep.
Try installing "WiFi Advanced Configration Editor" from the market. You should be able to change to WPA manually with it.
Did you try to reset your wifi router?sometimes the issues came up from wifi router, not the phone itself.
Mine is fine. I share my broadband wifi to my phone using connectify.
The only problem remains is wifi disconnect frequently, but I heard that it's due to a new kernel which I use (.32 kernel)
hope it helps
Ya reset the router a few times, and it still came up like that. I did install the wifi advance config software mentioned it seemed to fix it. I didn't actually set anything up on it and it seems to have fixed it. Thanks.
CM 6.1 messed up my wifi. Wiped everything, but it suddenly doesn't find my networks.
Wiped again and restored nandroid backup of working rom but STILL the same issue now!! Can I flash the wifi drivers again somehow?

Serious Wifi problem.

I have had this problem ever since I installed my first rom (FreeXperia unofficial cyanogenmod 11) and stayed ever since
The problem is that every time I try to connect to my home network it will say "saved, secured with wpa" but never connects.
so far I have tried:
Forgetting and re-adding
Factory reset
Flashing different kernel
Flashing different rom (Vanir and official AOKP)
unchecking wifi-optimisation
changing region.
Non of these work, somebody please help me figure this out
P.S it also happens on WPA2 but less.

Wifi woes with the Z3 Compact

Hello all,
Just having an issue with my Z3 compact. The wifi keeps connecting and disconnecting every few seconds. This is a new development and it has never done this in the two years I've owned it. It finds the networks, connects and then promptly disconnects after a few seconds and then starts to look for networks once again.
Here are a few things I've already tried....
I have tested the same WiFi network with my S7 and laptop and they are stable on this network.
I have tried a different WiFi network with the same results
I have downgraded to a previous TWRP backup of my ROM when the phone was still stable.
I have changed the ROM completely with a factory reset and new custom ROM flash
None of the above has worked so far so not sure what has happened and if this is a possible hardware failure of the modem? Is there a modem file that could possibly be flashed?
Thanks for the help.
zimcommando said:
Hello all,
I have tested the same WiFi network with my S7 and laptop and they are stable on this network.
I have tried a different WiFi network with the same results
I have downgraded to a previous TWRP backup of my ROM when the phone was still stable.
I have changed the ROM completely with a factory reset and new custom ROM flash
Thanks for the help.
Click to expand...
Click to collapse
This has been mentioned several times in the Q&A thread, and @toxic-hero even posted a fix
Thanks Didgesteve,
I have tried the Legacy DHCP Client fix in the developer settings and I've also done a "Network settings reset" under Settings > Backup & reset before rebooting and still no help. The issue persists and I'm at a loss as to what the hell has happened here....
Same problem... I still have guarantee, so I flashed back the original up-to-date firmware and the phone was sent back to the local sony service, and I'm waiting for it.

Xiaomi Mi 8 loses WiFi

Hi xda, I don't even know if this is the correct section.
I'm experiencing a problem with my Mi 8 in these days I've never had, my phone sometimes disconnects from WiFi and then he has difficulty reconnecting. The WiFi signal keeps staying on "obtaining IP address" and repeats again, so I have to switch to mobile data until my WiFi comes back. I'm on MIUI Global 11.0.3 Stable (QEAMIXM).
I tried to:
- restart the phone;
- reset the network settings;
- restarting the router-modem;
But the problem still remains.
I read that it may be that the modem router does not support the dynamic IP or MAC address of the new version of Android, but I'm not an expert.
If someone is facing the same problem or knows how to solve it I really appreciate the help.
Thanks in advance
I've been having the same problem.
Randomly disconnecting from Wifi and my network service.
Since the auto-update push to the latest version the problem has gotten worse. It occurs even more frequently and often doesn't connect to any network services.
I've tried removing the Sim cards, changing slots, only having in one at a time.
Crisgas98 said:
Hi xda, I don't even know if this is the correct section.
I'm experiencing a problem with my Mi 8 in these days I've never had, my phone sometimes disconnects from WiFi and then he has difficulty reconnecting. The WiFi signal keeps staying on "obtaining IP address" and repeats again, so I have to switch to mobile data until my WiFi comes back. I'm on MIUI Global 11.0.3 Stable (QEAMIXM).
I tried to:
- restart the phone;
- reset the network settings;
- restarting the router-modem;
But the problem still remains.
I read that it may be that the modem router does not support the dynamic IP or MAC address of the new version of Android, but I'm not an expert.
If someone is facing the same problem or knows how to solve it I really appreciate the help.
Thanks in advance
Click to expand...
Click to collapse
If you have always been on stock
Change the setting so that the phone uses its actual Mac address and not randomized
If you have used many different roms,
You may need to flash the fastboot version of the latest stable rom ( for your device : Global or Chinese) it restore your persist partition, and all other partitions.
resetting will not fix this issue and neither will flashing a recovery rom. it has to be a fastboot rom.
Do not flash it unless your device is linked to your own personal Mi Cloud account, and the built in flashall batch command completely wipe your device. be sure to un select relock bootloader if using Mi-Flash.
Never flash any persist images that you may find on XDA threads.
Some of those posts include links to personal recovery persist backups . Those backed up images are hardware linked to individual devices, and flashing one of those files will cause permanent issues..
tsongming said:
If you have always been on stock
Change the setting so that the phone uses its actual Mac address and not randomized
If you have used many different roms,
You may need to flash the fastboot version of the latest stable rom ( for your device : Global or Chinese) it restore your persist partition, and all other partitions.
resetting will not fix this issue and neither will flashing a recovery rom. it has to be a fastboot rom.
Do not flash it unless your device is linked to your own personal Mi Cloud account, and the built in flashall batch command completely wipe your device. be sure to un select relock bootloader if using Mi-Flash.
Never flash any persist images that you may find on XDA threads.
Some of those posts include links to personal recovery persist backups . Those backed up images are hardware linked to individual devices, and flashing one of those files will cause permanent issues..
Click to expand...
Click to collapse
I have always been with the Global stable rom. Where do I change the MAC address?
Crisgas98 said:
I have always been with the Global stable rom. Where do I change the MAC address?
Click to expand...
Click to collapse
I am not currently using a Miui rom, because I wanted to test that my battery is truly going bad ( It is) So I will have to give you the approximate location. If I am remembering correctly it's in network settings > advanced options > privacy
If you dont see it, download the app called Hidden Settings for MIUI and you should be able to change it to use the actual Mac address.
Crisgas98 said:
Hi xda, I don't even know if this is the correct section.
I'm experiencing a problem with my Mi 8 in these days I've never had, my phone sometimes disconnects from WiFi and then he has difficulty reconnecting. The WiFi signal keeps staying on "obtaining IP address" and repeats again, so I have to switch to mobile data until my WiFi comes back. I'm on MIUI Global 11.0.3 Stable (QEAMIXM).
I tried to:
- restart the phone;
- reset the network settings;
- restarting the router-modem;
But the problem still remains.
I read that it may be that the modem router does not support the dynamic IP or MAC address of the new version of Android, but I'm not an expert.
If someone is facing the same problem or knows how to solve it I really appreciate the help.
Thanks in advance
Click to expand...
Click to collapse
Please look at this community where I have been posting doing some debugs on what were happening with Xiaomi Mi8 with Android 10.
https://community.cisco.com/t5/wire...onnecting-android-10-to-cisco-me/td-p/4009289
It looks like Xiaomi has deprecated WPA2 in some cases, but not in others. In my case, using Cisco APs I cannot connect until I configure native WPA3 (not even transition mode).
Same seems to happen to Nokia devices.
Weird behavior when you see you can connect to other APs using WPA2, but after doing some debugs with ADB I realized the phone wasn't sending association to AP, so it is not AP vendor fault.
And the thing I hate the most, is trying to open a TAC case with Xiaomi. They do not attend any expert issue but only low-level issues the type of factory-reset your phone and try again. I starting to hate this kind of support. They don't care about their products nor the users.
HTH
Jesus
chustm said:
Please look at this community where I have been posting doing some debugs on what were happening with Xiaomi Mi8 with Android 10.
https://community.cisco.com/t5/wire...onnecting-android-10-to-cisco-me/td-p/4009289
It looks like Xiaomi has deprecated WPA2 in some cases, but not in others. In my case, using Cisco APs I cannot connect until I configure native WPA3 (not even transition mode).
Same seems to happen to Nokia devices.
Weird behavior when you see you can connect to other APs using WPA2, but after doing some debugs with ADB I realized the phone wasn't sending association to AP, so it is not AP vendor fault.
And the thing I hate the most, is trying to open a TAC case with Xiaomi. They do not attend any expert issue but only low-level issues the type of factory-reset your phone and try again. I starting to hate this kind of support. They don't care about their products nor the users.
HTH
Jesus
Click to expand...
Click to collapse
It's not only about Xiaomi, but all the other brands. It's always impossible to reach to a person with technical knowledge, no matter what device or what tech support you contact with.
I actually don't expect any bug fixes from Xiaomi, since they didn't even care about Widevine L1 certificate while Pocophone F1 users received it.

XT1925-4 wifi problem please help

Hello guys im new here and i tried lot of things to repair my wfi problem.
So its my mom phone and one day she called me about selfrestart phone in night and there was image of bootloader and startup failed.
So after classic factory reset and etc my wifi still not working. The problem is i cant connect to any wifi. I can scan it but wont connect just say disabled or saved but not connection.
After this i tried flash stockroom succesfully after 2 days of hard work So i flash stock room but the problem is still there so im not sure what can i do anymore. If i can try flash some newer rom or custom rom or its just hardware failure? has anyone have problem like this? All others things work normal like data connections etc. Sorry for my english
1. update so i flashed another lineage room just in case and still not working.
2. i notice in system information that wifi mac adress is 0d:00:00:00:00:00 so can be hardware failure probably.
3. Hotspot wifi is working so i can connect from another mobile to the broken wifi mobile

Categories

Resources