[Galaxy Note II Android Development] Ralux:
Hey guys! I just clean-installed ResurrectionRemix-M-v5.7.0-20160617-n7100.zip after being on Ivans 5.1.1 rom for a long time. Everything is smooth so far and I didn't have a single crash in the first 24 hours.

However I have one major problem: SSL connections fail at handshake when using mobile networks. Non-SSL traffic works flawlessly though. This means Whatsapp, E-Mail etc. do not work while outside the range of a WiFi.

I scanned the last few pages of this thread and did not find a mention of this. Does anyone else have this problem?

What I already tried: Installing Agni Kernel and restoring a backup of EFS/Modem. Did not help.

Example logcat of handshake timing out:

06-20 15:47:23.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:47:33.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:47:43.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:47:53.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:03.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:13.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:23.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:33.492 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:33.553 4388-4388/com.google.android.gms.persistent I/Auth: [AuthDelegateWrapper] Service intent: Intent { cmp=com.google.android.gms/.auth.account.authenticator.DefaultAuthDelegateService }.

06-20 15:48:33.555 4388-4388/com.google.android.gms.persistent I/Auth: [AuthDelegateWrapper] Service intent: Intent { cmp=com.google.android.gms/.auth.account.authenticator.DefaultAuthDelegateService }.

06-20 15:48:33.731 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:48:34.382 3346-4752/system_process D/WifiService: acquireWifiLockLocked: WifiLock{HTTPMetricsTransport type=3 binder=android.os.BinderProxy@c96cac2}

06-20 15:48:34.384 7809-7865/de.amazon.mShop.android I/Metrics:BatchTransmitte: QueuePusher.sendBatches - Drained batch queue.; Number of RESERVED_FOR_NON_ANONYMOUS_METRICS queue batches sent: 0

06-20 15:48:34.399 7809-7864/de.amazon.mShop.android I/Metrics:BatchTransmitte: QueuePusher.sendBatches - Drained batch queue.; Number of HIGH queue batches sent: 0

06-20 15:48:34.454 7809-16517/de.amazon.mShop.android D/AbstractMetricsFactoryImpl: record : No data points in metrics event

06-20 15:48:37.811 4457-4457/com.android.phone V/ConfigResourceUtil: resourceName = config_spn_display_control resourceId = 2130837514resourceValue = false

06-20 15:48:37.820 3346-4204/system_process D/AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT

06-20 15:48:37.870 3346-3556/system_process D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [MOBILE (HSDPA) - 103]

06-20 15:48:37.937 3346-3556/system_process D/ConnectivityService: Setting tx/rx TCP buffers to 122334,734003,2202010,32040,192239,576717

06-20 15:48:38.094 3346-3556/system_process D/ConnectivityService: notifyType IP_CHANGED for NetworkAgentInfo [MOBILE (HSPA+) - 103]

06-20 15:48:38.156 6619-6619/com.android.cellbroadcastreceiver D/CellBroadcastReceiver: subscriptionId = 1

06-20 15:48:38.883 4403-16514/com.google.android.gms W/System: ClassLoader referenced unknown path: /system/priv-app/PrebuiltGmsCore/lib/arm

06-20 15:48:43.484 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:44.429 4457-4457/com.android.phone V/ConfigResourceUtil: resourceName = config_spn_display_control resourceId = 2130837514resourceValue = false

06-20 15:48:44.438 3346-4711/system_process D/AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT

06-20 15:48:44.487 3346-3556/system_process D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [MOBILE (HSPA+) - 103]

06-20 15:48:44.557 3346-3556/system_process D/ConnectivityService: Setting tx/rx TCP buffers to 58254,349525,1048576,58254,349525,1048576

06-20 15:48:44.738 3346-3556/system_process D/ConnectivityService: notifyType IP_CHANGED for NetworkAgentInfo [MOBILE (UMTS) - 103]

06-20 15:48:44.771 4457-4457/com.android.phone V/ConfigResourceUtil: resourceName = config_spn_display_control resourceId = 2130837514resourceValue = false

06-20 15:48:44.779 3346-4711/system_process D/AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT

06-20 15:48:44.805 3346-3556/system_process D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [MOBILE (UMTS) - 103]

06-20 15:48:44.814 3346-3556/system_process D/ConnectivityService: Setting tx/rx TCP buffers to 61167,367002,1101005,8738,52429,262114

06-20 15:48:44.856 6619-6619/com.android.cellbroadcastreceiver D/CellBroadcastReceiver: subscriptionId = 1

06-20 15:48:44.904 3346-3556/system_process D/ConnectivityService: notifyType IP_CHANGED for NetworkAgentInfo [MOBILE (HSDPA) - 103]

06-20 15:48:44.929 6619-6619/com.android.cellbroadcastreceiver D/CellBroadcastReceiver: subscriptionId = 1

06-20 15:48:44.947 3598-3598/com.android.systemui W/art: Long monitor contention event with owner method=boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) from MessageQueue.java:541 waiters=0 for 264ms

06-20 15:48:45.235 7809-7863/de.amazon.mShop.android E/TComm.HttpClientSrrMana: makeRequestSync - Timed out making the request.; destination: URNs may contain PII

java.net.SocketTimeoutException: SSL handshake timed out

at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)

at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:324)

at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:406)

at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:170)

at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)

at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)

at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)

at amazon.communication.srr.HttpClientSrrManager.makeRequestSync(HttpClientSrrManager.java:215)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.makeRequest(HTTPMetricsTransport.java:286)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.attemptToTransmit(HTTPMetricsTransport.java:230)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.transmit(HTTPMetricsTransport.java:202)

at com.amazon.client.metrics.batch.transmitter.BatchTransmitter$QueuePusher.sendBatches(BatchTransmitter.java:177)

at com.amazon.client.metrics.batch.transmitter.BatchTransmitter$QueuePusher.run(BatchTransmitter.java:141)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

at java.lang.Thread.run(Thread.java:818)

06-20 15:48:45.236 7809-7863/de.amazon.mShop.android E/HTTPMetricsTransport: transmit - TimeoutException while transmitting;

amazon.communication.TimeoutException: makeRequestSync - Timed out making the request.; destination: URNs may contain PII

at amazon.communication.srr.HttpClientSrrManager.makeRequestSync(HttpClientSrrManager.java:242)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.makeRequest(HTTPMetricsTransport.java:286)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.attemptToTransmit(HTTPMetricsTransport.java:230)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.transmit(HTTPMetricsTransport.java:202)

at com.amazon.client.metrics.batch.transmitter.BatchTransmitter$QueuePusher.sendBatches(BatchTransmitter.java:177)

at com.amazon.client.metrics.batch.transmitter.BatchTransmitter$QueuePusher.run(BatchTransmitter.java:141)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

at java.lang.Thread.run(Thread.java:818)

Caused by: java.net.SocketTimeoutException: SSL handshake timed out

at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)

at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:324)

at org.apache.http.conn.ssl.SSLSocketFactory.createSocket(SSLSocketFactory.java:406)

at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:170)

at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)

at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)

at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)

at amazon.communication.srr.HttpClientSrrManager.makeRequestSync(HttpClientSrrManager.java:215)

at com.amazon.client.metrics.transport.HTTPMetricsTransport.makeRequest(HTTPMetricsTransport.java:286)*

at com.amazon.client.metrics.transport.HTTPMetricsTransport.attemptToTransmit(HTTPMetricsTransport.java:230)*

at com.amazon.client.metrics.transport.HTTPMetricsTransport.transmit(HTTPMetricsTransport.java:202)*

at com.amazon.client.metrics.batch.transmitter.BatchTransmitter$QueuePusher.sendBatches(BatchTransmitter.java:177)*

at com.amazon.client.metrics.batch.transmitter.BatchTransmitter$QueuePusher.run(BatchTransmitter.java:141)*

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)*

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)*

at java.lang.Thread.run(Thread.java:818)*

06-20 15:48:45.241 3346-4170/system_process D/WifiService: releaseWifiLockLocked: WifiLock{HTTPMetricsTransport type=3 binder=android.os.BinderProxy@c96cac2}

06-20 15:48:45.246 7809-7863/de.amazon.mShop.android W/Metrics:BatchTransmitte: QueuePusher.sendBatches - Batch transmission failed on network error, re-enqueuing batch;

06-20 15:48:45.247 7809-7863/de.amazon.mShop.android I/Metrics:BatchTransmitte: QueuePusher.sendBatches - Partial number of NORMAL queue batches sent; 0

06-20 15:48:53.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:48:57.080 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:49:01.532 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:49:03.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:49:13.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:49:23.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:49:33.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:49:43.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:49:45.166 3346-4934/system_process D/ConnectivityService: reportNetworkConnectivity(103, false) by 10013

06-20 15:49:45.168 3346-15572/system_process D/NetworkMonitor/NetworkAgentInfo*[MOBILE*(HSDPA)*-*103]: Forcing reevaluation for UID 10013

06-20 15:49:45.170 3346-15572/system_process D/NetworkMonitor/NetworkAgentInfo*[MOBILE*(HSDPA)*-*103]: Checking http://connectivitycheck.gstatic.com/generate_204 on wap.vodafone.de, 139.7.29.1=139.7.29.1

06-20 15:49:46.677 3346-15572/system_process D/NetworkMonitor/NetworkAgentInfo*[MOBILE*(HSDPA)*-*103]: isCaptivePortal: ret=204 headers={null=[HTTP/1.1 204 No Content], Age=[225], Content-Length=[0], Date=[Mon, 20 Jun 2016 13:46:02 GMT], Proxy-Connection=[keep-alive], X-Android-Received-Millis=[1466430586673], X-Android-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1466430585572]}

06-20 15:49:46.679 3346-3556/system_process D/ConnectivityService: setProvNotificationVisibleIntent null visible=false networkType=MOBILE extraInfo=null highPriority=false

06-20 15:49:46.681 3346-3556/system_process D/ConnectivityService: NetworkAgentInfo [MOBILE (HSDPA) - 103] validation passed

06-20 15:49:46.811 4457-4457/com.android.phone V/ConfigResourceUtil: resourceName = config_spn_display_control resourceId = 2130837514resourceValue = false

06-20 15:49:46.820 3346-4204/system_process D/AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT

06-20 15:49:46.870 3346-3556/system_process D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [MOBILE (HSDPA) - 103]

06-20 15:49:46.939 3346-3556/system_process D/ConnectivityService: Setting tx/rx TCP buffers to 122334,734003,2202010,32040,192239,576717

06-20 15:49:47.011 6619-6619/com.android.cellbroadcastreceiver D/CellBroadcastReceiver: subscriptionId = 1

06-20 15:49:47.014 3346-3556/system_process D/ConnectivityService: notifyType IP_CHANGED for NetworkAgentInfo [MOBILE (HSPA+) - 103]

06-20 15:49:47.079 3598-3598/com.android.systemui W/art: Long monitor contention event with owner method=boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) from MessageQueue.java:541 waiters=0 for 122ms

06-20 15:49:53.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:49:56.907 4457-4457/com.android.phone V/ConfigResourceUtil: resourceName = config_spn_display_control resourceId = 2130837514resourceValue = false

06-20 15:49:56.930 3346-4752/system_process D/AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT

06-20 15:49:56.971 3346-3556/system_process D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [MOBILE (HSPA+) - 103]

06-20 15:49:56.980 3346-3556/system_process D/ConnectivityService: Setting tx/rx TCP buffers to 58254,349525,1048576,58254,349525,1048576

06-20 15:49:57.076 4457-4457/com.android.phone V/ConfigResourceUtil: resourceName = config_spn_display_control resourceId = 2130837514resourceValue = false

06-20 15:49:57.086 3346-4512/system_process D/AlarmManagerService: Kernel timezone updated to -120 minutes west of GMT

06-20 15:49:57.171 3346-3556/system_process D/ConnectivityService: notifyType IP_CHANGED for NetworkAgentInfo [MOBILE (UMTS) - 103]

06-20 15:49:57.197 2924-2924/com.microsoft.office.outlook I/BatteryReceiver: now=1466430597197 source=USB level=0.85 health=GOOD

06-20 15:49:57.215 3346-3556/system_process D/ConnectivityService: notifyType CAP_CHANGED for NetworkAgentInfo [MOBILE (UMTS) - 103]

06-20 15:49:57.236 3346-3556/system_process D/ConnectivityService: Setting tx/rx TCP buffers to 61167,367002,1101005,8738,52429,262114

06-20 15:49:57.306 3346-3556/system_process D/ConnectivityService: notifyType IP_CHANGED for NetworkAgentInfo [MOBILE (HSDPA) - 103]

06-20 15:49:57.385 3598-3614/com.android.systemui I/art: Background sticky concurrent mark sweep GC freed 94092(5MB) AllocSpace objects, 5(100KB) LOS objects, 37% free, 10MB/16MB, paused 2.107ms total 156.313ms

06-20 15:49:57.414 6619-6619/com.android.cellbroadcastreceiver D/CellBroadcastReceiver: subscriptionId = 1

06-20 15:49:57.470 6619-6619/com.android.cellbroadcastreceiver D/CellBroadcastReceiver: subscriptionId = 1

06-20 15:50:03.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:50:13.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:50:23.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:50:33.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:50:38.929 4403-6674/com.google.android.gms I/ClearcutLoggerApiImpl: disconnect managed GoogleApiClient

06-20 15:50:43.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:50:52.040 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:50:52.091 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:50:53.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:51:03.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:51:07.905 2924-2952/com.microsoft.office.outlook D/AccessTokenRefreshRunnable: Running the refresh ...

06-20 15:51:11.160 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:51:11.355 7809-7851/de.amazon.mShop.android D/AbstractMetricsFactoryImpl: Setting non-anonymous customer ID and session ID to null, and anonymous tag to true as the metric entry was not recorded in non-anonymous queue.

06-20 15:51:13.160 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:51:13.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:51:23.180 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:51:23.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:51:27.385 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:51:33.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:51:43.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:51:46.440 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:51:48.441 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:51:53.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:52:03.476 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:52:13.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:52:16.480 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:52:18.481 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found

06-20 15:52:23.477 2924-2974/com.microsoft.office.outlook D/ClClient: Not sending keepalive. Current connection state=STOPPED

06-20 15:52:28.500 2329-3324/? E/NetlinkEvent: NetlinkEvent::FindParam(): Parameter 'UID' not found