semc: updated kernel and cleanup

This commit is contained in:
freexperia 2012-01-25 16:11:41 +02:00
parent 32693902ec
commit 475298c16f
5 changed files with 35 additions and 59 deletions

View File

@ -11,19 +11,8 @@ PRODUCT_NAME := urushi
PRODUCT_DEVICE := urushi
PRODUCT_MODEL := urushi
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/semc/urushi/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
-include device/semc/mogami-common/mogami.mk
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
DISABLE_DEXPREOPT := false
# These is the hardware-specific overlay, which points to the location
# of hardware-specific resource overrides, typically the frameworks and
# application settings that are stored in resourced.

BIN
kernel

Binary file not shown.

View File

@ -4,13 +4,11 @@
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
echo 0 > /sys/class/android_usb/android0/enable
echo 18d1 > /sys/class/android_usb/android0/idVendor
echo D002 > /sys/class/android_usb/android0/idProduct

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Copyright (C) 2010, 2011 Sony Ericsson Mobile Communications AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -12,6 +13,9 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
NOTE: This file has been modified by Sony Ericsson Mobile Communications AB.
Modifications are licensed under the License.
-->
<!DOCTYPE MediaSettings [
<!ELEMENT MediaSettings (CamcorderProfiles,
@ -22,7 +26,7 @@
AudioDecoderCap)>
<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
<!ELEMENT EncoderProfile (Video, Audio)>
<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
<!ATTLIST EncoderProfile quality (timelapse1080p|timelapse720p|timelapse480p|timelapsecif|timelapseqcif|720p|480p|cif|qcif) #REQUIRED>
<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
<!ELEMENT Video EMPTY>
@ -78,39 +82,28 @@
<MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="hd" fileFormat="mp4" duration="60">
<!--
Profiles for the back camera
-->
<EncoderProfile quality="720p" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="6000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
<Audio codec="aac"
bitRate="128000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="3000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<EncoderProfile quality="qcif" fileFormat="3gp" duration="20">
<Video codec="h263"
bitRate="256000"
bitRate="96000"
width="176"
height="144"
frameRate="30" />
frameRate="15" />
<Audio codec="amrnb"
bitRate="12200"
@ -132,20 +125,20 @@
<!--
Profiles for the front camera
-->
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<EncoderProfile quality="480p" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="4000000"
width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
<Audio codec="aac"
bitRate="128000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="20">
<EncoderProfile quality="qcif" fileFormat="3gp" duration="20">
<Video codec="h263"
bitRate="96000"
width="176"
@ -177,39 +170,35 @@
In other words, the applications won't be able to use the codec
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="8000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="800"
minBitRate="96000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="640"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="8000000"
<VideoEncoderCap name="h264" enabled="true"
minBitRate="96000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8192" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23050"
minSampleRate="16000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="96000" maxBitRate="10000000"
minFrameWidth="176" maxFrameWidth="1280"
minFrameHeight="144" maxFrameHeight="720"
minFrameRate="1" maxFrameRate="30" />
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="5525" maxBitRate="128000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<!--
FIXME:
We do not check decoder capabilities at present

View File

@ -13,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