yashsingh1/xdaforums huggingface dataset:
[Android Auto General] Shemkas:
Hi, firstly thanks a lot for your solutions, it's work like a charm :),

("com.google.android.gms.car", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car#car", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car#car_setup", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car#car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car#car_setup", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car#car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car#car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);
("com.google.android.gms.car#car_setup", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car#car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);

I have a question, i want to add Carstream 2.0, the package seem to be => com.thekirankumar.youtubeauto , maybe i'm wrong.

so update the queries like that =>

("com.google.android.gms.car", 230, 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car#car", 230, 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car#car_setup", 230, 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car", 234, 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car#car", 234, 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car#car_setup", 234, 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car#car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car#car"), 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);
("com.google.android.gms.car#car_setup", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car#car"), 0, 0, "", "app_white_list", "com.thekirankumar.youtubeauto",1);

why here is 3 version for each row (230,234,(SELECT version FROM Packages WHERE packageName="com.google.android.gms.car#car")) ?

sorry for my english, it's not my native language :)
[Android Auto General] paolocorpo:
Dear [MENTION=9602727]Shemkas[/MENTION]

here attached you can found the script necessary to introdce in white list:

aa_mirror

carstrean

aa_mirror plus

I am suggesting to you to edit it deleting the reference to aa mirror plus (if you don't need)
[Android Auto General] datasource:
It's com.google.android.kk
[Android Auto General] yuri76:
I installed AAMirror with an unattended checker. And still active. I would like to try your procedure

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] shmykelsa:
Hi Yuri.

I have to fix a big issue. I'm gonna upload a new version later today.
[Android Auto General] paolocorpo:
Dear,

Are you going to fix Italian version too ?

Thanks

Paolo

Inviato dal mio Mi A1 utilizzando Tapatalk
[Android Auto General] shmykelsa:
Surely
[Android Auto General] paolocorpo:
Many thanks and good job

Paolo

Inviato dal mio Mi A1 utilizzando Tapatalk
[Android Auto General] shmykelsa:
[MENTION=4127582]yuri76[/MENTION] [MENTION=5056724]paolocorpo[/MENTION] you can go ahead and try it now. Links are still the same.
[Android Auto General] paolocorpo:
Thanks a lot

The idea to stay on teh same link is really useful ;)
[Android Auto General] gnogno1985:
Hi guys,

I tried two months ago with aa mirror and aa unlock but I had a bootloop to my galaxy s7 flat rooted with magisk.

Now I'm start reading this new method and I would like to try again :)

So 1) download SQlite e android auto patcher for Windows 2) Aa mirror not preinstalled because AApatcher can install it directly, right?Android Auto preinstalled or not?

Nothing else?? No configuration for android auto or aa mirror??
[Android Auto General] yuri76:
I wanted to know this

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] qllkevuoi:
I have a galaxy s7 rooted just like you.. and I had to use the alternative procedure written by Jen94 in his post here --> https://xdaforums.com/showpost.php?p=78289872&postcount=110

The standard procedure doesn't work for me (see this post) because of the reason explained by Jen94 in that post (I have a "rare" com.google.android.gms.car package name, instead of com.google.android.gms.car#car)

So, if you are in the same scenario (I might suppose it because we have the same phone) I think the

first thing

you have to know about the windows .exe made by shmykelsa is if it's made for both procedures described by Jen94, or just for lucky people that has a com.google.android.gms.car#car package name in the phenotype.db database

second thing: if I understood well, the .exe doesn't install aa mirror: it creates the "trigger" to insert certain apps in the "white list" for Android Auto, so those apps appear in the listed apps on Android Auto when you press the OEM button
[Android Auto General] Luciano_JR:
Do you mind sharing the source?
[Android Auto General] bognik:
Works good on old nexus 5, grazie

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Auto General] shmykelsa:
No problem. I'll PM it to you
[Android Auto General] Luciano_JR:
One thing that it may needs to be changed is regarding an update after you create the first database rows.

Even in the code of [MENTION=9536392]Jen94[/MENTION] after you do the first insert the "INSERT OR UDPATE" will not update a row that have different values for "stringVal" columns.

INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", 234, 0, 0, "", "app_white_list", "com.package.one",1);
...
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", 234, 0, 0, "", "app_white_list", "com.package.one,com.package.two",1);

This will create a second row, not update the first.

Was thinking about creating something like a key in the stringVal, or maybe, if we could use the "user" column.

DELETE FROM Flags WHERE version = IN (230, 234) AND stringVal LIKE 'com.app.auto.enabler,%';
[Android Auto General] yuri76:
I clicked on 3. But carstream is not installedView attachment 4659782

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] shmykelsa:
My software will not install any software. It just unlocks it.
[Android Auto General] yuri76:
Ah, see. I have to install the apps first

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] shmykelsa:
I've just re-viewed the code and I'm frankly not understanding what you mean. All the SQL commands in my application are unique.
[Android Auto General] Luciano_JR:
If you execute the program with different packageNames you will end with multiples rows inserted in the database.

e.g:

Run once selecting just AAMirror, the SQL will be something like this:

INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror",1);

If you do run again and select AAMirror and CarStream, the SQL will be something like this:

INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,com.google.android.kk",1);

The second SQL will not update the first DB record, it will insert a new one, doesn't?
[Android Auto General] gnogno1985:
I tried to search "com.google.android.gms.c" in my phone but I can't find this package in both two kind of names...

So, now, I don't know if I can try with the app that seems to me easier.

---------- Post added at 11:03 PM ---------- Previous post was at 10:52 PM ----------

So I have to install android auto (last version), aa mirror (last version) and SQlite and nothing else right???

Have I to set aa mirror with all the options for the screen and Android Auto for developer options before to start your application?

And the last question is: what about the problem explained by Jen94 ( a "rare" com.google.android.gms.car package name, instead of com.google.android.gms.car#car)??Is your software made for both procedures described by Jen94, or just for lucky people that has a com.google.android.gms.car#car package name in the phenotype.db database??
[Android Auto General] shmykelsa:
If you only want AA Mirror then yes

Teoretically, developer options are not needed

My programm automates [MENTION=9536392]Jen94[/MENTION] procedure

It does
[Android Auto General] gnogno1985:
Developer options for android auto no but screen options for aamirror??

What do you mean with "my programm automates jen94 procedure"??? In both case of package name??
[Android Auto General] shmykelsa:
Well for convenience reasons, those should be personalized before. But it's not a crucial step to take.

Whichever package(s) you choose, it will automate the procedure
[Android Auto General] fireydanger:
Are there some instructions that go with this app? Is the method the same as what you reference with Jen94?
[Android Auto General] Eselter:
Test version of apk which can execute [MENTION=9536392]Jen94[/MENTION] SQL commands (only 1st variant with only aamirror app for now).

I can't test it now in car. If someone wanna try please report if it works fine.
[Android Auto General] paolocorpo:
Dear,

I think there is a little bit misunderstanding ... :)

The package object of discussion is the name of directory (and note aa_mirror or plus or Carstream....) ...

In some cases the device is using into phenotype.db a name car#car and in others simply car !!

So the question to you addressed by user [MENTION=7056836]gnogno1985[/MENTION] is if your windows new app takes in care these two different external condition that cannot been chosen by final user

Thanks

Paolo

Inviato dal mio Mi A1 utilizzando Tapatalk
[Android Auto General] yuri76:
I installed carstream, I launched the installation of sql I restarted launching Android patcher I clicked on 3. But this morning I do not see it

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] shmykelsa:
Oh, now I understand the question. The answer is yes.

Have you grabbed original Carstream apk? Have you actually installed sqlite on the phone? Have you restarted the phone?
[Android Auto General] Eselter:
It working for me. Car see AAmirror without problem. Tomorrow I should add some app chooser.
[Android Auto General] yuri76:
Sure. Click on install and then restarted. And then followed the android patcher procedure. Is not that I have to remove unlock checker?

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] shmykelsa:
Oh now I see. I have people reporting that my software doesn't work after Unlock Checker. For the moment you have to be patient until I figure it out
[Android Auto General] yuri76:
You do it calmly. It had been so many months since he had come to see carstream in the car. Made by you is already a nice gift. Sooner or later you have to open a 3ad and explain the procedures. Above all for the fact that it works for those who do not. Thank you

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] qllkevuoi:
thanks a lot for this app.

it would be great if the app firstly checks the package name of com.google.android.gms.car inside the phenotype database and, if there is a com.google.android.gms.car#car package name, then it executes the first method, else (if instead there is a car package name, like in my case) it executes the second method.

is it possible to use the conditions "if then elif else" in your apk?
[Android Auto General] Eselter:
I will add some check but yesterday I don't have time.

Maybe today I found some time to add 2nd method and app chooser.
[Android Auto General] AndroidenKalle:
It would be great if you share the source code in Github/Gitlab.
[Android Auto General] shmykelsa:
Alright, so I have made quite some changes to the app I've talked about previously

Now it's simpler to use (especially when trying to add custom apps) and it should be able to work even after the "Unlock checker" method. It works with any app you wish, not just one and now it can revert back the changes, if you wish.

Download here

Give me some feedback whether this works for you.

[MENTION=5056724]paolocorpo[/MENTION] I've updated the Italian too ;)
[Android Auto General] paolocorpo:
Are the link always the same for both version ?

Inviato dal mio Mi A1 utilizzando Tapatalk
[Android Auto General] shmykelsa:
Yup
[Android Auto General] *justintime*:
Hi,

Thanks for the effort.

I am new to Android Auto and tried the old way with AAunlock. And came up with this thread. My system havent passed a day yet.

Tried your installer....but the only app which is visible on the Car unit is AA Mirror. While i have chosen AA mirror plus and Carstream.... But the dont show up.
[Android Auto General] shmykelsa:
Have you downloaded the new version?

Have you actually got the apps installed?
[Android Auto General] yuri76:
However, it takes a guide. I'm not understanding anythingView attachment 4660591

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] *justintime*:
Yes all apps installed. But only AA Mirror is selectable on the car screen.... So i dont know if its because it was already there. Or it helped with your Solution.

Side note i also tried the APK the aa Phenotype patcher....maybe thats the culprit?

---------- Post added at 10:28 PM ---------- Previous post was at 10:26 PM ----------

You have to set your Phone in developer mode. ANd USB debugging switched on. Look at your phone it will ask for a "fingerprint" approval.
[Android Auto General] guigo613:
Good night

I share my experience when trying to use the application, because at first I had some difficulty because in the vehicle did not appear other applications except the carstream

I will try to detail my steps because I am not sure if I am right if my conclusion is right, so maybe I hope it is useful

I installed first the carstream and I released the root access through itself and soon it started working without any problem, however when I installed the aamirror and installed the application of you the "android-auto-3rd-party-app-enabler "even doing all the procedure the aamirror did not appear on the screen, only the carstream that I had already released before

I tried to uninstall and install again, tried to use the aaunlocker, cleaned the android cache auto and carstream and nothing, but only when I cleaned all google play services data that can actually release all through root using "android-auto-3rd -party-app-enabler "

I do not know if it would be of help, but that is my experience

Translated by Google
[Android Auto General] *justintime*:
Okay, so you are stuck and started on Carstreamer and want more "apps"

And i am stuck on AAMirror.

I have also played with 3rd party unlocker. But saw the permissions only last for a day. Like I said I didn't experience myself.
[Android Auto General] guigo613:
not

I do not know if to describe clearly

I was stuck, however, so I cleaned up all google play services data and only used the "android-auto-3rd -party-app-enabler" to unlock through root including the carstream, all app started to be displayed

My English is very bad, forgive me.

Translated by Google
[Android Auto General] Tiemichael:
Thanks for providing this prog!

I have not tried it yet, as I am one of the few with "com.google.android.gms.car" is 236, and also no "#car".

Looking at the bat-file inside your prog, it seems that my case is not supported - can you please confirm?

If 'no', any chance to add it, or is it just exchanging some code based on this post by JEN94?

Thanks!
[Android Auto General] shmykelsa:
It should be able to work regardless of those things
[Android Auto General] yuri76:
Then with unlock checker it no longer conflicts. But nothing carstream

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] shmykelsa:
Hi Yuri,

I suggest you to download the newer version I've released overnight.

Also, I have an Italian version that might do for you.

Have you actually solved your problem with authorizing USB debug?
[Android Auto General] yuri76:
For debugging I did not understand how to do it

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] zencooler:
You should go to Developer Options (switch it on if you didn't do it before by few click on software version in phone information menu) and check an option: USB debuging.

Regards.
[Android Auto General] Tiemichael:
Thanks!

It (using the version posted last night) does not seem to work for me ...

I get an error:

Error: near line 7: Flag.version may not be NULL

Error: near line 8: Flag.version may not be NULL

Error: near line 9: Flag.version may not be NULL

Also looking that the database, I do not see any entry with 'car#car'. Version is 140

Will try tomorrow in the car ...
[Android Auto General] *justintime*:
How do you check car version??
[Android Auto General] Tiemichael:
I tried 2 ways:

with RootExplorer - open the db, ckick on Packages, search for 'car' and get one line showing version=140

via adb-shell - su > sqlite3 /data/data/com.google.android.gms/databases/phenotype.db > SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"; and get '140'
[Android Auto General] musamp:
Hiya there.

Got an issue - I did all as provided - and...I works ---should write worked. as yesterday all was fine - today - no carstream on the list - not sure why :( AA mirror still working but carstream is gone today - please - any idea "why"?
[Android Auto General] Micha LNH HSV:
Hi there,

i try everything (developer mode/release mode, unknown sources on/off, autoAppEnabler_v1.1.apk and other unlocker tools etc.), but nothing works for me.

This one finaly works fine for me (with all up-to-date version of AA and GPS):

1.) Install aa mirror plus

https://drive.google.com/uc?authuser=0&id=1RWZBz91fgkQe7myt5vm-jnZTlZ0kEdb4&export=download

2.) Install Sqlite3 for root, launch it and click Install

https://play.google.com/store/apps/details?id=com.kanolato.sqlite&hl=en

3a.) Activate USB Debugging on your rooted phone (Android developer setting)

b.)Download Windows Tool

https://www.mediafire.com/file/efjsjm68hbybkwv/ANDROID+AUTO+PATCHER.exeJen94

Connect you phone via USB, start exe on your Windows PC, choose you tools (AA Mirror, A Mirror Plus etc.) and patch

4.) Reboot phone and start AA

Thank you very much @

slashmax, Jen94 and shmykelsa
[Android Auto General] zencooler:
Nobody knows. This is what everybody are fighting with. If it happend simply go into CarStream menu and do "Unlock (root)" option and then reboot phone. It always work for me.

Regards.
[Android Auto General] 慕小天:
AA Mirror Plus

4pda.ru/forum/index.php?showtopic=651767&st=360#entry61896470

Hello, the Russians revised the aamirror and launched AA Mirror Plus.

But AAUNLOCK doesn't work.

Can you modify your program to support AA Mirror Plus?
[Android Auto General] shmykelsa:
Have you updated google play services and Android Auto?
[Android Auto General] Tiemichael:
I have (likely) the most recent versions of GPS (14.7.99) and AA (3.8.584) ..

When trying the alternative solution provided by Jen94, I do not see any errors, but AAMirror does not show up

Looking at the phenotype.db, I see 9 entries with 'app_while_list" and "AAmirror", 3 with each version 230, 234 and 240
[Android Auto General] GPSSlovakia:
anybody downloaded these from 4pda.ru ?

AAMirror Plus 1_1_3b.apk

AA Mirror v1.1.3.apk

AA_Unlock_v.4.apk

please share on gdrive.

thanx
[Android Auto General] Tiemichael:
Added all into a zip ...
[Android Auto General] zencooler:
But did anybody test these new versions of AA Mirror and Unlockers? What has been changed in them? Hopefully the resolution restore and permanent unlock. I am dreaming... ;)
[Android Auto General] paolocorpo:
+1

Smae questions/doubt from my side too
[Android Auto General] yuri76:
ut do they work? If you make a guide?

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] Tiemichael:
No idea if they are working

I was just answering a request by user GPSSlovakia, downloaded the files and put into a zip ...
[Android Auto General] Eselter:
AA Phenotype Patcher 0.2

Next release of my app.

You can choose apps what you want add to whitelist.

App will detect which method choose to insert query and triggers to DB.

Many thanks for [MENTION=9536392]Jen94[/MENTION] for SQL queries (link for original post).
[Android Auto General] paolocorpo:
Many thanks [MENTION=3165644]Eselter[/MENTION]

I suppose that the necessary condition are:

Root

Sqlite

Android Auto (no important the version)

Apps that we want include into white list already installed

But what about the set of developer options of AA ?

User or developer ?

Unknown resources flagged or not flagged ?

Inviato dal mio Mi A1 utilizzando Tapatalk
[Android Auto General] 慕小天:
The author's original version is available.

---------- Post added at 02:46 AM ---------- Previous post was at 02:40 AM ----------
[Android Auto General] David522d:
Is there a new version of AAMirrorplus? If so can someone post it, and does this work on the newest android auto?

Thanks
[Android Auto General] 慕小天:
1.1.3b is up to date.

It can run on the newest android auto
[Android Auto General] yuri76:
There is a lot of confusion in this 3ad. Explaining the proceedings would be useful for everyone
[Android Auto General] Tiemichael:
Thanks for this app! Working perfectly for AAmirror!

At least for me. other apps do not show up ...

Looking at the SQL is see the following:

sqlite> SELECT * FROM Flags WHERE name="app_white_list";
com.google.android.gms.car#car|240|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car|230|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car|234|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car_setup|240|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car_setup|230|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car_setup|234|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car|240|0|0||app_white_list||||com.github.slashmax.aamirror||1
com.google.android.gms.car|230|0|0||app_white_list||||com.github.slashmax.aamirror||1
com.google.android.gms.car|234|0|0||app_white_list||||com.github.slashmax.aamirror||1
sqlite>

So maybe there is a small bug in your app ...

Also I added a 3rd app in a 2nd run, which does not show up here ....

Thank you!
[Android Auto General] Eselter:
Yeah, sorry I something screw up.

Today after work I will look at it and I add drop trigger before adding new one.
[Android Auto General] yuri76:
Can you add a guide? Thank you

Inviato dal mio SM-G955F utilizzando Tapatalk
[Android Auto General] hhatika:
It works fine. GPS 14.5.74 & AA 3.8.584564 on Honor 8 with FRD-l09C432B407 /Android7.0

Thx
[Android Auto General] mabadse:
Thanks [MENTION=9536392]Jen94[/MENTION] and [MENTION=5562025]shmykelsa[/MENTION], works fine.

https://www.youtube.com/watch?v=LwVf7VUe94M

Enviado desde mi POCOPHONE F1 mediante Tapatalk