23 Commits

Author SHA1 Message Date
24ef3f1dec click: add goo.im support 2012-05-29 09:24:38 +01:00
Arne Coucheron
ea3b4a53bd click: Update prebuilt kernel and module
Change-Id: I1f6e2adbb03fa4891d3f52e9bd06e8d19cb3fbdc
2012-03-18 16:57:13 +01:00
Arne Coucheron
cd2ba44217 click: Disable scrolling cache
Change-Id: If70d547192d1b767b4be648ff4a42db7dfc63c5c
2012-02-18 21:12:34 +01:00
Arne Coucheron
6077c52b1d click: Enable alpha transformation
Helps eliminate glitches in the new transitions.

Change-Id: I1c97e3d73a38a4653a544f3b8246293e26709e40
2012-02-01 09:37:52 +01:00
Arne Coucheron
eff2a8044b click: Update prebuilt kernel and module
Change-Id: Ib866fbf82548c39ed4c685081cd622945dcbd383
2012-02-01 07:37:27 +01:00
Arne Coucheron
1fed334475 click: Fix rotation derpage
Change-Id: I03c3f3c4d485e18d87baf282cdea9874dd6d840a
2012-01-30 08:32:39 +01:00
Arne Coucheron
8659ff93f4 click: Add TARGET_OTA_ASSERT_DEVICE
Change-Id: I91ad3cf98fcceec5f1d03c956b01ab65b68f8099
2011-12-21 07:49:56 +01:00
Arne Coucheron
b848627dcd click: Update prebuilt kernel
Interactive governor updates.

Change-Id: I6bb48740537cfac1d98a45c512aa26d511612e84
2011-12-21 07:38:04 +01:00
Emilio López
ff9d9e3fa4 click: fix camera failure after zoom usage
libcamera was changing the image resolution without updating
mRawWidth and mRawHeight, and this caused initRaw to take pictures
with the previous resolution. If that resolution was unsuitable
because of zoom level, it would cause the camera to fail until
it was restarted.

This patch updates both variables to reflect the modified
resolution so initRaw always takes pictures with the correct
width and height.

Change-Id: I33e8445a65ac667a030b35b103f86be46381abc4
2011-11-28 09:04:38 +01:00
Arne Coucheron
3219d207b4 click: Update prebuilt kernel and module
Interactive governor updates

Change-Id: I13c67ffa28056e82cf5a5de4e97bc15c739ac960
2011-11-18 06:15:18 +01:00
Arne Coucheron
eb2454df06 click: Update prebuilt kernel and module
Change-Id: I1d4dcef2d37951ba9dee1c26ab18cd1d0386ba78
2011-11-12 08:33:49 +01:00
Arne Coucheron
700c3e8f95 click: Revert ACC minSampleRate to 8000
Change-Id: I16cdbc7e9a336d49f9e404414c83ceef9e80dd7e
2011-11-08 07:22:21 +01:00
Arne Coucheron
d69b23ad0b click: Increase video recording resolution
Also raise minSampleRate to 16000 for AAC audio, to bypass a recent
bug causing audio to only be recorded in 8000Hz.

Change-Id: I9100a751e7dafe6bbe2df789a08d2b85b3ae3c72
2011-11-05 20:10:36 +01:00
Arne Coucheron
33c01282bb click: Update prebuilt kernel
Change-Id: Ied564d2c8e3c1dd324e54ffbaceb87fd14c74380
2011-11-01 07:53:57 +01:00
Arne Coucheron
7f0d83784e click: Some small cleanups in a couple of overlay configs
Change-Id: Id48487630a491e00ae956df925bfad097ce40af9
2011-10-23 08:01:14 +02:00
Arne Coucheron
3465f1b281 click: Route muting through AudioManager and cleanup phone config
Change-Id: I80ad4bc66019335a7aeca63933a693e491d1c1be
2011-10-23 07:57:24 +02:00
Arne Coucheron
f928f2aeed Merge "click: media_profile: Save AAC stream as stereo, and increase video bitrate" into gingerbread 2011-10-22 11:34:51 +04:00
Arne Coucheron
6ce104a582 click: media_profile: Save AAC stream as stereo, and increase video bitrate
Solves an issue where certain media players only play first few
seconds of the audio, due to not properly handling single channel AAC audio.

Videos taken on the phone, that are uploaded to YouTube also suffers from this issue.

Change-Id: Ia9115a6d2cec419cc4d1d55ba876377dabcb91e3
2011-10-22 09:14:08 +02:00
Arne Coucheron
efe5668ff3 click: Allow screen to fade off when electron beam animation disabled
Due to condition change made by http://review.cyanogenmod.com/8494
screen won't fade off when electron beam animation disabled with
overlay config_animateScreenLights set to false.

This removes the overlay config to use its default value.

Change-Id: I116250412591d3eec95180e1576887104e522618
2011-10-22 02:41:24 +02:00
Arne Coucheron
4ec7936151 click: Updated kernel and janky backbuffer fix
Change-Id: I29ce6d9d228deafaf242bd53ab034a2a446256bb
2011-10-21 08:10:15 +02:00
Arne Coucheron
89069e2747 click: override dirty_ratio on UMS
Change-Id: I2386f867301abc3648763ad445dea363ee7d8116
2011-10-15 02:26:31 +02:00
Arne Coucheron
5954c1463d click: Adjust center ring offset in lockscreen
Change-Id: I4ecbaf7fe25f9bd73006cceb83ca992764af5a71
2011-10-13 07:32:48 +02:00
KalimochoAz
a00f55ce5f Enable again wlan_loader
Since is needed to load wifi stuff, this is again in build

Change-Id: I43ceb4b58928b22b62a6943021be58bb35a30532
2011-10-10 18:19:16 +02:00
12 changed files with 58 additions and 126 deletions

View File

@@ -21,11 +21,13 @@ TARGET_CPU_ABI := armeabi-v6j
TARGET_CPU_ABI2 := armeabi
TARGET_BOOTLOADER_BOARD_NAME := bahamas
TARGET_OTA_ASSERT_DEVICE := click,tattoo
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true
BOARD_LDPI_RECOVERY := true
BOARD_HAS_JANKY_BACKBUFFER := true
TARGET_PREBUILT_KERNEL := device/htc/click/custom/kernel
@@ -41,7 +43,7 @@ WIFI_FIRMWARE_LOADER := "wlan_loader"
TARGET_PROVIDES_INIT_RC := false
BOARD_KERNEL_CMDLINE := no_console_suspend=1
BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
BOARD_KERNEL_BASE := 0x02E00000
BOARD_KERNEL_PAGESIZE := 2048

View File

@@ -32,6 +32,7 @@ PRODUCT_PACKAGES += \
libOmxVidEnc \
tiwlan.ini \
dhcpcd.conf \
wlan_loader \
dexpreopt
DISABLE_DEXPREOPT := false
@@ -84,6 +85,9 @@ $(call inherit-product, device/common/gps/gps_eu_supl.mk)
$(call inherit-product, device/htc/common/common.mk)
$(call inherit-product, build/target/product/full_base.mk)
# Add goo.im support
$(call inherit-product, device/htc/click/goo.mk)
PRODUCT_NAME := htc_click
PRODUCT_DEVICE := click

Binary file not shown.

Binary file not shown.

14
goo.mk Normal file
View File

@@ -0,0 +1,14 @@
#
# Copyright (C) 2012 the arifali
#
# GooManager specific stuff
#
PRODUCT_PROPERTY_OVERRIDES += \
ro.goo.developerid=arifali \
ro.goo.rom=cm7clicknightly \
ro.goo.version=$(shell date +%s)
# include goo manager
#PRODUCT_COPY_FILES += \
# device/htc/click/prebuilt/GooManager.apk:system/app/GooManager.apk

View File

@@ -20,6 +20,9 @@ on boot
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
# framebuffer permission for copybit
chmod 0666 /dev/graphics/fb0
chown radio system /sys/module/gpio_event/parameters/phone_call_status
chmod 0664 /sys/module/gpio_event/parameters/phone_call_status
@@ -74,8 +77,6 @@ on boot
write /proc/sys/kernel/sched_latency_ns 5000000
write /proc/sys/kernel/sched_wakeup_granularity_ns 100000
write /proc/sys/kernel/sched_min_granularity_ns 100000
write /proc/sys/vm/dirty_background_bytes 1024000
write /proc/sys/vm/dirty_bytes 10240000
# Assign TCP buffer thresholds to be ceiling value of technology maximums
# Increased technology maximums should be reflected here.

View File

@@ -97,6 +97,7 @@ struct preview_size_type {
static preview_size_type preview_sizes[] = {
{ 480, 320 }, // HVGA
{ 432, 320 }, // 1.35-to-1, for photos. (Rounded up from 1.3333 to 1)
{ 384, 288 }, // 4:3
{ 352, 288 }, // CIF
{ 336, 244 },
{ 320, 320 },
@@ -2014,7 +2015,9 @@ void QualcommCameraHardware::setZoom()
multiplier = getParm("picture-size", picturesize);
LOGV("Reducing picture quality; new multiplier: %d", multiplier);
}
level = zoomsel * (iscamcorder ? (multiplier*5)/6 : 5);
level = zoomsel * (iscamcorder ? (multiplier*5) / 6 : 5);
//Update the parameters so initRaw doesn't use the wrong size later
mParameters.getPictureSize(&mRawWidth, &mRawHeight);
LOGV("Level: %d, Multiplier: %d ZoomSel: %d",level,multiplier,zoomsel);
}
} else {

View File

@@ -81,23 +81,23 @@
<EncoderProfile quality="high" fileFormat="3gp" duration="60">
<Video codec="h263"
bitRate="360000"
width="352"
bitRate="720000"
width="384"
height="288"
frameRate="20" />
frameRate="24" />
<Audio codec="aac"
bitRate="64000"
sampleRate="16000"
channels="1" />
channels="2" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="h263"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
width="240"
height="160"
frameRate="20" />
<Audio codec="amrnb"
bitRate="12200"
@@ -123,26 +123,26 @@
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="352"
minFrameWidth="176" maxFrameWidth="384"
minFrameHeight="144" maxFrameHeight="288"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="352"
minBitRate="64000" maxBitRate="720000"
minFrameWidth="176" maxFrameWidth="384"
minFrameHeight="144" maxFrameHeight="288"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="352"
minFrameWidth="176" maxFrameWidth="384"
minFrameHeight="144" maxFrameHeight="288"
minFrameRate="1" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8192" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
minChannels="1" maxChannels="2" />
<AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23050"

View File

@@ -24,7 +24,7 @@
alpha compositing functionality in hardware. If set, the window
manager will disable alpha trasformation in animations where not
strictly needed. -->
<bool name="config_sf_limitedAlpha">true</bool>
<bool name="config_sf_limitedAlpha">false</bool>
<!-- Flag indicating whether the surface flinger is inefficient
at performing a blur. Used by parts of the UI to turn off
@@ -65,10 +65,6 @@
<item>"tiwlan\\d"</item>
</string-array>
<!-- If this is true, the screen will fade off.
Setting it to false enables the electron beam -->
<bool name="config_animateScreenLights">false</bool>
<!-- Enable the screen-off animation -->
<bool name="config_enableScreenOffAnimation">false</bool>
@@ -84,10 +80,6 @@
<!-- Component name of the service providing geocoder API support. -->
<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
<!-- Handle notifications differently if device only uses an amber/green
LED. This also needs a liblights module that enables them accordingly. -->
<bool name="config_amber_green_light">false</bool>
<!-- Configure rotary bottom margin -->
<integer name="config_rotaryMarginBottomDIP">0</integer>
@@ -98,5 +90,5 @@
<integer name="config_ringBaselineBottomDIP">110</integer>
<!-- Configure ring lockscreen center ring offset -->
<integer name="config_ringCenterOffsetDIP">14</integer>
<integer name="config_ringCenterOffsetDIP">18</integer>
</resources>

View File

@@ -23,10 +23,10 @@
<mms_config version="4">
<!-- Maximum message size in bytes for a MMS message -->
<int name="maxMessageSize">0307200</int>
<int name="maxMessageSize">307200</int>
<!-- Maximum height for an attached image -->
<int name="maxImageHeight">0768</int>
<int name="maxImageHeight">768</int>
<!-- Maximum width for an attached image -->
<int name="maxImageWidth">1024</int>

View File

@@ -14,112 +14,23 @@
limitations under the License.
-->
<!-- Phone app resources that may need to be customized
for different hardware or product builds. -->
<!-- Tattoo-specific phone app resources. -->
<resources>
<!-- Flag indicating whether the Phone app should ignore
EVENT_SIM_NETWORK_LOCKED events from the Sim. If true, this will
prevent the IccNetworkDepersonalizationPanel from being shown,
and effectively disable the "Sim network lock" feature. -->
<bool name="ignore_sim_network_locked_events">false</bool>
<!-- Flag indicating whether the Phone app should provide
a "Dismiss" button on the SIM network unlock screen.
The default value is true.
If set to false, there will be *no way* to dismiss the SIM
network unlock screen if you don't enter the correct unlock code.
(One important consequence: there will be no way to make an
Emergency Call if your SIM is network-locked and you don't know
the PIN.) -->
<bool name="sim_network_unlock_allow_dismiss">true</bool>
<!-- If true, enable the onscreen touch UI for incoming calls.
This feature is necessary for devices with no hard SEND/END keys,
and optional on all other devices. -->
<!-- Enable the onscreen touch UI for all states of the in-call UI. -->
<bool name="allow_incoming_call_touch_ui">true</bool>
<!-- If true, enable the onscreen touch UI for regular "ongoing call"
states of the in-call UI.
In general, the touch UI is used for regular calls only on
devices with a proximity sensor. (On other devices, we can't
have touchable UI onscreen during a call because of the risk of
false cheek touches.)
TODO: maybe this can be determined algorithmically based on
specific properties of the device, perhaps by detecting the
presence of a proximity sensor and/or hard SEND/END keys. (If
so, we wouldn't need this flag at all.) -->
<bool name="allow_in_call_touch_ui">true</bool>
<!-- OTA configuration values, used when provisioning CDMA devices.
Following defaults values of zero means OTA UI is completely disabled.
These OTA UI can be enabled by setting config value to one in the product
specific overlay file -->
<!-- Determine whether we want to display the OTA activation screen, which
gives the user option to activate or cancel -->
<integer name="OtaShowActivationScreen">1</integer>
<!-- Determine whether we should show the "listen for instructions" screen after
successfully placing the OTA call -->
<integer name="OtaShowListeningScreen">0</integer>
<!-- The number of times we should show the activation screen/allow the provisioning
to fail before just showing an unsuccessful dialog -->
<integer name="OtaShowActivateFailTimes">0</integer>
<!-- Determine whether or not we should play the success/failure tone -->
<integer name="OtaPlaySuccessFailureTone">0</integer>
<!-- Flag indicating if the phone is a world phone -->
<bool name="world_phone">false</bool>
<!-- If true, enable vibration (haptic feedback) for key presses
in the EmergencyDialer activity. The pattern is set on a
per-platform basis using config_virtualKeyVibePattern. To be
consistent with the regular Dialer, this value should agree
with the corresponding values from config.xml under
apps/Contacts. -->
<bool name="config_enable_dialer_key_vibration">true</bool>
<!-- Flag indicating if the voicemail notification option is enabled -->
<bool name="voicemail_notification_enabled">true</bool>
<!-- Flag indicating if the tty is enabled -->
<bool name="tty_enabled">false</bool>
<!-- Flag indicating if hac is enabled -->
<bool name="hac_enabled">false</bool>
<!-- Flag indicating if dtmf tone type is enabled -->
<bool name="dtmf_type_enabled">false</bool>
<!-- Flag indicating if auto retry is enabled -->
<bool name="auto_retry_enabled">false</bool>
<!-- Determine whether we want to play local DTMF tones in a call, or
just let the radio/BP handle playing of the tones. -->
<bool name="allow_local_dtmf_tones">true</bool>
<!-- While an incoming call is ringing, this flag specifies whether
the BACK key should reject the current call (just like the
ENDCALL button does.)
This was originally the default behavior for all platforms, but
it's a bad idea on devices where the BACK key is a capacitive
button (since it's too easy to press the key accidentally as you
pull the phone out of your pocket.) So devices that *don't* want
this behavior should set this flag to false via the resource
overlay. -->
<!-- This is a device without capacitive buttons, so enable the feature
where BACK rejects the current incoming call. -->
<bool name="allow_back_key_to_reject_incoming_call">true</bool>
<!-- If true, show an onscreen "Dial" button in the dialer.
In practice this is used on all platforms even the ones with hard SEND/END
keys, but for maximum flexibility it's controlled by a flag here
(which can be overridden on a per-product basis.) -->
<!-- Enable the onscreen "Dial" button in the emergency dialer. -->
<bool name="config_show_onscreen_dial_button">true</bool>
<!-- Determine whether calls to mute the microphone in PhoneUtils
are routed through the android.media.AudioManager class (true) or through
the com.android.internal.telephony.Phone interface (false). -->
<bool name="send_mic_mute_to_AudioManager">false</bool>
<!-- Determines if device implements a noise suppression device for in call audio-->
<bool name="has_in_call_noise_suppression">false</bool>
<!-- This device uses libaudio which implements
AudioHardware::setMicMute(bool state) and AudioHardware::getMicMute(bool* state)
so microphone muting calls should be routed through the AudioManager API. -->
<bool name="send_mic_mute_to_AudioManager">true</bool>
</resources>

View File

@@ -62,6 +62,8 @@ dalvik.vm.execution-mode=int:jit
# Persist default parameters
persist.sys.use_dithering=1
persist.sys.purgeable_assets=0
persist.sys.rotationanimation=false
persist.sys.scrollingcache=2
# VM heap size
dalvik.vm.heapsize=24m
@@ -69,6 +71,9 @@ dalvik.vm.heapsize=24m
# Enable compcache
ro.compcache.default=18
# Lock dirty_ratio to 20 when USB is mounted for improved transfer speed
ro.vold.umsdirtyratio=20
# Makes HOME ADW / OTHERS to be always in memoory
pref_lock_home=1