slashmax / AAMirror

506 stars 181 forks source link

What is last version of AA which support Unlocker? #67

Open przrak opened 5 years ago

przrak commented 5 years ago

Hello! Big thanks for a great job, but in my version AA 3.7.584043-release AA Unlocker not working. I have root. In the car, on multimedia system display I see AA, but when I pressed in right bottom corner icon, I don't see AA Mirror app :( Which is last version AA working with AA Mirror?

ghost commented 5 years ago

Unfortunately Google succesfully blocked AA Mirror this week. Unlock doesn't help now as it did previously on AA ver. 3.6 and 3.7. My phone - rooted Galaxy S5.

przrak commented 5 years ago

In another forum, I read some theory about this error. AAMirror added with set boolean param in system BD. Unlocker did this with Java library. Now - Google banned this case. Current case - Linux command for the set this boolean param. But AA clear this flag every night and clear this flag when you connected to Android Auto. I can quote Russian forum post about it, maybe it can help you to update unlocker. " AAMirror добавляется установкой флага в одной из системных БД. Ранее существующие решения открывали эту БД штатной JAVA-библиотекой, гугл в последних обновлениях порезал эту возможность, вот флаги и не добавлялись, и ничего не работало. В новом анлоке используется командная строка Linux для добавления записей, которая просто не может не работать, будучи запущенной от рута. Именно поэтому необходимо установить sqlite3 for Root и вручную проверять текущую версию #car.

Теперь по поводу блокировки. Она бывает двух видов, для каждой из них предложено решение.

  1. Проблема: Добавленные флаги чистятся по ночам Решение: добавлять их по таймеру каждые Х минут
  2. Проблема: флаги чистятся в момент подключения к Android Auto Решение: добавлять флаги по событию отключения от Android Auto. Работает так: подключили телефон, увидели, что AAMirror в списке отсутствует, отключили, подождали 20 сек (пока анлокер сработает и пройдет немного времени), подключили заново - AAMIrror появился.

Однако, нельзя рестартовать сервисы Google часто. На устройстве начинается ад (можете в logcat увидеть, какой). Если перезапустить gms, скажем, несколько раз за час, аппарат может спокойно уйти в транс и в AA не появится никакого миррора несмотря на флаги. И это не хитрость гугла, а просто сдохла штука, отвечающая за их отображение) поможет force reboot (громк вниз + питание на последних самсунгах). Всегда учитывайте это, делая рестарт сервисов. По этой причине пока не рекомендую включать последнюю галку, если пользуетесь виджетом. Да и вообще рестарт сервисов по написанию - штука очень экспериментальная. Так что будете включать - соберем статистику, но я предупреждал :) "

wypeng2012 commented 5 years ago

Hello! Big thanks for a great job, but in my version AA 3.7.584043-release AA Unlocker not working. I have root. In the car, on multimedia system display I see AA, but when I pressed in right bottom corner icon, I don't see AA Mirror app :( Which is last version AA working with AA Mirror?

You can do like this: change android auto appication mode to release and uncheck unknown sources. And you unlock agin.

it does work.

ghost commented 5 years ago

Unfortunately this fix doesn't work on Samsung S5.

TheBlitz7 commented 5 years ago

You can do like this: change android auto appication mode to release and uncheck unknown sources. And you unlock agin.

it does work.

What do you mean by changing the Android Auto app mode to release?

wypeng2012 commented 5 years ago

Android auto>left menu >about >right menu >developer setting >application model >release and uncheck unknown source

ghost commented 5 years ago

What phone do you have which still works with AA Mirror?

wypeng2012 commented 5 years ago

What phone do you have which still works with AA Mirror?

XiaoMi 8, android pie, gms:14.5.74, android auto:3.7.584044

wypeng2012 commented 5 years ago

What phone do you have which still works with AA Mirror?

my Samsung S6+ also works well

wypeng2012 commented 5 years ago

What phone do you have which still works with AA Mirror?

you can also clean gms and android auto app data,then unlock again

Abdul8282 commented 5 years ago

Samsung Galaxy s8+ AA 3.7.584043 release Oreo 8.0 Still works

Sendt fra min Samsung Galaxy-smarttelefon.

-------- Opprinnelig melding -------- Fra: Jerry Wang notifications@github.com Dato: 23.11.2018 02:46 (GMT+01:00) Til: slashmax/AAMirror AAMirror@noreply.github.com Ko: Subscribed subscribed@noreply.github.com Emne: Re: [slashmax/AAMirror] What is last version of AA which support Unlocker? (#67)

What phone do you have which still works with AA Mirror?

you can also clean gms and android auto app data,then unlock again

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/slashmax/AAMirror/issues/67#issuecomment-441142234, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ai-2BoLZBVijmX1U49ycT36eRAJoZisSks5ux1NwgaJpZM4YqaeD.

wypeng2012 commented 5 years ago

Unfortunately this fix doesn't work on Samsung S5.

if aa unlock not work ,you can try this app: you can use Android Auto 3rd party App Enabler:https://forum.xda-developers.com/android-auto/android-auto-general/app-android-auto-3rd-party-app-enabler-t3853009

jhingansaurabh commented 5 years ago

HI all, was able to unlock AA and give it SU rights. After a few seconds screen goes blank and AA freezes. Also it resets my phones's resolution where icons becomes smaller and there is a border on my screen . Would appreciate if someone can help.

boniga commented 5 years ago

I confirm the AA Mirror & AA Mirror Plus work using AA_Phenotype_Patcher_0.85, but FIRST you should clear data of Android Auto and Google Play services.

My BIG QUESTION now is should we block AA and GPS for updates? In my opinion screen mirroring in AA is like a ping-pong game, Google always block AA Mirror (3rd party apps) and devs always find solutions to hack Google blocks (sometimes this takes much time and is hard to apply them). What should we do?

Description of the solution:

Beniamin