phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 660 forks source link

Google Pixel XL (marlin) - libraries needed to boot #1196

Open WaseemAlkurdi opened 4 years ago

WaseemAlkurdi commented 4 years ago

The following libraries are needed to boot the Quack GSI correctly on this device:

android.hardware.audio.common-util.so
android.hardware.audio.common@5.0-util.so
libeffectsconfig.so

(all under /system/lib/vndk-29) This library is needed to get RIL up:

/system/lib64/vendor.qti.qcril.am@1.0.so

(this one is under /system/lib64/vndk-29)

satmandu commented 4 years ago

I imagine these are also needed then on Google Pixel (sailfish)....

satmandu commented 4 years ago

Did the image boot once you put these libraries into the image?

WaseemAlkurdi commented 4 years ago

Yes it did. You have to correctly set permissions if pushing them using TWRP:

chcon u:object_r:system_lib_file:s0 /system/lib/vndk-29/android.hardware.audio.common-util.so
satmandu commented 4 years ago

Fantastic. Where did you copy these libraries from? Are these just not being built properly either?

WaseemAlkurdi commented 4 years ago

@satmandu You can get them from the stock ROM. They are proprietary/prebuilt ones, so no building issues :-)