aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-06-22 12:33:51 +0200
committerRGIB <gibellini.roberto@gmail.com>2016-06-22 12:33:51 +0200
commit54d2dc91dabee051039fac92a307403969f21672 (patch)
tree5aba684431f95cd51c110b06b1ba72dd0567c050
parentbb98cf712fc3dcbff3723231a38e666e5788485d (diff)
downloaddevice_samsung_n5110-54d2dc91dabee051039fac92a307403969f21672.zip
device_samsung_n5110-54d2dc91dabee051039fac92a307403969f21672.tar.gz
device_samsung_n5110-54d2dc91dabee051039fac92a307403969f21672.tar.bz2
n5110 : clenup
Change-Id: Ic69e573c32fabcf73edb2bb6c619969184593fed
-rw-r--r--include/hardware/gps.xml72
-rw-r--r--n5110.mk4
-rw-r--r--proprietary-files.txt11
-rwxr-xr-xrootdir/init.target.rc12
-rw-r--r--[-rwxr-xr-x]system.prop14
5 files changed, 90 insertions, 23 deletions
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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/glconfig.xsd" >
+ <!--HAL Confguration -->
+ <hal
+ acPortName="/dev/ttySAC1"
+ lBaudRate="921600"
+ gpioNStdbyPath="/sys/class/sec/gps/GPS_PWR_EN/value"
+ gpioDelayMs="250"
+ acNvStoDir="/data/system/gps/"
+ FactoryTestFilePath="/data/"
+
+ Log="JAVA"
+ acLogDirectory="/storage/sdcard0/gps/broadcom/storage"
+
+ TISEnabled="true"
+ LPmode="false"
+ cp-cold-start="false"
+ cp-guard-time-sec="1"
+
+ arp-supl-enable="true"
+ arp-supl-cap-msb="true"
+ arp-supl-cap-msa="true"
+ arp-supl-cap-ecid="false"
+ arp-supl-use-apn="false"
+ acSuplServer="supl.google.com"
+ SuplPort="7276"
+ tlsCertPath="/system/bin/gps.cer"
+ tlsEnable="false"
+ ReAidingIntervalSec="1200"
+ SuplUT1Seconds="20"
+ SuplUT2Seconds="20"
+ SuplUT3Seconds="20"
+ SuplVersion="1"
+
+ LbsEnable="true"
+ LbsLocal="false"
+ LbsServer="BCMLS2.glpals.com"
+ LbsPort="7275"
+ LbsSyncLto="false"
+ SyncLto="true"
+ ltoFileName="lto2.dat"
+ acLtoDir="/data/system/gps/"
+ LbsSyncLtoThresholdDays="1"
+ LbsTAC="10101106"
+ ctrlPipe="/data/gps/glgpsctrl"
+ LbsWlanEnable="false"
+
+ IgnoreJniTime="true"
+ AssertEnabled="false"
+
+ SensorsEnable="false"
+ SensorsPowerSave="false"
+ SensorsLog="false"
+
+ />
+
+ <gll
+ LogPriMask="LOG_INFO"
+ LogFacMask="LOG_GLLIO | LOG_RAWDATA | LOG_DEVKF | LOG_GLLAPI | LOG_NMEA"
+ FrqPlan="FRQ_PLAN_26MHZ_2PPM_26MHZ_300PPB"
+ RfType="GL_RF_4752_BRCM_EXT_LNA"
+ WarmStandbyTimeout1Seconds="10"
+ WarmStandbyTimeout2Seconds="15"
+ >
+ </gll>
+
+ <gll_features
+ EnableLowPowerEls="false"
+ EnableLowPowerPmm="true"
+ />
+
+</glgps>
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
index b2928cb..2147385 100755..100644
--- 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