I just updated my system and now my WIFI just reads error. I did a factory reset two times and still no luck does anybody have any suggestions?
androidA500 said:
I just updated my system and now my WIFI just reads error. I did a factory reset two times and still no luck does anybody have any suggestions?
Click to expand...
Click to collapse
What if anything did you do/load on your tab before you updated?
were you rooted and or applied removed any hacks or programs???
I don't know if I was rooted I didn't do anything to change the system when I bought it. All I did was download some games and use the browser. The update failed the first time, so I tried it again and it succeeded. As soon as the tablet restarted it had no internet access and on the setting menu under WiFi it just said Error.
i had to reset permissions on the wpa_supplicant to rwxr xr x.
How would I do that?
this has also happened to me. i'll try changing the permissions.
i used chmod 755 wpa_supplicant in the /systems/bin/ and my wifi still reads "Error"
did not work for me neither ;(
i think i will just send it to acer
You did reboot after making the permissions change, right?
yep i did. i did a system reset too and still came back as wifi error, and little did I know that when you do that it also wipes the "SD Card" internal storage as well, which had my system backup on it. UGH. Now, alot more troubleshooting
Ok I got wifi back up by restoring a system.img i found for the US to the original 1.04 version. After installing the patch manually, wifi failed to work. again.
After letting impatience get the best of me, I managed to extract the update from a posted link back to acer and successfully updated to 1.141. Now I have the same problem here. Error - No wifi.
Log reports an error loading the wifi driver. Tried to fix the wpa_supplicant permissions, but once I had the system folder set to r/w, the permissions were already at 755.
Anyone else figure this out? perhaps there's an old wifi driver we can use and replace the existing borked driver file?
Update: After searching though the forums, only two "fixes" are available for lack of wifi and neither of them do anything. Permission changes for the wpa_supplicant file does nothing and the two kernel mods also do nothing. In fact both those modules are the exact same size so I'd guess they are the same files. It has to be something else. Looking at attempting to revert back to 1.04 until this can get resolved (once I find the 3 images to do so)
Update2 (RESOLVED): Ok, this is something one would not expect from an update. From what it looks like, the update does NOT update the kernel in any way. The kernel modules were the cause of the error as the 1.141 update will update the modules but not the kernel itself. I found a set for my kernel here and after copying those to the /system/lib/modules folder (and changing the permissions to 755 or rwxr-xr-x) after rebooting I got connected. Hope that helps.
Update2 (RESOLVED): Ok, this is something one would not expect from an update. From what it looks like, the update does NOT update the kernel in any way. The kernel modules were the cause of the error as the 1.141 update will update the modules but not the kernel itself. I found a set for my kernel here and after copying those to the /system/lib/modules folder (and changing the permissions to 755 or rwxr-xr-x) after rebooting I got connected. Hope that helps.
Click to expand...
Click to collapse
Thanks! This worked for me.
Related
Hi guys,
Not sure what's happening on my Vodafone Magic...
Rooted it so i could install the HTC (htc_ime) keyboard. All that went fine all working ok. However since i've noticed my phone seems to be randomly using 5mbs of data every few hours. Can see this in netcounter. At one time i actually caught it happening, checked taskiller and closed everything that was running, yet the data still carried on transferring!!!
I've done a wipe to factory and set up again, just checked the phone before it was on 9mb, closed everything in taskiller, left for maybe an hour or two just looked and it now says 14mb.
Any ideas???
Could be the update problem I had. The phone downloads an update but fails to install (because the phone is rooted otacerts.zip does not match). If you catch it again you should be able to see the download progress in settings software update or the file being created in /cache. As soon as the download completes the update fails quietly and the cycle begins again. I'm looking for a stock ROM but for now I have copied /system/build.props from the ADB JFv1.51 ROM and is seems to have prevented the download from starting.
Roostlick said:
Hi guys,
Not sure what's happening on my Vodafone Magic...
Rooted it so i could install the HTC (htc_ime) keyboard. All that went fine all working ok. However since i've noticed my phone seems to be randomly using 5mbs of data every few hours. Can see this in netcounter. At one time i actually caught it happening, checked taskiller and closed everything that was running, yet the data still carried on transferring!!!
I've done a wipe to factory and set up again, just checked the phone before it was on 9mb, closed everything in taskiller, left for maybe an hour or two just looked and it now says 14mb.
Any ideas???
Click to expand...
Click to collapse
Turn off Data synchronization and see how it is. Maybe this is sync traffic
Downloaded JFV1.51 CRB43 ADP (10791) from the jesus freke blog.
adb pushed build.prop to system folder on phone, will leave it a few hours now and see if the data count randomly goes up or not, cheers!
Surely everyone should get this problem when they root? As i haven't put on a custom ROM or installed jesusfrekes stuff, just rooted it to install a keyboard!
Still doing it, went from 33mb to 37mb.
Could of done the build.prop wrong i guess, do you mind detailing the complete full procedure just in case?
Many thanks!
I had a very similar problem with my Magic although I don't know if it was downloading 5Mb chunks each time. It was on the stock firmware from Vodafone UK, can't remember if I had rooted at the time ... my Magic was rooted using these instructions: http://android-dls.com/wiki/index.php?title=Magic_Rooting
Just interested to see if you did the same? At one point I had noticed 200Mb of data downloaded within one week ... Voda only allows 500Mb per month in their 'fair use' policy.
I didn't ever fix this but wiped and flashed a different ROM, I've been OK since then. Unfortunately Netcounter does not tell you which apps have been doing the downloading!
I didn't have many apps installed but you know how it is, virtually every app in the market requires internet access for something or another.
Hmmm that sounds very similar to me st0kes.
Left Voda stock rom on, just rooted it to be able to install the htc keyboard and yep i used those instructions you linked to.
Think i will follow your lead and flash to a different ROM this afternoon, thanks for your reply!
How did you go flashing a different ROM Roostlick? Which ROM did you try (URL?).
I rooted my Australian Vodafone Magic the day i got it using the same instructions st0kes mentioned. I didn't replace the 'su' program since i didnt need it and seemed like an unnecessary security risk.
Data usage was fine (normal) for the first 2 weeks. Then it started downloading 4.5mb chunks every 2 hours.
Got close to my 1gig cap, so i turned off all data synchronisation. I have just received my bill today to find the cap was blown.... and that these 4.5mb downloads have continued.
Obviously looking to fix it, since i'm already 400mb through this months cap!!
edit: looked at Settings>About phone>System updates> and i can see "Android Update 1.5" waiting to be installed... no surprises its 4.2mb. I hit "download' on the update and it fails silently after downloading, giving a download prompt again.
Found some more info on the OTA updates in JF's blog here.
I'm currently testing the chmod solution:
./adb shell
chmod 000 /cache/download*
Hi rrfx,
I flashed the phone and installed the rom here:
http://forum.xda-developers.com/showthread.php?t=538633
Think it was the 3.6.8 release 4 version.
That seems to of fixed the problem
Roostlick,
You have done everything I did to solve the probelm except after I modified build props I did a factory reset and I have not hit the download button in settings->about phone->system updates since I did the factory reset. I still see the download available but it does not download any more.
Do you have the following info in settings->about phone (shows the build.props has been updated properly)?
Model No. = Android Dev Phone 1
Build = dream_dephone_.......
My phone is rooted as done here: http://android-dls.com/wiki/index.ph...=Magic_Rooting
B.
Hi guys, thanks for the information. I've fixed my phone now... for anyone else with this problem, and unwilling to use a 3rd party ROM... the path I followed from my post above.
JF's chmod 000 *.zip idea didnt work, my Vodafone Magic AU just kept downloading over the top. However using the SDK and logcat gave plenty of info
Code:
./adb logcat
I/SystemUpdateHelper( 63): Started a new update download: http://android.clients.google.com/updates/signed-vfpioneer-CRC1-from-CRB17.7fbab120.zip
D/InetAddress( 155): android.clients.google.com: 66.249.89.101 (family 2, proto 6)
D/InetAddress( 155): android.clients.google.com: 66.249.89.100 (family 2, proto 6)
D/InetAddress( 155): android.clients.google.com: 66.249.89.102 (family 2, proto 6)
E/SystemUpdateVerifierTask( 63): Verification for /cache/signed-vfpioneer-CRC1-from-CRB17.7fbab120.zip failed: java.io.FileNotFoundException: /system/etc/security/otacerts.zip
W/SystemUpdateHelper( 63): Download system update disappeared.
W/SystemUpdateHelper( 63): Download system update disappeared.
Specifically touching the exact filename in /cache and chmod'ing it 000 didn't work. Suspect the android downloader runs as root and seems to clobber the file anyway:
Code:
touch /cache/signed-vfpioneer-CRC1-from-CRB17.7fbab120.zip
chmod 000 /cache/signed-vfpioneer-CRC1-from-CRB17.7fbab120.zip
(didnt work)
I tried a bunch of other ideas, trawled through bits of the OS code etc. Tried manually downloading and forcing the OTA update.
What worked:
I tried replacing the build.prop file with JF's v1.51. If anyone needs specifics here happy to help.
Rebooted the phone etc, the build version didn't change and the downloads continued. I didn't want to do a factory reset! So left it like this for a couple of days.
This morning, checked the logs and the downloads weren't happening. Odd. Checked the build version and the "dream_devphone" seems to have been read from the build.prop file now! And in system updates "your system is currently up to date". Yay. So perhaps no need to do a factory reset.
Hello, I'm having an issue, I'm rooted with the nand unlock method. I was on flipz .1d but have now moved to .2. I've had this issue a number of times now specificly the "unable to turn on" which seems to be caused by the owner of the /data/misc/wifi/wpa_supplicant.conf file changing to root. but I am not sure what causes the unable to scan for networks to happen.
Some of the things I have done that seem to be a part of the cause: I ran flipz vanilla lock screen fix and I team douche menu unlock, both seem to make changes to /system/framework/
anyone that might know where to look to fix the scan issue? I've searched the forum and have seen a few people have the problem but no solutions yet.
Was having the same problem (came across your post from a Google search).
I got a hint from code.google.com (can't post the link). I renamed the /data/misc/wifi/wpa_supplicant.conf to /data/misc/wifi/wpa_supplicant.bak (rather than delete it), rebooted and all is well.
Seems you can just delete the file, and it'll be respawned on a reboot.
I am having this problem, but on a vibrant that has not been rooted yet.
I cant seem to find the wpa_supplicant.conf, I have tried browsing for it using the built in file manager and using ASTRO, but the data directory is always empty.
Is there a way to fix this without rooting the phone?
if your phone has not been rooted then that means your phone is f**ked up and might need to be exchanged. but this is the evo forum not vibrant. the only way to mess with system files is to be rooted
Appreciate info*, worked in a heartbeat, saved from reloading everything from scratch, which was my way out last time. Witstech A81E Froyo 2.2
*renamed the /data/misc/wifi/wpa_supplicant.conf to /data/misc/wifi/wpa_supplicant.bak
Good eye there mate!!!!
InstantKarma said:
Was having the same problem (came across your post from a Google search).
I got a hint from code.google.com (can't post the link). I renamed the /data/misc/wifi/wpa_supplicant.conf to /data/misc/wifi/wpa_supplicant.bak (rather than delete it), rebooted and all is well.
Seems you can just delete the file, and it'll be respawned on a reboot.
Click to expand...
Click to collapse
I was experiencing the same issue and read this and it works, good looking out.
same issue on mytouch 4g
i used root explorer renamed tried no good the file stays renamed but the conf. appears under it after i try to enable wifi again help plz?
Who But BilL$ said:
i used root explorer renamed tried no good the file stays renamed but the conf. appears under it after i try to enable wifi again help plz?
Click to expand...
Click to collapse
It just recreates the file when your phone gets rebooted. My Thunderbolt is having the EXACT same issue. Ive tried renaming this and deleting as well and still no luck. Im now kicking over any rocks that I can find to get my wifi working.
I have exactly the same problem.
With Root Explorer deleted the file 'wpa_supplicant.conf' but no changes.
WiFi starts up and closes down again with the famous line: "unable to scan for networks"
anyone?
shoppy said:
I have exactly the same problem.
With Root Explorer deleted the file 'wpa_supplicant.conf' but no changes.
WiFi starts up and closes down again with the famous line: "unable to scan for networks"
anyone?
Click to expand...
Click to collapse
I actually ended up having to get a whole new phone. My insurance company couldnt fix it.
joeavery2 said:
2. I've had this issue a number of times now specificly the "unable to turn on" ......... but I am not sure what causes the unable to scan for networks to happen.
anyone that might know where to look to fix the scan issue? I've searched the forum and have seen a few people have the problem but no solutions yet.
Click to expand...
Click to collapse
I had the same problem. I installed the software from the sony erikcon website to my computer, and then followed the process for updating the phone software. That did not work, since I had the latest software already. So then, I tried to REPAIR my phone software, and after that was done, my phone was functional again, and the wifi works without any problems.
Requirements:
* A PC connected to the Internet (preferably broadband)
* USB phone-to-PC connection. Please see the accessories compatibility list for your phone.
1. Run the software on the computer after it is installed.
2. Follow the procedure for UPDATE or REPAIR (if you already have the latest version).
SOLVED WIYH THIS D12r a33_8723-8703_v11_0312 20141211.IMG
joeavery2 said:
Hello, I'm having an issue, I'm rooted with the nand unlock method. I was on flipz .1d but have now moved to .2. I've had this issue a number of times now specificly the "unable to turn on" which seems to be caused by the owner of the /data/misc/wifi/wpa_supplicant.conf file changing to root. but I am not sure what causes the unable to scan for networks to happen.
Some of the things I have done that seem to be a part of the cause: I ran flipz vanilla lock screen fix and I team douche menu unlock, both seem to make changes to /system/framework/
anyone that might know where to look to fix the scan issue? I've searched the forum and have seen a few people have the problem but no solutions yet.
Click to expand...
Click to collapse
I SOLVED WITH FLASH THIS: D12r a33_8723-8703_v11_0312 20141211.IMG
People still use this phone?
Everyone mod is working i geuss except for mines i don't know what am doing wrong.
i tried to mod mine with the dexter mod 1.41 and mines wont work,
1st- i download the file didn't unzip it then i sent it to the SD card and rename it "update.zip".
2nd- i did the factory wipe/reset then i select to wipe all data
3rd- i select update.zip but i notice an message saying( E. can't read from SD card, or something like that). i dont know if that is apart of the mod or what.
4th- when it is finish then i select reboot option and when it is done rebooting i get nothing new. can you help me out are do you know something that i might be doing wrong. i also did do the 1.42 patch aswell didn't work. are is there any other newer way to do it are what. Even if you can write step by step on how to do it properly.
PLEASE HELP ME OUT.
Did your a7 have a sdcard problem before the attempt ?
And even tho it sed it can't read sdcard, did it proceed to install anyway ?
yes it did go ahead with the installation, but it is during the installation process where i saw something about can't read error, i jus got it yesterday then i did the new update from elocity website. then i tried al,ost all of dexter's mod
these are the exat message i got was (E:can't open/usb/update.zip)
(E:Can't mount USB:update.zip)
then underneath that it say (Finding update package)
then it say (Wait for 5 second)
(Installation time out)
(installation aborted)
(Formatting MISC)
these are all the thing it say during installation
Does your a7 read, mount and unmount the sdcard stock?
What is the path to the update.zip?
Sorry for all the questions, I'm just trying to get on the same page
Sent from my Mynized EVo 4G
I'm having just about the same problem. Will be interested to hear any helpful suggestions. At this point, the only thing that is working is to do the factory reset and use the basic version again. I keep getting a message that "update.zip" (although I named it "Update.zip") is a bad file. I also did not get "apply sdcard:update.zip" as a menu option, only "apply:update.zip", which when clicked did read the sd card, then gave the bad file message.
update
Lemme clarify first then update. I bought the A7 in February and loaded the most current Dexter mod at that time. It's been running beautifully until this week. Over a period of days, the A7 started acting up until it was no longer usable at all. First, the BlueTooth cut out, then the WiFi, then it just got stuck and was repeatedly lighting up the Elocity logo, but never fully booting up.
Elocity support said to do the Factory reset, which I did and it was back to baseline again. Trying to install the latest version of Dexter is where my problem started. (end of history)
So, now the update for this evening: I tried every version of Dexter's mods and got the "bad" file message each time, even after downloading them again to be sure I wasn't using a corrupted copy. However, my A7 will wipe, then update with Elocity Firmware 2.0134 and read it just fine on the exact same SD card when renamed "Update.zip".
So, now I have a very frustrated boy with autism who can't do his Google Voice search anymore and the Android Marketplace doesn't let me download the apps I already bought for him. We're back to where we were when it arrived out of the box in February, but unable to restore what we had.
I have to think there's a conflict between Dexter's Mods and the new firmware, even after one wipes everything. I even tweeted Dexter (and I don't *do* Twitter!) to see if he could respond for help and am waiting for a response.
Can someone please help? Thanks!!
Sounds like your having issues with the files you download, I have gotten in the habit of not renaming the update file to just that until its on the usb card. Seen to many messages like yours if I saved one update over a prior with the same name. Try download 1.41 and 1.42 leave their names the way they are and save them to folder on your computer. Copy them bother to sd-card leaving names the same still. once both are there rename 1.41 to Update. Remove card from pc put in tablet. Use the recovery system method (press then hold power button method) do wipe, clear cache, the use update option. If this is successful which it should be delete the 1.41 file on card that you renamed to Update, this can be done on tablet or computer. Once that file is gone rename the 1.42 to Update and once again flash from recovery system.
Hope that solves your issue
Make it a habit to not save an update over top of another, though it seems like it would keep you from having to rename but for me it always seemed to corrupt the file.
thanks! I'll give that a try. I notice you said "PC", but I have a Mac ... could that be part of the issue ... downloading to Mac, then moving the file to SD or USB? (could be a stupid question, but if I don't ask, that makes me even more ignorant)
cwolfpack3 said:
thanks! I'll give that a try. I notice you said "PC", but I have a Mac ... could that be part of the issue ... downloading to Mac, then moving the file to SD or USB? (could be a stupid question, but if I don't ask, that makes me even more ignorant)
Click to expand...
Click to collapse
Do you end up with a folder or a zip file? Safari has a bad habit of extracting zips when it downloads them. Search my posts, there is a long ranting one that covers issues with both PC and Mac.
they're zipped ... I use Firefox 4.0, when the option comes up at download, I always click "save", not "open". Thanks, though.
well, problem solved. I ran Bestial's gapps patch over top of the new eLocity firmware and i have full functionality again. very happy mom here! now to reload all those apps for my boy! =D
Wow, I'm glad you found a solution...I have been following the thread and was getting worried.
I had the same problem after downloading the newest elocity update and then trying dexter's mod. I found out my problem is that I renamed the file "update.zip". If you just rename the file to" update" then it loaded fine. Not totally sure why this worked and maybe it was just my case, but maybe it will help some of you out!
bft305 said:
I had the same problem after downloading the newest elocity update and then trying dexter's mod. I found out my problem is that I renamed the file "update.zip". If you just rename the file to" update" then it loaded fine. Not totally sure why this worked and maybe it was just my case, but maybe it will help some of you out!
Click to expand...
Click to collapse
No. Your problem was that you were using a windows machine and your file extensions were hidden (I am psychic, but don't worry, I won't tell anyone your pin number). She is using a Mac, no hidden file extensions.
How do you get to the gapps patch? I'm really having trouble getting any updates on my a7. seems like its not taking anything off the sdcard. i brought a new card and I'm still having the same issue.
sbradby said:
How do you get to the gapps patch? I'm really having trouble getting any updates on my a7. seems like its not taking anything off the sdcard. i brought a new card and I'm still having the same issue.
Click to expand...
Click to collapse
bestialbub's patch for google apps (to use the market) can be found at http://forum.xda-developers.com/showthread.php?t=1019846 with the instructions
It's still working very well for us ... several weeks later.
Good luck!
I am fixing up a Nook Color for a good friend who is having some problems with his Wifi. He currently has CM 11 installed, and has a proper 6.0.4.8 CMW installed (for the most recent version). Wifi is grayed out, and the switch constantly sits in the "off state" and can't be changed, while the main screen reads "Turning Wifi on". He also has a bootable CMW 3.2.1.0 SD, which I have used to install the partition 2 fix, which ran without any errors. Also ran the partition repair and formats for the other partitions to be safe, but no dice.
Within terminal emulator, I can read the MAC address as root under /rom/dev/MACAddress, but not as a standard user. Other than that, it is inaccessible. A mac address is there for sure, but it seems that I cannot gain permissions over the directory. Does anyone know what they should read? the /rom directory is 770 with system system permissions.
I've tried multiple CM roms, including CM 7, 9, 10, and 11, and none seem to fix.
mikegonz said:
I am fixing up a Nook Color for a good friend who is having some problems with his Wifi. He currently has CM 11 installed, and has a proper 6.0.4.8 CMW installed (for the most recent version). Wifi is grayed out. He also has a bootable CMW 3.2.1.0 SD, which I have used to install the partition 2 fix, which ran without any errors. Also ran the partition repair and formats for the other partitions to be safe, but no dice.
Within terminal emulator, I can read the MAC address as root under /rom/dev/MACAddress, but not as a standard user. Other than that, it is inaccessible. A mac address is there for sure, but it seems that I cannot gain permissions over the directory. Does anyone know what they should read? the /rom directory is 770 with system system permissions.
I've tried multiple CM roms, including CM 7, 9, 10, and 11, and none seem to fix.
Click to expand...
Click to collapse
Look in dmesg for tags WL12xx and WLAN0. Is firmware booted? Greyed out wifi means no authentication/association between WLAN0 and router/AP.
Sorry, by "grayed out" I mean that the switch in Settings is grayed out and is immovable. The main screen sits stuck in "Turning on Wifi" at all times, even on a fresh new install of a new ROM.
mikegonz said:
Sorry, by "grayed out" I mean that the switch in Settings is grayed out and is immovable. The main screen sits stuck in "Turning on Wifi" at all times, even on a fresh new install of a new ROM.
Click to expand...
Click to collapse
Go into terminal as root and type dmesg. Look for tags WL12XX and WLAN0. See if wifi firmware loaded/booted. Also look to see if WLAN0 authenticated/associated.
hwong96 said:
Go into terminal as root and type dmesg. Look for tags WL12XX and WLAN0. See if wifi firmware loaded/booted. Also look to see if WLAN0 authenticated/associated.
Click to expand...
Click to collapse
There is one case that simply says wl127x_vio_leakage_fix and thats it. Bluetooth shows as starting, and I can actually toggle. But it looks like theres no instance of WLAN0 or WL12XX starting. Is there a way to fix?
mikegonz said:
There is one case that simply says wl127x_vio_leakage_fix and thats it. Bluetooth shows as starting, and I can actually toggle. But it looks like theres no instance of WLAN0 or WL12XX starting. Is there a way to fix?
Click to expand...
Click to collapse
As you can see from the screen pic of TI's Wl1271 spec, wifi is connected via SDIO. Bluetooth is connected via UART. If the SDIO connection is borked you will not get wifi connectivity. Do you have a nandroid backup from when wifi was working? If so, try installing the nandroid backup to verify wifi connectivity.
Also attached are screen pics of the permissions for /devconf and MACAddress.
hwong96 said:
As you can see from the screen pic of TI's Wl1271 spec, wifi is connected via SDIO. Bluetooth is connected via UART. If the SDIO connection is borked you will not get wifi connectivity. Do you have a nandroid backup from when wifi was working? If so, try installing the nandroid backup to verify wifi connectivity.
Also attached are screen pics of the permissions for /devconf and MACAddress.
Click to expand...
Click to collapse
Thanks. I'll check with my friend to check if he has a nandroid of when wifi was working. I know for sure he mentioned it was at one point. Will report back soon.
Yeah it doesn't look like he has the nandroid backup of a working copy. Is it possible to restore the rom fully to its original state? should I just extract the factry.zip and try to install that via cwm? I can see in system/lib/modules that the wl12xx and wlan0 modules are there on the current rom.
mikegonz said:
Yeah it doesn't look like he has the nandroid backup of a working copy. Is it possible to restore the rom fully to its original state? should I just extract the factry.zip and try to install that via cwm? I can see in system/lib/modules that the wl12xx and wlan0 modules are there on the current rom.
Click to expand...
Click to collapse
If you want to use CWM to flash the stock B&N ROM go to LeapinLar's tips item A15. Good luck.
[Solution HERE: disable AFWall+-2.0-alpha2]
Hey there,
I installed the optimized CM12.1 20150602 with Xposed and Xprivacy and now I got a connectivity problem:
When I come back from flight mode or enter a known wifi, wlan0 connects to my local wifi but Internet still gets routed through mobile data (LTE).
ping rounter not possible
Wifi icon has a "!"
netcfg shows:
Code:
rmnet_usb0 UP 10.175.104.107/29 0x00000041
wlan0 UP 192.168.2.126/24 0x00001043
on turning off mobile data, wifi data starts working and keeps working when I turn mobile data back on
I tried with a clean system: no problem, added Xposed/Xprivacy: no problem. So I guess one of my apps with root access must have caused that bug.
Possible candidates: AFWall, AdAway, droid VNC, OpenVPN, OS Monitor, SSHDroid, Tasker, TB.
Anyone knows how to fix this? I guess it must be a problem of how and what gets prioritized.
The setup took me quite some time and it would be great if I could fix this without starting from scratch. Plus I'd like to know the source of the problem.
Log attached.
I run none of the apps you mention and have the same issue and it happens on all wireless networks. I know of two workarounds, if they can be called that.
First is to cycle WiFi from within settings. When I do that it normally works right for a few days after.
Second is to power cycle my wireless router. That normally only works for a day or so as well.
I personally feel this is a flaw in CM as I have also seen the exact same issue on CM and any ROM built from it.
FIX
I found a fix for my problem by trial and error:
First I dirtyflashed the system again which didn't help, so I thought the problem must be in /data... thats where wpa_supplicant.conf is located so I had a look at it and strangest thing was:
The priority numbers for high eventhough it had only three entries. I changed them to 1/2/3 and rebooted. After that automatic connection to wifi worked again. BUT:
I rechecked the
Code:
/data/misc/wifi/wpa_supplicant.conf
again and the priority was back to the old state: 41/47/38 - in this order for the only three networks.
So the fix for me was: Change priority and save. Reboot afterwards.
Can someone elaborate on how this could fix the problem?
Oh and I must revoke my solution. Didn't work on the other network. :/
OK next trial and fail: deleting wpa_supplicant so it gets renewed. No difference.
Maybe I just try to install a fresh install and just restore /data.
I tried deleting the whole /data/misc/wifi folder. Didnt fix it!
And now I even installed from scratch and restored /data only from backup. Didn't help either!
What do I have to remove to fix this???
Rule number 1 of the Optimized ROM: do not use Xposed if you want support. So, uninstall Xposed, make a logcat of your issue if uninstalling Xposed doesn't fix it, then send that to AntaresOne.
He doesn't read the threads in Q&A, and wouldn't reply to this one anyway because of Xposed.
Strephon Alkhalikoi said:
Rule number 1 of the Optimized ROM: do not use Xposed if you want support. So, uninstall Xposed, make a logcat of your issue if uninstalling Xposed doesn't fix it, then send that to AntaresOne.
He doesn't read the threads in Q&A, and wouldn't reply to this one anyway because of Xposed.
Click to expand...
Click to collapse
Yes, thank you, I know that.
I didn't report a bug, I'm just trying to understand the problem, so I won't run into it again.
I tried tried a clean system and a clean system with Xposed and Xprivacy installed and did not have that problem, so I ruled that out.
Lucky for me: I did mention that in my OP.
My point is that you're presenting your information to the wrong audience. You need to post the logcat, without Xposed, on the Optimized CM12.1 thread, if you haven't already done so. That way the people who can actually do something about it can attempt to fix it.
I do apologize however for not reading the thread properly. It was late at night for me and I was half asleep. *sigh*
SOLUTION
So I hope it is fixed now.
My last resort was to flash a new modem/non-hlos.
I was on a 4.4.2 modems (DTM-I9505XXUGNG8_I9505DTMGNG3_I9505XXUGNG8_HOME.tar) before and updated to the latest modems for T-Mobile Germany: DTM-I9505XXUHOD5_I9505DTMHOD1_I9505XXUHOD5_HOME.tar.
This seemed to have solved my Wifi problem.
Step-by-step (no data loss but still: make a backup):
Check which is the latest ROM for your country/carrier on sammobile.com
Download ROM on sammobile.com or samsung-updates.com (no account necessary).
Extract ZIP > rename extracted *.tar.md5 to *.tar > extract modem and non-hlos file from *.tar with WinRAR or the likes.
Shutdown mobile and start into Download mode (Vol-Down)
Run Odin, disable Auto-restart and flash modem and reboot back into Download mode (I did that twice because people were hinting that but I doubt it's necessary).
Flash non-hlos in case you have a S4-LTE version.
Reboot and test.
/edit: didn't fix it.
Solved this time?
I think I finally found the problem: AFWall v2.0-alpha2 seems to cause the connectivity problem.
As soon as I deactivate the Firewall connection won't have any problems. I can't believe I needed so much time to find the bad boy.
Guess I didn't want to reduce security on my system, so I tried to avoid disabling/deleting my firewall.