phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.37k stars 659 forks source link

[PHH AOSP v209 & other GSIs] [sailfish] Bootlooping because of audio drivers #1059

Open miklosakos opened 4 years ago

miklosakos commented 4 years ago

I tried 3 different GSIs today on my Google Pixel device, in logcat I can see the following getting repeated over and over:

01-08 16:51:24.972   874   874 W ServiceManagement: Waited one second for android.hardware.audio@5.0::IDevicesFactory/default
01-08 16:51:24.974   874   874 I ServiceManagement: getService: Trying again for android.hardware.audio@5.0::IDevicesFactory/default...
01-08 16:51:25.033  1095  1095 I ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'...
01-08 16:51:25.126  1792  1792 F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.nfc@1.1-service": library "vendor.nxp.nxpese@1.0.so" not found
01-08 16:51:25.740  1095  1095 I chatty  : uid=1000 system_server identical 7 lines
01-08 16:51:25.841  1095  1095 I ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'...
01-08 16:51:25.943  1095  1095 W ServiceManager: Service media.audio_policy didn't start. Returning NULL
01-08 16:51:25.943  1095  1095 W AudioSystem: AudioPolicyService not published, waiting...
01-08 16:51:25.974   874   874 W ServiceManagement: Waited one second for android.hardware.audio@5.0::IDevicesFactory/default
01-08 16:51:25.976   874   874 I ServiceManagement: getService: Trying again for android.hardware.audio@5.0::IDevicesFactory/default...
01-08 16:51:26.444  1095  1095 I ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'...
01-08 16:51:26.848  1095  1095 I chatty  : uid=1000 system_server identical 4 lines
01-08 16:51:26.949  1095  1095 I ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'...
01-08 16:51:26.977   874   874 W ServiceManagement: Waited one second for android.hardware.audio@5.0::IDevicesFactory/default
01-08 16:51:26.979   874   874 I ServiceManagement: getService: Trying again for android.hardware.audio@5.0::IDevicesFactory/default...
01-08 16:51:27.050  1095  1095 I ServiceManager: Waiting for service 'media.audio_policy' on '/dev/binder'...

I'm using the latest bootloader, kernel, vendor and radio firmware from Google.

phhusson commented 4 years ago

You'll need to give me full logcat, this one doesn't say why audio doesn't start.

miklosakos commented 4 years ago

This is a hopefully complete logcat sailfish.txt

phhusson commented 4 years ago

Good Issue is 04-15 15:10:52.326 849 849 E vndksupport: Could not load /vendor/lib/hw/android.hardware.audio@5.0-impl.so from default namespace: dlopen failed: library "android.hardware.audio.common-util.so" not found.

Le jeu. 9 janv. 2020 à 16:38, Miklós Ákos notifications@github.com a écrit :

This is a hopefully complete logcat sailfish.txt https://github.com/phhusson/treble_experimentations/files/4041163/sailfish.txt

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1059?email_source=notifications&email_token=AAAA4OWAYL2EJIDRELUNDE3Q45AGBA5CNFSM4KEQPDD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIQW6NI#issuecomment-572616501, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OTHPYWAAC4W6BX22I3Q45AGBANCNFSM4KEQPDDQ .

miklosakos commented 4 years ago

Is there a way to do some hacky work at the moment? And by that I mean just do some not really preferred stuff.