common: init: Update from LA.UM.9.12.r1-09300-SMxx50.0.
Change-Id: Ic33e7ec410bf9344202032fff045873b9b367950
This commit is contained in:
parent
26fb3a6a92
commit
4ecd8f8eeb
|
@ -262,10 +262,11 @@ case "$target" in
|
||||||
log -t BOOT -p i "SDM429 early_boot prop set for: HwID '$soc_hwid'"
|
log -t BOOT -p i "SDM429 early_boot prop set for: HwID '$soc_hwid'"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
303|307|308|309|320)
|
303|307|308|309|320|386|436)
|
||||||
# Vulkan is not supported for 8917 variants
|
# Vulkan is not supported for 8917 variants
|
||||||
setprop vendor.opengles.version 196608
|
setprop vendor.opengles.version 196608
|
||||||
setprop persist.graphics.vulkan.disable true
|
setprop persist.graphics.vulkan.disable true
|
||||||
|
setprop vendor.gralloc.disable_ahardware_buffer 1
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
setprop vendor.opengles.version 196608
|
setprop vendor.opengles.version 196608
|
||||||
|
@ -397,22 +398,6 @@ case "$target" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
"lahaina")
|
|
||||||
case "$soc_hwid" in
|
|
||||||
450)
|
|
||||||
setprop vendor.media.target_variant "_shima_v3"
|
|
||||||
sku_ver=`cat /sys/devices/platform/soc/aa00000.qcom,vidc/sku_version` 2> /dev/null
|
|
||||||
if [ $sku_ver -eq 1 ]; then
|
|
||||||
setprop vendor.media.target_variant "_shima_v1"
|
|
||||||
elif [ $sku_ver -eq 2 ]; then
|
|
||||||
setprop vendor.media.target_variant "_shima_v2"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
setprop vendor.media.target_variant "_lahaina"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
|
||||||
"holi")
|
"holi")
|
||||||
setprop vendor.media.target_variant "_holi"
|
setprop vendor.media.target_variant "_holi"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -2823,6 +2823,9 @@ case "$target" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Disable cdsprpcd daemon for sdm630
|
||||||
|
setprop vendor.fastrpc.disable.cdsprpcd.daemon 1
|
||||||
|
|
||||||
# Setting b.L scheduler parameters
|
# Setting b.L scheduler parameters
|
||||||
echo 85 > /proc/sys/kernel/sched_upmigrate
|
echo 85 > /proc/sys/kernel/sched_upmigrate
|
||||||
echo 85 > /proc/sys/kernel/sched_downmigrate
|
echo 85 > /proc/sys/kernel/sched_downmigrate
|
||||||
|
|
|
@ -176,9 +176,9 @@ on boot
|
||||||
# an ack packet comes out of order
|
# an ack packet comes out of order
|
||||||
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
|
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
|
||||||
|
|
||||||
# Set the console loglevel to < KERN_INFO
|
# Set the console loglevel to < KERN_WARN
|
||||||
# Set the default message loglevel to KERN_INFO
|
# Set the default message loglevel to KERN_INFO
|
||||||
write /proc/sys/kernel/printk "6 6 1 7"
|
write /proc/sys/kernel/printk "3 6 1 7"
|
||||||
|
|
||||||
# Allow access for CCID command/response timeout configuration
|
# Allow access for CCID command/response timeout configuration
|
||||||
chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
|
chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout
|
||||||
|
|
|
@ -456,10 +456,10 @@ buildvariant=`getprop ro.build.type`
|
||||||
case "$buildvariant" in
|
case "$buildvariant" in
|
||||||
"userdebug" | "eng")
|
"userdebug" | "eng")
|
||||||
#set default loglevel to KERN_INFO
|
#set default loglevel to KERN_INFO
|
||||||
echo "6 6 1 7" > /proc/sys/kernel/printk
|
echo "3 6 1 7" > /proc/sys/kernel/printk
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
#set default loglevel to KERN_WARNING
|
#set default loglevel to KERN_WARNING
|
||||||
echo "4 4 1 4" > /proc/sys/kernel/printk
|
echo "3 4 1 4" > /proc/sys/kernel/printk
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -235,6 +235,7 @@ firmware_directories /vendor/firmware_mnt/image/
|
||||||
/dev/i2c-5 0660 media media
|
/dev/i2c-5 0660 media media
|
||||||
/dev/avtimer 0660 system audio
|
/dev/avtimer 0660 system audio
|
||||||
/dev/spidev2.0 0660 system audio
|
/dev/spidev2.0 0660 system audio
|
||||||
|
/dev/spidev22.0 0660 system audio
|
||||||
|
|
||||||
# DVB devices
|
# DVB devices
|
||||||
/dev/dvb/adapter0/demux* 0440 media media
|
/dev/dvb/adapter0/demux* 0440 media media
|
||||||
|
|
Loading…
Reference in New Issue