Snap for 8978248 from 1fe98d0174
to udc-release
Change-Id: I27312ee59b5f04e52384a9a0107e980b8fd36cf3
This commit is contained in:
commit
2119f29727
2 changed files with 13 additions and 0 deletions
|
@ -975,6 +975,18 @@ on charger
|
||||||
write /proc/vendor_sched/sys_uclamp_min 0
|
write /proc/vendor_sched/sys_uclamp_min 0
|
||||||
write /proc/vendor_sched/sys_prefer_idle 0
|
write /proc/vendor_sched/sys_prefer_idle 0
|
||||||
|
|
||||||
|
# Use charger thermal config
|
||||||
|
setprop vendor.thermal.config "thermal_info_config_charge.json"
|
||||||
|
|
||||||
|
# Wait for insmod_sh to finish all common modules
|
||||||
|
wait_for_prop vendor.common.modules.ready 1
|
||||||
|
|
||||||
|
# Create thermal symlink in off charging mode
|
||||||
|
mkdir /dev/thermal 0750 system system
|
||||||
|
mkdir /dev/thermal/tz-by-name 0750 system system
|
||||||
|
mkdir /dev/thermal/cdev-by-name 0750 system system
|
||||||
|
start vendor.thermal.symlinks
|
||||||
|
|
||||||
on property:vendor.disable.bcl.control=1
|
on property:vendor.disable.bcl.control=1
|
||||||
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
||||||
|
|
||||||
|
|
|
@ -885,6 +885,7 @@ void DumpstateDevice::dumpMemorySection(int fd) {
|
||||||
|
|
||||||
static void DumpF2FS(int fd) {
|
static void DumpF2FS(int fd) {
|
||||||
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
|
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
|
||||||
|
DumpFileToFd(fd, "F2FS", "/dev/fscklogs/fsck");
|
||||||
RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsck.data"});
|
RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsck.data"});
|
||||||
RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
|
RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue