Fix ril
This commit is contained in:
parent
abb4191629
commit
1412ac943f
1 changed files with 16 additions and 1 deletions
|
@ -62,6 +62,12 @@ on early-boot
|
||||||
|
|
||||||
start wcnss-service
|
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
|
on boot
|
||||||
|
|
||||||
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
mount debugfs /sys/kernel/debug /sys/kernel/debug
|
||||||
|
@ -432,7 +438,7 @@ service p2p_supplicant /system/bin/wpa_supplicant \
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service macloader /system/bin/macloader
|
service macloader /system/bin/macloader
|
||||||
class main
|
class main late_start
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service ril-daemon /system/bin/rild
|
service ril-daemon /system/bin/rild
|
||||||
|
@ -443,6 +449,9 @@ service ril-daemon /system/bin/rild
|
||||||
user root
|
user root
|
||||||
group radio cache inet misc audio log wakelock qcom_diag
|
group radio cache inet misc audio log wakelock qcom_diag
|
||||||
|
|
||||||
|
on property:wlan.driver.status=ok
|
||||||
|
start macloader
|
||||||
|
|
||||||
on property:init.svc.macloader=stopped
|
on property:init.svc.macloader=stopped
|
||||||
chown system root /data/.cid.info
|
chown system root /data/.cid.info
|
||||||
chmod 0664 /data/.cid.info
|
chmod 0664 /data/.cid.info
|
||||||
|
@ -626,6 +635,12 @@ on property:sys.boot_completed=1
|
||||||
# Post boot services
|
# Post boot services
|
||||||
start mpdecision
|
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
|
service hdmid /system/bin/hdmid
|
||||||
class late_start
|
class late_start
|
||||||
socket hdmid stream 0660 root system graphics
|
socket hdmid stream 0660 root system graphics
|
||||||
|
|
Loading…
Add table
Reference in a new issue