summaryrefslogtreecommitdiffstats
path: root/proprietary-files.sh
diff options
context:
space:
mode:
authorShamir Husain <shamir88@gmail.com>2012-11-16 02:07:03 +0100
committerShamir Husain <shamir88@gmail.com>2012-11-16 15:54:03 +0100
commit93963acee6de9d1fde5d2597427d13218eca7cad (patch)
tree18ef3fbb1d75546986c95215b25c08a0c9afa59a /proprietary-files.sh
parentc1a910a1fd1c0e14c744d0e1ffc1afb45bbcf94b (diff)
downloaddevice_samsung_n7100-93963acee6de9d1fde5d2597427d13218eca7cad.zip
device_samsung_n7100-93963acee6de9d1fde5d2597427d13218eca7cad.tar.gz
device_samsung_n7100-93963acee6de9d1fde5d2597427d13218eca7cad.tar.bz2
n7100 dont share common gps blobs with i9300/n8xx
rearrange Change-Id: I5dd9c4065fa16fbd817e349e18628b156c6be7c7
Diffstat (limited to 'proprietary-files.sh')
-rwxr-xr-xproprietary-files.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/proprietary-files.sh b/proprietary-files.sh
index 72407f9..89fb9c2 100755
--- a/proprietary-files.sh
+++ b/proprietary-files.sh
@@ -24,9 +24,11 @@ mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/proprietary
adb root
sleep 3
+adb pull /system/bin/gpsd ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/bin/gpsd
adb pull /system/bin/rild ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/bin/rild
adb pull /system/bin/sensorservice ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/bin/sensorservice
adb pull /system/bin/sensorhubservice ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/bin/sensorhubservice
+adb pull /system/lib/hw/gps.exynos4.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/lib/hw/gps.exynos4.so
adb pull /system/lib/hw/vendor-camera.exynos4.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/lib/hw/camera.smdk4x12.so
adb pull /system/lib/hw/sensors.smdk4x12.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/lib/hw/sensors.smdk4x12.so
adb pull /system/lib/hw/sensorhubs.smdk4x12.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/lib/hw/sensorhubs.smdk4x12.so
@@ -37,9 +39,9 @@ adb pull /system/lib/libsensorhubservice.so ../../../vendor/$MANUFACTURER/$DEVIC
adb pull /system/usr/idc/sec_e-pen.idc ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/usr/idc/sec_e-pen.idc
adb pull /system/usr/keylayout/sec_e-pen.kl ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/usr/keylayout/sec_e-pen.kl
adb pull /system/usr/keylayout/sec_touchkey.kl ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/usr/keylayout/sec_touchkey.kl
+adb pull /system/vendor/firmware/libpn544_fw.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/vendor/firmware/libpn544_fw.so
adb pull /system/vendor/firmware/SlimISP_GK.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/vendor/firmware/SlimISP_GK.bin
adb pull /system/vendor/firmware/SlimISP_ZK.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/vendor/firmware/SlimISP_ZK.bin
-adb pull /system/vendor/firmware/libpn544_fw.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/vendor/firmware/libpn544_fw.so
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/$DEVICE-vendor-blobs.mk
@@ -60,6 +62,7 @@ adb pull /system/vendor/firmware/libpn544_fw.so ../../../vendor/$MANUFACTURER/$D
LOCAL_PATH := vendor/samsung/n7100
PRODUCT_COPY_FILES += \\
+ \$(LOCAL_PATH)/proprietary/system/bin/gpsd:system/bin/gpsd \\
\$(LOCAL_PATH)/proprietary/system/bin/sensorservice:system/bin/sensorservice \\
\$(LOCAL_PATH)/proprietary/system/bin/sensorhubservice:system/bin/sensorhubservice \\
\$(LOCAL_PATH)/proprietary/system/bin/rild:system/bin/rild
@@ -71,6 +74,7 @@ PRODUCT_COPY_FILES += \\
\$(LOCAL_PATH)/proprietary/system/lib/libsensorhubservice.so:system/lib/libsensorhubservice.so
PRODUCT_COPY_FILES += \\
+ \$(LOCAL_PATH)/proprietary/system/lib/hw/gps.exynos4.so:system/lib/hw/gps.exynos4.so \\
\$(LOCAL_PATH)/proprietary/system/lib/hw/camera.smdk4x12.so:system/lib/hw/vendor-camera.exynos4.so \\
\$(LOCAL_PATH)/proprietary/system/lib/hw/sensors.smdk4x12.so:system/lib/hw/sensors.smdk4x12.so \\
\$(LOCAL_PATH)/proprietary/system/lib/hw/sensorhubs.smdk4x12.so:system/lib/hw/sensorhubs.smdk4x12.so
@@ -83,9 +87,9 @@ PRODUCT_COPY_FILES += \\
\$(LOCAL_PATH)/proprietary/system/usr/keylayout/sec_touchkey.kl:system/usr/keylayout/sec_touchkey.kl
PRODUCT_COPY_FILES += \\
+ \$(LOCAL_PATH)/proprietary/system/vendor/firmware/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so \\
\$(LOCAL_PATH)/proprietary/system/vendor/firmware/SlimISP_GK.bin:system/vendor/firmware/SlimISP_GK.bin \\
- \$(LOCAL_PATH)/proprietary/system/vendor/firmware/SlimISP_ZK.bin:system/vendor/firmware/SlimISP_ZK.bin \\
- \$(LOCAL_PATH)/proprietary/system/vendor/firmware/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so
+ \$(LOCAL_PATH)/proprietary/system/vendor/firmware/SlimISP_ZK.bin:system/vendor/firmware/SlimISP_ZK.bin
EOF