Regarding Android Auto to work on Kosher ROMs

Readers add, especially @chatzie that stubs did with them for Android 13.
I tried on more than one and it didn’t always work. Even if it did, it would result in Android Auto working slow…
But PM suspend is like the mdm does it, so it’s the best.

But again, stubs may work as some of the users said.

Go ahead and try, in worst case, this is just another method…

2 Likes

So I would need to create a bash script on boot? What are the ways to actually run these commands when creating a rom

I use this method already for a while with adb on my Samsung galaxy a15 but if you uninstall updates from Google and then Re update it will get unsuspended

1 Like

That’s a separate question. “How do I run these on boot, or, first boot?”

That’s another thing… I will be releasing it depending on activity on the forums…

Not if it was done by root. or both commands run. suspend only - can be re’enabled. suspend-user can be enabled. Both together, as I said it, cannot.

Also, how do you uninstall updates if the app doesn’t even show up in settings…? adb? then you got bigger problems…

When doing it with adb it does show up on settings and even on screen just when you click on it it says this app is disabled by shell… idea

this app is disabled by ROOT (by me)

So maybe that’s it. you need root for it. i didn’t try without it so yes…
root - not davka as in SU, but run by sepolicy or anything with higher permissions than 1000 - like an MDM

Can we have a dummy breakdown? As of now, I only use basic adb (webadb)
Is that enough?

1 Like

This is for ROM level, but if you want, it may work for regular users. here’s what you can do:

install google quicksearchbox
install maps
adb shell
su (optional)
pm suspend --user 0 <maps>
pm suspend --user 0 <google>
pm disable --user 0 <maps>
pm disable --user 0 <google>

Tell me the results please.

could make a simple magisk module with this info too but I guess that wouldn’t be kosher.

boot script in /system/etc/init.d?

I guess depends on the rom structure?

yup

init.rc to call the service if no init.d?

or make your own .rc

I’ll check that out.

Where can I get the quicksearch package?
Not finding it online
I’m doing it on a sonim so I need also google tts?
And android auto apk?

ask chatGPT…

So I get this when trying to disable
Exception occurred while executing 'disable': java.lang.SecurityException: Shell cannot change component state for com.android.quicksearchbox/null to 2

wrong package name

That is the Google search box that comes installed with this device
But I also get that return code for the maps