semc_urushi:updated adreno props and gralloc flags

This commit is contained in:
freexperia 2012-01-02 22:51:55 +02:00
parent 54d6537cb8
commit 4f994f7197
8 changed files with 20 additions and 43 deletions

View File

@ -1,6 +1,6 @@
-include device/semc/mogami-common/BoardConfigCommon.mk
-include vendor/semc/urushi/BoardConfigVendor.mk
BOARD_FLASH_BLOCK_SIZE := 4096
#BOARD_FLASH_BLOCK_SIZE := 4096
TARGET_OTA_ASSERT_DEVICE := ST18i,ST18a,urushi

4
cm.mk
View File

@ -2,7 +2,7 @@
$(call inherit-product, vendor/cm/config/gsm.mk)
# Release name
PRODUCT_RELEASE_NAME := urushi
PRODUCT_RELEASE_NAME := ST18i
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
@ -17,4 +17,4 @@ PRODUCT_BRAND := SEMC
PRODUCT_MODEL := Xperia Ray
#Set build fingerprint / ID / Product Name ect.
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=urushi BUILD_ID=ITL41F BUILD_DISPLAY_ID=ITL41F BUILD_FINGERPRINT="google/yakju/maguro:4.0.1/ITL41F/228551:user/release-keys" PRIVATE_BUILD_DESC="yakju-user 4.0.1 ITL41F 228551 release-keys"
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=ST18i BUILD_ID=ITL41F BUILD_DISPLAY_ID=ITL41F BUILD_FINGERPRINT="google/yakju/maguro:4.0.1/ITL41F/228551:user/release-keys" PRIVATE_BUILD_DESC="yakju-user 4.0.1 ITL41F 228551 release-keys"

View File

@ -36,7 +36,7 @@ DEVICE_PACKAGE_OVERLAYS += device/semc/urushi/overlay
# Init files
PRODUCT_COPY_FILES += \
device/semc/urushi/prebuilt/bootrec:root/sbin/bootrec \
device/semc/urushi/prebuilt/hw_config.sh:root/hw_config.sh \
device/semc/urushi/prebuilt/hw_config.sh:system/etc/hw_config.sh \
device/semc/urushi/prebuilt/pre_hw_config.sh:root/pre_hw_config.sh \
device/semc/msm7x30-common/prebuilt/logo_H.rle:root/logo.rle \
device/semc/urushi/recovery.fstab:root/recovery.fstab
@ -53,8 +53,8 @@ PRODUCT_COPY_FILES += \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_04_H.png:system/semc/chargemon/data/charging_animation_04.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_05_H.png:system/semc/chargemon/data/charging_animation_05.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_06_H.png:system/semc/chargemon/data/charging_animation_06.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_07_H.png:system/semc/chargemon/data/charging_animation_07.png \
device/semc/msm7x30-common/prebuilt/animations/charging_animation_blank_H.png:system/semc/chargemon/data/charging_animation_blank.png
device/semc/msm7x30-common/prebuilt/animations/charging_animation_07_H.png:system/semc/chargemon/data/charging_animation_07.png
# device/semc/msm7x30-common/prebuilt/animations/charging_animation_blank_H.png:system/semc/chargemon/data/charging_animation_blank.png
#LCD DENSITY
PRODUCT_PROPERTY_OVERRIDES += \

BIN
kernel

Binary file not shown.

View File

@ -1,13 +1,15 @@
#!/sbin/sh
# fixing CPU clocks to avoid issues in recovery
echo 1024000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 245000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
cat /dev/input/event1 > /dev/keycheck&
sleep 3
kill -9 $!
if [ -s /dev/keycheck -o -e /cache/recovery/boot ]
then
# fixing CPU clocks to avoid issues in recovery
echo 1024000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 245000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 0 > /sys/class/android_usb/android0/enable
echo 18d1 > /sys/class/android_usb/android0/idVendor
@ -15,8 +17,6 @@ echo D002 > /sys/class/android_usb/android0/idProduct
echo adb > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
stop adbd
#start adbd
#setprop sys.usb.state adb
rm /cache/recovery/boot
mount -o remount,rw rootfs /

View File

@ -52,7 +52,7 @@ dev=/sys/devices/i2c-0/0-0040/leds
echo 1,65,255,24,24,5,128 > $dev/lcd-backlight/als/curve # ALS curve for group1
echo 2,0,0,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 450 > $dev/button-backlight/max_current
echo 250 > $dev/button-backlight/max_current
# TI BQ275xx firmware loader
bq275xx_fwloader

View File

@ -1,4 +1,5 @@
# Prebuilt kl keymaps
usr/idc/clearpad.idc
usr/keychars/qwerty.kcm.bin
usr/keylayout/atdaemon.kl
usr/keylayout/clearpad.kl
@ -12,7 +13,7 @@ usr/keylayout/us104-keyboard.kl
usr/keylayout/usb_mouse.kl
## RIL related stuff
lib/libril.so
#lib/libril.so
bin/port-bridge
bin/qmuxd
lib/libauth.so
@ -31,7 +32,7 @@ lib/libpbmlib.so
lib/libqmi.so
lib/libqueue.so
lib/libuim.so
lib/libreference-ril.so
#lib/libreference-ril.so
lib/libril-qc-1.so
lib/libwms.so
lib/libwmsts.so
@ -78,16 +79,8 @@ usr/semc/camera/SOD08BN1.dat
usr/semc/camera/SOD08BN1_DW9714.dat
usr/semc/camera/SOD08BN1_IMX105.dat
## FIRMWARE
etc/firmware/bq27520_fw-0507_filever-0112_proj-hall_golden.bqfs
etc/firmware/fm_rx_init_1273.1.bts
etc/firmware/fm_rx_init_1273.2.bts
etc/firmware/fm_tx_init_1273.1.bts
etc/firmware/fm_tx_init_1273.2.bts
etc/firmware/fmc_init_1273.1.bts
etc/firmware/fmc_init_1273.2.bts
etc/firmware/TIInit_7.5.20.bts
etc/firmware/TIInit_7.6.15.bts
etc/firmware/vidc_720p_command_control.fw
@ -100,28 +93,21 @@ etc/firmware/vidc_720p_vc1_dec_mc.fw
etc/firmware/yamato_pfp.fw
etc/firmware/yamato_pm4.fw
## WIFI & BT TI1271
#bin/nvimport
#bin/hciattach
etc/init.qcom.bt.sh
#etc/wifi/tiwlan.ini
#etc/wifi/tiwlan_firmware.bin
#etc/wifi/softap/tiwlan_ap.ini
#etc/wifi/softap/tiwlan_firmware_ap.bin
#etc/wifi/hostapd.conf
## Adreno 200 files
lib/libC2D2.so
lib/libOpenVG.so
lib/libgsl.so
#lib/hw/gralloc.semc.so
#lib/hw/overlay.semc.so
lib/libsc-a2xx.so
lib/egl/libGLESv1_CM_adreno200.so
lib/egl/libq3dtools_adreno200.so
lib/egl/libEGL_adreno200.so
lib/egl/libGLESv2_adreno200.so
## Other libraries and proprietary binaries
#lib/liba2dp.so
#lib/libaudio.so
lib/libaudioalsa.so
etc/als_curve.conf
etc/vold.fstab
@ -136,9 +122,3 @@ lib/libmiscta.so
etc/firmware/touch_module_id_0x01.img
etc/firmware/touch_module_id_0x02.img
etc/firmware/touch_module_id_0x11.img
#ANT*
#app/AntHalService.apk
#etc/permissions/com.dsi.ant.antradio_library.xml
#framework/com.dsi.ant.antradio_library.jar
#lib/libanthal.so

View File

@ -25,11 +25,8 @@ MAKEFILE=../../../$OUTDIR/$DEVICE-vendor-blobs.mk
# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \\
$OUTDIR/proprietary/lib/libaudioalsa.so:obj/lib/libaudioalsa.so
# $OUTDIR/proprietary/lib/libcamera.so:obj/lib/libcamera.so
# $OUTDIR/proprietary/lib/libaudio.so:obj/lib/libaudio.so \\
# $OUTDIR/proprietary/lib/liba2dp.so:obj/lib/liba2dp.so \\
PRODUCT_COPY_FILES += \\
PRODUCT_COPY_FILES := \\
EOF
LINEEND=" \\"