Skip to content

Commit

Permalink
Committing P5 device tree changes (thanks to isimobile)
Browse files Browse the repository at this point in the history
  • Loading branch information
poisike authored and motley-git committed Jan 27, 2012
1 parent cdd408f commit 89221bf
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 22 deletions.
2 changes: 2 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay

BOARD_USES_HC_RADIO := true

# Include p5-common
-include device/samsung/p5-common/BoardConfigCommon.mk

Expand Down
24 changes: 5 additions & 19 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,23 @@
<resources>

<!-- This device is not "voice capable"; it's data-only. -->
<bool name="config_voice_capable">false</bool>
<bool name="config_voice_capable">true</bool>

<!-- This device does not allow sms service. -->
<bool name="config_sms_capable">true</bool>

<!-- The default iface on which to monitor data use -->
<string name="config_datause_iface">rmnet0</string>

<string-array translatable="false" name="config_tether_usb_regexs">
<item>"rndis0"</item>
</string-array>
<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bnep\\d"</item>
</string-array>

<integer-array translatable="false" name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
</integer-array>

<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>

<!-- Boolean indicating whether the wifi chipset has background scan support -->
<bool translatable="false" name="config_wifi_background_scan_support">true</bool>

<string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string>

<string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string>
<!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
Please don't copy them, copy anything else. -->
Please don't copy them, copy anything else. -->

<!-- This string array should be overridden by the device to present a list of network
attributes. This is used by the connectivity manager to decide which networks can coexist
Expand Down Expand Up @@ -81,5 +68,4 @@
<item>"0,1"</item>
<item>"7,1"</item>
</string-array>

</resources>
27 changes: 27 additions & 0 deletions overlay/frameworks/base/packages/SystemUI/res/values/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** 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.
*/
-->

<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>

<!-- Control whether status bar should distinguish HSPA data icon form UMTS
data icon on devices -->
<bool name="config_hspa_data_distinguishable">true</bool>
</resources>
3 changes: 3 additions & 0 deletions p5.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ $(call inherit-product, device/samsung/p5-common/p5-common.mk)

$(call inherit-product-if-exists, vendor/samsung/p5/p5-vendor.mk)

DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay

PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0
PRODUCT_NAME := p5
PRODUCT_DEVICE := p5
Expand Down
30 changes: 28 additions & 2 deletions proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,19 @@ etc/firmware/nvddk_audiofx_transport.axf
etc/firmware/nvmm_aacdec.axf
etc/firmware/nvmm_adtsdec.axf
etc/firmware/nvmm_audiomixer.axf
etc/firmware/nvmm_h264dec2x.axf
etc/firmware/nvmm_h264dec.axf
etc/firmware/nvmm_jpegdec.axf
etc/firmware/nvmm_jpegenc.axf
etc/firmware/nvmm_manager.axf
etc/firmware/nvmm_mp2dec.axf
etc/firmware/nvmm_mp3dec.axf
etc/firmware/nvmm_mpeg2dec.axf
etc/firmware/nvmm_mpeg4dec.axf
etc/firmware/nvmm_reference.axf
etc/firmware/nvmm_service.axf
etc/firmware/nvmm_sorensondec.axf
etc/firmware/nvmm_vc1dec_2x.axf
etc/firmware/nvmm_vc1dec.axf
etc/firmware/nvmm_wavdec.axf
etc/firmware/nvmm_wmadec.axf
Expand All @@ -48,11 +51,12 @@ lib/hw/gps.tegra.so
lib/hw/gralloc.tegra.so
lib/hw/hwcomposer.tegra.so
lib/hw/lights.p3.so
lib/hw/overlay.tegra.so*
lib/hw/overlay.tegra.so
lib/hw/sensors.p3.so
lib/liba2dp.so
lib/libakm.so
lib/libarccamera.so
lib/libardrv_dynamic.so
lib/libaudiopolicy.so
lib/libaudio.so
lib/libcamera.so
Expand All @@ -61,6 +65,13 @@ lib/liblvvefs.so
lib/libmllite.so
lib/libmlplatform.so
lib/libmpl.so
lib/libnvapputil.so
lib/libnvasfparserhal.so
lib/libnvaviparserhal.so
lib/libnvavp.so
lib/libnvcontrol_jni.so
lib/libnvcpud_client.so
lib/libnvcpud.so
lib/libnvddk_2d.so
lib/libnvddk_2d_v2.so
lib/libnvddk_aes_user.so
Expand All @@ -69,12 +80,19 @@ lib/libnvddk_vmr.so
lib/libnvdispatch_helper.so
lib/libnvdispmgr_d.so
lib/libnvec.so
lib/libnvhdmi3dplay_jni.so
lib/libnvmm_asfparser.so
lib/libnvmm_audio.so
lib/libnvmm_aviparser.so
lib/libnvmm_camera.so
lib/libnvmm_contentpipe.so
lib/libnvmm_image.so
lib/libnvmmlite_audio.so
lib/libnvmmlite_image.so
lib/libnvmmlite_msaudio.so
lib/libnvmmlite.so
lib/libnvmmlite_utils.so
lib/libnvmmlite_video.so
lib/libnvmm_manager.so
lib/libnvmm_misc.so
lib/libnvmm_msaudio.so
Expand All @@ -89,17 +107,24 @@ lib/libnvmm_video.so
lib/libnvmm_vp6_video.so
lib/libnvmm_writer.so
lib/libnvodm_dtvtuner.so
lib/libnvodm_hdmi.so
lib/libnvodm_imager.so
lib/libnvodm_misc.so
lib/libnvodm_query.so
lib/libnvomxadaptor.so
lib/libnvomxilclient.so
lib/libnvomx.so
lib/libnvos.so
lib/libnvparser.so
lib/libnvrm_channel.so
lib/libnvrm_graphics.so
lib/libnvrm.so
lib/libnvsm.so
lib/libnvstereoutils_jni.so
lib/libnvsystemuiext_jni.so
lib/libnvtestio.so
lib/libnvtestresults.so
lib/libnvtvmr.so
lib/libnvwinsys.so
lib/libnvwsi.so
lib/libPanoraMax3.so
Expand All @@ -111,6 +136,7 @@ lib/lib_Samsung_Sound_Booster.so
lib/libseccameraadaptor.so
lib/libseccamera.so
lib/libsecjpegencoder.so
lib/libsec-ril.so
lib/libsecril-client.so
lib/libsec-ril.so
lib/libstagefrighthw.so
lib/omxplayer.so
8 changes: 7 additions & 1 deletion system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ wifi.interface=eth0
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttys0
keyguard.no_require_sim=yes
ro.telephony.ril.v3=signalstrength,usehcradio
ro.telephony.ril_class=SamsungHCRIL

ro.com.google.clientidbase=android-samsung
ro.com.google.clientidbase.gmm=android-samsung
ro.com.google.clientidbase.yt=android-samsung

#Samung HWLCD Rotation
ro.sf.hwrotation=90
ro.sf.hwrotation=90

0 comments on commit 89221bf

Please sign in to comment.