d3b3b3c6f4
miatoll: rootdir: Clean up init.target.rc
2021-05-12 17:10:16 +00:00
006cd7f1c0
miatoll: rootdir: Use default capacity margin
...
Google does the same in sunfish.
2021-05-12 17:10:16 +00:00
e521dd4040
miatoll: rootdir: Introduce init.qcom.power.rc
...
I hate init.qcom.post_boot.sh so replace it with init.qcom.power.rc
based on init.qcom.post_boot.sh and init.qti.dcvs.sh (CAF branch
"LA.UM.9.1.r1-09200-SMxxx0.0").
WALT, corectl and input boost tunings were removed.
2021-05-12 17:10:16 +00:00
352db2a059
miatoll: rootdir: Import USB init scripts from stock
...
* qssi-user-11-RKQ1.200826.002-V12.0.1.7.RJWMIXM-release-keys
To fix Mass Storage mode.
Basically, this reverts commit 6bb8716037
.
2021-05-12 17:10:16 +00:00
e3e424e8b2
miatoll: rootdir: Set swappiness to 100
...
Both CAF and Google do that.
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com >
2021-05-12 17:10:16 +00:00
76c08d115f
miatoll: dynamically load widevine blobs for curtana
...
due to some miatoll devices not having a11 fw which leads to them being L3, this should load a11 blobs for a11 devices (currently only curtana) while the default is a10 blobs, temporary
2021-04-23 07:16:16 +00:00
5191fd4cfd
miatoll: Register and enable qcrild & data services on boot
...
Fixes lag on getting network service after boot
2021-04-23 07:16:16 +00:00
c9cd74999a
miatoll: rootdir: Import boot/runtime fs tuning from coral
...
https://android.googlesource.com/device/google/coral/+/refs/tags/android-11.0.0_r29/init.hardware.rc
2021-04-23 07:15:21 +00:00
18a3ebde61
miatoll: rootdir: Tune UFS clock scaling during bootup
...
Disabling UFS clock scaling during boot time helps in reducing
IO delays, which helps in reducing the total boot time.
This change will disable UFS clock scaling during early-init and
enable it back after boot completion.
Change-Id: Ib3490a8155610aea399ac2f63aa4a71bee299c6e
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
2021-04-23 07:15:21 +00:00
a2f3d3c358
miatoll: Override readahead to 128KiB after post-boot
...
* Qualcomm decided to increase the read-ahead value to 512KiB [1].
* This value resulted in frequent cases where read-ahead
would be waiting for new I/O requests and thus ending
up being synchronous rather than asynchronous.
* As result, the main goal of Qualcomm's patch [1] which
is to increase throughput ends up in a regression where
read throughput is significantly lower than it ever
would be with the recommended [2] read-ahead value.
* This patch uses our existing loop in ramdisk to set
the read-ahead value to 128KiB.
[1] https://source.codeaurora.org/quic/la/kernel/msm-4.19/commit/include/linux/mm.h?h=LA.UM.9.12.r1-09000-SMxx50.0&id=25d04e4ceb7c067907901842c223d62973d73a75
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/linux/mm.h?h=v4.19.160#n2397
Change-Id: I1980d904568fe4f1ce7b676452bcc44e4689f02f
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
2021-04-23 07:15:21 +00:00
361812104b
miatoll: rootdir: Tune zram performance
...
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram
Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
2021-04-23 07:15:21 +00:00
2fef095e36
miatoll: rootdir: Configure CPU input boost properly
2021-04-23 07:15:21 +00:00
33f5b156a5
miatoll: rootdir: Lower CPU input boost duration
...
* 120ms is overkill and unnecessary
2021-04-23 07:15:21 +00:00
7099704da6
miatoll: rootdir: Bump CPU min freq by a level
2021-04-23 07:15:21 +00:00
53abb30f60
miatoll: rootdir: Launch bootanimation early
...
Also includes:
commit 82dcb788c9c2ee5d50e75e050550cc841262d3df
Author: Kuba Wojciechowski <nullbytepl@gmail.com >
Date: Mon Jun 15 21:01:20 2020 +0200
ginkgo: rootdir: Move boot animation early start to late-init
* "on init" is triggered in offline charge mode too causing
boot animation to launch in that mode.
* Ref: https://github.com/aosp-mirror/platform_system_core/blob/150687b/init/init.cpp#L854-L866
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
2021-04-23 07:15:21 +00:00
903fd43681
miatoll: Kang EAS configuration from sunfish
...
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com >
2021-04-23 07:15:21 +00:00
102ee7c2ad
miatoll: rootdir: Configure dynamic schedtune boost
...
Change-Id: Id05a4f149c3bc6da9e1962e1c48e049c59d30031
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
2021-04-23 07:15:21 +00:00
0cb2021e49
miatoll: Set lmkd.reinit property from vendor init
...
Set lmkd.reinit property to 1. This will trigger
reinit of lmkd service after boot complete.
CRs-Fixed: 2692843
Change-Id: Ib946b01ca1dc013f0148ca702e4d550cde32b6c2
2021-04-23 07:15:21 +00:00
57e572c8e0
miatoll: rootdir: Bump top-app stune boost to 10
2021-04-23 07:15:21 +00:00
240a8e9660
miatoll: Improve post_boot tuning for performance
...
* kang cpusets and schedutil ratelimits from sunfish
* enable predicted load boosting (WALT feature)
* enable schedtune boost and prefer_idle
2021-04-23 07:15:21 +00:00
18e3b79b40
miatoll: Adjust dex2oat thread count after setup wizard
...
Test: Forrest appinstall test
Bug: 149395059
Change-Id: I9c5db865c616480b0f00629aba54e02b97bc4674
2021-04-23 07:15:21 +00:00
55146455d0
miatoll: rootdir: Import init.qcom.early_boot.sh
...
* We used to have an init extension, which breaks treble
and since P it requires custom SELinux rules to allow
init reading /proc/sys/kernel/boot_reason
* Remove the init extension and set the property like
QCOM does through init.qcom.early_boot.sh
* Update the property with vendor prefix while we are at it
Change-Id: I238f754a17c9a548c6c90503bfa4b21763d1b4c4
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com >
2021-04-23 07:15:21 +00:00
6ac453199e
miatoll: rootdir: zram tuning
2021-04-23 07:15:21 +00:00
9dd95a5c00
miatoll: increase ZRAM to 2GB
...
Test: TH
bug: 119988524
Change-Id: I086be89346e8dae32b06188861a6f0c9fe1d768f
2021-04-23 07:15:21 +00:00
9075fefc2e
miatoll: don't configure zram parameters with init.qcom.post_boot.sh
...
* let it use whatever is set in fstab
2021-04-23 07:15:21 +00:00
dd386feca7
miatoll: Decommonized Tree check-in
...
there is no no need for common tree if all device is this much identical
clean overlays
2021-04-23 07:15:10 +00:00
a24f819646
sm6250-common: rootdir: update configs from curtana RKQ1.200826.00
2020-12-06 22:48:36 +02:00
a7d8ba3094
sm6250-common: rootdir: update fstab from curtana RKQ1.200826.002
2020-12-06 22:48:36 +02:00
88a421df00
sm6250-common: rootdir: Enable inline encryption
...
Bug: 137270441
Change-Id: I8fb8822a5f19f3908b662181495550e60d80a3f3
2020-12-06 22:48:36 +02:00
02f6317e04
sm6250-common: rootdir: remove sensors specific boot up commands from init.qcom.rc
...
move sensors specific boot up commands from global init.qcom.rc to component
specific rc files , which are part of individual component projects.
Change-Id: Ib0410cd0af8d77573bd320063982b504b1b1d1d5
2020-12-06 22:48:36 +02:00
65208feaa4
sm6250-common: rootdir: override hwcomposer service
...
* CAF ¯\_(ツ)_/¯
* See https://source.codeaurora.org/quic/la/platform/hardware/interfaces/commit/?id=73a427f95e231a46c2274d51abfec21bd2d316f1
2020-12-05 00:36:17 +02:00
c615731c6d
sm6250-common: adjust thread count and cpuset after setup wizard
...
Test: Forrest appinstall test
Bug: 149395059
Change-Id: Ia3f09b817daf36a3ac81f871675fbb1cbd2f6bb5
2020-12-05 00:36:17 +02:00
9d26cd31ec
sm6250-common: Set lmkd.reinit property from vendor init
...
Set lmkd.reinit property to 1. This will trigger
reinit of lmkd service.
CRs-Fixed: 2692843
Change-Id: Ib946b01ca1dc013f0148ca702e4d550cde32b6c2
2020-12-05 00:36:17 +02:00
42402b7702
sm6250-common: rootdir: don't enable a2dp offload from rootdir
...
* this breaks a2dp toggle
2020-12-05 00:36:17 +02:00
ba201b9ba9
sm6250-common: Update fstab with system_ext partition.
...
Change-Id: I3c80b5010a68c57b7b12374600e19bce6396ef9d
2020-12-05 00:36:17 +02:00
e2a59ad584
sm6250-common: init.qcom.rc: update audio hal service override as per latest base service definition
...
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2020-12-05 00:36:17 +02:00
2d443ac777
sm6250-common: Remove context hub HAL service from init rc file
...
Remove context hub HAL service from common init rc file to
target specific
Change-Id: If32c8c15ad5e9ab4103db21580955bff6bfe92ef
Signed-off-by: Jeya R <jeyr@codeaurora.org >
2020-12-05 00:08:57 +02:00
264ba999e2
sm6250-common: wifi: move supplicant service init to wpa_supplicant
...
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: Icea6361942873b5177c5fa59f9628c3b383b4509
2020-12-03 01:19:26 +02:00
b987b28cd5
sm6250-common: rootdir: load_system_props was deprecated
2020-12-03 01:18:03 +02:00
e5823aa243
sm6250-common: rootdir: remove service for unused wigignpt
2020-12-03 01:17:38 +02:00
461be9334e
sm6250-common: rootdir: remove modprobes for inline modules
2020-09-15 19:30:33 +03:00
8068c2a96f
sm6250-common: rootdir: include device specific rc file
2020-08-15 04:27:26 +03:00
94d6264c9f
sm6250-common: rootdir: correct wlan module name
...
Change-Id: I5d23fcc2938d34faaaf8b3403a0e766637dcf822
2020-07-16 02:06:16 +02:00
6bb8716037
sm6250-common: rootdir: refactor usb configuration
2020-07-16 02:19:31 +03:00
9668da7df5
sm6250-common: rootdir: remove unused parts of vendor init scripts
2020-07-16 02:12:12 +03:00
a270c01cc3
sm6250-common: rootdir: fix machine module name
...
Change-Id: I3b441bbb7312187124e001e971af9febb4a59c50
2020-07-15 22:13:11 +02:00
1ba07c1914
sm6250-common: rootdir: fix audio module names
2020-07-15 23:03:28 +03:00
91088f7df5
sm6250-common: rootdir: import vendor init scripts
2020-07-15 23:03:28 +03:00
ac2d5035c4
sm6250-common: symlink logical partitions in recovery
2020-07-15 23:03:28 +03:00
a1b7eaf9df
sm6250-common: add recovery scripts
...
* wait for bootdevice
* setup ADB
* symlink logical partitions
Change-Id: I78bdab01eb24464ef9416f35ea8e3c50cfef7864
2020-07-15 23:03:28 +03:00