mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
fix ril on oreo
This commit is contained in:
parent
965359f493
commit
38edb23e0e
4 changed files with 39 additions and 12 deletions
|
@ -32,6 +32,7 @@ import init.target.rc
|
|||
on early-init
|
||||
|
||||
mount debugfs debugfs /sys/kernel/debug
|
||||
chmod 0755 /sys/kernel/debug
|
||||
|
||||
mkdir /firmware 0771 system system
|
||||
mkdir /firmware-modem 0771 system system
|
||||
|
@ -163,6 +164,10 @@ on post-fs-data
|
|||
# Create thombstone folders
|
||||
mkdir /data/tombstones 0771 system system
|
||||
mkdir /tombstones/modem 0771 system system
|
||||
mkdir /tombstones/lpass 0771 system system
|
||||
mkdir /tombstones/wcnss 0771 system system
|
||||
mkdir /tombstones/dsps 0771 system system
|
||||
mkdir /tombstones/mdm 0771 system system
|
||||
|
||||
# Create directory for ril data
|
||||
mkdir /data/misc/radio 0775 radio radio
|
||||
|
@ -237,6 +242,9 @@ on boot
|
|||
mkdir /dev/socket/qmux_gps 0770 gps gps
|
||||
chmod 2770 /dev/socket/qmux_gps
|
||||
|
||||
# Allow QMUX daemon to assign port open wait time
|
||||
chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
|
||||
|
||||
# Modem requires this
|
||||
chown root radio /proc/cmdline
|
||||
chmod 0644 /proc/cmdline
|
||||
|
@ -247,6 +255,9 @@ on boot
|
|||
# For bridgemgr daemon to inform the USB driver of the correct transport
|
||||
chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport
|
||||
|
||||
# Allow RIL daemon to assign port open fd_wakelock
|
||||
chown system radio /sys/devices/virtual/sec/mdm_hsic_pm/waketime
|
||||
|
||||
# To allow interfaces to get v6 address when tethering is enabled
|
||||
write /proc/sys/net/ipv6/conf/rmnet0/accept_ra 2
|
||||
write /proc/sys/net/ipv6/conf/rmnet1/accept_ra 2
|
||||
|
@ -574,6 +585,9 @@ service rmt_storage /system/bin/rmt_storage
|
|||
user root
|
||||
disabled
|
||||
|
||||
on property:neo.netmgr=true
|
||||
start netmgr
|
||||
|
||||
on property:ro.boot.emmc=true
|
||||
start rfs_access
|
||||
start rmt_storage
|
||||
|
@ -619,6 +633,11 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \
|
|||
disabled
|
||||
oneshot
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Symlink directories to access telephony.db and preferred-apn.xml required by libsec-ril
|
||||
symlink /data/user_de/0/com.android.providers.telephony/databases /data/data/com.android.providers.telephony/databases
|
||||
symlink /data/user_de/0/com.android.providers.telephony/shared_prefs /data/data/com.android.providers.telephony/shared_prefs
|
||||
|
||||
on property:init.svc.wpa_supplicant=stopped
|
||||
stop dhcpcd
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
|
||||
# Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
|
||||
# Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
|
@ -25,8 +25,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
# the DIAG device node is not world writable/readable.
|
||||
/dev/diag 0660 system oem_2950
|
||||
# the DIAG device node HAS TO BE world writable/readable, otherwise libdiag cant open the socket :/
|
||||
/dev/diag 0777 system oem_2950
|
||||
|
||||
/dev/genlock 0666 system system
|
||||
/dev/kgsl 0666 system system
|
||||
|
|
24
system.prop
24
system.prop
|
@ -2,7 +2,6 @@
|
|||
dalvik.vm.dex2oat-swap=false
|
||||
|
||||
# Audio
|
||||
|
||||
persist.media.treble_omx=false
|
||||
af.fast_track_multiplier=1
|
||||
audio_hal.period_size=192
|
||||
|
@ -68,8 +67,8 @@ ro.qc.sdk.izat.service_mask=0x0
|
|||
# IO Scheduler
|
||||
sys.io.scheduler=bfq
|
||||
|
||||
# Perf
|
||||
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
|
||||
# NFC
|
||||
ro.nfc.port=I2C
|
||||
|
||||
# Radio
|
||||
|
||||
|
@ -85,13 +84,18 @@ persist.rild.nitz_short_ons_1=""
|
|||
persist.rild.nitz_short_ons_2=""
|
||||
persist.rild.nitz_short_ons_3=""
|
||||
|
||||
persist.data.netmgrd.qos.enable=false
|
||||
# Perf
|
||||
ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so
|
||||
|
||||
persist.data.netmgrd.qos.enable=true
|
||||
persist.data.qmi.adb_logmask=0
|
||||
persist.radio.add_power_save=1
|
||||
rild.libargs=-d /dev/smd0
|
||||
rild.libpath=/system/lib/libsec-ril.so
|
||||
ro.telephony.ril.config=simactivation
|
||||
ro.use_data_netmgrd=false
|
||||
rild.libpath=/system/vendor/lib/libsec-ril.so
|
||||
ro.telephony.mms_data_profile=5
|
||||
ro.ril.telephony.qan_resp_strings=6
|
||||
|
||||
# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
|
||||
ro.telephony.call_ring.multiple=0
|
||||
|
||||
# Subsystem
|
||||
persist.sys.ssr.enable_debug=0
|
||||
|
@ -100,10 +104,14 @@ persist.sys.ssr.enable_debug=0
|
|||
ro.qc.sdk.gestures.camera=false
|
||||
ro.qc.sdk.camera.facialproc=false
|
||||
ro.qc.sdk.sensors.gestures=true
|
||||
debug.sensors=1
|
||||
|
||||
# Time
|
||||
persist.timed.enable=true
|
||||
|
||||
# Vendor security patch level
|
||||
ro.lineage.build.vendor_security_patch=2017-08-01
|
||||
|
||||
# Wi-Fi
|
||||
ro.disableWifiApFirmwareReload=true
|
||||
wifi.interface=wlan0
|
||||
|
|
Loading…
Reference in a new issue