diff --git a/device.mk b/device.mk index 29abae6..62abb0d 100644 --- a/device.mk +++ b/device.mk @@ -151,6 +151,17 @@ PRODUCT_PACKAGES += \ android.hardware.light@2.0-service.davinci # Media +PRODUCT_PACKAGES += \ + libOmxAacEnc \ + libOmxAmrEnc \ + libOmxCore \ + libOmxEvrcEnc \ + libOmxG711Enc \ + libOmxQcelp13Enc \ + libOmxVdec \ + libOmxVenc \ + libstagefrighthw + PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/security/mediacodec.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy diff --git a/system.prop b/system.prop index 5eeb6dd..6ad68cd 100644 --- a/system.prop +++ b/system.prop @@ -10,6 +10,19 @@ persist.vendor.dpm.feature=1 persist.vendor.dpm.loglevel=0 persist.vendor.dpm.nsrm.bkg.evt=3955 +# Media +media.aac_51_output_enabled=true +media.settings.xml=/vendor/etc/media_profiles_vendor.xml +media.stagefright.enable-aac=true +media.stagefright.enable-fma2dp=true +media.stagefright.enable-http=true +media.stagefright.enable-player=true +media.stagefright.enable-qcp=true +media.stagefright.enable-scan=true +media.stagefright.thumbnail.prefer_hw_codecs=true +mmp.enable.3g2=true +persist.mm.enable.prefetch=true + # Netflix custom property ro.netflix.bsp_rev=Q6150-17263-1