Running Subsurface on Lollipop

Anton Lundin glance at acc.umu.se
Fri Sep 27 06:31:05 PDT 2019


On 27 September, 2019 - John Smith wrote:

> Please see attached

Great, there we see that it can't load libssl for some reason.

What would be even better were if you could hook up adb to your tablet
and extract a log that way. That can give us information from the OS
side, why it can't load the library.


Anyway, it feels kinda weird that the app stated, but can't connect to
the cloud storage... Either it wouldn't start at all or it would work.
Maybe there's something else at play here.


//Anton


> On 26 Sep 2019, at 17:19, Dirk Hohndel <dirk at hohndel.org<mailto:dirk at hohndel.org>> wrote:
> I didn't think it would even install on Android 5.0... but looking through the Google Play stats we do in fact appear to have about 50 users on that version.
> Interesting.
> I have no idea how I would make Subsurface support different openssl versions.
> 
> Can you send the log - I'll dig around to see if I still have an Android 5.0 device...
> 
> /D
> 
> On Sep 26, 2019, at 1:43 AM, John Smith < noseygit at hotmail.com<mailto:noseygit at hotmail.com>> wrote:
> 
> Ive finally got my old android tablet running again and tried to get Subsurface on it.
> 
> Using the latest version, it installs ok, seems to run well, but cannot connect to the Cloud.
> 
> Looking into the developers log, the problem is that it cannot resolve OPENSSL and the TLS fails.
> 
> Other than upgrading to a newer version of android - which is impossible for this tablet, is there anything that I can do?
> 
> If I go back to an earlier version, can anyone tell me roughly when  QT SSL was updated?
> 
> thanks
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org<mailto:subsurface at subsurface-divelog.org>
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
> 

> "0.028: Successfully opened logfile /storage/emulated/0/subsurface.log at Fri Sep 27 14:23:20 2019"
> "0.039: Starting Subsurface-mobile:2.2.1(4.9.3.30):Android Lollipop (5.1):arm:en-GB"
> "0.042: built with libdivecomputer v0.7.0-devel-Subsurface-NG (ce6d9896a79afaa82641132e338f8744714c8593)"
> "0.044: built with Qt Version 5.12.4, runtime from Qt Version 5.12.4"
> "0.046: built with libgit2 0.26.0"
> "0.050: Running on Android Lollipop (5.1)"
> "0.054: Hudl 2/Hudl/HTF8A4XX"
> BTDiscoveryReDiscover: localBtDevice.isValid() true
> "BTDiscoveryReDiscover: localDevice Hudl 2 is powered on, starting discovery"
> paired BT classic device type 1 with address "00:1B:C1:04:05:FE"
> Found new device: "HOLUX_M-1200" "00:1B:C1:04:05:FE"
> Not recognized as dive computer
> Paired = "HOLUX_M-1200" "00:1B:C1:04:05:FE"
> "Created position source android"
> "0.183: Created position source android"
> "Set GPS service update interval to 300 s"
> "0.185: Set GPS service update interval to 300 s"
> "0.187: location service is not available"
> qrc:/org/kde/kirigami/Page.qml:276:5: QML Loader: Binding loop detected for property "active"
> Window width changed to 570
> Column width 570 root item width 570
> width in Grid Units 30 original gridUnit 19 now 19
> QQmlExpression: Expression qrc:/qml/DownloadFromDiveComputer.qml:339:5 depends on non-NOTIFYable properties:
>     QMLManager::DC_forceDownload
> Model size of -1 is less than 0
> "5.363: Synchronising data file"
> "5.402: Load dives from local cache"
> "5.944: Successfully opened dive data"
> "6.207: AppState changed to active with save ongoing and no unsaved changes"
> "6.228: 134 dives loaded from cache"
> "6.242: have cloud credentials, trying to connect"
> "6.245: Have credentials, let's see if they are valid"
> QSslSocket: cannot resolve OPENSSL_init_ssl
> QSslSocket: cannot resolve OPENSSL_init_crypto
> QSslSocket: cannot resolve ASN1_STRING_get0_data
> QSslSocket: cannot resolve EVP_CIPHER_CTX_reset
> QSslSocket: cannot resolve RSA_bits
> QSslSocket: cannot resolve OPENSSL_sk_new_null
> QSslSocket: cannot resolve OPENSSL_sk_push
> QSslSocket: cannot resolve OPENSSL_sk_free
> QSslSocket: cannot resolve OPENSSL_sk_num
> QSslSocket: cannot resolve OPENSSL_sk_pop_free
> QSslSocket: cannot resolve OPENSSL_sk_value
> QSslSocket: cannot resolve DH_get0_pqg
> QSslSocket: cannot resolve SSL_CTX_set_options
> QSslSocket: cannot resolve SSL_CTX_set_ciphersuites
> QSslSocket: cannot resolve SSL_set_psk_use_session_callback
> QSslSocket: cannot resolve SSL_get_client_random
> QSslSocket: cannot resolve SSL_SESSION_get_master_key
> QSslSocket: cannot resolve SSL_session_reused
> QSslSocket: cannot resolve SSL_set_options
> QSslSocket: cannot resolve TLS_method
> QSslSocket: cannot resolve TLS_client_method
> QSslSocket: cannot resolve TLS_server_method
> QSslSocket: cannot resolve X509_STORE_CTX_get0_chain
> QSslSocket: cannot resolve X509_getm_notBefore
> QSslSocket: cannot resolve X509_getm_notAfter
> QSslSocket: cannot resolve X509_get_version
> QSslSocket: cannot resolve OpenSSL_version_num
> QSslSocket: cannot resolve OpenSSL_version
> Incompatible version of OpenSSL
> QSslSocket::connectToHostEncrypted: TLS initialization failed
> Received error response from cloud storage backend: "TLS initialization failed"
> Completed connection with cloud storage backend, response ""
> "6.474: "
> "6.477: Incorrect cloud credentials"
> Running on   
> Window width changed to 600
> Column width 600 root item width 600
> width in Grid Units 31 original gridUnit 19 now 19
> checkPendingIntents 
> Column width 600 root item width 600
> width in Grid Units 31 original gridUnit 19 now 19
> Using the following font: Roboto at 16pt with mobile_scale: 1
> qqwindow devicePixelRatio 2 2
> Supported dive computers:
> "Aeris: 500 AI (SERIAL), A300 (SERIAL), A300 AI (SERIAL), A300CS (SERIAL), Atmos 2 (SERIAL), Atmos AI (SERIAL), Atmos AI 2 (SERIAL), Compumask (SERIAL), Elite (SERIAL), Elite T3 (SERIAL), Epic (SERIAL), F10 (SERIAL), F11 (SERIAL), Manta (SERIAL), XR-1 NX (SERIAL), XR-2 (SERIAL)"
> "Aqualung: i200 (SERIAL), i200C (SERIAL, BLE), i300 (SERIAL), i300C (SERIAL, BLE), i450T (SERIAL), i550 (SERIAL), i550C (SERIAL, BLE), i750TC (SERIAL, BT), i770R (SERIAL, BLE)"
> "Atomic Aquatics: Cobalt (USB), Cobalt 2 (USB)"
> "Beuchat: Mundial 2 (SERIAL), Mundial 3 (SERIAL), Voyager 2G (SERIAL)"
> "Cochran: Commander I (SERIAL), Commander II (SERIAL), Commander TM (SERIAL), EMC-14 (SERIAL), EMC-16 (SERIAL), EMC-20H (SERIAL)"
> "Cressi: Cartesio (SERIAL), Drake (SERIAL), Giotto (SERIAL), Goa (SERIAL), Leonardo (SERIAL), Newton (SERIAL)"
> "Deepblu: Cosmiq+ (BLE)"
> "DiveSystem: Orca (SERIAL), iDive DAN (SERIAL), iDive Deep (SERIAL), iDive Easy (SERIAL), iDive Free (SERIAL), iDive Pro (SERIAL), iDive Reb (SERIAL), iDive Stealth (SERIAL), iDive Tech (SERIAL), iDive X3M (SERIAL)"
> "Garmin: Descent Mk1 (USBSTORAGE)"
> "Genesis: React Pro (SERIAL), React Pro White (SERIAL)"
> "Heinrichs Weikamp: Frog (SERIAL, BT), OSTC (SERIAL), OSTC 2 (SERIAL, BT, BLE), OSTC 2 TR (SERIAL, BT, BLE), OSTC 2C (SERIAL), OSTC 2N (SERIAL), OSTC 3 (SERIAL), OSTC 4 (SERIAL, BT, BLE), OSTC Mk2 (SERIAL), OSTC Plus (SERIAL, BT, BLE), OSTC Sport (SERIAL, BT, BLE), OSTC cR (SERIAL)"
> "Hollis: DG02 (SERIAL), DG03 (SERIAL), TX1 (SERIAL)"
> "Mares: Genius (SERIAL, BLE), Puck Pro (SERIAL, BLE), Quad (SERIAL, BLE), Quad Air (SERIAL, BLE), Smart (SERIAL, BLE), Smart Air (SERIAL, BLE), Smart Apnea (SERIAL, BLE)"
> "Oceanic: Atom 1.0 (SERIAL), Atom 2.0 (SERIAL), Atom 3.0 (SERIAL), Atom 3.1 (SERIAL), Datamask (SERIAL), F10 (SERIAL), F11 (SERIAL), Geo (SERIAL), Geo 2.0 (SERIAL), Geo 4.0 (SERIAL, BLE), OC1 (SERIAL), OCS (SERIAL), OCi (SERIAL), Pro Plus 2 (SERIAL), Pro Plus 2.1 (SERIAL), Pro Plus 3 (SERIAL), Pro Plus X (SERIAL, BLE), VT 4.1 (SERIAL), VT Pro (SERIAL), VT3 (SERIAL), VT4 (SERIAL), VTX (SERIAL), Veo 1.0 (SERIAL), Veo 180 (SERIAL), Veo 2.0 (SERIAL), Veo 200 (SERIAL), Veo 250 (SERIAL), Veo 3.0 (SERIAL), Versa Pro (SERIAL)"
> "Ratio: iDive Color Deep (SERIAL), iDive Color Easy (SERIAL), iDive Color Fancy (SERIAL), iDive Color Free (SERIAL), iDive Color Pro (SERIAL), iDive Color Reb (SERIAL), iDive Color Tech+ (SERIAL), iDive Deep (SERIAL), iDive Easy (SERIAL), iDive Fancy (SERIAL), iDive Free (SERIAL), iDive Pro (SERIAL), iDive Reb (SERIAL), iDive Tech+ (SERIAL), iX3M GPS Deep (SERIAL, BT), iX3M GPS Easy (SERIAL, BT), iX3M GPS Fancy (SERIAL, BT), iX3M GPS Pro  (SERIAL, BT), iX3M GPS Reb (SERIAL, BT), iX3M GPS Tech+ (SERIAL, BT), iX3M Pro Deep (SERIAL), iX3M Pro Easy (SERIAL), iX3M Pro Fancy (SERIAL), iX3M Pro Pro (SERIAL), iX3M Pro Reb (SERIAL), iX3M Pro Tech+ (SERIAL)"
> "Scubapro: Aladin H Matrix (BLE), Aladin Sport Matrix (BLE), Aladin Square (USBHID), G2 (USBHID, BLE), G2 Console (USBHID, BLE), G2 HUD (USBHID, BLE)"
> "Seac: Guru (SERIAL), Jack (SERIAL)"
> "Seemann: XP5 (SERIAL)"
> "Shearwater: Nerd (SERIAL, BT), Nerd 2 (BLE), Perdix (SERIAL, BT, BLE), Perdix AI (BLE), Petrel (SERIAL, BT), Petrel 2 (SERIAL, BT, BLE), Predator (SERIAL, BT), Teric (BLE)"
> "Sherwood: Amphos (SERIAL), Amphos Air (SERIAL), Insight (SERIAL), Insight 2 (SERIAL), Vision (SERIAL), Wisdom (SERIAL), Wisdom 2 (SERIAL), Wisdom 3 (SERIAL)"
> "Subgear: XP-Air (SERIAL)"
> "Suunto: Cobra (SERIAL), Cobra 2 (SERIAL), Cobra 3 (SERIAL), D3 (SERIAL), D4 (SERIAL), D4f (SERIAL), D4i (SERIAL), D5 (USBHID, BLE), D6 (SERIAL), D6i (SERIAL), D9 (SERIAL), D9tx (SERIAL), DX (SERIAL), EON Core (USBHID, BLE), EON Steel (USBHID, BLE), Eon (SERIAL), Gekko (SERIAL), HelO2 (SERIAL), Mosquito (SERIAL), Solution (SERIAL), Solution Alpha (SERIAL), Solution Nitrox (SERIAL), Spyder (SERIAL), Stinger (SERIAL), Vyper (SERIAL), Vyper 2 (SERIAL), Vyper Air (SERIAL), Vyper Novo (SERIAL), Vytec (SERIAL), Zoop (SERIAL), Zoop Novo (SERIAL)"
> "Tecdiving: DiveComputer.eu (SERIAL, BT)"
> "Tusa: Element II (IQ-750) (SERIAL), Zen (IQ-900) (SERIAL), Zen Air (IQ-950) (SERIAL)"
> "Uwatec: Aladin Air Twin (SERIAL), Aladin Air Z (SERIAL), Aladin Air Z Nitrox (SERIAL), Aladin Air Z O2 (SERIAL), Aladin Pro (SERIAL), Aladin Pro Ultra (SERIAL), Aladin Sport Plus (SERIAL), Memomouse (SERIAL)"
> qqwindow screen has ldpi/pdpi 72 137.184
> qrc:/org/kde/kirigami/GlobalDrawer.qml:258: TypeError: Cannot read property 'length' of undefined
> qrc:/org/kde/kirigami/GlobalDrawer.qml:293: TypeError: Cannot read property 'length' of undefined
> qrc:/org/kde/kirigami/GlobalDrawer.qml:292: TypeError: Cannot read property 'length' of undefined
> "28.136: AppState changed to suspended with no save ongoing and no unsaved changes"
> "28.139: AppState changed to inactive with no save ongoing and no unsaved changes"

> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list