[Q] WiFi won't connect automatically (while screen is on) - Nexus 7 (2013) Q&A

Have searched the forum without luck. I'm running latest purenexus/elementalx w/afwall+ and xprivacy (basically same setup as I had on 5.1.1), but ever since marshmallow android reports that wlan isn't connected (although it is after I made a connection manually). So if I toggle wifi it won't connect automatically (it will only when I turn off the screen). Any ideas are appreciated, thanks!
SOLVED
(Had to grant internet access to the system in afwall+ once)

Related

[Q] Wifi tether won't work, rooted KF and Evo 4G

I've searched several threads, but can't figure out what I'm doing wrong.
Both devices definitely 100% rooted with superuser working fine, permissions granted for all apps.
I installed wifi_tether_v3_1-beta14.apk on the phone.
Device Profile: Evo 4G
Setup-Method: Initially I tried Softap (master). That's the same as infrastructure mode, correct?
Default SSID (AndroidTether)
MSS Clamping checked
Routing Fix checked
If I attempt to run it with these settings, I get a popup informing me the wifi hotspot started, but with errors. The log just says most of the wifi steps failed, I can post details if needed. I don't think it's really running - no upload/download indicator showing at the bottom of the app. My PC can't see the hotspot.
If I switch Setup-Method to Ad-hoc, it runs fine, no errors, PC can see it and connect to it. But KF can't connect to Ad-hoc... so lame.
So, I got ZT-180 Adhoc Switcher.apk for the kindle fire, to switch it to ad-hoc mode. Went to settings, told it to connect to AndroidTether. Switched to Ad-Hoc mode. It says "attempting to connect" ... after a minute it gives up and keeps retrying. The hotspot shows in the list of wifi networks, but it's hanging at "Obtaining IP address".
So, what's the issue? Infrastructure mode not working? Need to flash a custom rom? I read something about maybe needing a non-stock kernel? Upgrade or downgrade my radio?
I finally found a method that works, barely.
Wifi Tether (app listed above) failed.
Adhoc Switcher failed.
Wifi Hotspot Widget failed.
Elixir2's hotspot widget failed (connected but no surf).
The one that worked is free and doesn't even need root apparently: Foxfi.
I say it "barely" worked because even this has issues.
When I tried to create a password, it wouldn't connect.
But if I leave the password blank (no password) it does work.
http://foxfi.com/bin/
I just told it to start running, and left the SSID at the default (FoxFi98 I believe).

[Q] I9195 - Unable to connect to WIFI network (Authentication error occurred);

So, here it goes.
My goal is to connect to a network using certain MAC address. Wanted network is marked with "open" and I know that it allows access only to certain devices (according to MAC) on which the administrator have gave a permission to. Once your MAC passes the verification, device gets connected to the network and then I'm asked to enter username and password through WEB browser (well known for me, because it is a procedure that I do on my other device, as well as all my colleagues do).
For example, I was allowed to provide one personal MAC address to administrator to connect to this network. I would like to set the MAC address of my other personal device and set it on my I9195 so that I can access the same network.
So, what have I done so far: I9195 is rooted, it has Android 4.2.2 on it and Busybox installed. I have changed MAC on it using following apps: MacChanger (blue WIFI logo), MAC Address Ghost (green ghost logo), using Android Terminal Emulator commands and via MAC Spoofer (black circle with green text logo). What can I conclude: As soon as superuser has granted the access to these apps, all of them manage to change the MAC. I've done the verification using Terminal Emulator. I also have to add that the MAC remains original if viewed from WIFI advanced menu BUT this shouldn't be an issue because:
1.) Colleague of mine is using his S4 (rooted etc.), while using MAC Address Ghost that does not change the original address (viewed from WIFI advanced menu) but he manages to make a spoof (verified from the Android Terminal Emulator, as all of this apps actually do) and he manages to connect without any problems in the same way as I connect with another device that I have!
2.) I had time to make a small test at home which put a light on the idea that the problem should be focused on the Samsung (and not on the router, especially because I am unable to modify anything on the router on this facility, not even restarting it). My home network works in a similar way as the network that we are discussing about. My S4 Mini has been included in it with his original MAC and it connects to the network without any problems. My other device is also included to the network using its MAC (the one that I am using for spoofing). My other device is turned OFF, router has been reset and I am normally accessing the network with S4 Mini. Then I run the MAC Address Ghost to spoof the MAC on my S4 Mini. In that moment, I have lost the connection that I had which means that the MAC spoofer actually did something. I tried to reconnect to the network but then I am asked to enter the password for my network. I have checked and re-checked it many times, tried to forget the network and doing it all over again but it does not accept the CORRECT password. Changing my MAC back to the original one connects S4 Mini back to the network, while accepting the password immediately.
Problem is represented in a way that it either says “saved” and does not connect to the network or every few times displays a message “Authentication error occurred”.
I have tried I would say every possibility that I’ve seen over the internet. That includes:
1.) Installing WiFi Connection Manager (it provided some info regarding the network that I wish to connect to: IEEE 802.11g standard, 54 Mb link and CH:11). I’ve used its function to fix the WIFI (advanced fix (root required)) but it didn’t help.
2.) All sorts of staying close to the rooter, while enabling and disabling the Power save mode (accessed via *#0011# command) or while having GSM signal.
3.) Browsing through system, data etc. folders to try to find the file that contains the MAC address information (like it did on older android versions in the nvram file). I’ve been unable to find this file or any sort of file that displays my MAC for the purpose to modify it.
I have a plan to upgrade Android to version 4.4.2 later today and make a test.
Please, feel free to suggest anything else! If I do not succeed, I will have to replace my S4 Mini with something else.
Kind regards,
QUICK REPLY: After installing CyanoGEN MOD 4.4.2, the problem remains!
I think there could be a shorter solution! On Sony Xperia Acro S with 4.1.2 Android it was just a matter of changing the MAC address within the file data/etc/wifi/fw! One minute modification...
So, please, if somebody knows the path to the file that contains MAC on CyanoGEN MOD 4.4.2 or on Android 4.2.2, PLEASE HELP!
Kind regards!

[Q] CosmicCM-4.4.4 V5.2 stuck in headphone mode after using 3.5mm audio jack

Hello everyone,
Thanks for the CosmicCM-4.4.4 V5.2 it is awesome!!.
I am facing few issues
1. whenever i use headphones to listen music my phone sticks in headphone mode. however rebooting solves issue.
i have checked and found following thread http://forum.xda-developers.com/showthread.php?t=566730 saying it may be hardware issue so i flashed
stock ROM back using ODin and issue is gone.
2. both sim works fine. but i am not able to import/view contact stored in sim2.
3. missing a feature wifi hotspot for allowed device only [not a problem but love to have it].
Thanks..
Update:
Issue is caused only after i run sprint fm radio.
lg.urfriend said:
Hello everyone,
Thanks for the CosmicCM-4.4.4 V5.2 it is awesome!!.
I am facing few issues
1. whenever i use headphones to listen music my phone sticks in headphone mode. however rebooting solves issue.
i have checked and found following thread http://forum.xda-developers.com/showthread.php?t=566730 saying it may be hardware issue so i flashed
stock ROM back using ODin and issue is gone.
2. both sim works fine. but i am not able to import/view contact stored in sim2.
3. missing a feature wifi hotspot for allowed device only [not a problem but love to have it].
Thanks..
Update:
Issue is caused only after i run sprint fm radio.
Click to expand...
Click to collapse
2. SYNC all contacts to ur email a/c, then all are visible (short term solution)
3. not sure what u actually mean re: wifi hotspot...
to set up wifi hotspot
SETTINGS > MORE > TETHERING & PORTABLE HOTSPOTS > SET UP Wi-Fi HOTSPOT
missing a feature wifi hotspot for allowed device only
wifi for allowed device is a feature in which i can add some device to allowed list and configure wifi hotspot for allowed device only so that only allowed device in list can connect to wifi hotspot.
how it helps me!!
simple i don't have to type security key on other device.
e.g.
step1. start wifi hotspot in open mode and let other device scan and connect to it.
step2. add device to allowed list and change hotspot setting to allowed device (still it is open hotspot but other device will not be able to connect to it)
see attached image for more detail..
lg.urfriend said:
wifi for allowed device is a feature in which i can add some device to allowed list and configure wifi hotspot for allowed device only so that only allowed device in list can connect to wifi hotspot.
how it helps me!!
simple i don't have to type security key on other device.
e.g.
step1. start wifi hotspot in open mode and let other device scan and connect to it.
step2. add device to allowed list and change hotspot setting to allowed device (still it is open hotspot but other device will not be able to connect to it)
see attached image for more detail..
Click to expand...
Click to collapse
It's a proprietary feature of touchwiz.

Nexus 7 2013 WiFi - WiFi won't turn on after Marshmallow upgrade - bad Mac Address

Just sideloaded the Mashmallow update from 5.1.1 to 6.0 (downloaded from Google) and the update seemed to go normally - most things work as normal. But the WiFi wouldn't turn on, and it's mac address reports as 02:00:00:00:00:00. That address I know was an issue in the M Preview as a fake address.
I didn't want to hard reset it but in the end relented and loaded a clean new version of 6.0 from Google. When it restarts the second thing it wants to do, after selecting a language, is start the WiFi so it can log on. Of course WiFI won't start, and I can't "skip" so it's stuck. I tried Bad_Boyz fromXDA, and then going back to 5.1.1, and now forward again to 6.0 - same result. I suspect the WiFi mac address has been cleared. I found a little help that if I shell into the tablet, and write the mac address into /persist/wifi/.macaddr I might move forward. I know how to do this, but I can't shell in with adb. I can talk over USB, and run fastboot. When I connect via USB the Nexus mounts (sort of - the storage folder isn't shown when the tablet is at the "Select WiFi network" stage of setup)
When I run "adb devices" - I can't see any, even though I can "fastboot reboot recovery" and the like. I'm sure bluetooth (mac address) is broken too, but I"ll fix that later.
Does anyone have any idea how I can encourage adb to talk, so that I can "adb shell"?
Safe Mode
Just so you know - I started it in safe mode, which I have done before, but anyway - and the WiFi works. Also, USB debugging is presumably switched to off on a hard reset, and I couldn't log in to enable it without working WiFi. Suddenly my mac address is back. Don't really know if safe mode is the answer but it's worth trying...
To get into Safe Mode - long press on the "Power Off" question when you turn it off - it reboots in safe mode.

Unable to connect to WiFi AP with hidden SSIDs

Hi,
I'm having problems connecting to WiFi APs that have hidden APs. I've tried manually adding the network but it keeps showing them as out of range. Once I unhide the SSIDs, I'm able to connect successfully, but after hiding again, it shows them as out of range. I've tried 2 APs (TP-LINK and ASUS) and both have the same problem.
Device is a stock HTC One X on Android 4.2.2 (latest I think) and is freshly factory reset.
Any ideas?
Thanks.

Categories

Resources