mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-02-01 07:33:15 +00:00
With a request size fix, 2MB-sized readahead would not be a way to gain
boottime.
taimen - PVT - Hynix 128GB - boot_complete timestamp (avg of 100 loop)
Base [1] : 10.943
New [2] : 10.7495
taimen - PVT - Hynix 128GB - boot_complete timestamp + fastboot -w (avg of 100 loop)
Base [1] : 32.5857
New [2] : 31.7474
[1] w/o this CL, revert commit 7c37954411e9 ("mm: readahead back to 128KB")
[2] w/ this CL, keep commit 7c37954411e9 ("mm: readahead back to 128KB")
Bug: 122246531
Bug: 120757803
Change-Id: I2c3236b0b0cd4f2a8610a1af64de694f8a4d7997
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
on boot
|
|
# Allow ftm4 autotune from adb shell
|
|
chown system shell /sys/devices/virtual/input/ftm4_touch/autotune
|
|
|
|
on init && property:ro.boot.revision=*
|
|
setprop ro.boot.hardware.revision ${ro.boot.revision}
|
|
|
|
on property:init.svc.vendor.fps_hal=running && property:ro.boot.revision=rev_0
|
|
stop vendor.fps_hal
|
|
|
|
on property:sys.all.modules.ready=1
|
|
# Update touch firmware if required
|
|
write /sys/devices/virtual/input/ftm4_touch/check_fw 1
|
|
|
|
on property:ro.boot.hardware.display=2-1
|
|
setprop sys.display.low_persistence_mode_brightness 255
|
|
|
|
on property:persist.vendor.charge.stop.level=* && property:sys.all.modules.ready=1
|
|
write /sys/module/lge_battery/parameters/charge_stop_level ${persist.vendor.charge.stop.level}
|
|
|
|
on property:persist.vendor.charge.start.level=* && property:sys.all.modules.ready=1
|
|
write /sys/module/lge_battery/parameters/charge_start_level ${persist.vendor.charge.start.level}
|
|
|
|
on late-init && property:ro.boot.revision=rev_a
|
|
setprop vendor.thermal.config thermal_info_config_evt.json
|
|
|
|
on late-init && property:ro.boot.revision=rev_b
|
|
setprop vendor.thermal.config thermal_info_config_evt.json
|