summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShamir Husain <shamir88@gmail.com>2012-11-16 02:09:21 +0100
committerShamir Husain <shamir88@gmail.com>2012-11-16 16:01:42 +0100
commitc6f50d72aa2eb1653e393b2303368996aec6cbf0 (patch)
tree4cc22b1d481344b9191fbf9930656970cd3a1c3d
parent12e69d6fd90a36e83a0ad119804e92003c1d4230 (diff)
downloaddevice_samsung_i9300-c6f50d72aa2eb1653e393b2303368996aec6cbf0.zip
device_samsung_i9300-c6f50d72aa2eb1653e393b2303368996aec6cbf0.tar.gz
device_samsung_i9300-c6f50d72aa2eb1653e393b2303368996aec6cbf0.tar.bz2
n7100 dont share common gps blobs with i9300/n8xx
Patch Set 2: Rearrange Change-Id: Ibad2516b27cd9cf28d7a337bd6af0b4e5ee07254
-rwxr-xr-xproprietary-files.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/proprietary-files.sh b/proprietary-files.sh
index f6b3609..5e2fe5b 100755
--- a/proprietary-files.sh
+++ b/proprietary-files.sh
@@ -24,16 +24,18 @@ 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/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/libril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/lib/libril.so
adb pull /system/lib/libsec-ril.so ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/lib/libsec-ril.so
adb pull /system/usr/idc/sec_touchscreen.idc ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/usr/idc/sec_touchscreen.idc
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_GD.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/vendor/firmware/SlimISP_GD.bin
adb pull /system/vendor/firmware/SlimISP_ZD.bin ../../../vendor/$MANUFACTURER/$DEVICE/proprietary/system/vendor/firmware/SlimISP_ZD.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
@@ -54,9 +56,11 @@ adb pull /system/vendor/firmware/libpn544_fw.so ../../../vendor/$MANUFACTURER/$D
LOCAL_PATH := vendor/samsung/i9300
PRODUCT_COPY_FILES += \\
+ \$(LOCAL_PATH)/proprietary/system/bin/gpsd:system/bin/gpsd \\
\$(LOCAL_PATH)/proprietary/system/bin/rild:system/bin/rild
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
@@ -71,9 +75,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_GD.bin:system/vendor/firmware/SlimISP_GD.bin \\
- \$(LOCAL_PATH)/proprietary/system/vendor/firmware/SlimISP_ZD.bin:system/vendor/firmware/SlimISP_ZD.bin \\
- \$(LOCAL_PATH)/proprietary/system/vendor/firmware/libpn544_fw.so:system/vendor/firmware/libpn544_fw.so
+ \$(LOCAL_PATH)/proprietary/system/vendor/firmware/SlimISP_ZD.bin:system/vendor/firmware/SlimISP_ZD.bin
EOF