Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ BOARD_VENDOR_QCOM_AMSS_VERSION := 6355

BOARD_USES_QCOM_HARDWARE := true

BOARD_HAS_LIMITED_EGL := true

TARGET_HARDWARE_3D := false

# OpenGL drivers config file path
Expand Down
10 changes: 2 additions & 8 deletions device_hero.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ PRODUCT_PACKAGES += \
libOmxVidEnc \
libmm-omxcore

#Gallery 2d
PRODUCT_PACKAGES += Gallery

# Install the features available on this device.
PRODUCT_COPY_FILES += \
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
Expand Down Expand Up @@ -111,11 +108,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapsize=24m \
ro.compcache.default=0 \
persist.sys.use_dithering=0 \
debug.sf.hw=1

# OpenGL ES 1.1-CM
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version = 165537 \
ro.opengles.version = 65536 \
debug.sf.hw=1 \
ro.product.multi_touch_enabled=true

# Default network type
Expand All @@ -137,9 +134,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.com.google.locationfeatures = 1 \
ro.setupwizard.mode=OPTIONAL \
ro.setupwizard.enable_bypass=1 \
ro.media.dec.aud.wma.enabled=1 \
ro.media.dec.vid.wmv.enabled=1 \
dalvik.vm.dexopt-flags=m=y \
net.bt.name=Android \
ro.config.sync=yes

Expand Down
2 changes: 0 additions & 2 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ adb pull /system/lib/libOmxH264Dec.so ../../../vendor/htc/$DEVICE/proprietary/li
adb pull /system/lib/libOmxMpeg4Dec.so ../../../vendor/htc/$DEVICE/proprietary/libOmxMpeg4Dec.so
adb pull /system/lib/libOmxVidEnc.so ../../../vendor/htc/$DEVICE/proprietary/libOmxVidEnc.so
adb pull /system/lib/hw/lights.msm7k.so ../../../vendor/htc/$DEVICE/proprietary/lights.msm7k.so
adb pull /system/lib/libomx_wmadec_sharedlibrary.so ../../../vendor/htc/$DEVICE/proprietary/libomx_wmadec_sharedlibrary.so
adb pull /system/lib/libomx_wmvdec_sharedlibrary.so ../../../vendor/htc/$DEVICE/proprietary/libomx_wmvdec_sharedlibrary.so
adb pull /system/lib/libpvasfcommon.so ../../../vendor/htc/$DEVICE/proprietary/libpvasfcommon.so
adb pull /system/lib/libpvasflocalpbreg.so ../../../vendor/htc/$DEVICE/proprietary/libpvasflocalpbreg.so
adb pull /system/lib/libpvasflocalpb.so ../../../vendor/htc/$DEVICE/proprietary/libpvasflocalpb.so
Expand Down
16 changes: 10 additions & 6 deletions media_profiles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
height="288"
frameRate="20" />

<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>

Expand Down Expand Up @@ -140,14 +140,18 @@
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />


<AudioEncoderCap name="aac" enabled="true"
minBitRate="8192" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<!--
FIXME:
We do not check decoder capabilities at present
At present, we only check whether windows media is visible
for TEST applications. For other applications, we do
not perform any checks at all.
-->
<VideoDecoderCap name="wmv" enabled="true"/>
<AudioDecoderCap name="wma" enabled="true"/>
<VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/>
</MediaSettings>
2 changes: 0 additions & 2 deletions setup-makefiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ PRODUCT_COPY_FILES += \\

ifdef WITH_WINDOWS_MEDIA
PRODUCT_COPY_FILES += \\
vendor/htc/__DEVICE__/proprietary/libomx_wmadec_sharedlibrary.so:system/lib/libomx_wmadec_sharedlibrary.so \\
vendor/htc/__DEVICE__/proprietary/libomx_wmvdec_sharedlibrary.so:system/lib/libomx_wmvdec_sharedlibrary.so \\
vendor/htc/__DEVICE__/proprietary/libpvasfcommon.so:system/lib/libpvasfcommon.so \\
vendor/htc/__DEVICE__/proprietary/libpvasflocalpbreg.so:system/lib/libpvasflocalpbreg.so \\
vendor/htc/__DEVICE__/proprietary/libpvasflocalpb.so:system/lib/libpvasflocalpb.so \\
Expand Down
2 changes: 0 additions & 2 deletions unzip-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ unzip -j -o ../../../${DEVICE}_update.zip -d ../../../vendor/htc/$DEVICE/proprie
system/lib/libOmxMpeg4Dec.so \
system/lib/libOmxVidEnc.so \
system/lib/hw/lights.msm7k.so \
system/lib/libomx_wmadec_sharedlibrary.so \
system/lib/libomx_wmvdec_sharedlibrary.so \
system/lib/libpvasfcommon.so \
system/lib/libpvasflocalpbreg.so \
system/lib/libpvasflocalpb.so \
Expand Down