Android Auto On TCL Flip 2

This may be helpful for getting MicroG:

Setting up microG (Google services)

Some applications require Google services. Installing microG gave me access to Google services without the full Google ecosystem. I needed this for notifications with BlueBubbles, and while attempting to make Android Auto work.
The detailed installation is a little too advanced for this post, but the general steps I used are:

Credits: @Tboni

I installed @NotABird’s Magisk Module on my TCL which has play services running. I updated it in the play store. When connecting to my car it first says Android Auto connected, then a few seconds later I get this screen:


Anyone know what this means?

Update: After granting all the permissions I did not get this screen anymore.

its a permission error, you need to allow permissions

1 Like

How do i do that

I use an activity launcher and scrcpy, launch the main activity for Setting Suggestions and search permissions

What permissions does it need? It can probably be granted with adb

calendar, call log, contacts, location, microphone, phone, sms, display over other apps, modify system settings, notification access

OK, so Android Auto is working on my TCL.

Though the catch is that it doesn’t really. It’s really slow and takes forever to show up on the car screen and even after it does it still really slow.

If this is based on low ram then I think I give up but if there are other causes then there still stands a chance.

1 Like

Make sure to uninstall the updates to android auto before removing the module

1 Like
adb shell pm grant com.google.android.projection.gearhead android.permission.READ_CALENDAR
adb shell pm grant com.google.android.projection.gearhead android.permission.READ_CALL_LOG
adb shell pm grant com.google.android.projection.gearhead android.permission.READ_CONTACTS
adb shell pm grant com.google.android.projection.gearhead android.permission.ACCESS_FINE_LOCATION
adb shell pm grant com.google.android.projection.gearhead android.permission.RECORD_AUDIO
adb shell pm grant com.google.android.projection.gearhead android.permission.READ_PHONE_STATE
adb shell pm grant com.google.android.projection.gearhead android.permission.SEND_SMS
adb shell pm grant com.google.android.projection.gearhead android.permission.RECEIVE_SMS
adb shell pm grant com.google.android.projection.gearhead android.permission.READ_SMS
adb shell appops set com.google.android.projection.gearhead SYSTEM_ALERT_WINDOW allow
adb shell appops set com.google.android.projection.gearhead WRITE_SETTINGS allow
adb shell cmd notification allow_listener com.google.android.projection.gearhead/com.google.android.gearhead.notification.CarNotificationListenerService

If already in a shell
pm grant com.google.android.projection.gearhead android.permission.READ_CALENDAR
pm grant com.google.android.projection.gearhead android.permission.READ_CALL_LOG
pm grant com.google.android.projection.gearhead android.permission.READ_CONTACTS
pm grant com.google.android.projection.gearhead android.permission.ACCESS_FINE_LOCATION
pm grant com.google.android.projection.gearhead android.permission.RECORD_AUDIO
pm grant com.google.android.projection.gearhead android.permission.READ_PHONE_STATE
pm grant com.google.android.projection.gearhead android.permission.SEND_SMS
pm grant com.google.android.projection.gearhead android.permission.RECEIVE_SMS
pm grant com.google.android.projection.gearhead android.permission.READ_SMS
appops set com.google.android.projection.gearhead SYSTEM_ALERT_WINDOW allow
appops set com.google.android.projection.gearhead WRITE_SETTINGS allow
cmd notification allow_listener com.google.android.projection.gearhead/com.google.android.gearhead.notification.CarNotificationListenerService
3 Likes

is there a way to reallocate the ram to have more use android auto and less use for example notes?

Your notes (or any other preinstalled non-system apps) isn’t using up ram.

I don’t own a tcl, never messed around with any of this stuff, but microG is way lighter than Google Spy disservices.
Google Spy disservices track and record everything you do on your phone, and sends it to Google.
You can imagine how heavy that is.

MicroG just replicates the actual APIs that Google Spy disservice dependant apps use, like cloud messaging and Google SafetyNet.
Thats obviously way lighter.

1 Like

everything uses ram otherwise it woulnt work but either way maybe there is another app that is using alot of ram that could be reallocated?

There’s a good chance that using microG would help with the slowness.

I’ve spent many, many hours trying to get Android Auto working on a TCL with MicroG, and I always get security errors trying to connect it to the car.

Have you ever gotten Android Auto working (on any phone) with MicroG?

Not successfully

Same

when i tried putting android auto on the qin not flashed with android 1.1.1 it said it needs to be preinstalled on there from the beginning onto the system otherwise it didnt work

Yup. I’ve had the same issue. Use the guide on XDA for installing play services through TWRP. It works from there.