Files
device_google_walleye/init-common.rc
Jaegeuk Kim 08e352d88b Boottime: remove all block-related tunes including readahead size
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>
2019-02-11 09:19:01 -08:00

33 lines
1.1 KiB
Plaintext

on property:sys.boot_completed=1 && property:ro.build.type=user
write /proc/sys/kernel/modules_disabled 1
on init && property:ro.boot.revision=EVM
setprop ro.boot.hardware.revision 0.5
on init && property:ro.boot.revision=EVT0
setprop ro.boot.hardware.revision 0.6
on init && property:ro.boot.revision=EVT1
setprop ro.boot.hardware.revision 0.7
on init && property:ro.boot.revision=EVT2
setprop ro.boot.hardware.revision 0.8
on init && property:ro.boot.revision=DVT
setprop ro.boot.hardware.revision 1.0
on init && property:ro.boot.revision=MP0 # PVT
setprop ro.boot.hardware.revision 1.0
on init && property:ro.boot.revision=MP1
setprop ro.boot.hardware.revision 1.0
on boot && property:ro.build.type=userdebug
write /sys/class/uio/uio1/device/rtel/rtel 1
on property:persist.vendor.charge.stop.level=* && property:sys.all.modules.ready=1
write /sys/module/htc_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/htc_battery/parameters/charge_start_level ${persist.vendor.charge.start.level}