WiFi connectivity problem - Xiaomi Mi 5 Questions & Answers

Hi,
I’m from Portugal and I’ve bought a Mi5 some days ago.
I have a problem for which I don’t find any solution.
The phone came with a modified fake ROM from the Chinese store but was working fine.
I unlocked the phone and installed TWRP to flash other ROMs. I flashed MIUI 8 global stable and a custom ROM from Xiaomi.eu without any problem.
Everything was working fine with the phone but I noticed that a lot of files from prior fake ROM (the one from the Chinese store) remained in the phone. So I decided to swipe everything in TWRP (including system and internal storage) and flashed MIUI Global Stable ROM again.
From this point, I never again been able to connect to a WiFi network and the 2G, 3G LTE connection became very weak and instable. The phone scan the wifi network available without problem, but after introducing the password, it tries to connect and just shows “Saved”.
I tried a lot of stuff. Static IP, reboot router, change router channel, change router security settings, flash different ROM, tweak build.prop file, but the problem persist.
In the phone test menu, when I try to connect to a WiFi I see that the phone scan, connect, disconnect, scan, connect, disconnect…
Any help?
Do you think it’s Hardware related issue? Or phone firmware and driver problem?
I’ll be very grateful for any assistance.

Hello
Yesterday I got the phone and I have exactly the same situation. Tried the same things, also flashing RR Nougat, RR Marshmallow, MIUI 7 and 8. Wifi isn't working in any situation. Did you solve it? Anyone have some ideas with it?

try another ROM
Just try the ROM "cm-13.0-20161211-NIGHTLY-gemini" .
My mi5 had the same problem when I got it, so I try unlock, bootloader, new cm14 rom, even went to change sim card, cause can't access 4G, still no luck. Then I backed to official ROM, factory reset, still have wifi and 4G problem. Finally after try the cm13 ROM, every thing became fine. It took me 5 days to resolved it.
FYI, mi5 's wifi signal strength is poor than others as so many complain you can see on the miui forum.

Tried that CM build, still nothing. I found in dev tools option to debug WIFI, and all the time I have RSSI of -127, even if I'm literally 1m from source (also I tried many sources). I'm out if ideas. Also It's not reception problem, because original ROM (like OP, probably fake global MIUI) had WIFI working just fine for me.

I have exactly the same situation.
I'll try the ROM "cm-13.0-20161211-NIGHTLY-gemini".
Thanks!!!
---------- Post added at 05:11 PM ---------- Previous post was at 04:37 PM ----------
Unfortunately, this ROM did not work for me either. :crying:
Any more help?
Thank you very much!!!

Try Xiaomi.eu 8.1.7.0 Nougat.
It's working for me, but my wifi wont connect in CM/ AOSP ROM

bajak85 said:
Try Xiaomi.eu 8.1.7.0 Nougat.
It's working for me, but my wifi wont connect in CM/ AOSP ROM
Click to expand...
Click to collapse
Hello friend, do you have the link for me to download this ROM?
Many thanks for helping.

I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.

ederluisf said:
Hello friend, do you have the link for me to download this ROM?
Many thanks for helping.
Click to expand...
Click to collapse
I found it, thank you. I'll flash the rom now. Thanks.
---------- Post added at 06:47 PM ---------- Previous post was at 06:41 PM ----------
Pekkuky said:
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
Click to expand...
Click to collapse
I'll try this procedure too, thank you very much Pekkuky.
I'll be back to talk if it fired, thanks for the help.

I tried to install the ROM that bajak85 suggested and it did not work for me, however I tried the procedure that pekkuky taught in ROM Xiaomi.eu 8.1.7.0 Nougat (ROM that bajak85 suggested) and it started to work, changing the MAC address worked for me too.
I did exactly as taught by Pekkuky and tried with another randomly generated MAC. That also worked.
Thank you all for the help and thank you very much Pekkuky, saved my life with this tip.

Obtaining IP Address Loop...help..:crying:

artforcesilvia said:
Obtaining IP Address Loop...help..:crying:
Click to expand...
Click to collapse
Hello, did you make sure that the MAC address was actually changed? In my case, a reboot was necessary for the modification to take effect.
I needed to forget the network and try again too, try this too, make sure the MAC has really changed and forget the wifi network and try again.
Good luck. :good::good:

ederluisf said:
Hello, did you make sure that the MAC address was actually changed? In my case, a reboot was necessary for the modification to take effect.
I needed to forget the network and try again too, try this too, make sure the MAC has really changed and forget the wifi network and try again.
Good luck. :good::good:
Click to expand...
Click to collapse
I've tried it over and over again but it didn't work.:crying:

artforcesilvia said:
Obtaining IP Address Loop...help..:crying:
Click to expand...
Click to collapse
Another thing that can help is to configure Static IP in the advanced settings of your network, have you tried this?

ederluisf said:
Another thing that can help is to configure Static IP in the advanced settings of your network, have you tried this?
Click to expand...
Click to collapse
I set IP static it connected modem but no internet, some time messager "authentfication error" apear.:crying:

My problem has been solved.
Thank you very much

artforcesilvia said:
My problem has been solved.
Thank you very much
Click to expand...
Click to collapse
:victory: Very good.

Pekkuky said:
I had the same problem, same symptoms.
I too flashed a new ROM and couldn't connect to any AP, I tried various ROMS, MIUI 7 & 8 and CM 13 & 14.1.
Though I think I found a solution (it worked for me ). I simply changed my MAC-adress and I was able to connect to my home WiFi.
I'm running CM 14.1-2016225-NIGHTLY-gemini on MI5.
This is what I did to fix my WiFi:
First prepare an new MAC-address. I personally don't know when a MAC-address is considered valid, so I just took one from an other device. I used the mac address of my previous mobile phone, which could connect to my router.
1. Disable WiFi.
3. Enable debugger settings (Setting>about Phone>Press build number repeatedly).
2. Enable root (Develepor settings>root access set to "Apps and ADB").
3. Open the file manager app.
4. Give the file manager app root access (menu>Settings(cog in lower left corner)>General settings>Access mode set this on "Root Access mode").
5. Now find the file root/etc/firmware/wlan/qca_cld/ and open wlan_mac.bin.
You should see something similar to:
Code:
Intf0MacAddress=XXXXXXXXXXXX
Intf1MacAddress=XXXXXXXXXXXX
END
6. Change the first to your new MAC-address, but first write down the old one, so you can change it back if this method doesn't work for you.
The last X of the next line should be a digit higher than the previous line. E.g:
Code:
Intf0MacAddress=957FDC328BF[B]4[/B]
Intf1MacAddress=957FDC328BF[B]5[/B]
END
(This MAC-address most likely won't work).
7. Save the file. You might need to press the save button a few times.
8. Check if the file has changed.
9. Check if you MAC-address has changed (Settings>WiFI>Configure-WIFI(cog in right upper corner)).
10. Enable WiFi.
I hope this works for everyone that has the same problem.
Click to expand...
Click to collapse
Made an account to thank Pekkuky, because this worked for me. I also linked it on a couple of Xiaomi.EU posts about the same problem.

I had the same problem and this method really worked. I was angry af for 1 week, trying to solve this. Thank you very much Pekkuky

artforcesilvia said:
My problem has been solved.
Thank you very much
Click to expand...
Click to collapse
Are the same step above??
Why my wlan file,the latest one is not an number??
Sorry for my bad,help me please,i have been try this way,but still same

Related

Cyanogenmod 5.0.5.3 - Wireless_tether 2.0_pre8 (and older)

I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
ghost_o said:
I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
Click to expand...
Click to collapse
Did you turn off USB tethering?
hotweiss said:
Did you turn off USB tethering?
Click to expand...
Click to collapse
Never turned it on, and verified it is off...
how did you load the apk?
lpasq said:
how did you load the apk?
Click to expand...
Click to collapse
Downloaded to SD, and installed from browser download screen...
ghost_o said:
Downloaded to SD, and installed from browser download screen...
Click to expand...
Click to collapse
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
lpasq said:
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
Click to expand...
Click to collapse
Will do adb.. I have the linux sdk..
Thanks, will post back with results..
OK, installing with adb has the same effect.
There are posts from the google code pages where this has happened in the past (last year though), so I doubt related..
Out of ideas...!
eth0 IEEE 802.11-DS ESSID:"AndroidTether" Nickname:""
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 3A:4E:3D:88:EC:41
Bit Rate=72 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-57 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This is with WEP set.. It must have something to do with wpa_supplicant somewhere.. I'll keep digging...
maybe it might have something to do with atnt not able to do it throught there network. like us tmobile users can use data while on the phone? dont know alot but that could be a possibility
Nah, wpa_supplicant is not negotiating wep for some reason. I just replace the wpa_supplicant.conf file with a very generic open key WEP config and it still does not work..
I need to dig through my broadcom nda's and find this chip, and see if I can use the firmware.. I'll just load it up in AP mode and run hostapd and be done with it....
Ad-Hoc just plain sucks, almost as much as wep...
Cant find find wireless apk anywhere can someone please give me link
ttieder said:
Cant find find wireless apk anywhere can someone please give me link
Click to expand...
Click to collapse
http://lmgtfy.com/?q=android-wifi-tether&l=1
deprecate said:
http://lmgtfy.com/?q=android-wifi-tether&l=1
Click to expand...
Click to collapse
lmgtfy.com - that was awesome - my family members are gonna feel like idiots asking me questions now!
I had not heard of that site before.
Regarding wep-encryption & CM 5.0.5.x:
http://code.google.com/p/android-wifi-tether/issues/detail?id=292
So, wep-encryption is broken (no idea why) on the latest cyanogenmod-build. Please use CM 5.0.4.1 - it works flawlessly there.
I will take a closer look the next days ... but it's hard to tell what is causing this - I don't know which changes were made on CM.
By the way ... why was this topic moved to Q&A
This is definitely an issue which needs to be solved and should stay in development!
Thanks - I googled for quite a while, and never came across that info. Tethering is not that critical (unless I am travelling), so I will just wait for a fix sometime.
I would have figured other in this forum would have hit it though?!?!?
-G
I've installed 5.0.5.3 and downgraded the kernel which came with 5.0.4.1 - and it start working again! So, I would say that this issue is related to the latest kernel (2.6.33.1)!
I've created an issue on cyanogemod:
http://code.google.com/p/cyanogenmod/issues/detail?id=1217
i have wifi tether pre 8 on latest CM mod and its working great, wep works, and no errors in log.
I am having the same problem. I have both a nexus one and motor milestone. Tethering on milestone doesn't have problems but my nexus can't seem to connect as well no Sep security. I can see the my SSID, anyone can help?
There are obviously factors that differ between devices somehow. I too can change kernels and the issue goes away. Something is "missing" somewhere. A git pulled vanilla 2.6.33 kernel works just fine when booting the zimage from fastboot..
I have not looked at the cyanogen .config or wireless module source yet to see any modifications that would effect it...
I'm more interested in the module working in AP mode now that the driver supports it, and have been working on that...
-G

Wifi Adhoc connection problem in X8i GingerDX v14

Hi, I installed GingerDX v14 7 days back into my Xperia X8i. This ROM is working fantastic and with all function. One problem I found that my phone can not connect with Adhoc Wifi connection with my laptop. When I try to connect the cell tries for 5 to 8 mins and reboots automatically. But with my Wifi router it has no problem. Can some one help me?
dipusen said:
Hi, I installed GingerDX v14 7 days back into my Xperia X8i. This ROM is working fantastic and with all function. One problem I found that my phone can not connect with Adhoc Wifi connection with my laptop. When I try to connect the cell tries for 5 to 8 mins and reboots automatically. But with my Wifi router it has no problem. Can some one help me?
Click to expand...
Click to collapse
same i am having the exact same problem i have the ginger dx 014 but i ahve stock kernal waht about you
Flypants101010 said:
same i am having the exact same problem i have the ginger dx 014 but i ahve stock kernal waht about you
Click to expand...
Click to collapse
@Flypants101010 : yes sir, I also have stock kernel with GingerDX v14. Still now we dont have any option to solve. I searched forum for the solution but I didnt find any. If you get some I request you to remember me please and share.
i have an idea we could change the tiwlan.ini in /system/etc/wifi like in the mod for faster
wifi (N standard mod) it says that the mod enables n standard and wifi adhoc im going to try it!
i use gingerdx 017 and i had try your sugestion, i change to faster mode wifi (n standard mode), but the problem was not solved.
I think gingerDX not yet support wifi hotspot. Can try app like Barnacle from market (saw somewhere in this forumn work well, haven't tried yet).
Well you're luck cuz I don't have any wifi or bt now (after installing GDX v17)
anyway, if you want to connect your phone with laptop I can help there is app called connectify (it's cool really) give it try.
I hope I helped
guys, nothing helped me. the problem remains same. ugraded to v17
do a clean install make sure u do a full wipe and all your wifi problems and bluetooth problems should have disappeared ive never had any problems with wifi or bt when using the method i just told you
Even after clean install of GDx V019, then full wipe, X8 fails to connect to Ad-hoc N/w on my laptop. It fails to get the IP address. But there is absolutely no problem in connecting with wifi.
try connecting to other wifi networks ? maybe its your laptop ?
leingod0923 said:
try connecting to other wifi networks ? maybe its your laptop ?
Click to expand...
Click to collapse
no dude, I also have exactly same problem as nima7 says. So both of our laptos have same problem?
Ad-hoc
I have same problem, phone reboot after screen timeout while connected to ad-hoc network but it doesn’t happen when I am charging my phone?? Any cure?
just installed gingerDX v021, and the problem goes on...
When connected with adhoc, when screen turns off, it reboot...
Any solutions?
AdHoc Problem
Hi,
I found out the solution, it worked gem for me. All new custom ROMs comes with Wifi N standard enabled and as per developers N standard does not support Adhoc connectivity. So simply we need to disable the N standard if you frequently use Adhoc or you don’t have N standard routers.
Follow this steps:
- Launch Root Explorer.
- go to: /system/etc and find a file named tiwlan.ini(Path for miniCM RC1 or CM6). For CM7 based ROMs the path may be /system/etc/wifi. And copy this file to SD card??
- Now copy(tiwlan.ini) file to your computer via USB cable. And open the file using Notepad.
- Look for these below mentioned lines and change them from 1 to 0 (use ctrl+f to search in notepad)
HT_Enable=1 ---> HT_Enable=0
BurstModeEnable = 1 ---> BurstModeEnable = 0
Single_Dual_Band_Solution = 1 ---> Single_Dual_Band_Solution = 0
(CAUTION: DO NOT CHANGE ANYTHING ELSE OR USE SPACE JUST REPLACE 1 WITH 0)
- Now copy the edited tiwlan.ini from your computer to your SD card, and then copy this to its original location by using root explorer with mount R/O enabled and replace the original file, and exit from root explorer without any further changes.
- Go to settings from menu and go to wireless & network>Wi-fi setting and clear all the network(SSID) name you used before by long pressing the name and then select forget network.
- Restart your phone and enjoy??
If useful pls hit the thanks button.
thanks dude worked charm for my friend x8
it worked for me after I unlocked my bootloader and flashed alfs 07 ics kernal and used gdx 22 and it works perfectly and better performance
Great to hear this some people successfully connected to Adhoc wifi.
GingerDX v29
Wasif_F1 said:
Hi,
I found out the solution, it worked gem for me. All new custom ROMs comes with Wifi N standard enabled and as per developers N standard does not support Adhoc connectivity. So simply we need to disable the N standard if you frequently use Adhoc or you don’t have N standard routers.
Follow this steps:
- Launch Root Explorer.
- go to: /system/etc and find a file named tiwlan.ini(Path for miniCM RC1 or CM6). For CM7 based ROMs the path may be /system/etc/wifi. And copy this file to SD card??
- Now copy(tiwlan.ini) file to your computer via USB cable. And open the file using Notepad.
- Look for these below mentioned lines and change them from 1 to 0 (use ctrl+f to search in notepad)
HT_Enable=1 ---> HT_Enable=0
BurstModeEnable = 1 ---> BurstModeEnable = 0
Single_Dual_Band_Solution = 1 ---> Single_Dual_Band_Solution = 0
(CAUTION: DO NOT CHANGE ANYTHING ELSE OR USE SPACE JUST REPLACE 1 WITH 0)
- Now copy the edited tiwlan.ini from your computer to your SD card, and then copy this to its original location by using root explorer with mount R/O enabled and replace the original file, and exit from root explorer without any further changes.
- Go to settings from menu and go to wireless & network>Wi-fi setting and clear all the network(SSID) name you used before by long pressing the name and then select forget network.
- Restart your phone and enjoy??
If useful pls hit the thanks button.
Click to expand...
Click to collapse
It was a good advice at the time of the writing, but GingerDX v29 already contains these modifications.
I tried wifi hotspot function using two X8 phones, both running GingerDX v29. As I also had "error" always when I tried to start it. Interesting thought my X10 mini Pro (also running GingerDX v29) was working as a hotspot using the same menu item.
Then I realised what is written in the first post:
GingerDX v029 (29-09-2012) - huuuuuuuuge update:
Based on MiniCM shakira device tree
CM nightly dated on 28/09/2012
New devices officially supported from now (Xperia X10 Mini, Xperia X10 Mini Pro, Samsung Galaxy Ace GT-5830 - thanks to CallMeVentus)
Updated Google Play Store to 3.8.17
Removed Nemus Launcher
Added Holo Launcher 1.2.4
Added Google Authenticator
Spare Parts/Dev Tools
Ultra-brightness
Ultra-brightness power toggle
Native WiFi tethering (custom kernel only)
Click to expand...
Click to collapse
Which was the problem the X8's had. As custom kernels require unlocked bootloader and they should be produced before 11w29 as the guide says:
If your phone's manufacture date is 11W29 or PAST 11W29, DO NOT ATTEMPT TO UNLOCK YOUR BOOTLOADER. IT WILL MOST LIKELY RESULT IN A HARD BRICK
Click to expand...
Click to collapse
So this can also be the reason. HTH

[Q] Wireless not working on CM9 Alpha 2 Help?

HI everyone, i'm a Noob here sooo here goes:
I don't know why - but I installed CM9 Alpha 2 on my HP Touchpad and my wireless was working at the time of installation. After using it for a while then turning it off, and on again the wireless stopped working. I can see the wireless signals but when i click to connect it says "Connecting" then back to the wireless name and never connects. It came back, stayed on for a while...then when i reset it again this time to see if it would go off again - it hasn't come back since.
My question: Does anyone know what is going on? Am i missing something or doing something?
Thank you
Im having the same problem...
nightly 3/17
FWIW I have had the same problem occasionally when installing different builds but what seems to help is going into the WebOs and turning the WiFi off then on and then rebooting into whatever Android version I was using at the time. There is also a long thread covering this in the development section with thoughts on how to fix the problem.
bob
"I don't know why - but I installed CM9 Alpha 2 on my HP Touchpad and my wireless was working at the time of installation. After using it for a while then turning it off, and on again the wireless stopped working. I can see the wireless signals but when i click to connect it says "Connecting" then back to the wireless name and never connects. It came back, stayed on for a while...then when i reset it again this time to see if it would go off again - it hasn't come back since.
My question: Does anyone know what is going on? Am i missing something or doing something?"
No, you've done well...wifi has been a persistent issue with almost everyone. There are several ways to go about resolving it.
1) (from terminal emulator): enter su (hit return) then type the following....
rm (space) -rf (space) /data/misc/wifi (space) && (space) reboot
(Or if that doesn't work...)
(from root explorer): access /data/misc/wifi folder then long press wpa supplicant folder and select delete...confirm delete and reboot
Either of those methods from #1 should allow you to restore wifi but you'll probably have to repeat the process upon each reboot/restart of your TP. A more permanent resolution has been proposed by #2 below.
2) You can also look up Rohan's Supreme Mods v 1.3 (for CM9 Alpha 2) and flash that zip file over your current rom, but be sure to reboot into recovery and make a Nandroid backup before flashing the mod package.
:[MODPACK][3/10][NEW]SUPREME Mods v1.3 [Faster, Smoother, Faster Wifi, Better Battery]
http://forum.xda-developers.com/show....php?t=1519161
Make sure you select the mod package that matches your current DPI setting of your Alpha 2 rom and follow his install instructions to the letter.
Good luck!
flash these drivers. should do the trick if you're having wifi issues with the disconnect reconnects.
http://rootzwiki.com/topic/18332-new-wifi-driver-ath6kl-from-compat-wireless/
download the file and flash via Clockworkmod, do a nandroid backup first just in case something goes rogue.
another quick fix, toggle airplane mode. usually gets you back going again. As for rohan's mods, try this first. His mods won't help if you can't keep a stable wifi connection.
I'm having this problem also. Very frustrating! I will try all of this tomorrow and report back. Thanks.
Sent from my Kindle Fire using Tapatalk
This thread has a lot of useful fixes which might help.

[Q] [solved] problem in pairing with pc via wifi

sorry if this problem is mentioned before in the forum. i tried searching in forum and google as well, but couldn't find anything similar to my problem.
i am having a problem while pairing my Xperia ZR with my PC (Windows 7 64-bit SP1). i had successfully paired my ZR with my PC few months ago but few days i accidentally deleted the pairing setting on my ZR. now when i am trying to pair again i cannot do it. below are the steps i do:
1. connect my ZR to my PC via USB (MTP mode)
2. in My Computer right click on my ZR in Portable Devices
3. select Network Configuration
4. a Portable Device Network Configuration window opens, i click on Next
5. at this point the Portable Device Network Configuration freezes on "Transferring settings on your device" screen. i have to End Task it to close it.
i have tried removing device drivers and reinstalling them through PC Companion, no help.
i have uninstalled PC Companion and downloaded latest version from Sony website, still no help.
the last time when i was able to pair it successfully i was on Jelly Bean. now i am on Kitkat. could somehow this be the problem causing factor?
please help. i have been trying to resolve this since many days now.
nobody? please help me guys...
Sorry! I have a very similar problem, cannot connect on Wi-Fi with computer at all, since kitekat. Been reading forums for solutions, couldn't find anything that helped. I just gave up.
Sent from my C5503 using XDA Free mobile app
tudork said:
Sorry! I have a very similar problem, cannot connect on Wi-Fi with computer at all, since kitekat. Been reading forums for solutions, couldn't find anything that helped. I just gave up.
Sent from my C5503 using XDA Free mobile app
Click to expand...
Click to collapse
Did somebody find any solution?
I have exactly the same problem. The Portable Device Network Configuration freezes. Hoping someone comes up with a solution.
Me too.
Seems like enough people are running into this issue that Sony would want to do something about it...
Hi, I'm using xperia Z and i'm able to pair by device with pc - wireless. Initially i was experiencing the same issue- freezing of network configuration. Once i updated my PC companion, accessed my xperia connectivity in settings and tried again and its worked.
I'm using windows 8 64 bit in my lap and running the latest kitkat in my xperia z.
vinothneo said:
Hi, I'm using xperia Z and i'm able to pair by device with pc - wireless. Initially i was experiencing the same issue- freezing of network configuration. Once i updated my PC companion, accessed my xperia connectivity in settings and tried again and its worked.
I'm using windows 8 64 bit in my lap and running the latest kitkat in my xperia z.
Click to expand...
Click to collapse
it seems like problem at windows end (may be some driver problem) because both my pc companion and phone software are up to date and i still can't pair my phone over wifi...
if you need to transfer files over wifi try es file explorer
Sent from my C2105 using XDA Free mobile app
FWIW I have a new Z3 Compact and I have exactly the same issue on Windows 7 x64.
rec71 said:
FWIW I have a new Z3 Compact and I have exactly the same issue on Windows 7 x64.
Click to expand...
Click to collapse
i have same problem z3c, win7 32
---------- Post added at 04:17 PM ---------- Previous post was at 04:04 PM ----------
OK, I got it.
1.Wait for "not responding" screen of pairing screen
2. ctrl+alt+del > go to Aplications tab
3. right click on not responding app and click on "go to process"
4. than system will mark you xxx32 process, and just END PROCESS it
5. don't close windows task manager
6. try again pair device, and watch memory used of process, thay will moving 2-4K and if memory use move dont end task, just wait (1 min), and than your phone will notificate, and press PAIR on phone.
and...sorry for my very bad english
metak said:
i have same problem z3c, win7 32
---------- Post added at 04:17 PM ---------- Previous post was at 04:04 PM ----------
OK, I got it.
1.Wait for "not responding" screen of pairing screen
2. ctrl+alt+del > go to Aplications tab
3. right click on not responding app and click on "go to process"
4. than system will mark you xxx32 process, and just END PROCESS it
5. don't close windows task manager
6. try again pair device, and watch memory used of process, thay will moving 2-4K and if memory use move dont end task, just wait (1 min), and than your phone will notificate, and press PAIR on phone.
and...sorry for my very bad english
Click to expand...
Click to collapse
didn't work for me
itsmeharsh said:
didn't work for me
Click to expand...
Click to collapse
worked fine for me.
1. tried pairing
2. when it stops responding open task man and kill its process
3. try pairing again
4. It WILL not respond again, but just wait for a couple minutes. It'll magically finish
Deviver said:
worked fine for me.
1. tried pairing
2. when it stops responding open task man and kill its process
3. try pairing again
4. It WILL not respond again, but just wait for a couple minutes. It'll magically finish
Click to expand...
Click to collapse
i tried again, didnt work this time too. i cant figure out if i am missing any small step...
metak said:
i have same problem z3c, win7 32
---------- Post added at 04:17 PM ---------- Previous post was at 04:04 PM ----------
OK, I got it.
1.Wait for "not responding" screen of pairing screen
2. ctrl+alt+del > go to Aplications tab
3. right click on not responding app and click on "go to process"
4. than system will mark you xxx32 process, and just END PROCESS it
5. don't close windows task manager
6. try again pair device, and watch memory used of process, thay will moving 2-4K and if memory use move dont end task, just wait (1 min), and than your phone will notificate, and press PAIR on phone.
and...sorry for my very bad english
Click to expand...
Click to collapse
Deviver said:
worked fine for me.
1. tried pairing
2. when it stops responding open task man and kill its process
3. try pairing again
4. It WILL not respond again, but just wait for a couple minutes. It'll magically finish
Click to expand...
Click to collapse
tried again and worked this time. thank you. though we were unable to locate the actual problem, the workaround has been found.
Remove PC name
For me works this approach:
https://talk.sonymobile.com/t5/Xperia-Z2/Unable-to-pair-via-Wifi-with-Sony-Pc-Companion/td-p/672893
finally solved problem. its very easy. i m showing you how to do it. (as Example my pc name is Lines-PC)
1. connect phone to pc via usb cable
2. Open your phone internal storage
3. Find your pc name file as my pc name is Lines-PC
4. Remove thet Lines-PC (Delete your pc named File) File
5. Go back and Configure again. It will work good as before.
suchosj said:
For me works this approach:
https://talk.sonymobile.com/t5/Xperia-Z2/Unable-to-pair-via-Wifi-with-Sony-Pc-Companion/td-p/672893
finally solved problem. its very easy. i m showing you how to do it. (as Example my pc name is Lines-PC)
1. connect phone to pc via usb cable
2. Open your phone internal storage
3. Find your pc name file as my pc name is Lines-PC
4. Remove thet Lines-PC (Delete your pc named File) File
5. Go back and Configure again. It will work good as before.
Click to expand...
Click to collapse
i had tried this too, it didn't work for me.
suchosj said:
For me works this approach:
https://talk.sonymobile.com/t5/Xperia-Z2/Unable-to-pair-via-Wifi-with-Sony-Pc-Companion/td-p/672893
finally solved problem. its very easy. i m showing you how to do it. (as Example my pc name is Lines-PC)
1. connect phone to pc via usb cable
2. Open your phone internal storage
3. Find your pc name file as my pc name is Lines-PC
4. Remove thet Lines-PC (Delete your pc named File) File
5. Go back and Configure again. It will work good as before.
Click to expand...
Click to collapse
Finally, this method worked for me as the other one failed.
THANK YOU! I'm happy now!
kuztardd said:
Finally, this method worked for me as the other one failed.
THANK YOU! I'm happy now!
Click to expand...
Click to collapse
Where the hell is this mysterious fle? I can't locate it anywhere. This is driving me nuts.
---------- Post added at 07:26 AM ---------- Previous post was at 07:21 AM ----------
Deviver said:
worked fine for me.
1. tried pairing
2. when it stops responding open task man and kill its process
3. try pairing again
4. It WILL not respond again, but just wait for a couple minutes. It'll magically finish
Click to expand...
Click to collapse
HA! I'll be damned, this worked! Thank you!
SOLUTION
Alright, it is for the benefit for every sony xperia user that i chose to register for this xda developer account and post the probable solution. Least for me...
For quite a period of time i have been trying and trying but to no avail. Well, guess what all you need to do is to include your device as part of the exception that could be blocked off if you do not include it in your exception list. MEDDLE WITH YOUR ANTI-VIRUS/FIREWALL/SMART SECURITY SUIT...whatever you could find that will hinder you to connect your xperia with your pc wirelessly. Also, make sure you don't give up and throw your phone into some fire since the phone is with some water resistant ability i figured it wouldn't kill if you throw it into the water. HAHAHA. Anyway, yes it is the firewall that got into the way for me and i did pair up successfully until the stage when the device is suppose to connect to the phone then it just said failed to connect no matter how many times i tried. Okay, issue solved i hope? Happy connecting wirelessly! =D

[ TUTORIAL ][Umi Zero]NVRAM WARNING ERR 0x10 (random WLAN MAC ADDRESS)Definitive Fix

----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
arcatarc said:
1) On your UmiZero,open "Settings-About phone-Status" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1)
APDB_UMIZERO (for AP DB)
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
99.hemanth said:
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Click to expand...
Click to collapse
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
FoOtY1337 said:
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
Click to expand...
Click to collapse
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
arcatarc said:
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
Click to expand...
Click to collapse
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
99.hemanth said:
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
Click to expand...
Click to collapse
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
arcatarc said:
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
Click to expand...
Click to collapse
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
99.hemanth said:
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
Click to expand...
Click to collapse
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
arcatarc said:
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
Click to expand...
Click to collapse
Ah thanks Arcatarc! So when I change the MAC address with your method it will stay even when I preform a wipe from the Android settings / CWM? How could UMI release it like this? My WiFi is so unstable
Best regards!
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
yes! .. i inserted in lower case only .........
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
Hi Arcatarc,
I've the same problem, writing to nvram is ok, deleting folder is ok but still have random mac address whenever I on/off wifi.
Could you give offset in file where MAC is stored, I'll try to place correct address by hexedit.
Is it storred in wifi or wifi_custom?
Guys,
After two days I think, that I've found the solution - permanent
What is important:
- files: wifi & wifi_custom must have rights: r-- r-- r-- (see photo)
- owner & guid must be empty (see photo)
- need 2 apps: hex editor & es file explorer installed
- the most important thing is correct MAC ADDRESS, it must start with 000820XXXXXX use online generators like:
http://www.miniwebtool.com/mac-address-generator/
So, what we need to do:
1. Important - (Turn ON WIFI), delete files "WIFI" & "WIFI_custom" from folder "data/nvram/APCFG/APRDEB/" to have them recreated with correct owner & guid rights after restart.
2. Restart phone.
3. Turn off wifi.
4. Use hex editor to edit file or better mobileuncle tools (engineer mode ->(MTK)-> connectivity menu-> wifi ->nvram). Look at attached photos, You will need to insert own MAC address to file. You have two ways:
- by Mobileuncle under "Byte String Access" set
addr value "4"
length value 6
Press "Read", should show you some random generated mac address, delete it and place your new valid MAC Address & press "Write".
That should save your new mac, you can check if that was saved by pressing "Read", should show you your new mac address.
- by Hex editor (give it root rights in options) and open "WIFI" file, go to offset $4 and insert your new mac address & save file. (see photo)
5. We need to set correct rights on both files "WIFI" & "WIFI_custom". I've used "es files explorer" and set all only as Readable. Remember do this on both files. Don't change owner & guid rights, must be blank.
PS.
I've messing around quite long, so I hope that I wrote the steps in correct order. If that doesn't work, try to turn on wifi after saving new mac address, or restarting between some steps etc.
I've used mobileuncle but I know that some of you had problem, so I've wrote the hex editor way.
Alternative way
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
arcatarc said:
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
Click to expand...
Click to collapse
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
victorzijka said:
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
Click to expand...
Click to collapse
yes,the error is generated from it..
Driver doesn't work in W7 64 bit (driversetup.exe installer)
arcatarc said:
----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
got this error, please help
SP_META_ConnectInMetaMode_r Error: maybe is DEFAULT_FAIL cause this error...
Error: Connect failed, Exit Meta Mode
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
[email protected] said:
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
Click to expand...
Click to collapse
Try deleting "data/nvram" folder and reboot.

Categories

Resources