1 Commits

Author SHA1 Message Date
KalimochoAz
342654497e Enable again wlan_loader
Since is needed to load wifi stuff, this is again in build

Change-Id: I31c5f561c4254b7de17f664326642ccca23a441a
2011-10-10 17:53:34 +01:00
12 changed files with 126 additions and 57 deletions

View File

@@ -21,13 +21,11 @@ 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
@@ -43,7 +41,7 @@ WIFI_FIRMWARE_LOADER := "wlan_loader"
TARGET_PROVIDES_INIT_RC := false
BOARD_KERNEL_CMDLINE := no_console_suspend=1 console=null
BOARD_KERNEL_CMDLINE := no_console_suspend=1
BOARD_KERNEL_BASE := 0x02E00000
BOARD_KERNEL_PAGESIZE := 2048

View File

@@ -85,9 +85,6 @@ $(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
View File

@@ -1,14 +0,0 @@
#
# 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,9 +20,6 @@ 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
@@ -77,6 +74,8 @@ 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,7 +97,6 @@ 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 },
@@ -2015,9 +2014,7 @@ void QualcommCameraHardware::setZoom()
multiplier = getParm("picture-size", picturesize);
LOGV("Reducing picture quality; new multiplier: %d", multiplier);
}
level = zoomsel * (iscamcorder ? (multiplier*5) / 6 : 5);
//Update the parameters so initRaw doesn't use the wrong size later
mParameters.getPictureSize(&mRawWidth, &mRawHeight);
level = zoomsel * (iscamcorder ? (multiplier*5)/6 : 5);
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="720000"
width="384"
bitRate="360000"
width="352"
height="288"
frameRate="24" />
frameRate="20" />
<Audio codec="aac"
bitRate="64000"
sampleRate="16000"
channels="2" />
channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="h263"
bitRate="192000"
width="240"
height="160"
frameRate="20" />
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
@@ -123,26 +123,26 @@
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="384"
minFrameWidth="176" maxFrameWidth="352"
minFrameHeight="144" maxFrameHeight="288"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="720000"
minFrameWidth="176" maxFrameWidth="384"
minBitRate="64000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="352"
minFrameHeight="144" maxFrameHeight="288"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="420000"
minFrameWidth="176" maxFrameWidth="384"
minFrameWidth="176" maxFrameWidth="352"
minFrameHeight="144" maxFrameHeight="288"
minFrameRate="1" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8192" maxBitRate="96000"
minSampleRate="8000" maxSampleRate="16000"
minChannels="1" maxChannels="2" />
minChannels="1" maxChannels="1" />
<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">false</bool>
<bool name="config_sf_limitedAlpha">true</bool>
<!-- Flag indicating whether the surface flinger is inefficient
at performing a blur. Used by parts of the UI to turn off
@@ -65,6 +65,10 @@
<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>
@@ -80,6 +84,10 @@
<!-- 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>
@@ -90,5 +98,5 @@
<integer name="config_ringBaselineBottomDIP">110</integer>
<!-- Configure ring lockscreen center ring offset -->
<integer name="config_ringCenterOffsetDIP">18</integer>
<integer name="config_ringCenterOffsetDIP">14</integer>
</resources>

View File

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

View File

@@ -14,23 +14,112 @@
limitations under the License.
-->
<!-- Tattoo-specific phone app resources. -->
<!-- Phone app resources that may need to be customized
for different hardware or product builds. -->
<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>
<!-- Enable the onscreen touch UI for all states of the in-call UI. -->
<!-- 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. -->
<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>
<!-- This is a device without capacitive buttons, so enable the feature
where BACK rejects the current incoming call. -->
<!-- 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. -->
<bool name="allow_back_key_to_reject_incoming_call">true</bool>
<!-- Enable the onscreen "Dial" button in the emergency dialer. -->
<!-- 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.) -->
<bool name="config_show_onscreen_dial_button">true</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>
<!-- 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>
</resources>

View File

@@ -62,8 +62,6 @@ 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
@@ -71,9 +69,6 @@ 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