[Xiaomi Redmi Note 5 / 5 Plus ROMs, Kernels, Recove] Fran Montero:
Hi, Android auto is not working. Here is a log:

<<< log_count = 6 >>>

[05-31 21:01:40.857 17822:17936 E/GH.ServiceAuthorizer]

Car not connected - assuming no apps allowed

java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called.

at com.google.android.gms.common.internal.BaseGmsClient.u(SourceFile:166)

at com.google.android.gms.common.internal.BaseGmsClient.v(SourceFile:172)

at com.google.android.gms.car.CarClientImpl.g(SourceFile:18)

at com.google.android.gms.car.internal.CarContext.a(SourceFile:152)

at com.google.android.gms.car.Car$b.a(SourceFile:154)

at bzc.a(SourceFile:3)

at bpp.a(SourceFile:90)

at bpp.b(SourceFile:70)

at bpp.a(SourceFile:13)

at bpp.a(SourceFile:5)

at dax.a(SourceFile:109)

at dax.doInBackground(SourceFile:182)

at android.os.AsyncTask$2.call(AsyncTask.java:333)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

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

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

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

[05-31 21:01:52.684 2011:2011 E/PhoneInterfaceManager]

[PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC

[05-31 21:02:03.096 17822:17822 E/GH.CloudCardManager]

Failed to retrieve cards.

[05-31 21:02:23.031 2011:2011 E/PhoneInterfaceManager]

[PhoneIntfMgr] getCarrierPackageNamesForIntent: No UICC

[05-31 21:03:34.697 19228:19228 E/ADU.AppDecorService]

Unable to register for car sensor updates

com.google.android.gms.car.CarNotConnectedException

at com.google.android.gms.car.internal.ExceptionUtils.a(SourceFile:8)

at com.google.android.gms.car.internal.ExceptionUtils.b(SourceFile:19)

at com.google.android.gms.car.internal.CarSensorManagerImpl.a(SourceFile:9)

at com.google.android.gms.car.internal.CarSensorManagerImpl.a(SourceFile:13)

at com.google.android.gearhead.appdecor.AppDecorService.a(SourceFile:81)

at com.google.android.gearhead.appdecor.AppDecorService.a(SourceFile:67)

at com.google.android.gearhead.appdecor.AppDecorService$b.b(SourceFile:14)

at bhf.a(SourceFile:36)

at com.google.android.gearhead.appdecor.AppDecorService.onCreate(SourceFile:24)

at android.app.ActivityThread.handleCreateService(ActivityThread.java:3570)

at android.app.ActivityThread.access$1300(ActivityThread.java:200)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)

at android.os.Handler.dispatchMessage(Handler.java:106)

at android.os.Looper.loop(Looper.java:193)

at android.app.ActivityThread.main(ActivityThread.java:6718)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

[05-31 21:03:34.698 19228:19228 E/AndroidRuntime]

FATAL EXCEPTION: main

Process: com.google.android.projection.gearhead:projection, PID: 19228

java.lang.RuntimeException: Unable to create service com.google.android.gearhead.appdecor.AppDecorService: java.lang.IllegalStateException: Unable to register for car sensor updates

at android.app.ActivityThread.handleCreateService(ActivityThread.java:3582)

at android.app.ActivityThread.access$1300(ActivityThread.java:200)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)

at android.os.Handler.dispatchMessage(Handler.java:106)

at android.os.Looper.loop(Looper.java:193)

at android.app.ActivityThread.main(ActivityThread.java:6718)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Caused by: java.lang.IllegalStateException: Unable to register for car sensor updates

at bct.a(SourceFile:171)

at com.google.android.gearhead.appdecor.AppDecorService.a(SourceFile:79)

at com.google.android.gearhead.appdecor.AppDecorService$b.b(SourceFile:14)

at bhf.a(SourceFile:36)

at com.google.android.gearhead.appdecor.AppDecorService.onCreate(SourceFile:24)

at android.app.ActivityThread.handleCreateService(ActivityThread.java:3570)

... 8 more

Caused by: com.google.android.gms.car.CarNotConnectedException

at com.google.android.gms.car.internal.ExceptionUtils.a(SourceFile:8)

at com.google.android.gms.car.internal.ExceptionUtils.b(SourceFile:19)

at com.google.android.gms.car.internal.CarSensorManagerImpl.a(SourceFile:9)

at com.google.android.gms.car.internal.CarSensorManagerImpl.a(SourceFile:13)

at com.google.android.gearhead.appdecor.AppDecorService.a(SourceFile:81)

at com.google.android.gearhead.appdecor.AppDecorService.a(SourceFile:67)

... 12 more