Skip to content

Commit

Permalink
Merge pull request AOKP#5 from AOKPSGS/master
Browse files Browse the repository at this point in the history
Fascinatemtd merge (3/3)
  • Loading branch information
romanbb committed Mar 3, 2012
2 parents 14c9a7d + 2057403 commit 5aa6fc1
Show file tree
Hide file tree
Showing 18 changed files with 206 additions and 0 deletions.
24 changes: 24 additions & 0 deletions fascinatemtd/BoardConfigVendor.mk
@@ -0,0 +1,24 @@
# Copyright (C) 2010 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.

BOARD_GPS_LIBRARIES := libgps libsecgps

USE_CAMERA_STUB := false

BOARD_USES_GENERIC_AUDIO := false

BOARD_USES_LIBSECRIL_STUB := false

BOARD_NO_PAGE_FLIPPING := false
BOARD_NO_32BPP := false
36 changes: 36 additions & 0 deletions fascinatemtd/fascinatemtd-vendor-blobs.mk
@@ -0,0 +1,36 @@
# Copyright (C) 2010 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.

# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \
vendor/samsung/fascinatemtd/proprietary/libril.so:obj/lib/libril.so \
vendor/samsung/fascinatemtd/proprietary/libsecril-client.so:obj/lib/libsecril-client.so


# All the blobs necessary for galaxys devices
PRODUCT_COPY_FILES += \
vendor/samsung/fascinatemtd/proprietary/libril.so:system/lib/libril.so \
vendor/samsung/fascinatemtd/proprietary/libsecril-client.so:system/lib/libsecril-client.so \
vendor/samsung/fascinatemtd/proprietary/libsec-ril40.so:system/lib/libsec-ril40.so \
vendor/samsung/fascinatemtd/proprietary/rild:system/bin/rild \
vendor/samsung/fascinatemtd/proprietary/pppd_runner:system/bin/pppd_runner \
vendor/samsung/fascinatemtd/proprietary/gpsd:system/vendor/bin/gpsd \
vendor/samsung/fascinatemtd/proprietary/gps.conf:system/etc/gps.conf \
vendor/samsung/fascinatemtd/proprietary/gps.aries.so:system/lib/hw/gps.aries.so \
vendor/samsung/fascinatemtd/proprietary/libsensor_yamaha_test.so:system/vendor/lib/libsensor_yamaha_test.so \
vendor/samsung/fascinatemtd/proprietary/geomagneticd:system/vendor/bin/geomagneticd \
vendor/samsung/fascinatemtd/proprietary/orientationd:system/vendor/bin/orientationd \
vendor/samsung/fascinatemtd/proprietary/sensors.aries.so:system/lib/hw/sensors.aries.so \
vendor/samsung/fascinatemtd/proprietary/ip-up:system/etc/ppp/ip-up \
vendor/samsung/fascinatemtd/proprietary/ip-down:system/etc/ppp/ip-down
36 changes: 36 additions & 0 deletions fascinatemtd/fascinatemtd-vendor-blobs.mk~
@@ -0,0 +1,36 @@
# Copyright (C) 2010 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.

# Prebuilt libraries that are needed to build open-source libraries
PRODUCT_COPY_FILES := \
vendor/samsung/fascinatemtd/proprietary/libril.so:obj/lib/libril.so \
vendor/samsung/fascinatemtd/proprietary/libsecril-client.so:obj/lib/libsecril-client.so


# All the blobs necessary for galaxys devices
PRODUCT_COPY_FILES += \
vendor/samsung/fascinatemtd/proprietary/libril.so:system/lib/libril.so \
vendor/samsung/fascinatemtd/proprietary/libsecril-client.so:system/lib/libsecril-client.so \
vendor/samsung/fascinatemtd/proprietary/libsec-ril40.so:system/lib/libsec-ril40.so \
vendor/samsung/fascinatemtd/proprietary/rild:system/bin/rild \
vendor/samsung/fascinatemtd/proprietary/pppd_runner:system/bin/pppd_runner \
vendor/samsung/fascinatemtd/proprietary/gpsd:system/vendor/bin/gpsd \
vendor/samsung/fascinatemtd/proprietary/gps.conf:system/etc/gps.conf \
vendor/samsung/fascinatemtd/proprietary/gps.aries.so:system/lib/hw/gps.aries.so \
vendor/samsung/fascinatemtd/proprietary/libsensor_yamaha_test.so:system/vendor/lib/libsensor_yamaha_test.so \
vendor/samsung/fascinatemtd/proprietary/geomagneticd:system/vendor/bin/geomagneticd \
vendor/samsung/fascinatemtd/proprietary/orientationd:system/vendor/bin/orientationd \
vendor/samsung/fascinatemtd/proprietary/sensors.aries.so:system/lib/hw/sensors.aries.so
vendor/samsung/fascinatemtd/proprietary/ip-up:system/etc/ppp/ip-up \
vendor/samsung/fascinatemtd/proprietary/ip-down:system/etc/ppp/ip-down \
28 changes: 28 additions & 0 deletions fascinatemtd/fascinatemtd-vendor.mk
@@ -0,0 +1,28 @@
# Copyright (C) 2010 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.

# Live wallpaper packages and Themes
PRODUCT_PACKAGES := \
LiveWallpapers \
LiveWallpapersPicker \
MagicSmokeWallpapers \
VisualizationWallpapers \
librs_jni

# Publish that we support the live wallpaper feature.
PRODUCT_COPY_FILES := \
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml

$(call inherit-product, vendor/samsung/fascinatemtd/fascinatemtd-vendor-blobs.mk)
$(call inherit-product, vendor/samsung/aries-common/aries-vendor-blobs.mk)
Binary file added fascinatemtd/proprietary/geomagneticd
Binary file not shown.
Binary file added fascinatemtd/proprietary/gps.aries.so
Binary file not shown.
55 changes: 55 additions & 0 deletions fascinatemtd/proprietary/gps.conf
@@ -0,0 +1,55 @@
NTP_SERVER=us.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=0.north-america.pool.ntp.org
NTP_SERVER=1.north-america.pool.ntp.org
NTP_SERVER=2.north-america.pool.ntp.org
NTP_SERVER=3.north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 5

# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1

# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0

################################
##### AGPS server settings #####
################################

# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
SUPL_HOST=supl.google.com
SUPL_PORT=7276

# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234

#################################
##### EXTRA SETTINGS #####
#################################

# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1

#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE

# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE

#########################################
##### GPS QUICKEST FIX V1.3 By RJLM #####
#########################################
Binary file added fascinatemtd/proprietary/gpsd
Binary file not shown.
14 changes: 14 additions & 0 deletions fascinatemtd/proprietary/ip-down
@@ -0,0 +1,14 @@
#!/system/bin/sh
case $1 in
ppp1)
echo 0 > /proc/sys/net/ipv4/ip_forward;
;;
esac

# Use interface name if linkname is not available
NAME=${LINKNAME:-"$1"}

/system/bin/setprop "net.$NAME.dns1" "$DNS1"
/system/bin/setprop "net.$NAME.dns2" "$DNS2"
/system/bin/setprop "net.$NAME.local-ip" "$IPLOCAL"
/system/bin/setprop "net.$NAME.remote-ip" "$IPREMOTE"
13 changes: 13 additions & 0 deletions fascinatemtd/proprietary/ip-up
@@ -0,0 +1,13 @@
#!/system/bin/sh
PATH="/system/bin"

setprop "net.cdma.ppp.interface" "$IFNAME"
setprop "net.$IFNAME.local-ip" "$IPLOCAL"
setprop "net.$IFNAME.remote-ip" "$IPREMOTE"
setprop "net.$IFNAME.dns1" "$DNS1"
setprop "net.$IFNAME.dns2" "$DNS2"


# FIXME
setprop ril.cdma.data_state 2

Binary file added fascinatemtd/proprietary/libril.so
Binary file not shown.
Binary file added fascinatemtd/proprietary/libsec-ril40.so
Binary file not shown.
Binary file added fascinatemtd/proprietary/libsecril-client.so
Binary file not shown.
Binary file added fascinatemtd/proprietary/libsensor_yamaha_test.so
Binary file not shown.
Binary file added fascinatemtd/proprietary/orientationd
Binary file not shown.
Binary file added fascinatemtd/proprietary/pppd_runner
Binary file not shown.
Binary file added fascinatemtd/proprietary/rild
Binary file not shown.
Binary file added fascinatemtd/proprietary/sensors.aries.so
Binary file not shown.

0 comments on commit 5aa6fc1

Please sign in to comment.