opengapps
opengapps copied to clipboard
Lineage 17.1 Open Gapps and Andoid Auto
I instale the ( Lineage os 17.1.20200415 and Gapps) on my S8+ . All ok ,Thanks to the developer . The only problem is with Android Auto and the usb connection in Lineage software... maybe authorities usb choice is not to "file tranfer"...
In S8+ with original samsung os "android 9" the application android auto with same version as above function very well.
I think the problem is the way that lineage manage the usb connection with Android Auto!!!
When Android Auto strat in the infotainment the phone usb force (goes) to "without file transfer" and the connection stops
Any help
Think this may be the same cause as #742
Possibly related boot issue I'm seeing:
12-13 11:45:36.462 5602 5602 E System : ******************************************
12-13 11:45:36.462 5602 5602 E System : ************ Failure starting system services
12-13 11:45:36.462 5602 5602 E System : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.projection.gearhead: android.permission.CHANGE_COMPONENT_ENABLED_STATE}
12-13 11:45:36.462 5602 5602 E System : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2970)
12-13 11:45:36.462 5602 5602 E System : at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:122)
12-13 11:45:36.462 5602 5602 E System : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:3031)
12-13 11:45:36.462 5602 5602 E System : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21935)
12-13 11:45:36.462 5602 5602 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
12-13 11:45:36.462 5602 5602 E System : at com.android.server.SystemServer.run(SystemServer.java:529)
12-13 11:45:36.462 5602 5602 E System : at com.android.server.SystemServer.main(SystemServer.java:356)
12-13 11:45:36.462 5602 5602 E System : at java.lang.reflect.Method.invoke(Native Method)
12-13 11:45:36.462 5602 5602 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-13 11:45:36.462 5602 5602 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:918)
12-13 11:45:36.462 5602 5602 D SystemServerTiming: MakePackageManagerServiceReady took to complete: 850ms
12-13 11:45:36.463 5602 5602 E Zygote : System zygote died with exception
12-13 11:45:36.463 5602 5602 E Zygote : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.projection.gearhead: android.permission.CHANGE_COMPONENT_ENABLED_STATE}
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2970)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:122)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:3031)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21935)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.SystemServer.run(SystemServer.java:529)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.server.SystemServer.main(SystemServer.java:356)
12-13 11:45:36.463 5602 5602 E Zygote : at java.lang.reflect.Method.invoke(Native Method)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-13 11:45:36.463 5602 5602 E Zygote : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:918)
12-13 11:45:36.463 5602 5602 D AndroidRuntime: Shutting down VM
12-13 11:45:36.463 5602 5602 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
12-13 11:45:36.463 5602 5602 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.projection.gearhead: android.permission.CHANGE_COMPONENT_ENABLED_STATE}
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2970)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:122)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.systemReady(PermissionManagerService.java:3031)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21935)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:529)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:356)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-13 11:45:36.463 5602 5602 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:918)
Im getting similiar problems with opengapps pico after version open_gapps-arm64-10.0-pico-20201121.zip. Newer versions are not working.
When I open android auto on the phone, i get the message: requires one or more google play services. According this post, some apps requires to be installed as system. But it has always been working since 20201121. https://forum.xda-developers.com/t/rom-11-0-unofficial-lineageos-18-1.4173997/post-84062007
Still having problems with opengapps. I switch to nikgapps core + android auto addon, this works fine.
@yung-wang did you have to do anything to remove opengapps first or did you just flash nikgapps?
@jacob-pro I wiped system and cache first. Than flashed rom + nikgapps + addon. That is all 😃.
@ghost Is this a duplicate of #742?
That permission is already present here: https://gitlab.opengapps.org/opengapps/all/-/blob/master/etc/permissions/privapp-permissions-google.xml#L672
@jacob-pro I wiped system and cache first. Than flashed rom + nikgapps + addon. That is all 😃.
This worked for me too, thank you!!
You're welcome. I see they are fixing it. Maybe it should work with the latest opengapps? I didnt test it.
Just tried today's opengapps build - both pico and stock - looks like its still failing.
I can confirm that nikgapps core + android auto from 02/24 does work though.
@ronaldwan
I can confirm that nikgapps core + android auto from 02/24 does work though.
Are you referring to the nikgapps addon or the app from the Play Store?
I use the addons, not from the play store. I havent tried the PS app, so i dont know if this works. You can download them here: https://sourceforge.net/projects/nikgapps/files/Releases/
Android 11
Core: https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-R/30-Jan-2021/NikGapps-core-arm64-11-20210130-signed.zip/download
Addons: https://sourceforge.net/projects/nikgapps/files/Releases/Addons-R/24-Jan-2021/NikGapps-Addon-11-AndroidAuto-signed.zip/download
@ronaldwan
I can confirm that nikgapps core + android auto from 02/24 does work though.
Are you referring to the nikgapps addon or the app from the Play Store?
I used the android auto add-on. I can confirm subsequent updates from the App Store also works.
I'm not familiar with the Opengapps build system. Are the Opengapps downloadable builds nightly or from some sort of release branch?
AFAIK OpenGapps are updated daily (https://opengapps.org/). I tested today's nano version with Android Auto from Play Store. Didn't work.
I then switched to nikgapps core (just flashed from Recovery) without any add-ons and Android Auto from Play store. It finally is able to start without displaying "Something went wrong". Will have to check the car connection, though.
In case this might be useful, I had a similar problem where after flashing my phone with the latest software (instead of the standard OnePlus software) AA no longer worked, USB transfer type was on connect immediately reset to "no transfer" similar to what the first post says here.
Android: 10 Phone: OnePlus3 LineageOS: lineage-17.1-20210222-nightly-oneplus3-signed GApps: open_gapps-arm64-10.0-micro-20210227
Following https://forum.xda-developers.com/t/gapps-daily-open-gapps-for-android-all-android-versions-devices.3098071/page-351#post-84511137, I decided to try open_gapps-arm64-10.0-micro-20210206
and that worked. I did need to install Android Auto app (and the Play Store did not allow me to do this due to location restrictions, that wasn't the case before oddly enough, got an apk instead) because that is probably not on the micro version. So my hypothesis would be that there is an issue introduced between 20210206 and 20210227 versions.
The one small issue that remains is that on connect the display in my car turns white for two seconds before displaying the AA interface, it didnt do that with the standard OP software.
Will have to check the car connection, though.
It worked!
Had the same issue, can confirm open_gapps-arm-10.0-mini-20210206
works! :)
Had the same issue, can confirm
open_gapps-arm-10.0-mini-20210206
works! :)
Do we know on what release it does stop working? and if its gonna ever work on future releases?
Too bad pico does not work. It worked before. I like to have a very minimal gapps. Nice to hear mini works.
It works for me with BiTGApps R20. It supports arm (32) bit.
Had the same issue, can confirm
open_gapps-arm-10.0-mini-20210206
works! :)
I can confirm this one works great for me too! (One plus One, LOS 17.1)
March 25th mini does not work with Android Auto. Reverting to open_gapps-arm64-10.0-pico-20210218 as that version works.
Nikgapps, unfortunately, is lagged for notifications for Signal and Voice.
Is anyone else seeing this message about "No installed apps work with this USB accessory"?
Is anyone else seeing this message about "No installed apps work with this USB accessory"?
Yes, when connecting the phone to car's head unit. Try to install open_gapps-arm-10.0-mini-20210206
For lineageos 18.1 im using MindTheGapps-11.0.0-arm64-20210412_124247.zip. This works fine. https://wiki.lineageos.org/gapps.html
Resolved fully in 61c1088 I believe 👍