[Android Q&A, Help & Troubleshooting] Mindrila:
I bought a new Honda Civic and with it I got a My Honda dongle, so I went and installed the app.

But when I try to run the app, a white screen appears and then quickly closes and I'm back at my launcher screen. The app remains in the running apps overview but when I select it there I just return back to the launcher even more quickly.

I'm running LineageOS 14.1-20171222-NIGHTLY-piccolo on my BQ Aquaris M5.

The app was reported to run fine by my Honda dealer, so I suppose it's something with my phone or LineageOS.

I tried disabling root (in case the app doesn't like running on a rooted environment) but that didn't change the behavior.

I'm not really into Android development, but I tried some things, mainly getting a logcat to see what's going on.

Here is the part after starting the app and then removing it from the running apps screen:

12-26 14:06:34.393 3804 6074 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.bbenterprise.myhonda/com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity (has extras)} from uid 10033 on display 0
12-26 14:06:34.414 3804 3871 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } from com.cyanogenmod.trebuchet (pid=6126, uid=10033) requires com.google.android.launcher.permission.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android.gms/.icing.proxy.ApplicationLauncherReceiver
12-26 14:06:34.414 3804 3871 W BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10033)
12-26 14:06:34.495 3005 3005 W art : Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
12-26 14:06:34.502 3005 3005 D ApplicationLifecyleHandler: CountrySelectorActivity: onCreate[ApplicationLifecycleHandler:onActivityCreated:46]:
12-26 14:06:34.507 3005 3005 V MapboxTelemetry: Initializing telemetry.
12-26 14:06:34.546 3005 3005 V MapboxTelemetry: Enabling telemetry.
12-26 14:06:34.561 3005 3005 I art : Thread[1,tid=3005,Native,Thread*=0xb4284400,peer=0x74032bf0,"main"] recursive attempt to load library "/data/app/com.bbenterprise.myhonda-1/lib/arm/libmapbox-gl.so"
12-26 14:06:34.567 3005 3005 I art : Thread[1,tid=3005,Native,Thread*=0xb4284400,peer=0x74032bf0,"main"] recursive attempt to load library "/data/app/com.bbenterprise.myhonda-1/lib/arm/libmapbox-gl.so"
12-26 14:06:34.568 3005 3005 I art : Thread[1,tid=3005,Native,Thread*=0xb4284400,peer=0x74032bf0,"main"] recursive attempt to load library "/data/app/com.bbenterprise.myhonda-1/lib/arm/libmapbox-gl.so"
12-26 14:06:35.077 3005 3005 I GAv4 : Google Analytics 10.2.98 is starting up. To enable debug logging on a device run:
12-26 14:06:35.077 3005 3005 I GAv4 : adb shell setprop log.tag.GAv4 DEBUG
12-26 14:06:35.077 3005 3005 I GAv4 : adb logcat -s GAv4
12-26 14:06:35.089 3005 3108 W GAv4 : AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See [stripped link] for instructions.
12-26 14:06:35.093 3005 3108 W GAv4 : CampaignTrackingReceiver is not registered, not exported or is disabled. Installation campaign tracking is not possible. See [stripped link] for instructions.
12-26 14:06:35.097 3005 3108 W GAv4 : AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See [stripped link] for instructions.
12-26 14:06:35.107 3005 3005 D com.brightbox.dm.lib.BaseActivity: onStart isAppWentToBg false[BaseActivity:onStart:602]:
12-26 14:06:35.108 3005 3005 D ApplicationLifecyleHandler: CountrySelectorActivity: onStart[ApplicationLifecycleHandler:onActivityStarted:52]:
12-26 14:06:35.120 3005 3061 W FlurryAgent: Flurry session started for context:com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity@5f67eec
12-26 14:06:35.120 3005 3061 W FlurryAgent: Flurry session resumed for context:com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity@5f67eec
12-26 14:06:35.120 3005 3005 D /SpiceManager.java:212: 14:06:35.120 main SpiceManager started.
12-26 14:06:35.132 3005 3110 V /SpiceManager.java:1191: 14:06:35.131 SpiceManagerThread 0 Binding to service.
12-26 14:06:35.136 3005 3110 V /SpiceManager.java:1197: 14:06:35.135 SpiceManagerThread 0 Binding to service succeeded.
12-26 14:06:35.137 3005 3110 D /SpiceManager.java:1245: 14:06:35.137 SpiceManagerThread 0 Waiting for service to be bound.
12-26 14:06:35.174 3005 3005 D ApplicationLifecyleHandler: CountrySelectorActivity: onResume[ApplicationLifecycleHandler:onActivityResumed:58]:
12-26 14:06:35.182 3804 8142 D bsthal : flush, handle: 1598182229, index: 2
12-26 14:06:35.182 3804 8142 I bsthal : <BST> flush <BOSCH Acceleration Sensor>, id: 1598182229
12-26 14:06:35.195 3804 4145 I bsthal : <BST> report flush finish event for sensor id: 1598182229
12-26 14:06:35.295 3005 3115 D HC_LOGGER: >> fix apikey to default: [CustomRequestInterceptor:intercept:35]:
12-26 14:06:35.738 3005 3005 V TelemetryService: Create event.
12-26 14:06:35.739 3005 3005 V TelemetryService: Start command event.
12-26 14:06:35.746 3005 3005 D /SpiceService.java:134: 14:06:35.746 main SpiceService instance created.
12-26 14:06:35.748 3005 3005 V /SpiceService.java:506: 14:06:35.748 main Pending requests : 0
12-26 14:06:35.749 3005 3005 V /SpiceService.java:508: 14:06:35.749 main Stop foreground
12-26 14:06:35.751 3005 3005 I Choreographer: Skipped 35 frames! The application may be doing too much work on its main thread.
12-26 14:06:35.778 3005 3111 I Adreno : QUALCOMM build : 2d64e0f, I7d704ff208
12-26 14:06:35.778 3005 3111 I Adreno : Build Date : 10/06/16
12-26 14:06:35.778 3005 3111 I Adreno : OpenGL ES Shader Compiler Version: XE031.06.00.05
12-26 14:06:35.778 3005 3111 I Adreno : Local Branch :
12-26 14:06:35.778 3005 3111 I Adreno : Remote Branch : quic/LA.BR.1.2.7_rb1.33
12-26 14:06:35.778 3005 3111 I Adreno : Remote Branch : NONE
12-26 14:06:35.778 3005 3111 I Adreno : Reconstruct Branch : NOTHING
12-26 14:06:35.782 3804 6072 W InputMethodManagerService: Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@49c3ce5 (uid=10148 pid=3005)
12-26 14:06:35.786 3005 3005 D ApplicationLifecyleHandler: CountrySelectorActivity: onPause[ApplicationLifecycleHandler:onActivityPaused:93]:
12-26 14:06:35.791 3005 3111 I OpenGLRenderer: Initialized EGL, version 1.4
12-26 14:06:35.791 3005 3111 D OpenGLRenderer: Swap behavior 1
12-26 14:06:35.795 3804 24893 D bsthal : batch, handle: 1598182229, flags: 0, period_ns: 66667000, timeout: 0, index: 2
12-26 14:06:35.795 3804 24893 I bsthal : <BST> cur_ns 66667000set delay of <BOSCH Acceleration Sensor> to 40ms
12-26 14:06:35.799 3005 3119 D Retrofit: ---> HTTP GET [stripped link]
12-26 14:06:35.800 3005 3119 D Retrofit: Accept-Language: de-DE
12-26 14:06:35.800 3005 3119 D Retrofit: User-Agent: Dealer Mobility 1.1.220 Android
12-26 14:06:35.801 3005 3119 D Retrofit: ---> END HTTP (no body)
12-26 14:06:35.814 3804 3868 I WindowManager: Failed to capture screenshot of Token{56d0f68 ActivityRecord{fcb328b u0 com.bbenterprise.myhonda/com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity t2753 f}} appWin=Window{da16a62 u0 com.bbenterprise.myhonda/com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity} drawState=1
12-26 14:06:35.848 3005 3005 D /SpiceServiceListenerNotifier.java:33: 14:06:35.847 main Message Queue starting
12-26 14:06:35.849 3005 3005 D /SpiceManager.java:1088: 14:06:35.848 main Bound to service : DmRetrofitSpiceService
12-26 14:06:35.850 3804 6083 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@afe239d attribute=null, token = android.os.BinderProxy@f32efec
12-26 14:06:35.851 3005 3110 D /SpiceManager.java:1252: 14:06:35.850 SpiceManagerThread 0 Bound ok.
12-26 14:06:36.067 3005 3005 D ApplicationLifecyleHandler: CountrySelectorActivity: onStop[ApplicationLifecycleHandler:onActivityStopped:100]:
12-26 14:06:36.068 3005 3005 D com.brightbox.dm.lib.BaseActivity: onStop [BaseActivity:onStop:646]:
12-26 14:06:36.069 3005 3061 W FlurryAgent: Flurry session paused for context:com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity@5f67eec
12-26 14:06:36.072 3005 3005 D /SpiceManager.java:326: 14:06:36.072 main SpiceManager stopping. Joining
12-26 14:06:36.077 3005 3005 V /SpiceManager.java:767: 14:06:36.076 main Cleared listeners of all requests to launch
12-26 14:06:36.079 3005 3005 V /SpiceManager.java:796: 14:06:36.078 main Cleared listeners of all pending requests
12-26 14:06:36.082 3005 3110 D /SpiceManager.java:265: 14:06:36.081 SpiceManagerThread 0 Interrupted while waiting for new request.
12-26 14:06:36.085 3005 3110 D /SpiceManager.java:271: 14:06:36.084 SpiceManagerThread 0 SpiceManager request runner terminated. Requests count: 0, stopped true, interrupted false
12-26 14:06:36.089 3005 3005 D /SpiceManager.java:339: 14:06:36.088 main Runner join time (ms) when should stop 8
12-26 14:06:36.090 3005 3005 V /SpiceManager.java:1221: 14:06:36.089 main Unbinding from service start.
12-26 14:06:36.091 3005 3005 V /SpiceManager.java:1225: 14:06:36.091 main Unbinding from service.
12-26 14:06:36.095 3005 3005 D /SpiceManager.java:1227: 14:06:36.095 main Unbound from service : DmRetrofitSpiceService
12-26 14:06:36.096 3005 3005 D /SpiceManager.java:345: 14:06:36.096 main SpiceManager stopped.
12-26 14:06:36.097 3005 3005 D ApplicationLifecyleHandler: CountrySelectorActivity: onDestroy[ApplicationLifecycleHandler:onActivityDestroyed:111]:
12-26 14:06:36.111 3005 3005 E WindowManager:
12-26 14:06:36.111 3005 3005 E WindowManager: android.view.WindowLeaked: Activity com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity has leaked window DecorView@1a13fd0[] that was originally added here
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.view.ViewRootImpl.<init>(ViewRootImpl.java:418)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:331)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:94)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.Dialog.show(Dialog.java:329)
12-26 14:06:36.111 3005 3005 E WindowManager:	at com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity.a(SourceFile:210)
12-26 14:06:36.111 3005 3005 E WindowManager:	at com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity.b(SourceFile:279)
12-26 14:06:36.111 3005 3005 E WindowManager:	at com.brightbox.dm.lib.remoto.activity.CountrySelectorActivity.onStart(SourceFile:269)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1249)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.Activity.performStart(Activity.java:6701)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2647)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.ActivityThread.-wrap12(ActivityThread.java)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.os.Handler.dispatchMessage(Handler.java:102)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.os.Looper.loop(Looper.java:154)
12-26 14:06:36.111 3005 3005 E WindowManager:	at android.app.ActivityThread.main(ActivityThread.java:6186)
12-26 14:06:36.111 3005 3005 E WindowManager:	at java.lang.reflect.Method.invoke(Native Method)
12-26 14:06:36.111 3005 3005 E WindowManager:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
12-26 14:06:36.111 3005 3005 E WindowManager:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
12-26 14:06:36.113 3005 3005 V /SpiceService.java:506: 14:06:36.112 main Pending requests : 0
12-26 14:06:36.114 3005 3005 V /SpiceService.java:508: 14:06:36.113 main Stop foreground
12-26 14:06:36.115 3005 3005 V /SpiceService.java:495: 14:06:36.114 main Pending requests : 0
12-26 14:06:36.122 3005 3005 D /SpiceService.java:303: 14:06:36.121 main SpiceService instance destroyed.
12-26 14:06:36.219 6279 19398 I Icing : Scored 3187 usage reports, missing_corpora 0 update_failed 45
12-26 14:06:36.440 3005 3010 I art : Do partial code cache collection, code=29KB, data=31KB
12-26 14:06:36.443 3005 3010 I art : After code cache collection, code=27KB, data=30KB
12-26 14:06:36.443 3005 3010 I art : Increasing code cache capacity to 128KB
12-26 14:06:36.495 6279 19398 I Icing : Indexing 58524EE9152CBC5C7450A1ADF1865D58B3D3E31F from com.google.android.music
12-26 14:06:36.517 6279 19398 I Icing : Indexing done 58524EE9152CBC5C7450A1ADF1865D58B3D3E31F
12-26 14:06:36.579 3005 3119 D HC_LOGGER: DM RestAPI: --> GET [stripped link] HTTP/1.1[DmApplication:log:238]:
12-26 14:06:36.580 3005 3119 D HC_LOGGER: DM RestAPI: Accept-Language: de-DE[DmApplication:log:238]:
12-26 14:06:36.582 3005 3119 D HC_LOGGER: DM RestAPI: User-Agent: Dealer Mobility 1.1.220 Android[DmApplication:log:238]:
12-26 14:06:36.583 3005 3119 D HC_LOGGER: DM RestAPI: Host: content.myhonda.ecom.honda-eu.com[DmApplication:log:238]:
12-26 14:06:36.590 3005 3119 D HC_LOGGER: DM RestAPI: Connection: Keep-Alive[DmApplication:log:238]:
12-26 14:06:36.591 3005 3119 D HC_LOGGER: DM RestAPI: Accept-Encoding: gzip[DmApplication:log:238]:
12-26 14:06:36.592 3005 3119 D HC_LOGGER: DM RestAPI: --> END GET[DmApplication:log:238]:
12-26 14:06:36.598 3005 3119 D Retrofit: ---- ERROR [stripped link]
12-26 14:06:36.600 3005 3119 D Retrofit: java.io.InterruptedIOException: thread interrupted
12-26 14:06:36.600 3005 3119 D Retrofit:	at okio.Timeout.throwIfReached(Timeout.java:146)
12-26 14:06:36.600 3005 3119 D Retrofit:	at okio.Okio$1.write(Okio.java:75)
12-26 14:06:36.600 3005 3119 D Retrofit:	at okio.AsyncTimeout$1.write(AsyncTimeout.java:179)
12-26 14:06:36.600 3005 3119 D Retrofit:	at okio.RealBufferedSink.flush(RealBufferedSink.java:216)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.internal.http.Http1xStream.finishRequest(Http1xStream.java:161)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:737)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.internal.http.HttpEngine.access$200(HttpEngine.java:87)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:724)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.java:204)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:697)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:578)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.Call.getResponse(Call.java:287)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.brightbox.dm.lib.DmApplication.a(SourceFile:3245)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.brightbox.dm.lib.o.intercept(Unknown Source)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:232)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205)
12-26 14:06:36.600 3005 3119 D Retrofit:	at com.squareup.okhttp.Call.execute(Call.java:80)
12-26 14:06:36.600 3005 3119 D Retrofit:	at retrofit.client.OkClient.execute(OkClient.java:53)
12-26 14:06:36.600 3005 3119 D Retrofit:	at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326)
12-26 14:06:36.600 3005 3119 D Retrofit:	at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)
12-26 14:06:36.600 3005 3119 D Retrofit:	at retrofit.RestAdapter$RestHandler$1.invoke(RestAdapter.java:265)
12-26 14:06:36.600 3005 3119 D Retrofit:	at retrofit.RxSupport$2.run(RxSupport.java:55)
12-26 14:06:36.600 3005 3119 D Retrofit:	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
12-26 14:06:36.600 3005 3119 D Retrofit:	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
12-26 14:06:36.600 3005 3119 D Retrofit:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
12-26 14:06:36.600 3005 3119 D Retrofit:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
12-26 14:06:36.600 3005 3119 D Retrofit:	at retrofit.Platform$Android$2$1.run(Platform.java:142)
12-26 14:06:36.600 3005 3119 D Retrofit:	at java.lang.Thread.run(Thread.java:761)
12-26 14:06:36.600 3005 3119 D Retrofit: ---- END ERROR
12-26 14:06:37.265 4663 4663 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
12-26 14:06:37.267 4663 4663 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=163840 outq=0 send_len=48
12-26 14:06:37.837 260 260 I MSM-irqbalance: Decided to move IRQ166 from CPU5 to CPU7
12-26 14:06:40.274 4663 4663 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
12-26 14:06:40.284 4663 4663 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=163840 outq=0 send_len=48
12-26 14:06:41.253 4663 4663 D wpa_supplicant: EAPOL: startWhen --> 0
12-26 14:06:41.253 4663 4663 D wpa_supplicant: EAPOL: disable timer tick
12-26 14:06:42.837 260 260 I MSM-irqbalance: Decided to move IRQ129 from CPU4 to CPU5
12-26 14:06:43.292 4663 4663 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
12-26 14:06:43.296 4663 4663 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=163840 outq=0 send_len=48
12-26 14:06:46.072 3005 3061 W FlurryAgent: Flurry session ended
12-26 14:06:46.303 4663 4663 D wpa_supplicant: wlan0: Control interface command 'SIGNAL_POLL'
12-26 14:06:46.306 4663 4663 D wpa_supplicant: CTRL-DEBUG: global_ctrl_sock-sendto: sock=8 sndbuf=163840 outq=0 send_len=48
12-26 14:06:47.027 3005 3121 W FlurryAgent: Analytics report sent.

Because it was complaining about missing permissions to broadcast and receive an intent I added these lines to the manifest, but that didn't change anything (no it's not my app, I decoded it, changed it, repackaged it, resigned it and installed it again):

<uses-permission android:name="com.google.android.launcher.permission.RECEIVE_LAUNCH_BROADCASTS"/>
<uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"/>

I have granted it all the permissions it wants in the LineageOS app screen prior to starting it. I've disabled the LineageOS privacy protection, wiped the cache all to no avail, the app won't start. Going to flight mode doesn't change the behavior either.

I can't really make sense out of the logcat I'm getting, someone around who has an idea on what I can try before contacting Honda about this? (I don't think I'll get usable information from them)