App crash after starting (android 11, lineage OS, no google playstore)

I love your app, but it seems it does not work on

  • Lineage OS, android 11
  • One plus 7t pro
  • No google play store or Amazon store

Apk retreived from APKMiror (the link you provide on the site)

I have the following error in logs (retrieved via adb)

05-04 11:59:07.495   773   987 E AndroidRuntime: FATAL EXCEPTION: grpc-okhttp-0
05-04 11:59:07.495   773   987 E AndroidRuntime: Process: com.superthomaslab.hueessentials, PID: 773
05-04 11:59:07.495   773   987 E AndroidRuntime: java.lang.AssertionError: Method getAlpnSelectedProtocol not supported for object SSL socket over Socket[address=firebaseinappmessaging.googleapis.com/142.250.178.138,port=443,localPort=46942]
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at mjb.c(SourceFile:6)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at mjb.e(SourceFile:1)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at xib.b(SourceFile:3)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at xib.c(SourceFile:1)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at ajb.a(SourceFile:26)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at qib.run(SourceFile:23)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at zgb.run(SourceFile:2)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-04 11:59:07.495   773   987 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:923)
05-04 11:59:07.507  1243  7624 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4
05-04 11:59:07.507   959  1174 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1
05-04 11:59:07.529   773   773 W View    : requestLayout() improperly called by androidx.constraintlayout.widget.ConstraintLayout{fca965e V.E...... ......ID 0,0-1440,2854} during layout: running second layout pass
05-04 11:59:07.529   773   773 W View    : requestLayout() improperly called by androidx.constraintlayout.widget.ConstraintLayout{9e74509 V.E...... ......ID 1440,0-2880,2854} during layout: running second layout pass
05-04 11:59:07.530   773   789 W System  : A resource failed to call close.
05-04 11:59:07.583  1243  1428 I ActivityTaskManager: Displayed com.superthomaslab.hueessentials/.MainActivity: +309ms
05-04 11:59:07.593   855   855 I android.hardware.power-service-qti: Power setMode: 5 to: 0
05-04 11:59:07.639  1243  1008 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
05-04 11:59:07.639  1243  2420 W ActivityTaskManager:   Force finishing activity com.superthomaslab.hueessentials/.MainActivity
05-04 11:59:07.702  1243  1344 D WindowManager: relayoutVisibleWindow: Window{78b1be4 u0 com.teslacoilsw.launcher/com.teslacoilsw.launcher.NovaLauncher EXITING} mAnimatingExit=true, mRemoveOnExit=false, mDestroying=false
05-04 11:59:07.703     0     0 I         : [20210504_11:59:07.693314]@5 IRQ 6: no longer affine to CPU5
05-04 11:59:07.737  5996  6017 E ocessService0:: failed to create Unix domain socket: Operation not permitted
1 Like

Thanks for reporting this crash! I was not able to reproduce this issue on an Android 11 Samsung phone with Google Play (services).

Not sure yet what exactly the cause for the crash could be. Maybe it crashes because Google Play services is missing. I am looking into it, thanks for the logs.

I have a OnePlus 6T here and it looks like it supports LineageOS 18.1, so I will install that and see if I get the same crash.

I was able to reproduce the crash with LineageOS, I am now looking into the issue.

Cool, I’m curious about the fix, and why it failed specifically on lineageOs.

For more details about the bug see the following issue:

I am not sure why it failed specifically on LineageOS as this should affect all Android 11 devices. Maybe it has something to do with the missing Google Play services.

Oki, thanks for the link. Maybe Google play service (or any other OEM package) contain old dependencies making it works. I did not had the issue with stock OS either. I’m no expert on how android handle Java dependencies anyway. A

Thank you for the work, I’ll watch carefully the issue and patiently wait for the fix to come on the app :wink: (i’m in no rush)

Hue Essentials version 1.21.2 contains a fix. It is available on APKMirror. Please let me know if it works for you.

Note that for in-app purchases on Android you still need the Google Play Store or the Amazon Appstore.

It works! Thank you very much.

Yes I know, It’s still an experimentation on my side (daily drive an android phone with no Google Services in it, and I wish not add Amazon instead :wink: ). I know I can lose some features because of that, it’s a tradeoff I’m evaluating. Really cool to consider this kind of use case anyway, and providing officially APKs is great.

Kudos!