T-Mobile has gone full IPV6 on the G3 (or maybe it was LG, or both). You will notice that you are not able to get an IPV4 only APN to work on T-Mobile's network, with epc, fast or pcweb APNs. The phone always connects to IPV6, and then uses NAT64 to provide IPV4 service to IPV4 only applications on the phone, and 464XLAT to communicate to IPV4 networks on the internet.
EDIT: I have confirmed that using epc.tmobile.com and forcing to IPV4 will work. This explains why using this combination makes data roaming work abroad. It seems like it's the fast.t-mobile.com APN that is forced to IPV6 only on the G3.
Here's a log of the data connection being set up on a T-Mobile G3 when using fast.t-mobile.com
Code:
D/libc ( 314): _dns_getaddrinfo: query_ipv4=1, query_ipv6=1
I/clatd (19471): Detected NAT64 prefix 2607:7700:0:a::/96
W/clatd (19471): ifmtu=1440
W/clatd (19471): ipv4mtu now set to = 1412
I/Vold ( 308): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:net, action:1
I/Vold ( 308): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:queues, action:1
I/Vold ( 308): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:queues, action:1
I/Vold ( 308): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:net, action:1
I/Vold ( 308): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:queues, action:1
D/DHCP ( 314): ifc_init_returning 0
D/DHCP ( 314): ifc_close
I/Vold ( 308): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:queues, action:1
I/Nat464Xlat( 1073): interface clat4 added, mIsRunning = false -> true
I/Nat464Xlat( 1073): Adding stacked link. tracker LP: {InterfaceName: rmnet0 LinkAddresses: [2607:fb90:2119:99f2:3c3d:1928:98a6:3341/64,] Routes: [::/0 -> fe80::4168:e92e:6776:e831,] DnsAddresses: [fd00:976a::9,] Domains: null MTU: 1440 Stacked: [ [{InterfaceName: clat4 LinkAddresses: [192.0.0.4/32,] Routes: [0.0.0.0/0 -> 192.0.0.4,] DnsAddresses: [] Domains: null MTU: 0} ],] }
D/ConnectivityServiceHSM( 1073): Actual State: DefaultConnectivityState, Current State: DefaultConnectivityState.processMessage what=458753
D/ConnectivityServiceHSM( 1073): send additional Connectivity Action
I/Nat464Xlat( 1073): sending message to ConnectivityService: { when=-9h45m41s893ms what=458753 obj=NetworkInfo: type: mobile[LTE], state: CONNECTED/CONNECTED, reason: connected, extra: fast.t-mobile.com, roaming: false, failover: true, isAvailable: true, smCause: 0, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/QcConnectivityService( 1073): makeGeneralIntent(): SM Cause is added to CONNECTIVITY_ACTION intent for [mobile], SM cause : 0
D/LocSvc_java( 1073): LocatioService.java action : android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE
D/ConnectivityServiceHSM( 1073): Actual State: DefaultConnectivityState, Current State: DefaultConnectivityState.processMessage what=5003
D/DHCP ( 314): ifc_init_returning 0
I/TelephonyProvider( 1434): getPreferredApnId: subscription=0
D/QcConnectivityService( 1073): makeGeneralIntent(): SM Cause is added to CONNECTIVITY_ACTION intent for [mobile], SM cause : 0
D/QcConnectivityService( 1073): handleConnectivityChange:0 is conntected
D/QcConnectivityService( 1073): [DATA]ePDG Dual Connectivity feature : false
D/BubblePopupHelper( 1217): isShowingBubblePopup : false
I/iptables( 314): iptables: Index of insertion too big.
I/iptables( 314): iptables terminated by exit(1)
E/BandwidthController( 314): runIptablesCmd(): res=1 status=256 failed /system/bin/iptables -I bw_INPUT 2 -i rmnet0 --jump bw_costly_rmnet0
I/iptables( 314): iptables: Index of insertion too big.
I/iptables( 314): iptables terminated by exit(1)
E/BandwidthController( 314): runIptablesCmd(): res=1 status=256 failed /system/bin/iptables -I bw_OUTPUT 2 -o rmnet0 --jump bw_costly_rmnet0
I/LGEPowerSaver( 341): GBM state is 1
I/ViewRootImpl( 1217): ViewRoot's Touch Event : ACTION_DOWN
E/BandwidthController( 314): Failed set quota rule
E/BandwidthController( 314): No such iface rmnet0 to delete
F/NetworkPolicy( 1073): problem setting interface quota
F/NetworkPolicy( 1073): java.lang.IllegalStateException: command '1039 bandwidth setiquota rmnet0 9223372036854775807' failed with '400 1039 Bandwidth command failed'
F/NetworkPolicy( 1073): at com.android.server.NetworkManagementService.setInterfaceQuota(NetworkManagementService.java:1978)
F/NetworkPolicy( 1073): at com.android.server.net.NetworkPolicyManagerService.setInterfaceQuota(NetworkPolicyManagerService.java:2318)
F/NetworkPolicy( 1073): at com.android.server.net.NetworkPolicyManagerService.updateNetworkRulesLocked(NetworkPolicyManagerService.java:1359)
F/NetworkPolicy( 1073): at com.android.server.net.NetworkPolicyManagerService.access$1300(NetworkPolicyManagerService.java:192)
F/NetworkPolicy( 1073): at com.android.server.net.NetworkPolicyManagerService$16.onReceive(NetworkPolicyManagerService.java:1155)
F/NetworkPolicy( 1073): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:782)
F/NetworkPolicy( 1073): at android.os.Handler.handleCallback(Handler.java:733)
F/NetworkPolicy( 1073): at android.os.Handler.dispatchMessage(Handler.java:95)
F/NetworkPolicy( 1073): at android.os.Looper.loop(Looper.java:136)
F/NetworkPolicy( 1073): at android.os.HandlerThread.run(HandlerThread.java:61)
F/NetworkPolicy( 1073): Caused by: com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '1039 bandwidth setiquota rmnet0 9223372036854775807' failed with '400 1039 Bandwidth command failed'
F/NetworkPolicy( 1073): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:413)
F/NetworkPolicy( 1073): at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:340)
F/NetworkPolicy( 1073): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:305)
F/NetworkPolicy( 1073): at com.android.server.NetworkManagementService.setInterfaceQuota(NetworkManagementService.java:1975)
F/NetworkPolicy( 1073): ... 9 more
D/QcConnectivityService( 1073): handleConnectivityChange: address are the same reset per doReset linkProperty[0]: resetMask=0
D/QcConnectivityService( 1073): RoutesChanged, Remove old dns /fd00:976a::9
E/NetworkManagementService( 1073): [LGE_DATA]isHostRoute = true isDefaultRoute = false
V/ ( 314): [LGE_DATA]route append fe80::4168:e92e:6776:e831 via :: dev rmnet0 table 254 metric 512
V/ ( 314): RouteController
D/QcConnectivityService( 1073): RoutesChanged, Add new dns /fd00:976a::9
V/ ( 314): RouteController
V/ ( 314): RouteController
W/NetworkManagementService( 1073): route cmd failed:
W/NetworkManagementService( 1073): com.android.server.NativeDaemonConnector$NativeDaemonFailureException: command '1042 route add append v6 rmnet0 512 fe80::4168:e92e:6776:e831 ::' failed with '400 1042 route append fe80::4168:e92e:6776:e831 via :: dev rmnet0 table 254 metric 512: RTNETLINK answers: Invalid argument
W/NetworkManagementService( 1073): '
W/NetworkManagementService( 1073): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:413)
W/NetworkManagementService( 1073): at com.android.server.NativeDaemonConnector.executeForList(NativeDaemonConnector.java:340)
W/NetworkManagementService( 1073): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:305)
W/NetworkManagementService( 1073): at com.android.server.NativeDaemonConnector.execute(NativeDaemonConnector.java:290)
W/NetworkManagementService( 1073): at com.android.server.NetworkManagementService.appendRouteWithMetric(NetworkManagementService.java:2757)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.modifyRoute(QcConnectivityService.java:2995)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.modifyRoute(QcConnectivityService.java:2975)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.modifyRouteToAddress(QcConnectivityService.java:2933)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.addRouteToAddress(QcConnectivityService.java:2903)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.updateRoutes(QcConnectivityService.java:4813)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.handleConnectivityChange(QcConnectivityService.java:4637)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService.access$6100(QcConnectivityService.java:244)
W/NetworkManagementService( 1073): at com.android.server.QcConnectivityService$ConnectivityServiceHSM$DefaultConnectivityState.processMessage(QcConnectivityService.java:6047)
W/NetworkManagementService( 1073): at com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:966)
W/NetworkManagementService( 1073): at com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:789)
W/NetworkManagementService( 1073): at android.os.Handler.dispatchMessage(Handler.java:102)
W/NetworkManagementService( 1073): at android.os.Looper.loop(Looper.java:136)
W/NetworkManagementService( 1073): at android.os.HandlerThread.run(HandlerThread.java:61)
E/NetworkManagementService( 1073): [LGE_DATA]isHostRoute = true isDefaultRoute = false
V/ ( 314): [LGE_DATA]route append fd00:976a::9 via fe80::4168:e92e:6776:e831 dev rmnet0 table 254 metric 512
V/ ( 314): RouteController
D/QcConnectivityService( 1073): Adding v6 fe80::4168:e92e:6776:e831/128 -> :: for interface rmnet0 with metric 512
V/ ( 314): RouteController
V/ ( 314): RouteController
V/ ( 314): [LGE_DATA]res empty
V/ ( 314): RouteController
I/ViewRootImpl( 1217): ViewRoot's Touch Event : ACTION_UP
D/DHCP ( 314): ifc_init_returning 0
D/DHCP ( 314): ifc_close
D/DHCP ( 314): ifc_add_route(clat4, 192.0.0.4, 32, 0.0.0.0) = 0
D/DHCP ( 314): ifc_init_returning 0
D/DHCP ( 314): ifc_close
D/DHCP ( 314): ifc_add_route(clat4, 0.0.0.0, 0, 192.0.0.4) = 0
D/ConnectivityServiceHSM( 1073): Actual State: DefaultConnectivityState, Current State: DefaultConnectivityState.processMessage what=112
D/ConnectivityServiceHSM( 1073): Actual State: DefaultConnectivityState, Current State: DefaultConnectivityState.processMessage what=112
D/ConnectivityServiceHSM( 1073): Actual State: DefaultConnectivityState, Current State: DefaultConnectivityState.processMessage what=112
D/ConnectivityServiceHSM( 1073): Actual State: DefaultConnectivityState, Current State: DefaultConnectivityState.processMessage what=112
D/QcConnectivityService( 1073): Adding v6 fd00:976a::9/128 -> fe80::4168:e92e:6776:e831 for interface rmnet0 with metric 512
D/QcConnectivityService( 1073): Route attribute is null, Adding 192.0.0.4/32 -> 0.0.0.0 for interface clat4
D/QcConnectivityService( 1073): Route attribute is null, Adding 0.0.0.0/0 -> 192.0.0.4 for interface clat4
D/Nat464Xlat( 1073): requiresClat: netType=0, hasIPv4Address=false
E/Nat464Xlat( 1073): startClat: already started
D/QcConnectivityService( 1073): CLAT started, enable dns query A and AAAA types for netType=0
D/MobileDataStateTracker( 1073): default: setPolicyDataEnable(enabled=true)
D/MobileDataStateTracker( 1073): default: setPolicyDataEnable(enabled=true)
You can make a new one to support both
BACARDILIMON said:
You can make a new one to support both
Click to expand...
Click to collapse
If you configure it for IPV4/IPV6, it will use IPV6. That's how my APN copy is setup and that's what the above output is using. Setting it to IPV4 only will leave you without a data connection.
Yeah just tested and saw.
BACARDILIMON said:
Yeah just tested and saw.
Click to expand...
Click to collapse
I know that T-Mobile has IPV6 deployed on LTE, but not sure about HSPA, so if there is no IPV6 support in a part of the network, the phone would fail to use data. This is what happening with international roaming and why people are having issues.
I did find that I can get data by changing the APN to epc, then setting it to IPV4, but also forcing the phone to WCDMA only.
I don't know if the phone would automatically fall back on IPV4 where there is no IPV6. I'll have to see what it does when on EDGE.
My phone here in UAE is using the epc APN with IPv4 only and at 2G, 3G, and 4G...?
Sent from my LG G3
Nitemare3219 said:
My phone here in UAE is using the epc APN with IPv4 only and at 2G, 3G, and 4G...?
Sent from my LG G3
Click to expand...
Click to collapse
I don't think T-Mobile has any LTE roaming agreements yet. The epc APN lets you connect to data with IPV4 in the US, and this is why it makes things work abroad too. The phone probably will not connect to data services over IPV4 using the fast APN
I have ipv4 only working with 4g. I'm going to re trace some steps and hook everyone up. May not be until tomorrow night but yeah good news.
Why are there smiley faces in the log? Lol
Sent from my LG-D851 using XDA Premium 4 mobile app
You mean the sad faces?
Sent from my LG-D851 using XDA Free mobile app
ThePagel said:
I have ipv4 only working with 4g. I'm going to re trace some steps and hook everyone up. May not be until tomorrow night but yeah good news.
Click to expand...
Click to collapse
Are you using the epc APN? I have not been able to get data when using the fast APN, but it works with epc.
I did find that forcing 2G gets you data with fast. It's possible the phone is using a special APN for 2G networks, or there's a built-in bypass that allows IPV4 on 2G. It's also possible that T-Mobile has IPV6 enabled on 2G connections as well, and thus the built-in IPV6 only APN would work.
havanahjoe said:
Are you using the epc APN? I have not been able to get data when using the fast APN, but it works with epc.
I did find that forcing 2G gets you data with fast. It's possible the phone is using a special APN for 2G networks, or there's a built-in bypass that allows IPV4 on 2G. It's also possible that T-Mobile has IPV6 enabled on 2G connections as well, and thus the built-in IPV6 only APN would work.
Click to expand...
Click to collapse
Nope fast, I flashed the Korean version. Thought I could get it working on the t mobile ROM but no go. I'll be posting a port tonight because it seemed better overall. It also gets 3g and unless it was a bug it also gets hspa. I only messed with it for about ten minutes before I reverted back to my t-mo backup. Guess we will find out tonight.
---------- Post added at 10:32 AM ---------- Previous post was at 10:30 AM ----------
havanahjoe said:
Are you using the epc APN? I have not been able to get data when using the fast APN, but it works with epc.
I did find that forcing 2G gets you data with fast. It's possible the phone is using a special APN for 2G networks, or there's a built-in bypass that allows IPV4 on 2G. It's also possible that T-Mobile has IPV6 enabled on 2G connections as well, and thus the built-in IPV6 only APN would work.
Click to expand...
Click to collapse
Nope fast, I flashed the Korean version. Thought I could get it working on the t mobile ROM but no go. I'll be posting a port tonight because it seemed better overall. It also gets 3g and unless it was a bug it also gets hspa. I only messed with it for about ten minutes before I reverted back to my t-mo backup. Guess we will find out tonight.
*edit*
I have yet to see 3g on T-Mobile G3 only LTE and 2g but that might just be me.
*edit*
Oops double post
ThePagel said:
Nope fast, I flashed the Korean version. Thought I could get it working on the t mobile ROM but no go. I'll be posting a port tonight because it seemed better overall. It also gets 3g and unless it was a bug it also gets hspa. I only messed with it for about ten minutes before I reverted back to my t-mo backup. Guess we will find out tonight.
---------- Post added at 10:32 AM ---------- Previous post was at 10:30 AM ----------
Nope fast, I flashed the Korean version. Thought I could get it working on the t mobile ROM but no go. I'll be posting a port tonight because it seemed better overall. It also gets 3g and unless it was a bug it also gets hspa. I only messed with it for about ten minutes before I reverted back to my t-mo backup. Guess we will find out tonight.
*edit*
I have yet to see 3g on T-Mobile G3 only LTE and 2g but that might just be me.
*edit*
Oops double post
Click to expand...
Click to collapse
A port of the Korean version would be awesome! I'm sure Tmo put in a lot of specific limitations on their version, including only using IPV6 on fast. I don't like how US carriers call HSPA+ 4G. Having a port would probably also fix the tethering block we are seeing on the Tmo version. Once you publish it I will be one of the first to try it.
The indicators you are seeing are the normal AOSP ones. You will see E for EDGE, G for GSM, 3G for UMTS, H for HSPA, H+ for HSPA+ and LTE for LTE.
havanahjoe said:
A port of the Korean version would be awesome! I'm sure Tmo put in a lot of specific limitations on their version, including only using IPV6 on fast. I don't like how US carriers call HSPA+ 4G. Having a port would probably also fix the tethering block we are seeing on the Tmo version. Once you publish it I will be one of the first to try it.
The indicators you are seeing are the normal AOSP ones. You will see E for EDGE, G for GSM, 3G for UMTS, H for HSPA, H+ for HSPA+ and LTE for LTE.
Click to expand...
Click to collapse
So is T-Mobile calling edge 2g?
ThePagel said:
So is T-Mobile calling edge 2g?
Click to expand...
Click to collapse
Yup!
What are the issues with using IPv6?
In my APN settings I have an option for "APN protocol" (set to Ipv6 only) and "APN roaming protocol" (set to IPv4 only). Does that not work? Does it still try to use IPv6 when roaming in that case?
At least within the US I haven't seen any issues with using IPv6 on T-Mobile so far, but then I don't really travel that much.
apmon said:
What are the issues with using IPv6?
In my APN settings I have an option for "APN protocol" (set to Ipv6 only) and "APN roaming protocol" (set to IPv4 only). Does that not work? Does it still try to use IPv6 when roaming in that case?
At least within the US I haven't seen any issues with using IPv6 on T-Mobile so far, but then I don't really travel that much.
Click to expand...
Click to collapse
No issues for normal operations, it does seem to affect international roaming. Where do you see APN Roaming Protocol? It doesn't show up in my APN configuration on the T-Mobile stock ROM.
havanahjoe said:
No issues for normal operations, it does seem to affect international roaming. Where do you see APN Roaming Protocol? It doesn't show up in my APN configuration on the T-Mobile stock ROM.
Click to expand...
Click to collapse
I have an Samsung S4 not a LG, but I presumed that all phones have that option? At least I have seen it in other phones as well. Here it is listed just under the normal APN settings.
apmon said:
I have an Samsung S4 not a LG, but I presumed that all phones have that option? At least I have seen it in other phones as well. Here it is listed just under the normal APN settings.
Click to expand...
Click to collapse
Oh, yes, most phones have that option, but the G3 is different. This is most likely the future of T-Mobile customizations
Its going to be a day late fyi
Related
This is driving me nuts!
Realizing that my Desire GSM (PVT3, S-OFF, stock HBOOT) won't ever go beyond GB only with the help of HTC, I started looking at alternatives and flashed a ICS build. This was at an early stage so I wasn't expecting much and that's what I got: not much. System app hung, leaving me with no alternative but to take the battery out and wipe Dalvik to boot it.
As the ROMs have progressed, my expectations have risen but still I two major issues:
1) Spontaneous reboots
Often when picking up the phone, I need to enter my PIN because the phone has rebooted. Sometimes I can go a day without that happening, sometimes it happens 3 or 4 times in a row.
2) No WiFi
It won't even turn on, the aLogcat trace is as below.
Seems it can't find the H/W at all! Is this something that can be attributed to the RIL?
This is all really confusing to me, had no problems at all w/ stock HTC ROMs. I have so far tried different versions of Sandvold and MIUI ROMs. Anybody experience the same or has a clue to what's wrong?
Still no go - more evidence
As I thought WiFi was dead, I restored the phone to stock HTC 2.2. Lo and behold, now WiFi worked!
Armed with fresh new confidence I installed a number of 2.3 Sense and non-Sense ROMs (Runnymede, CM 7.1 etc.) just to see the same problem again.
Any idea? According to the dmesg below it's a hardware problem but since it work at least sometimes with stock ROMs it can't be that bad. Any other 2.3 user who could post their dmesg for a functioning WiFi card?
Code:
[ 509.333282] [WLAN] wifi_set_power = 1
[ 509.333404] bravo_wifi_power: 1
[ 509.618499] [WLAN] wifi_set_carddetect = 1
[ 509.618713] bravo_wifi_set_carddetect: 1
[ 509.618804] mmc0: card_present 1
[ 509.618896] mmc0: Slot status change detected (0 -> 1)
[ 509.620269] [WLAN] Dongle Host Driver, version 4.218.204.2
[ 512.170501] mmc0: queuing CIS tuple 0x91 length 3
[ 512.170928] mmc0: new high speed SDIO card at address 0001
[ 514.212982] mmc0: Data timeout
[ 514.213256] mmc0: Controller has been reset
[ 516.248565] mmc0: Data timeout
[ 516.248840] mmc0: Controller has been reset
[ 518.286071] mmc0: Data timeout
[ 518.286529] mmc0: Controller has been reset
[ 519.613403] [WLAN][WRN] dhd_module_init: sdio_register_driver timeout
[ 520.323638] mmc0: Data timeout
[ 520.324096] mmc0: Controller has been reset
[ 522.359191] mmc0: Data timeout
[ 522.359405] mmc0: Controller has been reset
[ 524.396606] mmc0: Data timeout
[ 524.396911] mmc0: Controller has been reset
[ 524.397430] [WLAN][WRN] dhdsdio_probe_attach: si_attach failed!
[ 524.397827] [WLAN][WRN] dhdsdio_probe: dhdsdio_probe_attach failed
[ 524.399444] [WLAN] wifi_set_carddetect = 0
[ 524.399841] bravo_wifi_set_carddetect: 0
[ 524.400054] mmc0: card_present 0
[ 524.400268] mmc0: Slot status change detected (1 -> 0)
[ 524.400665] [WLAN] wifi_set_power = 0
[ 524.400878] bravo_wifi_power: 0
[ 524.404449] btsdio: probe of mmc0:0001:3 failed with error -123
[ 524.407867] mmc0: card 0001 removed
First of all, go back to stock 2.2 (clean install from RUU, not a nandroid) and keep runnin' it for a few days while monitoring WiFi. If the WiFi's stable with stock, then it must be a software fault, in which case i'd advise you to upgrade to the latest radio from the official GB ROM when using GB/ICS ROMs. If the WiFi's not stable even with stock 2.2 + stock 2.2 radio, then you have a hardware problem on your hands and my bet is that nobody but an HTC service can help you with that.
Here's my logcat for enabling the WiFi connection + connecting to my router (i have replaced the MAC strings with ADDR).
Code:
D/WifiStatusBarPreference( 188): set wifi enable: true
D/WifiService( 122): setWifiEnabled =truemAirplaneModeOverwridden =false
D/WifiService( 122): setWifiEnabledBlocking:Enable Wifi
I/WifiHW ( 122): wifi_load_driver enter
I/WifiHW ( 122): check_driver_loaded
I/WifiHW ( 122): insmod
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 4957): wifi enabled change, state = false
D/NetSharing( 4957): wifi enabled change, state = false
I/WifiHW ( 122): wifi_load_driver end right 3
I/WifiHW ( 122): wifi_start_supplicant enter
D/WifiHW ( 122): create dhcp dir ok!
I/WifiHW ( 122): ensure_config_file_exists
I/WifiHW ( 122): wifi_start_supplicant end right 2
D/WifiService( 122): [smart wifi] mSmartWiFiStatus: 0 mBatteryLevel: 83 mWifiConnected: false
D/WifiService( 122): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiHW ( 122): can't access IFACE_DIR OK
D/WifiService( 122): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]} Mode: 2
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 4957): wifi enabled change, state = false
D/NetSharing( 4957): wifi enabled change, state = false
D/WifiService( 122): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]} Mode: 2
I/WifiHW ( 122): Connect to Supplicant done
D/WifiService( 122): enable and start wifi due to updateWifiState
D/WifiService( 122): enable and start wifi due to updateWifiState
D/WifiStateTracker( 122): Not get IP address yet, shall not do WiFi offload
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00]
I/wpa_supplicant( 5325): Check WiFi offload status: wpa_s->vh_wifi_to_mobile:-1 ,wpa_s->vh_user_connect:-1
V/WifiMonitor( 122): Event [Trying to associate with ADDR (SSID='TV' freq=2412 MHz)]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=ADDR]
V/WifiStateTracker( 122): Connection to supplicant established, state=DISCONNECTED
V/WifiStateTracker( 122): KeyStore.LOCKED
V/WifiStateTracker( 122): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiStateTracker( 122): Changing supplicant state: SCANNING ==> ASSOCIATING
V/WifiStateTracker( 122): KeyStore.LOCKED
D/ConnectivityService( 122): ConnectivityChange for WIFI: CONNECTING/CONNECTING
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/CONNECTING
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=4 BSSID=ADDR]
V/WifiStateTracker( 122): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiMonitor( 122): Event [Associated with ADDR]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=5 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=5 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=6 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
V/WifiMonitor( 122): Event [WPA: Key negotiation completed with ADDR [PTK=CCMP GTK=TKIP]]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=7 BSSID=00:00:00:00:00:00]
V/WifiMonitor( 122): Event [CTRL-EVENT-CONNECTED - Connection to ADDR completed (auth) [id=5 id_str=]]
V/WifiStateTracker( 122): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED
V/WifiStateTracker( 122): New network state is CONNECTED
D/WifiStateTracker( 122): DhcpHandler: acquire ddWakeLock
D/WifiStateTracker( 122): DhcpHandler: DHCP request started
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.STATE_CHANGE
I/NetSharing_NSReceiver( 4957): wifienabled:false
V/WifiStateTracker( 122): DhcpHandler: DHCP request succeeded
D/WifiStateTracker( 122): DhcpHandler: release ddWakeLock
D/WifiStateTracker( 122): change state to connected for wifi supplicant state=COMPLETED
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d3 level=0 visible=false num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d2 level=0 visible=true num=0 )
D/WifiWatchdogService( 122): (android.server.ServerThread) TV (ADDR) does not require the watchdog
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.STATE_CHANGE
I/NetSharing_NSReceiver( 4957): wifienabled:true
D/WifiStateTracker( 122): adding routing rule table=>wifi fromIp=all, toIp=all priority=3001
I/ipd ( 78): IP CMD: /system/bin/ip ro flush table wifi
V/WifiStateTracker( 122): IP configuration: ipaddr 192.168.100.5 gateway 192.168.100.1 netmask 255.255.255.0 dns1 192.168.100.1 dns2 0.0.0.0 DHCP server 192.168.100.1 lease 86400 seconds
I/wpa_supplicant( 5325): WiFi gateway: 0x 164a8c0
D/ConnectivityService( 122): ConnectivityChange for WIFI: CONNECTED/CONNECTED
V/NetworkStateTracker( 122): Setting TCP values: [4095,87380,110208,4096,16384,110208] which comes from [net.tcp.buffersize.wifi]
D/ConnectivityService( 122): adding dns 192.168.100.1 for WIFI
I/ipd ( 78): IP CMD: /system/bin/ip ro add 192.168.100.0/24 dev eth0 src 192.168.100.5 table wifi
D/WifiService( 122): type: WIFI, connected: true
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d2 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 )
I/ipd ( 78): IP CMD: /system/bin/ip ro add default via 192.168.100.1 dev eth0 table wifi
I/ipd ( 78): IP CMD: /system/bin/ip ru del from all to all table wifi prio 3001
I/ipd ( 78): IP CMD: /system/bin/ip ru add from all to all table wifi prio 3001
D/Tethering( 122): Tethering got CONNECTIVITY_ACTION type: WIFI, subtype: , status: CONNECTED
D/AutoSetting( 3674): receiver - NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, if: eth0
D/AutoSetting( 3674): Util - wifi connected
D/AutoSetting( 3674): Util - wifi connected
D/GpsLocationProvider( 122): updateNetworkState available info: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, if: eth0
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 )
DMESG:
Code:
<6>[29199.683929] [WLAN] wifi_set_power = 1
<6>[29199.683929] bravo_wifi_power: 1
<6>[29199.959381] [WLAN] wifi_set_carddetect = 1
<6>[29199.959503] bravo_wifi_set_carddetect: 1
<7>[29199.959686] mmc0: card_present 1
<6>[29199.959808] mmc0: Slot status change detected (0 -> 1)
<6>[29199.962219] [WLAN] Dongle Host Driver, version 4.218.204.2
<7>[29202.517456] mmc0: queuing CIS tuple 0x91 length 3
<6>[29202.517944] mmc0: new high speed SDIO card at address 0001
<6>[29202.538635] [WLAN] DHD: dongle ram size is set to 294912(orig 294912)
<6>[29202.783966] [WLAN] irq: 239
<6>[29202.784729] [WLAN] firmware version: wl0: Aug 2 2010 16:45:25 version 4.218.207.0
<6>[29202.786743] [WLAN] wifi: Disable 802.11n
<6>[29202.929382] [WLAN] dhd_preinit_ioctls:str=0x6e756c6c207061636b657400
<6>[29202.937347] [WLAN] eth0: Broadcom Dongle Host Driver mac=xx:xx:xx:xx:xx:xx
<6>[29202.942016] [WLAN] enter dhd_set_multicast_list
<6>[29202.943939] [WLAN] enter dhd_set_multicast_list
<6>[29202.948150] [WLAN] enter dhd_set_multicast_list
<6>[29202.953033] [ATS][press_widget][launch]
<6>[29203.873687] [WLAN] Send Event ISCAN complete
<6>[29204.597991] [WLAN] disassoc client!
<6>[29204.621032] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[29204.703704] [WLAN] wl_iw_iscan_get_scan return to WE 852 bytes APs=4
<6>[29204.713378] [WLAN] pfn: set ssid = TV
<6>[29204.713500] [WLAN] lightest is 0, weightest is 0, samessid = 65535
<6>[29204.728271] [WLAN] Enter set packet filter
<6>[29204.729187] [WLAN] start to add pkt filter 100
<6>[29204.730865] [WLAN] RXFILTER-ADD MULTICAST filter
<6>[29204.730987] [WLAN] Enter set packet filter
<6>[29204.731933] [WLAN] start to add pkt filter 104
<6>[29204.733917] [WLAN] Enter set packet filter
<6>[29204.734893] [WLAN] start to add pkt filter 102
<6>[29205.651885] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[29205.842590] [WLAN] wake lock 15 secs!
<6>[29205.843170] [WLAN] Link UP
<6>[29205.881042] [WLAN] STA connect received 1
<6>[29205.946594] [WLAN] getpower: and_pm = 0, dhd_pm: 2, ctrl_mask: 0x0, usb_act: 1
<6>[29205.947204] [WLAN] power active. ctrl_mask: 0x1
<6>[29205.948211] [WLAN] btcoex_dhcp_timer_start: sco time=0
<6>[29207.952178] [WLAN] update pm: PM_FAST, wifiLock: 0
<6>[29207.970855] [WLAN] Enter set packet filter
<6>[29207.973663] [WLAN] start to add pkt filter 101
<6>[29207.975738] [WLAN] ip: c0a86405
<6>[29208.118255] [WLAN] Driver GET GATEWAY-ADD CMD!!!
<6>[29208.118499] [WLAN] gatewaybuf: c0a86401
Looking through your logs and comparing them to mine, it seems to me that your logs say that your device doesn't seem to be able to properly mount the SD card.
Code:
[ 512.170928] mmc0: new high speed SDIO card at address 0001
[ 514.212982] mmc0: Data timeout
[ 514.213256] mmc0: Controller has been reset
I know (from reading XDA) that USB bricks are associated with SD card read errors, WiFi dropouts, network dropouts etc. While i am in no way versed in mobile devices, i believe that your issue is somehow software-related, not a hardware fault. If i were in your place, as i said earlier, i'd try reverting to stock 2.2 (full RUU - stock bootloader, stock radio, stock everything) and i'd monitor the device for a couple of days. If i would encounter the same problems as under the ICS ROM you're using, i'd switch to a different custom recovery (some recoveries/recovery versions are known to have bugs) and i'd try to use ye olde USB brick fixes. Only if all would fail i'd call it a hardware issue and dip the phone in liquid Frackitol.
Thanks for your suggestions, TVTV.
I have tried reverting to stock RUU 2.2 - naturally the WiFi works... Right now, I'm running RunnyMede 5.0.1 (Android 2.3.5, Sense 3.5) and everything just works - WiFi running well and no hard or soft reboots. With any ICS build, though, I get the "data timeout" and occasional CRC check failure for mmc0 as above.
Your post got me thinking of the USB brick case. Although I have none of the other symptons, it could be a case of messed up misc partition, I guess. Tried updating to Alpharev HBOOT and them misc reset as described here -> android.modaco.com/topic/309939-usb-brickrickrolledb0rked-fixed/
Running out of ideas so pass me that bottle of Frackitol, please...
It seems that you're not the only one who ran into this issue. Check this thread out.
The OP seems to have solved his problem by replacing his/her SD card which was faulty and was being mounted as read-only.
I tried both ROM which using latest 4.1.2 JellyBean, but found bugs when connecting wifi. It's always obtaining ip address..
But sometimes, it can get ip.. toggling wifi on/off cannot success connecting.
Here's the logcat, hope some experts here can give me solutions
As I'm now very dissapointed why some people not getting this problem..
Code:
E/WifiHW ( 2529): supplicant_name : wpa_supplicant
I/wpa_supplicant(29520): wpa_supplicant v2.0-devel-4.1.2 2012-11-26/18:22:02
E/wpa_supplicant(29520): Can't open default ap file
I/wpa_supplicant(29520): rfkill: Cannot open RFKILL control device
E/WifiHW ( 2529): wifi_wpa_ctrl_cleanup is skiped.
I/p2p_supplicant(29523): wpa_supplicant v2.0-devel-4.1.200
I/wpa_supplicant(29520): State: DISCONNECTED -> SCANNING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00.00.00
I/wpa_supplicant(29520): Scan requested (ret=0) - scan timeout 10 seconds
I/wpa_supplicant(29520): nl80211: Received scan results (2 BSSes)
I/wpa_supplicant(29520): Trying to associate with F4.7C.2A (freq=2412 MHz rssi=-50dBm)
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): ASSOC when wpa_state = 3, do_assoc = 0, reassociate = 0
I/wpa_supplicant(29520): State: SCANNING -> ASSOCIATING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=F4.7C.2A
I/wpa_supplicant(29520): Start Assoc status = [0] !!!!!
W/wpa_supplicant(29520): wlan0: Failed to initiate AP scan
E/wpa_supplicant(29520): wlan0: Not associated - Delay processing of received EAPOL frame !!!!
I/wpa_supplicant(29520): State: ASSOCIATING -> ASSOCIATED
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=F4.7C.2A
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): Associated with F4.7C.2A
I/wpa_supplicant(29520): State: ASSOCIATED -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=8 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): WPA: Key negotiation completed with F4.7C.2A [PTK=CCMP GTK=CCMP]
I/wpa_supplicant(29520): State: GROUP_HANDSHAKE -> COMPLETED
I/wpa_supplicant(29520): CTRL-EVENT-CONNECTED - Connection to F4.7C.2A completed (auth) [id=0 id_str=]
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/dhcpcd (29551): dhcp main start
I/dhcpcd (29551): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (29551): bssid match
E/DhcpStateMachine( 2529): DHCP failed on wlan0: Timed out waiting for DHCP to finish
I/dhcpcd (30384): dhcp main start
I/dhcpcd (30384): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (30384): bssid match
hendry said:
I tried both ROM which using latest 4.1.2 JellyBean, but found bugs when connecting wifi. It's always obtaining ip address..
But sometimes, it can get ip.. toggling wifi on/off cannot success connecting.
Here's the logcat, hope some experts here can give me solutions
As I'm now very dissapointed why some people not getting this problem..
Code:
E/WifiHW ( 2529): supplicant_name : wpa_supplicant
I/wpa_supplicant(29520): wpa_supplicant v2.0-devel-4.1.2 2012-11-26/18:22:02
E/wpa_supplicant(29520): Can't open default ap file
I/wpa_supplicant(29520): rfkill: Cannot open RFKILL control device
E/WifiHW ( 2529): wifi_wpa_ctrl_cleanup is skiped.
I/p2p_supplicant(29523): wpa_supplicant v2.0-devel-4.1.200
I/wpa_supplicant(29520): State: DISCONNECTED -> SCANNING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00.00.00
I/wpa_supplicant(29520): Scan requested (ret=0) - scan timeout 10 seconds
I/wpa_supplicant(29520): nl80211: Received scan results (2 BSSes)
I/wpa_supplicant(29520): Trying to associate with F4.7C.2A (freq=2412 MHz rssi=-50dBm)
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): ASSOC when wpa_state = 3, do_assoc = 0, reassociate = 0
I/wpa_supplicant(29520): State: SCANNING -> ASSOCIATING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=F4.7C.2A
I/wpa_supplicant(29520): Start Assoc status = [0] !!!!!
W/wpa_supplicant(29520): wlan0: Failed to initiate AP scan
E/wpa_supplicant(29520): wlan0: Not associated - Delay processing of received EAPOL frame !!!!
I/wpa_supplicant(29520): State: ASSOCIATING -> ASSOCIATED
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=F4.7C.2A
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): Associated with F4.7C.2A
I/wpa_supplicant(29520): State: ASSOCIATED -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=8 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): WPA: Key negotiation completed with F4.7C.2A [PTK=CCMP GTK=CCMP]
I/wpa_supplicant(29520): State: GROUP_HANDSHAKE -> COMPLETED
I/wpa_supplicant(29520): CTRL-EVENT-CONNECTED - Connection to F4.7C.2A completed (auth) [id=0 id_str=]
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/dhcpcd (29551): dhcp main start
I/dhcpcd (29551): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (29551): bssid match
E/DhcpStateMachine( 2529): DHCP failed on wlan0: Timed out waiting for DHCP to finish
I/dhcpcd (30384): dhcp main start
I/dhcpcd (30384): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (30384): bssid match
Click to expand...
Click to collapse
Why are you posting this here when you've already posted it in the Omega 8 thread? This is not the place to be posting it. I'm not seeing any wifi problems.
I want some experts here can give me solutions on what's wrong with my device.. so everybody can see
My friend also never got problem using 4.1.2 based ROM. I think maybe the structure android files on my devices has invalid permission access or something else i dont know.. That's why i want to get any explanation on this..
Here i added more logcat debug data
Code:
I/WifiManager( 2820): setWifiEnabled : true
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiService( 2529): setWifiEnabled: true pid=2820, uid=10092
I/WifiHW ( 2529): module is semco
E/WifiHW ( 2529): ==========[WIFI] Station firmware load ===========
I/WifiHW ( 2529): Start Check B2 #######
I/WifiHW ( 2529): wifi_trigger_poke : Found 4334B3
I/WifiHW ( 2529): ==========[WIFI] SEMCO MODULE ===========
D/WfdService( 2529): intent recieved android.net.wifi.WIFI_STATE_CHANGED
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
D/STATUSBAR-WifiQuickSettingButton( 2820): Wifi onReceive(2)
D/TMSERVER/TMNetworkReceiver( 4961): TMNetworkReceiver.onReceive() Action android.net.wifi.WIFI_STATE_CHANGED
E/WifiHW ( 2529): supplicant_name : wpa_supplicant
D/WifiP2pService( 2529): P2pDisabledState{ what=131203 }
E/WifiHW ( 2529): wifi_wpa_ctrl_cleanup is skiped.
E/WifiHW ( 2529): supplicant_name : p2p_supplicant
D/WifiP2pService( 2529): Supplicant start successful
D/WifiP2pService( 2529): P2pEnablingState
E/WifiHW ( 2529): Unable to open connection to supplicant on "/data/misc/wifi/sockets/p2p0": Connection refused
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
D/STATUSBAR-WifiQuickSettingButton( 2820): Wifi onReceive(3)
D/WfdService( 2529): intent recieved android.net.wifi.WIFI_STATE_CHANGED
D/WifiP2pService( 2529): P2pEnablingState{ what=143378 }
D/WifiP2pService( 2529): DefaultState{ what=143378 }
E/WifiP2pService( 2529): Unhandled message { what=143378 }
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiService( 2529): startScan: false pid=31094, uid=10027
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiService( 2529): startScan: false pid=3240, uid=10031
D/WifiNative( 2529): callSECApiBoolean - ID [13]
D/TMSERVER/TMNetworkReceiver( 4961): TMNetworkReceiver.onReceive() Action android.net.wifi.WIFI_STATE_CHANGED
D/WifiNative( 2529): callSECApiVoid - ID [50]
D/WfdService( 2529): intent recieved android.net.wifi.STATE_CHANGE
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
E/WifiP2pStateTracker( 2529): getNetworkInfo : NetworkInfo: type: WIFI_P2P[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false
D/TMSERVER/TMNetworkReceiver( 4961): TMNetworkReceiver.onReceive() Action android.net.wifi.STATE_CHANGE
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiP2pService( 2529): P2pEnablingState{ what=147457 }
D/WifiP2pService( 2529): P2p socket connection successful
D/WifiP2pService( 2529): P2pEnabledState
D/WifiP2pService( 2529): sending p2p connection changed broadcast
I/STATUSBAR-QuickSettingButton( 2820): action: android.net.wifi.p2p.STATE_CHANGED
E/WifiStateMachine( 2529): BroadcastReceiver : WIFI_P2P_STATE_CHANGED_ACTION is : android.net.wifi.p2p.STATE_CHANGED
D/WfdService( 2529): intent recieved android.net.wifi.p2p.STATE_CHANGED
D/WfdService( 2529): intent recieved android.net.wifi.p2p.CONNECTION_STATE_CHANGE
D/WfdService( 2529): onReceive << WIFI_P2P_CONNECTION_CHANGED_ACTION
D/WfdService( 2529): WIFI_P2P_CONNECTION_CHANGED_ACTION >> isConnected() false
W/WifiP2pStateTracker( 2529): WifiP2pStateReceiver : android.net.wifi.p2p.CONNECTION_STATE_CHANGE
D/WifiP2pService( 2529): DeviceAddress: 3a:76:f1
D/WifiP2pService( 2529): InactiveState
D/WifiP2pService( 2529): InactiveState{ what=147462 }
D/WifiP2pService( 2529): P2pEnabledState{ what=147462 }
D/WfdService( 2529): intent recieved android.net.wifi.p2p.THIS_DEVICE_CHANGED
D/WfdService( 2529): WIFI_P2P_THIS_DEVICE_CHANGED_ACTION arrived
D/WifiP2pService( 2529): DefaultState{ what=147462 }
D/WifiDirectBR( 5039): WifiDirectBroadcastReceiver::onReceive() : android.net.wifi.p2p.STATE_CHANGED
D/WifiDirectBR( 5039): WifiDirectBroadcastReceiver::onReceive() : android.net.wifi.p2p.CONNECTION_STATE_CHANGE
D/WifiDirectBR( 5039): WifiDirectBroadcastReceiver::onReceive(), Action : WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION, isConnected() == false
D/WifiDirectBR( 5039): stopServiceTest : false
try installing this modem LJ2 http://www.mediafire.com/?9wfmm51c87b2bwn
I think the problem lies in the modem/router software, it only is a problem on specific routers. I haven`t had a issue yet so far.
Flash the official stock 4.1.2 polish release that must came out. Check it out, may solve your problem!
I already tried several ways, from installing poland 4.1.2 stock ROM, same problem...
I think router is okay.. why using stock 4.1.1 ROM, wifi always working good and always getting ip address whatever i toggle on/off wifi several times..
I also already flashed modem from 4.1.1 stock rom, but still no success..
The only solutions is to copy /etc/wifi folder from 4.1.1 stock to any 4.1.2 custom rom.. I just got this solutions from someone here in this forum too..
Strange, why it happened on some devices. Why most people not suffering this problem like me..If my device has some hardware broken, why using 4.1.1 stock rom, the problem dissapeared ?
If this is the bugs on 4.1.2 ROM, we should report it to samsung, so they can fix this bugs on the next build of the ROM..
Also custom rom developer should patch their ROM to avoid this bugs..
I have same problem with 4.1.1 it is perfect, but with 4.1.2 it has same problems as yours.
---------- Post added at 02:33 PM ---------- Previous post was at 02:16 PM ----------
hendry said:
I already tried several ways, from installing poland 4.1.2 stock ROM, same problem...
I think router is okay.. why using stock 4.1.1 ROM, wifi always working good and always getting ip address whatever i toggle on/off wifi several times..
I also already flashed modem from 4.1.1 stock rom, but still no success..
The only solutions is to copy /etc/wifi folder from 4.1.1 stock to any 4.1.2 custom rom.. I just got this solutions from someone here in this forum too..
Strange, why it happened on some devices. Why most people not suffering this problem like me..If my device has some hardware broken, why using 4.1.1 stock rom, the problem dissapeared ?
Click to expand...
Click to collapse
Can you please attach the /etc/wifi folder from 4.1.1 stock??? I want to fix my wifi problem.
Thanks
hendry said:
I already tried several ways, from installing poland 4.1.2 stock ROM, same problem...
I think router is okay.. why using stock 4.1.1 ROM, wifi always working good and always getting ip address whatever i toggle on/off wifi several times..
I also already flashed modem from 4.1.1 stock rom, but still no success..
The only solutions is to copy /etc/wifi folder from 4.1.1 stock to any 4.1.2 custom rom.. I just got this solutions from someone here in this forum too..
Strange, why it happened on some devices. Why most people not suffering this problem like me..If my device has some hardware broken, why using 4.1.1 stock rom, the problem dissapeared ?
Click to expand...
Click to collapse
Yes your right . i am also facing wifi problem disconcerting in 4.1.2 .. in previous version 4.1.1 working fine
Well i dont have this problem as yours....have a stranger one lol
I have 50 mbits internet speed at home with speed of 5.2 MB/S while just on 4.1.2 speed dont cross 2 or 3 mbits out of 50 mbits while download speed is only 200 to 270 KB/S.....
Sent from my GT-N7100 using XDA Premium HD app
I've some problem with wifi on galaxy tab 3 7.0 (JB 4.1.2)
When connect using hotspot laptop or tethering via other device, my wifi always scanning every 7s. make my battery run out.
I was trying use advance setting (static IP) but still same.
How to solved this problem?
Hello there,
I have a strange issue with my 4.2.2 (rooted; unlocked) Galaxy Nexus (GSM)
On my university we use Eduroam, a wi-fi network which uses PEAP authentication with MCHAPV2 Phase 2 auth.
What's going wrong?
When I connect to this network everything works fine until a certain point were Android somehow loses the password.
Code:
D/CommandListener( 124): Setting iface cfg
D/CommandListener( 124): Trying to bring up p2p0
I/wpa_supplicant(14426): wlan0: Trying to associate with 00:1a:1e:15:8d:20 (SSID='eduroam' freq=2412 MHz)
I/wpa_supplicant(14426): wlan0: Associated with 00:1a:1e:15:8d:20
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=/CN=UTN-USERFirst-Hardware'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=NL/O=TERENA/CN=TERENA SSL CA'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/C=NL/O=Universiteit Utrecht/OU=ICT Service Centrum/CN='
I/ActivityManager( 385): START u0 {act=android.settings.WIFI_SETTINGS flg=0x14000000 cmp=com.android.settings/.Settings$WifiSettingsActivity} from pid 530
D/BluetoothAdapter( 8904): 1110622808: getState() : mService = null. Returning STATE_OFF
I/Choreographer( 8904): Skipped 31 frames! The application may be doing too much work on its main thread.
D/WifiService( 385): setWifiEnabled: true pid=8904, uid=1000
D/BluetoothAdapter( 8904): 1110622808: getState() : mService = null. Returning STATE_OFF
I/ActivityManager( 385): Process org.yoki.android.buienalarm (pid 14014) has died.
I/ActivityManager( 385): Process com.google.android.calendar (pid 14258) has died.
I/ActivityManager( 385): Displayed com.android.settings/.Settings$WifiSettingsActivity: +940ms
I/wpa_supplicant(14426): EAP-MSCHAPV2: Password not configured
I/wpa_supplicant(14426): wlan0: CTRL-REQ-PASSWORD-2:Password needed for SSID eduroam
W/Settings( 670): Setting auto_time_zone has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
D/AlarmManagerService( 385): Kernel timezone updated to -120 minutes west of GMT
What I've already tried
Manually downloading and installing the certificate
Manually adding the wifi as 'hidden network'
Downloading an app, and installing it from there
Using a different kernel with updated Wifi Drivers (AK Rubik r30)
This problem occurs in stock ROM and in PA ROM. With stock kernel and the Fancy Kernel, AL Rubik
Please help me identify the solution to this problem, I've googled AND searched in XDA-forums, but to no avail as of yet.
This problem as been there for a week now, and there was a time were it just worked. (Same phone)
I know no one else on campus with this problem.
Maybe this problem is smaller.
What in essence goes wrong is that Android deletes the password from its wpa_supplicant.conf.
Is this a known issue?
I tried multiple ROM's, my password didn't change between 4.0 and 4.2.2...
Should I try downgrading wpa_supplicant itself?
Code:
network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="<student number>@soliscom.uu.nl"
password="<a password with capitals numbers and special tokens>"
ca_cert="keystore://CACERT_eduroam"
phase2="auth=MSCHAPV2"
}
Bump
One thing keep users away from running LolliPop on HOX: Seemingly random data disconnects.
I found a way to replicate the issue:
- Make sure you have internet on gsm (wifi off)
- Enable wifi, wait for full connectivity
- Enter AirPlane mode
- Toggle AP mode off
- Wait for wifi connectivity
- disable wifi
My phone will not connect 10-50% of the time - enough to make experiments.
One interesting observation: During no connection, just by entering "Phone info" (*#*#4696#*#*), radio get initialized.
From some of the logs it looks like android just reuse old data, but forget to initialize radio with it (or maybe ril don't understand?).
There are also some interesting Exceptions here and there.
HERE are two logs from SlimLP and two from CM12.1
One log wil successfully connect after wifi off, one will not.
I believe these logs should be enough to at least point to the root cause.
We simply need a wizard with radio/connectivity magic skills. @Thömy @eyosen @Lloir @Demetris or
anyone knowing such a wizard, please summon one.
Do you know if hox + has the same issue?
Demetris said:
Do you know if hox + has the same issue?
Click to expand...
Click to collapse
@Lloir will know I'm sure.
Pure-AOSP and OMNI have a few patches, that is not in CM and Slim. Looks promising, currently compiling omni, hope I can check tonight.
Edit: Need more work on wifi and SIM
teemo said:
@Lloir will know I'm sure.
Pure-AOSP and OMNI have a few patches, that is not in CM and Slim. Looks promising, currently compiling omni, hope I can check tonight.
Edit: Need more work on wifi and SIM
Click to expand...
Click to collapse
You might be kinda glad to know, a simular issue affects The Nexus 6 and some other HTC devices.
Demetris said:
Do you know if hox + has the same issue?
Click to expand...
Click to collapse
Yes
teemo said:
@Lloir will know I'm sure.
Pure-AOSP and OMNI have a few patches, that is not in CM and Slim. Looks promising, currently compiling omni, hope I can check tonight.
Edit: Need more work on wifi and SIM
Click to expand...
Click to collapse
Not sure why no one has taken my Android 4.4 branch of pure aosp and thrown a build up on here, (yes I broke it slightly easy enough to fix though)
Right now my time with the X+ is shortend by the need to work on the g620_a2/snapto myself. Can't let thoemy do all the work. Just tag me in a post or something if you need me, I get email notifs
From cm-wifi-off-no-net.log
Code:
D/ConnectivityService( 551): Setting MTU size: rmnet0, 1500
D/ConnectivityService( 551): Adding Route [0.0.0.0/0 -> 10.129.168.227 rmnet0] to network 106
E/Netd ( 179): netlink response contains error (Network is unreachable)
E/ConnectivityService( 551): Exception in addRoute for gateway: java.lang.IllegalStateException: command '151 network route add 106 rmnet0 0.0.0.0/0 10.129.168.227' failed with '400 151 addRoute() failed (Network is unreachable)'
And the when it works:
Code:
D/ConnectivityService( 551): Setting MTU size: rmnet0, 1500
D/ConnectivityService( 551): Adding Route [0.0.0.0/0 -> 10.164.14.213 rmnet0] to network 109
D/ConnectivityService( 551): Setting Dns servers for network 109 to [/194.239.134.83, /193.162.153.164]
Please post the output of "netcfg" and "ip route" for the working and not working case. I don't know what's causing the first to fail and the other one to succeed. There don't seem to be obvious differences besides the IP and gateway addresses. There was an "Android 5 cannot connect to networks with misconfigured subnet masks" issue (https://code.google.com/p/android/issues/detail?id=92646) but that should be fixed in 5.1.
---------- Post added at 03:52 PM ---------- Previous post was at 03:49 PM ----------
Oh, there's a patch available. I should read threads more closely.
Thömy said:
From cm-wifi-off-no-net.log
Code:
D/ConnectivityService( 551): Setting MTU size: rmnet0, 1500
D/ConnectivityService( 551): Adding Route [0.0.0.0/0 -> 10.129.168.227 rmnet0] to network 106
E/Netd ( 179): netlink response contains error (Network is unreachable)
E/ConnectivityService( 551): Exception in addRoute for gateway: java.lang.IllegalStateException: command '151 network route add 106 rmnet0 0.0.0.0/0 10.129.168.227' failed with '400 151 addRoute() failed (Network is unreachable)'
And the when it works:
Code:
D/ConnectivityService( 551): Setting MTU size: rmnet0, 1500
D/ConnectivityService( 551): Adding Route [0.0.0.0/0 -> 10.164.14.213 rmnet0] to network 109
D/ConnectivityService( 551): Setting Dns servers for network 109 to [/194.239.134.83, /193.162.153.164]
Please post the output of "netcfg" and "ip route" for the working and not working case. I don't know what's causing the first to fail and the other one to succeed. There don't seem to be obvious differences besides the IP and gateway addresses. There was an "Android 5 cannot connect to networks with misconfigured subnet masks" issue (https://code.google.com/p/android/issues/detail?id=92646) but that should be fixed in 5.1.
---------- Post added at 03:52 PM ---------- Previous post was at 03:49 PM ----------
Oh, there's a patch available. I should read threads more closely.
Click to expand...
Click to collapse
Not sure what patch you refer to. I found none that helps us.
Here is the output. The script just run "netcfg && ip route".
There are both routed and unrouted entries.
I sideloaded OpenVPNConnect and OpenVPN(blinkt.de) on my FireTvStick 5.2.1.1.
Both apps are able to connect to my vpn server and according to their own logs routes (especialle for 0.0.0.0) have been created and the sequence is completed.
But in opposite to all other my android devices where the same vpn config works the FireTvStick is not using the vpn.
The output of logcat follows for both applications.
de.blinkt.openvpn.apk:
Code:
12-20 19:59:37.588: D/VpnJni(987): Address added on tun0: 10.8.0.10/30
12-20 19:59:37.608: D/ConnectivityService(987): registerNetworkAgent NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{null} lp{{InterfaceName: tun0 LinkAddresses: [10.8.0.10/30,] Routes: [0.0.0.0/1 -> 0.0.0.0 tun0,128.0.0.0/2 -> 0.0.0.0 tun0,192.0.0.0/9 -> 0.0.0.0 tun0,192.128.0.0/11 -> 0.0.0.0 tun0,192.160.0.0/13 -> 0.0.0.0 tun0,192.168.0.0/17 -> 0.0.0.0 tun0,192.168.128.0/19 -> 0.0.0.0 tun0,192.168.160.0/20 -> 0.0.0.0 tun0,192.168.176.0/23 -> 0.0.0.0 tun0,192.168.179.0/24 -> 0.0.0.0 tun0,192.168.180.0/22 -> 0.0.0.0 tun0,192.168.184.0/21 -> 0.0.0.0 tun0,192.168.192.0/18 -> 0.0.0.0 tun0,192.169.0.0/16 -> 0.0.0.0 tun0,192.170.0.0/15 -> 0.0.0.0 tun0,192.172.0.0/14 -> 0.0.0.0 tun0,192.176.0.0/12 -> 0.0.0.0 tun0,192.192.0.0/10 -> 0.0.0.0 tun0,193.0.0.0/8 -> 0.0.0.0 tun0,194.0.0.0/7 -> 0.0.0.0 tun0,196.0.0.0/6 -> 0.0.0.0 tun0,200.0.0.0/5 -> 0.0.0.0 tun0,208.0.0.0/4 -> 0.0.0.0 tun0,] DnsAddresses: [208.67.222.222,208.67.220.220,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: NOT_RESTRICTED&TRUSTED]} Score{0} everValidated{false} lastValidated{false} created{false} explicitlySelected{false} }
12-20 19:59:37.608: D/ConnectivityService(987): Adding iface tun0 to network 110
12-20 19:59:37.628: I/Vpn(987): Established by de.blinkt.openvpn on tun0
12-20 19:59:37.688: E/Netd(153): failed to add interface tun0 to VPN netId 110
12-20 19:59:37.698: E/ConnectivityService(987): Exception adding interface: java.lang.IllegalStateException: command '366 network interface add 110 tun0' failed with '400 366 addInterfaceToNetwork() failed (Invalid argument)'
12-20 19:59:37.698: E/ConnectivityService(987): Unexpected mtu value: 0, tun0
12-20 19:59:37.698: E/Netd(153): interface tun0 not assigned to any netId
...
net.openvpn.openvpn.apk:
Code:
12-20 20:00:19.226: D/VpnJni(987): Address added on tun0: 10.8.0.10/30
12-20 20:00:19.246: I/Vpn(987): Established by net.openvpn.openvpn on tun0
12-20 20:00:19.246: D/ConnectivityService(987): registerNetworkAgent NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{null} lp{{InterfaceName: tun0 LinkAddresses: [10.8.0.10/30,] Routes: [10.8.0.1/32 -> 0.0.0.0 tun0,0.0.0.0/0 -> 0.0.0.0 tun0,::/0 unreachable,] DnsAddresses: [208.67.222.222,208.67.220.220,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED]} Score{0} everValidated{false} lastValidated{false} created{false} explicitlySelected{false} }
12-20 20:00:19.246: D/ConnectivityService(987): Adding iface tun0 to network 111
12-20 20:00:19.306: E/Netd(153): failed to add interface tun0 to VPN netId 111
12-20 20:00:19.316: E/ConnectivityService(987): Exception adding interface: java.lang.IllegalStateException: command '401 network interface add 111 tun0' failed with '400 401 addInterfaceToNetwork() failed (Invalid argument)'
12-20 20:00:19.316: E/ConnectivityService(987): Unexpected mtu value: 0, tun0
12-20 20:00:19.316: E/Netd(153): interface tun0 not assigned to any netId
12-20 20:00:19.316: E/ConnectivityService(987): Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '402 network route add 111 tun0 10.8.0.1/32' failed with '400 402 addRoute() failed (No such device)'
12-20 20:00:19.316: E/Netd(153): interface tun0 not assigned to any netId
12-20 20:00:19.326: E/ConnectivityService(987): Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '403 network route add 111 tun0 0.0.0.0/0' failed with '400 403 addRoute() failed (No such device)'
12-20 20:00:19.326: E/Netd(153): interface tun0 not assigned to any netId
12-20 20:00:19.396: E/ConnectivityService(987): Attempting to register duplicate agent for type 17: NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{111} lp{{InterfaceName: tun0 LinkAddresses: [10.8.0.10/30,] Routes: [10.8.0.1/32 -> 0.0.0.0 tun0,0.0.0.0/0 -> 0.0.0.0 tun0,::/0 unreachable,] DnsAddresses: [208.67.222.222,208.67.220.220,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED]} Score{0} everValidated{true} lastValidated{true} created{true} explicitlySelected{false} }
adding a route by hand via "route add default gw 10.8.0.1 dev tun0" is not permitted.
so is the whole thing an rooted/unrooted issue?