FORUMS
Remove All Ads from XDA

[ROM][MTK][STOCK] fairphone FP1 kitkat 4.4.4

879 posts
Thanks Meter: 3,122
 
By chrmhoffmann, Inactive Recognized Developer on 8th November 2015, 12:25 AM
Post Reply Email Thread
16th November 2015, 10:08 PM |#21  
OP Inactive Recognized Developer
Thanks Meter: 3,122
 
More
Quote:
Originally Posted by z3ntu

Jeah, I used the Play Store version, but this is also mentionable in "known bugs" (and that they should use the open-source version)

OP known bugs updated. Thanks for reporting this issue.

Chris
 
 
16th November 2015, 10:09 PM |#22  
OP Inactive Recognized Developer
Thanks Meter: 3,122
 
More
0.3 released
Hi,

new CVE fixes in 0.3. VTS and Bluebox Trusted are getting greener!

EDIT: I found out why VTS and Bluebox Trusted did not go 100% green. MTK reports errors with MPEG4Extractor a bit different than stock. If I change this, they go green, too. The underlying security fixes are DONE!

If I don't find any issues, I'll correct that so that they report green, too.

Chris
16th November 2015, 11:28 PM |#23  
Member
Thanks Meter: 31
 
More
Can you do something about this one? https://code.google.com/p/android/is...etail?id=78187
Our owncloud server has TLS 1.2 with modern ciphers enabled and SSLv3 disabled and I think the problem is that the first attempt with TLS 1.2 fails and then it tries SSLv3 hardcoded...
Apparently it still happens with KitKat for some of the people in the bug report and it also happens with our owncloud server.
17th November 2015, 08:25 AM |#24  
OP Inactive Recognized Developer
Thanks Meter: 3,122
 
More
Quote:
Originally Posted by ccxxx

Can you do something about this one? https://code.google.com/p/android/is...etail?id=78187
Our owncloud server has TLS 1.2 with modern ciphers enabled and SSLv3 disabled and I think the problem is that the first attempt with TLS 1.2 fails and then it tries SSLv3 hardcoded...
Apparently it still happens with KitKat for some of the people in the bug report and it also happens with our owncloud server.

Hi,

I have SSLv3 disabled and my owncloud client app from playstore runs fine with it on the FP1 (latest version). Have you tried it?

Or which client are u using?

Chris
17th November 2015, 08:34 AM |#25  
Member
Thanks Meter: 31
 
More
Quote:
Originally Posted by chrmhoffmann

I have SSLv3 disabled and my owncloud client app from playstore runs fine with it on the FP1 (latest version). Have you tried it?

I use the one from f-droid.
If you want to try: https://owncloud.frickel.club
As I said, possibly because some TLS 1.2 ciphers are disabled on the server... I get this exception every time:
Code:
D/NativeCrypto( 2765): ssl=0x0 NativeCrypto_SSL_interrupt
E/GetRemoteStatusOperation( 2765): Connection check at https://owncloud.frickel.club: SSL exception
E/GetRemoteStatusOperation( 2765): javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x614ab4a0: Failure in SSL library, usually a protocol error
E/GetRemoteStatusOperation( 2765): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x5df286fd:0x00000000)
E/GetRemoteStatusOperation( 2765):      at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:448)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.network.AdvancedSslSocketFactory.verifyPeerIdentity(AdvancedSslSocketFactory.java:248)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.network.AdvancedSslSocketFactory.createSocket(AdvancedSslSocketFactory.java:185)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:222)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:192)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.resources.status.GetRemoteStatusOperation.tryConnection(GetRemoteStatusOperation.java:89)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.resources.status.GetRemoteStatusOperation.run(GetRemoteStatusOperation.java:194)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.operations.GetServerInfoOperation.run(GetServerInfoOperation.java:81)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.services.OperationsService$ServiceHandler.nextOperation(OperationsService.java:478)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.services.OperationsService$ServiceHandler.handleMessage(OperationsService.java:413)
E/GetRemoteStatusOperation( 2765):      at android.os.Handler.dispatchMessage(Handler.java:110)
E/GetRemoteStatusOperation( 2765):      at android.os.Looper.loop(Looper.java:193)
E/GetRemoteStatusOperation( 2765):      at android.os.HandlerThread.run(HandlerThread.java:61)
E/GetRemoteStatusOperation( 2765): Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x614ab4a0: Failure in SSL library, usually a protocol error
E/GetRemoteStatusOperation( 2765): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x5df286fd:0x00000000)
E/GetRemoteStatusOperation( 2765):      at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
E/GetRemoteStatusOperation( 2765):      at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405)
E/GetRemoteStatusOperation( 2765):      ... 20 more
I also have another Android 4.4.2 device that can't connect at all and runs into a timeout with ipv6... *sigh*
But on android 5 it works fine.
17th November 2015, 10:28 PM |#26  
OP Inactive Recognized Developer
Thanks Meter: 3,122
 
More
Quote:
Originally Posted by ccxxx

I use the one from f-droid.
If you want to try: https://owncloud.frickel.club
As I said, possibly because some TLS 1.2 ciphers are disabled on the server... I get this exception every time:

Code:
D/NativeCrypto( 2765): ssl=0x0 NativeCrypto_SSL_interrupt
E/GetRemoteStatusOperation( 2765): Connection check at https://owncloud.frickel.club: SSL exception
E/GetRemoteStatusOperation( 2765): javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x614ab4a0: Failure in SSL library, usually a protocol error
E/GetRemoteStatusOperation( 2765): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x5df286fd:0x00000000)
E/GetRemoteStatusOperation( 2765):      at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:448)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.network.AdvancedSslSocketFactory.verifyPeerIdentity(AdvancedSslSocketFactory.java:248)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.network.AdvancedSslSocketFactory.createSocket(AdvancedSslSocketFactory.java:185)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
E/GetRemoteStatusOperation( 2765):      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:222)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.OwnCloudClient.executeMethod(OwnCloudClient.java:192)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.resources.status.GetRemoteStatusOperation.tryConnection(GetRemoteStatusOperation.java:89)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.resources.status.GetRemoteStatusOperation.run(GetRemoteStatusOperation.java:194)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.operations.GetServerInfoOperation.run(GetServerInfoOperation.java:81)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:136)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.services.OperationsService$ServiceHandler.nextOperation(OperationsService.java:478)
E/GetRemoteStatusOperation( 2765):      at com.owncloud.android.services.OperationsService$ServiceHandler.handleMessage(OperationsService.java:413)
E/GetRemoteStatusOperation( 2765):      at android.os.Handler.dispatchMessage(Handler.java:110)
E/GetRemoteStatusOperation( 2765):      at android.os.Looper.loop(Looper.java:193)
E/GetRemoteStatusOperation( 2765):      at android.os.HandlerThread.run(HandlerThread.java:61)
E/GetRemoteStatusOperation( 2765): Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x614ab4a0: Failure in SSL library, usually a protocol error
E/GetRemoteStatusOperation( 2765): error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure (external/openssl/ssl/s23_clnt.c:744 0x5df286fd:0x00000000)
E/GetRemoteStatusOperation( 2765):      at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
E/GetRemoteStatusOperation( 2765):      at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405)
E/GetRemoteStatusOperation( 2765):      ... 20 more
I also have another Android 4.4.2 device that can't connect at all and runs into a timeout with ipv6... *sigh*
But on android 5 it works fine.

I think that it's expected behavior on android 4.4.x: https://code.google.com/p/android/is...il?id=61085#c8
TLS 1.2 only is not supported on 4.4x.

Chris
18th November 2015, 12:45 AM |#27  
OP Inactive Recognized Developer
Thanks Meter: 3,122
 
More
0.4 released. See OP.
The Following User Says Thank You to chrmhoffmann For This Useful Post: [ View ] Gift chrmhoffmann Ad-Free
18th November 2015, 08:41 AM |#28  
Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by chrmhoffmann

0.4 released. See OP.

you are really putting a lot of effort into that. thanks a ton! Is there any way to help you financially (as that topic already came up on the fairphone forums) - bitcoin account / paypal account for donations / Amazon wishlist?

Cheers!
The Following User Says Thank You to madde- For This Useful Post: [ View ] Gift madde- Ad-Free
18th November 2015, 07:16 PM |#29  
OP Inactive Recognized Developer
Thanks Meter: 3,122
 
More
Quote:
Originally Posted by madde-

you are really putting a lot of effort into that. thanks a ton! Is there any way to help you financially (as that topic already came up on the fairphone forums) - bitcoin account / paypal account for donations / Amazon wishlist?

Cheers!

Hey,

thanks. I have a day job and don't want to get paid! This is the "fairphone", so if you want you can just instead make a donation to some "fair" project and report about your donation here?

Chris
The Following 2 Users Say Thank You to chrmhoffmann For This Useful Post: [ View ] Gift chrmhoffmann Ad-Free
19th November 2015, 08:03 PM |#30  
Inactive Recognized Developer
Thanks Meter: 593
 
More
Xposed Fix
I recompiled the xposed module by myself and it works with the latest 0.4 version.

Prerequisites:
Only the original app_process exists on /system/bin folder (Usually after a wipe), no app_process.orig or app_proces.xposed should be there.

Installation:
- Install the xposed installer (to manage the modules, etc).
- To install this you have to download the attached file somewhere on the device.
- Reboot into recovery and apply the "xposed-v58-sdk19-arm-custom-build-by-Quallenauge-20151119.zip" file.
- Reboot, done.

PS: It's a little bit hackish but it works...
The Following User Says Thank You to Quallenauge For This Useful Post: [ View ] Gift Quallenauge Ad-Free
20th November 2015, 06:37 AM |#31  
Junior Member
Thanks Meter: 5
 
More
Great, thanks a lot, you are the best.
Joachim
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes