This commit is contained in:
Valera1978 2016-11-17 14:12:29 +03:00
parent abb4191629
commit 1412ac943f

View file

@ -62,6 +62,12 @@ on early-boot
start wcnss-service
# Remove symlinks to avoid issues with migrate after nandroid restores
# Will be recreated at end of boot
rm /data/data/com.android.providers.telephony/databases/telephony.db
rm /data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml
on boot
mount debugfs /sys/kernel/debug /sys/kernel/debug
@ -432,7 +438,7 @@ service p2p_supplicant /system/bin/wpa_supplicant \
oneshot
service macloader /system/bin/macloader
class main
class main late_start
oneshot
service ril-daemon /system/bin/rild
@ -443,6 +449,9 @@ service ril-daemon /system/bin/rild
user root
group radio cache inet misc audio log wakelock qcom_diag
on property:wlan.driver.status=ok
start macloader
on property:init.svc.macloader=stopped
chown system root /data/.cid.info
chmod 0664 /data/.cid.info
@ -626,6 +635,12 @@ on property:sys.boot_completed=1
# Post boot services
start mpdecision
# Symlink telephony.db and preferred-apn.xml
mkdir /data/data/com.android.providers.telephony/databases 0700 radio radio
mkdir /data/data/com.android.providers.telephony/shared_prefs 0700 radio radio
symlink /data/user_de/0/com.android.providers.telephony/databases/telephony.db /data/data/com.android.providers.telephony/databases/telephony.db
symlink /data/user_de/0/com.android.providers.telephony/shared_prefs/preferred-apn.xml /data/data/com.android.providers.telephony/shared_prefs/preferred-apn.xml
service hdmid /system/bin/hdmid
class late_start
socket hdmid stream 0660 root system graphics