From 54d2dc91dabee051039fac92a307403969f21672 Mon Sep 17 00:00:00 2001 From: RGIB Date: Wed, 22 Jun 2016 12:33:51 +0200 Subject: n5110 : clenup Change-Id: Ic69e573c32fabcf73edb2bb6c619969184593fed --- include/hardware/gps.xml | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ n5110.mk | 4 ++- proprietary-files.txt | 11 ++++++-- rootdir/init.target.rc | 12 -------- system.prop | 14 +++++----- 5 files changed, 90 insertions(+), 23 deletions(-) create mode 100644 include/hardware/gps.xml mode change 100755 => 100644 system.prop diff --git a/include/hardware/gps.xml b/include/hardware/gps.xml new file mode 100644 index 0000000..38f16ad --- /dev/null +++ b/include/hardware/gps.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + diff --git a/n5110.mk b/n5110.mk index 8b33b66..0ae7f71 100644 --- a/n5110.mk +++ b/n5110.mk @@ -24,7 +24,8 @@ PRODUCT_COPY_FILES += \ # Packages PRODUCT_PACKAGES += \ - libsamsung_symbols + libsecril-client \ + libsecril-client-sap # RIL PRODUCT_PROPERTY_OVERRIDES += \ @@ -32,6 +33,7 @@ PRODUCT_PROPERTY_OVERRIDES += \ # These are the hardware-specific features PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/include/hardware/gps.xml:system/etc/gps.xml \ frameworks/native/data/etc/tablet_core_hardware.xml:system/etc/permissions/tablet_core_hardware.xml # Include common makefile diff --git a/proprietary-files.txt b/proprietary-files.txt index 25c0d21..79e0c3c 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,3 +1,8 @@ -system/lib/libril-qc-qmi-1.so -system/lib/libril-qcril-hook-oem.so -system/lib/libril.so +system/bin/at_distributor +system/bin/geomagneticd +system/bin/gpsd +system/bin/orientationd +system/bin/smdexe +system/lib/libomission_avoidance.so +system/lib/libfactoryutil.so +system/lib/hw/gps.default.so diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc index d19721d..9b4b805 100755 --- a/rootdir/init.target.rc +++ b/rootdir/init.target.rc @@ -226,12 +226,6 @@ service gpsd /system/bin/gpsd -c /system/etc/gps.xml ioprio be 0 seclabel u:r:gpsd:s0 -service cpboot-daemon /sbin/cbd -d -p7 - class main - user root - group system radio inet log cache misc audio net_raw sdcard_rw gps - seclabel u:r:cpboot-daemon:s0 - # To prevent out of order acknowledgements from making # connection tracking to treat them as not belonging to # the connection they belong to. @@ -257,9 +251,3 @@ service SMD-daemon /system/bin/smdexe user root group system radio inet log cache misc audio net_raw sdcard_rw gps seclabel u:r:SMD-daemon:s0 - -service DR-daemon /system/bin/ddexe - class main - user root - group system radio inet log cache misc audio net_raw sdcard_rw gps - seclabel u:r:DR-daemon:s0 diff --git a/system.prop b/system.prop old mode 100755 new mode 100644 index b2928cb..2147385 --- a/system.prop +++ b/system.prop @@ -1,12 +1,12 @@ # -# system.prop for smdk4x12 +# system.prop for n5110 # -dalvik.vm.dexopt-data-only=1 -rild.libpath=/system/lib/libsec-ril.so -rild.libargs=-d /dev/ttyS0 + +ro.lcd_min_brightness=20 ro.sf.hwrotation=270 ro.sf.lcd_density=213 -ro.lcd_min_brightness=20 ro.hdcp2.rx=tz - - +ro.ril.hsxpa=1 +ro.ril.gprsclass=10 +persist.radio.add_power_save=1 +ro.carrier=wifi-only -- cgit v1.1