Compare commits
23 Commits
cm-7.1.0
...
gingerbrea
| Author | SHA1 | Date | |
|---|---|---|---|
| 24ef3f1dec | |||
|
|
ea3b4a53bd | ||
|
|
cd2ba44217 | ||
|
|
6077c52b1d | ||
|
|
eff2a8044b | ||
|
|
1fed334475 | ||
|
|
8659ff93f4 | ||
|
|
b848627dcd | ||
|
|
ff9d9e3fa4 | ||
|
|
3219d207b4 | ||
|
|
eb2454df06 | ||
|
|
700c3e8f95 | ||
|
|
d69b23ad0b | ||
|
|
33c01282bb | ||
|
|
7f0d83784e | ||
|
|
3465f1b281 | ||
|
|
f928f2aeed | ||
|
|
6ce104a582 | ||
|
|
efe5668ff3 | ||
|
|
4ec7936151 | ||
|
|
89069e2747 | ||
|
|
5954c1463d | ||
|
|
a00f55ce5f |
@@ -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
|
||||
|
||||
|
||||
4
click.mk
4
click.mk
@@ -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
|
||||
|
||||
|
||||
BIN
custom/kernel
BIN
custom/kernel
Binary file not shown.
Binary file not shown.
14
goo.mk
Normal file
14
goo.mk
Normal 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
|
||||
@@ -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.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user