diff --git a/gts210vewifi/Android.mk b/gts210vewifi/Android.mk new file mode 100644 index 0000000..6a1a987 --- /dev/null +++ b/gts210vewifi/Android.mk @@ -0,0 +1,21 @@ +# Copyright (C) 2017 The LineageOS 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. + +# This file is generated by device/samsung/gts210vewifi/setup-makefiles.sh + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),gts210vewifi) + +endif diff --git a/gts210vewifi/BoardConfigVendor.mk b/gts210vewifi/BoardConfigVendor.mk new file mode 100644 index 0000000..15217f1 --- /dev/null +++ b/gts210vewifi/BoardConfigVendor.mk @@ -0,0 +1,16 @@ +# Copyright (C) 2017 The LineageOS 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. + +# This file is generated by device/samsung/gts210vewifi/setup-makefiles.sh + diff --git a/gts210vewifi/gts210vewifi-vendor.mk b/gts210vewifi/gts210vewifi-vendor.mk new file mode 100644 index 0000000..98abd72 --- /dev/null +++ b/gts210vewifi/gts210vewifi-vendor.mk @@ -0,0 +1,22 @@ +# Copyright (C) 2017 The LineageOS 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. + +# This file is generated by device/samsung/gts210vewifi/setup-makefiles.sh + +PRODUCT_COPY_FILES += \ + vendor/samsung/gts210vewifi/proprietary/lib64/hw/sensors.msm8952.so:system/lib64/hw/sensors.msm8952.so \ + vendor/samsung/gts210vewifi/proprietary/vendor/etc/yas_set.cfg:system/vendor/etc/yas_set.cfg \ + vendor/samsung/gts210vewifi/proprietary/vendor/lib/libsensor1.so:system/vendor/lib/libsensor1.so \ + vendor/samsung/gts210vewifi/proprietary/vendor/lib64/libsensor1.so:system/vendor/lib64/libsensor1.so \ + vendor/samsung/gts210vewifi/proprietary/vendor/lib64/libyasalgo.so:system/vendor/lib64/libyasalgo.so diff --git a/msm8976-common/proprietary/lib64/hw/sensors.msm8952.so b/gts210vewifi/proprietary/lib64/hw/sensors.msm8952.so similarity index 100% rename from msm8976-common/proprietary/lib64/hw/sensors.msm8952.so rename to gts210vewifi/proprietary/lib64/hw/sensors.msm8952.so diff --git a/msm8976-common/proprietary/vendor/etc/yas_set.cfg b/gts210vewifi/proprietary/vendor/etc/yas_set.cfg similarity index 100% rename from msm8976-common/proprietary/vendor/etc/yas_set.cfg rename to gts210vewifi/proprietary/vendor/etc/yas_set.cfg diff --git a/msm8976-common/proprietary/vendor/lib/libsensor1.so b/gts210vewifi/proprietary/vendor/lib/libsensor1.so similarity index 100% rename from msm8976-common/proprietary/vendor/lib/libsensor1.so rename to gts210vewifi/proprietary/vendor/lib/libsensor1.so diff --git a/msm8976-common/proprietary/vendor/lib64/libsensor1.so b/gts210vewifi/proprietary/vendor/lib64/libsensor1.so similarity index 100% rename from msm8976-common/proprietary/vendor/lib64/libsensor1.so rename to gts210vewifi/proprietary/vendor/lib64/libsensor1.so diff --git a/msm8976-common/proprietary/vendor/lib64/libyasalgo.so b/gts210vewifi/proprietary/vendor/lib64/libyasalgo.so similarity index 100% rename from msm8976-common/proprietary/vendor/lib64/libyasalgo.so rename to gts210vewifi/proprietary/vendor/lib64/libyasalgo.so diff --git a/gts28vewifi/Android.mk b/gts28vewifi/Android.mk new file mode 100644 index 0000000..db1d366 --- /dev/null +++ b/gts28vewifi/Android.mk @@ -0,0 +1,21 @@ +# Copyright (C) 2017 The LineageOS 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. + +# This file is generated by device/samsung/gts28vewifi/setup-makefiles.sh + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),gts28vewifi) + +endif diff --git a/gts28vewifi/BoardConfigVendor.mk b/gts28vewifi/BoardConfigVendor.mk new file mode 100644 index 0000000..3e7606c --- /dev/null +++ b/gts28vewifi/BoardConfigVendor.mk @@ -0,0 +1,16 @@ +# Copyright (C) 2017 The LineageOS 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. + +# This file is generated by device/samsung/gts28vewifi/setup-makefiles.sh + diff --git a/gts28vewifi/gts28vewifi-vendor.mk b/gts28vewifi/gts28vewifi-vendor.mk new file mode 100644 index 0000000..9ba081c --- /dev/null +++ b/gts28vewifi/gts28vewifi-vendor.mk @@ -0,0 +1,22 @@ +# Copyright (C) 2017 The LineageOS 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. + +# This file is generated by device/samsung/gts28vewifi/setup-makefiles.sh + +PRODUCT_COPY_FILES += \ + vendor/samsung/gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so:system/lib64/hw/sensors.msm8952.so \ + vendor/samsung/gts28vewifi/proprietary/vendor/etc/yas_set.cfg:system/vendor/etc/yas_set.cfg \ + vendor/samsung/gts28vewifi/proprietary/vendor/lib/libsensor1.so:system/vendor/lib/libsensor1.so \ + vendor/samsung/gts28vewifi/proprietary/vendor/lib64/libsensor1.so:system/vendor/lib64/libsensor1.so \ + vendor/samsung/gts28vewifi/proprietary/vendor/lib64/libyasalgo.so:system/vendor/lib64/libyasalgo.so diff --git a/gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so b/gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so new file mode 100644 index 0000000..c976928 Binary files /dev/null and b/gts28vewifi/proprietary/lib64/hw/sensors.msm8952.so differ diff --git a/gts28vewifi/proprietary/vendor/etc/yas_set.cfg b/gts28vewifi/proprietary/vendor/etc/yas_set.cfg new file mode 100644 index 0000000..170162e --- /dev/null +++ b/gts28vewifi/proprietary/vendor/etc/yas_set.cfg @@ -0,0 +1,92 @@ +[mag_matrix] +matrix_load=1 +matrix0=10000 +matrix1=0 +matrix2=0 +matrix3=0 +matrix4=10000 +matrix5=0 +matrix6=0 +matrix7=0 +matrix8=10000 + +[mag_calib] +calib_enable=1 +mode=2 +spread0=10 +spread1=100 +spread2=180 +variation0=65535 +variation1=400 +variation2=40 +el_spread0=200 +el_spread1=300 +el_spread2=500 +el_variation0=30 +el_variation1=20 +el_variation2=15 +trad_variation0=30000 +trad_variation1=400 +trad_variation2=400 +cwg_threshold0=20 +cwg_threshold1=6000 +cwg_threshold2=350 +cwg_threshold3=8000 +cwg_threshold4=20 +cwg_threshold5=3500 +cwg_threshold6=350 +cwg_threshold7=4500 +cwg_threshold8=100 +cwg_threshold9=2864 +cwg_threshold10=350 +cwg_threshold11=3246 + +[mag_filter] +filter_enable=1 +len=30 +noise=1800 + +[gyro_calib] +calib_enable=1 +mag_noise=1500 +gyro_noise=3000 + +[soft_gyro] +soft_gyro_enable=1 + +[fusion] +am_fusion_enable=1 +ag_fusion_enable=1 +amg_fusion_enable=1 + +[gamevec] +ini_set_value=3000 +hpf_sq_out_threshold=1000000 +sustain=5 + +[platform] +;platform=MSM +;platform=MTK +;platform=SAMSUNG +platform= + +[driver] +;acc=BMA250E +;acc=BMA255 +acc=BMI055 +;acc=KXTJ2 +;acc=LIS3DH +;acc=LSM6DS3 +;acc=MMA8452Q +;acc=STK8313 +;acc=U2DH +;acc=NONE +;mag=YAS530 +;mag=YAS532 +;mag=YAS533 +;mag=YAS537 +mag=YAS539 +;mag=NONE +;gyro=LSM6DS3 +gyro=BMI055 +;gyro=NONE diff --git a/gts28vewifi/proprietary/vendor/lib/libsensor1.so b/gts28vewifi/proprietary/vendor/lib/libsensor1.so new file mode 100644 index 0000000..2296215 Binary files /dev/null and b/gts28vewifi/proprietary/vendor/lib/libsensor1.so differ diff --git a/gts28vewifi/proprietary/vendor/lib64/libsensor1.so b/gts28vewifi/proprietary/vendor/lib64/libsensor1.so new file mode 100644 index 0000000..caa183e Binary files /dev/null and b/gts28vewifi/proprietary/vendor/lib64/libsensor1.so differ diff --git a/gts28vewifi/proprietary/vendor/lib64/libyasalgo.so b/gts28vewifi/proprietary/vendor/lib64/libyasalgo.so new file mode 100644 index 0000000..0b8efe2 Binary files /dev/null and b/gts28vewifi/proprietary/vendor/lib64/libyasalgo.so differ diff --git a/msm8976-common/msm8976-common-vendor.mk b/msm8976-common/msm8976-common-vendor.mk index d3c8957..0041c20 100644 --- a/msm8976-common/msm8976-common-vendor.mk +++ b/msm8976-common/msm8976-common-vendor.mk @@ -83,7 +83,6 @@ PRODUCT_COPY_FILES += \ vendor/samsung/msm8976-common/proprietary/lib/libsynaFpSensorTestNwd.so:system/lib/libsynaFpSensorTestNwd.so \ vendor/samsung/msm8976-common/proprietary/lib/libvpplibrary.so:system/lib/libvpplibrary.so \ vendor/samsung/msm8976-common/proprietary/lib64/hw/gps.default.so:system/lib64/hw/gps.default.so \ - vendor/samsung/msm8976-common/proprietary/lib64/hw/sensors.msm8952.so:system/lib64/hw/sensors.msm8952.so \ vendor/samsung/msm8976-common/proprietary/lib64/libbauthserver.so:system/lib64/libbauthserver.so \ vendor/samsung/msm8976-common/proprietary/lib64/libbauthtzcommon.so:system/lib64/libbauthtzcommon.so \ vendor/samsung/msm8976-common/proprietary/lib64/libegis_fp_normal_sensor_test.so:system/lib64/libegis_fp_normal_sensor_test.so \ @@ -96,7 +95,6 @@ PRODUCT_COPY_FILES += \ vendor/samsung/msm8976-common/proprietary/vendor/bin/perfd:system/vendor/bin/perfd \ vendor/samsung/msm8976-common/proprietary/vendor/bin/qseeproxydaemon:system/vendor/bin/qseeproxydaemon \ vendor/samsung/msm8976-common/proprietary/vendor/bin/thermal-engine:system/vendor/bin/thermal-engine \ - vendor/samsung/msm8976-common/proprietary/vendor/etc/yas_set.cfg:system/vendor/etc/yas_set.cfg \ vendor/samsung/msm8976-common/proprietary/vendor/lib/egl/eglSubDriverAndroid.so:system/vendor/lib/egl/eglSubDriverAndroid.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/egl/libEGL_adreno.so:system/vendor/lib/egl/libEGL_adreno.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/egl/libGLESv1_CM_adreno.so:system/vendor/lib/egl/libGLESv1_CM_adreno.so \ @@ -317,7 +315,6 @@ PRODUCT_COPY_FILES += \ vendor/samsung/msm8976-common/proprietary/vendor/lib/librs_adreno_sha1.so:system/vendor/lib/librs_adreno_sha1.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/libscale.so:system/vendor/lib/libscale.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/libsd_sdk_display.so:system/vendor/lib/libsd_sdk_display.so \ - vendor/samsung/msm8976-common/proprietary/vendor/lib/libsensor1.so:system/vendor/lib/libsensor1.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/libsmemlog.so:system/vendor/lib/libsmemlog.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/libthermalclient.so:system/vendor/lib/libthermalclient.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib/libts_detected_face_hal.so:system/vendor/lib/libts_detected_face_hal.so \ @@ -417,7 +414,6 @@ PRODUCT_COPY_FILES += \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsd_sdk_display.so:system/vendor/lib64/libsd_sdk_display.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsecureui.so:system/vendor/lib64/libsecureui.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsecureui_svcsock.so:system/vendor/lib64/libsecureui_svcsock.so \ - vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsensor1.so:system/vendor/lib64/libsensor1.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libsmemlog.so:system/vendor/lib64/libsmemlog.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libssd.so:system/vendor/lib64/libssd.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libthermalclient.so:system/vendor/lib64/libthermalclient.so \ @@ -425,8 +421,7 @@ PRODUCT_COPY_FILES += \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libulp2.so:system/vendor/lib64/libulp2.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxt_native.so:system/vendor/lib64/libxt_native.so \ vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxtadapter.so:system/vendor/lib64/libxtadapter.so \ - vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxtwifi_ulp_adaptor.so:system/vendor/lib64/libxtwifi_ulp_adaptor.so \ - vendor/samsung/msm8976-common/proprietary/vendor/lib64/libyasalgo.so:system/vendor/lib64/libyasalgo.so + vendor/samsung/msm8976-common/proprietary/vendor/lib64/libxtwifi_ulp_adaptor.so:system/vendor/lib64/libxtwifi_ulp_adaptor.so PRODUCT_PACKAGES += \ libloc_api_v02 \