* Google has provisioned this on the Pixel 5 (RQ1A.201205.010) to
utilize the 8 GB of RAM better, and I have also observed that a
lightweight selection of apps was hitting the cached app limit before
exhausting RAM on another device with 8 GB of RAM
* This shouldn't cause adverse effects on devices with less RAM (e.g. 4
GB) as the low memory killer should kick in long before this limit on
such devices
Signed-off-by: pix106 <sbordenave@gmail.com>
* Background ART heap compaction for cached apps has been recommended
for Android Go devices for a while, and Google has enabled it for the
Pixel 5 on RQ1A.201205.010. This feature should help fit more cached
apps in memory
Signed-off-by: pix106 <sbordenave@gmail.com>
The file init.recovery.qcom.rc flagged as offending file in root/,
because it violates the pathing req. (system/ & root/). Place the file
in $(TARGET_RECOVERY_ROOT_OUT)
Signed-off-by: pix106 <sbordenave@gmail.com>
init: Command 'start rfs_access' action=boot
(/vendor/etc/init/hw/init.target.rc:88) took 0ms and failed: service
rfs_access not found
Change-Id: I1549a36f0663bfe8de381ccb493b757cd5375cbc
Signed-off-by: pix106 <sbordenave@gmail.com>
Pass proper boot image header version and at the same time
ditch defaults.
Change-Id: If0345731ab8edc9a7f4c2c506e3748833d6dd076
Signed-off-by: pix106 <sbordenave@gmail.com>
Custom audio policy manager is hard disabled by CAF
for 2 years now.
Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
Signed-off-by: pix106 <sbordenave@gmail.com>
* it's finally deprecated in R
* ship disable_configstore because we have API level less than 29
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
* BOARD_SYSTEMIMAGE_PARTITION_TYPE is not exist and useless for file system selection
* use BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE is the correct way
Signed-off-by: pix106 <sbordenave@gmail.com>
* referenced by legacy drivers/staging/qca-wifi-host-cmn/hif/src/hif_napi.h
* /sys/kernel/irq_helper/irq_blacklist_on not exist on 4.19
* correct 4.19 irq name in comment
Signed-off-by: pix106 <sbordenave@gmail.com>
* follows vendor/qcom/opensource/usb/vendor_product.mk
* enable full usb function
* partially ported sepolicy_vndr
Signed-off-by: pix106 <sbordenave@gmail.com>
Add system call to the SE policy whitelist
Change-Id: I1793d20c49f838929aa0dc1720eb062535ae8f09
CRs-Fixed: 2050577
Signed-off-by: pix106 <sbordenave@gmail.com>
These syscalls are now allowed by default.
Change-Id: I405f609d030331e19031612cbd912a54a3c72339
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
*Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/
*Add seccomp policies for codec2 services
Change-Id: I83af4f6b80886ca18aa059285e0b94403c027e29
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
Set the default IRQ affinity to the primary cluster for SDM660,
SDM630 and SDM845. When a CPU is isolated/hotplugged, the IRQ
affinity is adjusted to one of the CPUs from the default IRQ
affinity mask.
Change-Id: I1f33fdf2a06e1cb086904dabaaa0414aafcf07c5
Signed-off-by: pix106 <sbordenave@gmail.com>
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.
Bug: 191283136
Test: build and boot
Co-authored-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.
Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
Merged-In: Ide373c283359cf4b73af4cb0813d8c0306942595
Signed-off-by: pix106 <sbordenave@gmail.com>
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.
This may cause memory pressure.
Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
Signed-off-by: pix106 <sbordenave@gmail.com>
* system/core/init/vendor_init.h only load vendor_load_properties(void) as a entry function
* all funtion call must be done in void vendor_load_properties(void)
* fix the audio acdb loading, previously it loads MTP acdb which gives a really bad speaker calibration
* differs ther clover/clover+ model info/dpi in settings
* skip fingerprint setup page for 8inch
* make code pretty
Signed-off-by: pix106 <sbordenave@gmail.com>
* replace with 660 stock irq conf(miui/s62pro are same)
* remove not needed service define in init.qcom.rc
This reverts commit fe0aeb3704.
Signed-off-by: pix106 <sbordenave@gmail.com>