From 9df727b5a1719bfe2e7b010552fdb0c61ebcb713 Mon Sep 17 00:00:00 2001 From: Elemag Date: Sat, 29 Jan 2011 23:20:00 +0200 Subject: [PATCH 1/9] Fix for usb mass storage --- vold.fstab | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vold.fstab b/vold.fstab index a48b0ce..32ee7b4 100644 --- a/vold.fstab +++ b/vold.fstab @@ -29,5 +29,4 @@ ###################### # Mounts the first usable partition of the specified device -dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 - +dev_mount sdcard /mnt/sdcard auto /devices/platform/usb_mass_storage/lun0 /devices/platform/msm_sdcc.2/mmc_host/mmc0 From cb7085ad3e3b4b44aff60b510afaafcd5d941132 Mon Sep 17 00:00:00 2001 From: Elemag Date: Sun, 30 Jan 2011 00:06:30 +0200 Subject: [PATCH 2/9] made an annoying mistake, now fixed --- vold.fstab | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vold.fstab b/vold.fstab index 32ee7b4..26853e6 100644 --- a/vold.fstab +++ b/vold.fstab @@ -29,4 +29,5 @@ ###################### # Mounts the first usable partition of the specified device -dev_mount sdcard /mnt/sdcard auto /devices/platform/usb_mass_storage/lun0 /devices/platform/msm_sdcc.2/mmc_host/mmc0 +dev_mount sdcard /mnt/sdcard auto /devices/platform/usb_mass_storage/lun0 /devices/platform/msm_sdcc.2/mmc_host/mmc1 + From 9a66d577cc9c3e2871f4448bee393a080fd88a5b Mon Sep 17 00:00:00 2001 From: Elemag Date: Mon, 31 Jan 2011 02:22:26 +0200 Subject: [PATCH 3/9] fix OpenGLES 1.1, enable Gallery3D --- BoardConfig.mk | 2 -- device_hero.mk | 9 ++++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 1e58f58..d9a403a 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -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 diff --git a/device_hero.mk b/device_hero.mk index ec292c4..e97d85c 100644 --- a/device_hero.mk +++ b/device_hero.mk @@ -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 \ @@ -111,11 +108,13 @@ 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 = 65537 \ + debug.sf.hw=1 \ + video.accelerate.hw =1 \ + debug.performance.tuning =1 \ ro.product.multi_touch_enabled=true # Default network type From 050597db08da11ff79b3e12f57f7bd3a5480ff2e Mon Sep 17 00:00:00 2001 From: Elemag Date: Mon, 31 Jan 2011 02:24:24 +0200 Subject: [PATCH 4/9] better media handling --- device_hero.mk | 6 ++++++ media_profiles.xml | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/device_hero.mk b/device_hero.mk index e97d85c..adc90cf 100644 --- a/device_hero.mk +++ b/device_hero.mk @@ -138,6 +138,12 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.setupwizard.enable_bypass=1 \ ro.media.dec.aud.wma.enabled=1 \ ro.media.dec.vid.wmv.enabled=1 \ + ro.media.dec.aud.flac.enabled = 1 \ + ro.media.dec.aud.ape.enabled = 1 \ + ro.media.dec.vid.avi.enabled = 1 \ + ro.media.dec.vid.flv.enabled = 1 \ + ro.media.dec.vid.qt.enabled = 1 \ + ro.media.dec.vid.rm.enabled = 1 \ dalvik.vm.dexopt-flags=m=y \ net.bt.name=Android \ ro.config.sync=yes diff --git a/media_profiles.xml b/media_profiles.xml index d683b1f..2df155b 100644 --- a/media_profiles.xml +++ b/media_profiles.xml @@ -79,12 +79,12 @@ - +