[Nexus 7 Q&A, Help & Troubleshooting] RR_Phantom_III:
Hi,

since the 21st of May Google Services are using a tremendous amount of mobile data:

Because i was on vacation a had no better option as to disable mobile data completely and enable it on demand.

My first thought was it's a revival of the 4.2.2, 4,3 OTA bug because i had problems with this bug running CM 10.1.2. (http://xdaforums.com/nexus-4/general/warning-google-services-massive-data-t2390202

This bug was fixed in the upcoming CM releases so i thought this couldn't be the issue caus i'm running 4.3.1 (CM 10.2.0-tilapia stable).

Yesterday i tried to recreate the behavior by disabling wifi and analyze the logcat output - nothing relevant happened.

So i cleared the Google Services app cache and hoped this would solve the problem.

Today at noon i checked again if something suspicious is going on - again nothing.

At home i checked again - and bam - mobile data is disabled because the limit is reached.

So the logcat revealed the following:

05-26 16:48:04.701 I/SystemUpdateService(1921): acquiring wakelock
05-26 16:48:04.711 I/SystemUpdateService(1921): onCreate
05-26 16:48:04.741 D/GCM (951): GcmService start Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 cmp=com.google.android.gms/.gcm.GcmService (has extras) } android.net.conn.CONNECTIVITY_CHANGE
05-26 16:48:04.791 I/SystemUpdateService(1921): network: NetworkInfo: type: mobile[UMTS], state: CONNECTED/CONNECTED, reason: (unspecified), extra: bob.at, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false; metered: true; mobile allowed: true
05-26 16:48:04.821 I/DownloadAttempt(1921): current file is /cache/b7fbbb67c63e4c111e323a164ebbf8f30b29e6ba.signed-nakasig-KOT49H-from-JWR66Y.b7fbbb67.zip
05-26 16:48:04.821 I/DownloadAttempt(1921): mSize 204626843 mDownloaded 65683624
05-26 16:48:04.821 I/SystemUpdateService(1921): status is 1 (ready)
05-26 16:48:04.821 I/SystemUpdateService(1921): starting download of http://android.clients.google.com/packages/ota/google_nakasig/b7fbbb67c63e4c111e323a164ebbf8f30b29e6ba.signed-nakasig-KOT49H-from-JWR66Y.b7fbbb67.zip
05-26 16:48:04.821 I/DownloadAttempt(1921): querying downloadmanager
05-26 16:48:04.821 I/SystemUpdateService(1921): now status is 2 (in_progress)
05-26 16:48:04.871 D/CaptivePortalTracker(480): NoActiveNetworkState{ what=1 when=0 obj=NetworkInfo: type: mobile[UMTS], state: CONNECTED/CONNECTED, reason: (unspecified), extra: bob.at, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false }
05-26 16:48:04.871 D/CaptivePortalTracker(480): NoActiveNetworkState not a wifi connectivity change, ignore
05-26 16:48:04.871 D/StatusBar.NetworkController(748): updateConnectivity: intent=Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 (has extras) }
05-26 16:48:04.881 D/Tethering(480): MasterInitialState.processMessage what=3
05-26 16:48:04.881 D/StatusBar.NetworkController(748): updateConnectivity: networkInfo=NetworkInfo: type: mobile[UMTS], state: CONNECTED/CONNECTED, reason: (unspecified), extra: bob.at, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
05-26 16:48:04.881 D/StatusBar.NetworkController(748): updateConnectivity: connectionStatus=0
05-26 16:48:04.891 D/TelephonyProvider(879): Column apn id key is 'apn_id'
05-26 16:48:04.891 D/StatusBar.NetworkController(748): updateConnectivity: intent=Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 (has extras) }
05-26 16:48:04.891 D/StatusBar.NetworkController(748): updateConnectivity: networkInfo=NetworkInfo: type: mobile[UMTS], state: CONNECTED/CONNECTED, reason: (unspecified), extra: bob.at, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false
05-26 16:48:04.891 D/StatusBar.NetworkController(748): updateConnectivity: connectionStatus=0
05-26 16:48:04.951 I/SystemUpdateService(1921): network: NetworkInfo: type: mobile[UMTS], state: CONNECTED/CONNECTED, reason: (unspecified), extra: bob.at, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false; metered: true; mobile allowed: true
05-26 16:48:04.951 I/SystemUpdateService(1921): now status is 2 (in_progress)
05-26 16:48:04.951 I/SystemUpdateService(1921): releasing wakelock
...
5-26 16:48:05.151 I/DownloadAttempt(1921): mUrl is http://android.clients.google.com/packages/ota/google_nakasig/b7fbbb67c63e4c111e323a164ebbf8f30b29e6ba.signed-nakasig-KOT49H-from-JWR66Y.b7fbbb67.zip
05-26 16:48:05.161 I/DownloadAttempt(1921): including auth header AJeBEBws979iQYAA...
05-26 16:48:05.161 I/DownloadAttempt(1921): sending range request: bytes=65683624-
...
05-26 16:48:14.031 I/DownloadAttempt(1921): response is 206
05-26 16:48:14.031 I/DownloadAttempt(1921): etag is b7fbbb67c63e4c111e323a164ebbf8f30b29e6ba
05-26 16:48:14.031 I/DownloadAttempt(1921): contentLength is 138943219
05-26 16:48:14.031 I/DownloadAttempt(1921): downloaded 65683624 / 204626843 bytes
05-26 16:48:14.031 I/DownloadAttempt(1921): progress now 32%
....
05-26 17:02:29.847 I/DownloadAttempt(1921): progress now 78%
05-26 17:02:31.047 D/MobileDataStateTracker(480): default: setPolicyDataEnable(enabled=true)
05-26 17:02:31.937 D/MobileDataStateTracker(480): default: setPolicyDataEnable(enabled=true)
05-26 17:02:32.437 D/MobileDataStateTracker(480): default: setPolicyDataEnable(enabled=true)
05-26 17:02:32.747 I/DownloadAttempt(1921): progress now 79%
05-26 17:02:32.867 D/MobileDataStateTracker(480): default: setPolicyDataEnable(enabled=true)
05-26 17:02:33.087 I/DownloadAttempt(1921): caught ioexception
05-26 17:02:33.087 I/DownloadAttempt(1921): java.net.SocketException: recvfrom failed: ENETUNREACH (Network is unreachable)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:545)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.io.IoBridge.recvfrom(IoBridge.java:509)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at java.net.PlainSocketImpl.read(PlainSocketImpl.java:489)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:241)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at java.io.BufferedInputStream.read(BufferedInputStream.java:304)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.net.http.FixedLengthInputStream.read(FixedLengthInputStream.java:45)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at hpd.b(SourceFile:432)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at hpd.doInBackground(SourceFile:44)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at android.os.AsyncTask$2.call(AsyncTask.java:287)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at java.util.concurrent.FutureTask.run(FutureTask.java:234)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at java.lang.Thread.run(Thread.java:841)
05-26 17:02:33.087 I/DownloadAttempt(1921): Caused by: libcore.io.ErrnoException: recvfrom failed: ENETUNREACH (Network is unreachable)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.io.Posix.recvfromBytes(Native Method)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.io.Posix.recvfrom(Posix.java:140)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
05-26 17:02:33.087 I/DownloadAttempt(1921):	at libcore.io.IoBridge.recvfrom(IoBridge.java:506)
05-26 17:02:33.087 I/DownloadAttempt(1921):	... 10 more
...
05-26 17:02:44.721 I/SystemUpdateService(1921): acquiring wakelock
05-26 17:02:44.731 I/SystemUpdateService(1921): onCreate
05-26 17:02:44.751 I/SystemUpdateService(1921): releasing wakelock
05-26 17:02:44.761 D/GCM (951): GcmService start Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 cmp=com.google.android.gms/.gcm.GcmService (has extras) } android.net.conn.CONNECTIVITY_CHANGE
05-26 17:02:45.101 I/AFWall (19242): Now assuming NO connection (all interfaces down)
05-26 17:02:45.171 D/ConnectivityService(480): handleInetConditionChange: no active default network - ignore
05-26 17:02:45.221 I/AFWall (19242): CONNECTIVITY_CHANGE: applied rules
05-26 17:02:53.361 I/SystemUpdateService(1921): acquiring wakelock
05-26 17:02:53.371 I/SystemUpdateService(1921): onCreate
05-26 17:02:53.391 I/SystemUpdateService(1921): network: null; metered: false; mobile allowed: true
05-26 17:02:53.391 I/DownloadAttempt(1921): current file is /cache/b7fbbb67c63e4c111e323a164ebbf8f30b29e6ba.signed-nakasig-KOT49H-from-JWR66Y.b7fbbb67.zip
05-26 17:02:53.391 I/DownloadAttempt(1921): mSize 204626843 mDownloaded 161988136
05-26 17:02:53.401 I/SystemUpdateService(1921): status is 1 (ready)
05-26 17:02:53.401 I/SystemUpdateService(1921): network down
05-26 17:02:53.401 I/SystemUpdateService(1921): now status is 5 (failed)
05-26 17:02:53.401 I/SystemUpdateService(1921): download failed; clearing attempt
05-26 17:02:53.401 V/SystemUpdateService(1921): retry (wakeup: true) in 29996 ms
05-26 17:02:53.401 I/SystemUpdateService(1921): releasing wakelock

Other relevant system specs:

Xposed Framework v2.6.1 installed on 5/20/2014

XPrivacy v2.0.22 installed on 5/21/2014

AFWall+ is enabled

So while driving home from work my Nexus 7 (nakasig) 3G CM 10.2 (4.3.1) tried to download via OTA update stock 4.4.2.

WTF?

Any idea why this is happening in general and somewhat less important why is this happening just now (4.4.2 OTA started in December 2013)?