enable android GO definitions and add ril fix for mobile data

This commit is contained in:
PythonLimited 2019-01-17 08:48:09 +01:00
parent e9ac4d52b9
commit 3876947d6b
4 changed files with 6 additions and 11 deletions

View file

@ -56,7 +56,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
av.offload.enable=true
PRODUCT_PACKAGES += \
imx175_shim
libimx175_shim
# Security
PRODUCT_PACKAGES += \

View file

@ -1,7 +1,4 @@
#!/bin/sh
echo "doing work" | >> /data/log.txt
stat /data/user_de/0/com.android.providers.telephony/shared_prefs | >> /data/log.txt
rm -rf /data/user_de/0/com.android.providers.telephony/databases/telephony.db*
rm -rf /data/user_de/0/com.android.providers.telephony/shared_prefs
echo "finished doing work" | >> /data/log.txt
stat /data/user_de/0/com.android.providers.telephony/shared_prefs | >> /data/log.txt

View file

@ -220,8 +220,6 @@ on post-fs-data
# It will be regenerated by the system
rmdir /data/user_de/0/com.android.providers.telephony/shared_prefs
start ril-fix
setprop vold.post_fs_data_done 1
on early-boot
@ -553,9 +551,6 @@ on property:sys.boot_completed=1
chown root system /sys/devices/system/cpu/cpu2/online
chown root system /sys/devices/system/cpu/cpu3/online
# We want to stop our ril daemon deleting our apns
stop ril-fix
# 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
@ -660,7 +655,7 @@ on property:ro.boot.emmc=true
service ril-fix /system/bin/sh /system/etc/init.ril.sh
class main
user root
disabled
oneshot
# Limit to SoC reset (1) and independent SSR (3)
on property:persist.sys.ssr.restart_level=1

View file

@ -53,6 +53,9 @@ ro.qualcomm.cabl=0
ro.sf.lcd_density=320
debug.hwui.use_buffer_age=false
# Android GO
ro.config.low_ram=true
# GPS
persist.gps.qc_nlp_in_use=1
ro.gps.agps_provider=1