Commit graph

4602 commits

Author SHA1 Message Date
clarencelol
02bf047003 sdm660-common: Switch back to AOSP BT
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Jabiyeff
2b60b99a6d sdm660-common: prop: Clean up useless log spams
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
SamarV-121
3694727da7 sdm660-common: prop: Disable continuous transaction tracing on all build types
Change-Id: I5b2d3ba03208925f40fd65d6615d027f6c7b3320
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
imjyotiraditya
5a72639a8c sdm660-common: prop: Enable config_avoidGfxAccel
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
Change-Id: Ic0e7a55a7c6e760e8a5172c6de4ccffcbe28d2fa
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Alec Mouri
e7181ae6da sdm660-common: properties: Force device to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: I2910f9d025ca6a6f3e73544e8f14346cfb0bc177
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
John Galt
7f38c6c404 sdm660-common: prop: Set frame render ahead to 3
The extra 2-3 frames benefit jank without adding much input latency.

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
pix106
7726d82060 Revert "sdm660-common: enable ro.hwui.render_ahead and set it to 20 frames"
This reverts commit 73a43969b7.
2023-05-09 06:36:23 +02:00
minaripenguin
38ffb4e605 sdm660-common: prop: Enable apk fs-verity
* for some reason, some apps automatically detects that we're rooted due to verityUtils failing to measure the apps apk fs-verity.

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Alin Jerpelea
0624be886a sdm660-common: configs: Add qmi_fw.conf
This file will silence the warnings on qmi

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Gaurav241
bc7e624aa3 sdm660-common: overlay: Separate notification and ringtone volumes
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
kdrag0n
e51c944939 sdm660-common: overlay: Allow more cached apps in the background
* 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>
2023-05-09 06:36:23 +02:00
kdrag0n
19e89d5f89 sdm660-common: overlay: Compact cached app heaps in the background
* 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>
2023-05-09 06:36:23 +02:00
Immanuel Raj
c3a7a64be5 sdm660-common: Use garbage collector
Good with F2FS

Based on 6a82382659

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Mohamed Moussa
342d3ebe97 sdm660-common: rootdir: Move init.recovery.qcom.rc out of root
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>
2023-05-09 06:36:23 +02:00
Arian
fe308799a1 sdm660-common: rootdir: Remove printk loglevel setup from init.qcom.sh
Change-Id: I3bba49505efd42e2276116c5cdd31a921acf30a8
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
ZeeLog
3f261b11a0 sdm660-common: rootdir: Append vendor prefix to irsc_util
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
UtsavBalar1231
a76505d70a sdm660-common: rootdir: Remove obsolete rfs_access service
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>
2023-05-09 06:36:23 +02:00
Arian
8c7b7a78c2 sdm660-common: rootdir: Don't install test apps
Change-Id: I642691c52afa777eeed50a280574dcfba0eae155
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
pix106
6f9fe01554 sdm660-common: rootdir: clean fstab time options
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
pix106
94b9dc6c67 sdm660-common: properties: Switch to SkiaGL Threaded
This reverts commit 24472a9920.
2023-05-09 06:36:23 +02:00
pix106
b941e52a77 sdm660-common: sepolicy: drop livedisplay sepolicy rule 2023-05-09 06:36:23 +02:00
sabarop
8c57947a57 sdm660-common: sepolicy: multiple address denials
Coauthored-by: pix106 <sbordenave@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
ManshuTyagi
796762d620 sdm660-common: init: Fix trace error * E cutils-trace: Error opening trace file: No such file or directory
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
pix106
5c287da296 sdm660-common: build scudo-free 32-bit libc variant
This reverts commit 64f098356b.
2023-05-09 06:36:23 +02:00
Bruno Martins
305c24f51b sdm660-common: BoardConfig: Sync boot image header with stock
Pass proper boot image header version and at the same time
ditch defaults.

Change-Id: If0345731ab8edc9a7f4c2c506e3748833d6dd076
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Bruno Martins
9aa514c54e sdm660-common: BoardConfig: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Volodymyr Zhdanov
b9a2b9d013 sdm660-common: Disable configstore usage
* 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>
2023-05-01 20:35:06 +02:00
Alcatraz323
a0cfb3bcf4 sdm660-common: use BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE
* 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>
2023-05-01 20:35:06 +02:00
Alcatraz323
707d3e73b7 sdm660-common: audio: correct primary input route source
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-09 12:29:09 +02:00
pix106
302722fa7a sdm660-common: props: set 14 volume steps for calls 2023-04-09 09:11:56 +02:00
pix106
d8cf7ceb68 sdm660-common: props: set 25 volume steps for alarm 2023-04-09 09:11:39 +02:00
pix106
61570484f7 sdm660-common: overlay: set 25 volume steps for ring and notification
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-08 11:03:33 +02:00
Alcatraz323
cc15380b70 sdm660-common: configs: remove blacklist irq setup
* 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>
2023-04-08 09:04:30 +02:00
Dusan Uveric
ce7930fb0e sdm660-common: configs: squash multiple irq optimises
* clover: configs: Adjust msm_irqbalance prio
* clover: configs: Don't balance mdss or kgsl IRQs
* clover: configs: Add glink lpass irq to ignored list

Co-authored-by: Rashed Abdel-Tawab <rashed@linux.com>
Co-authored-by: Soumya Managoli <smanag@codeaurora.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-08 09:04:25 +02:00
Alcatraz323
7791443f94 sdm660-common: use QTI USB 1.3 HAL
* follows vendor/qcom/opensource/usb/vendor_product.mk
* enable full usb function
* partially ported sepolicy_vndr

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Alcatraz323
35342a285f sdm660-common: switch to android.hardware.usb@1.0-service.basic
* clean up for qti-1.3 working
* staging usb HAL is ACTUALLY SAME as basic 1.0 HAL, totally meaningless

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Praveen Chavan
865256537e sdm660-common: mediacodec: Allow syscalls needed by OMX component
perf daemon needs uname, ueventd, timer_create,
timer_settime, rt_sigtimedwait syscalls. Add them
to media.codec's whitelist.

CRs-Fixed: 2062950
Change-Id: Ib07d73140470d9def0d9411469ee1525e13f4bc7
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Umesh Pandey
ccddedd901 sdm660-common: mediacodec: Allow syscall for VPP
Add inotify_intl, inotify_add_watch and inotify_rm_watch for VPP.

CRs-Fixed: 2058795
Change-Id: I294b03f4a46020a022cacf1267ebf68b0bdd6e19
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Amit Shekhar
af02f2eb8e sdm660-common: Add system call to the SE whitelist
Add system call to the SE policy whitelist

Change-Id: I1793d20c49f838929aa0dc1720eb062535ae8f09
CRs-Fixed: 2050577
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Bruno Martins
5b5d2a2f5b sdm660-common: Drop mediaextractor seccomp policy
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>
2023-04-02 13:44:41 +02:00
Santhosh Behara
8d4deaf1ce sdm660-common: media: Add and publish Codec2 HAL service
*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>
2023-04-02 13:44:41 +02:00
Alcatraz323
e9aa976c93 sdm660-common: sepolicy: address newly discovered denials
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Alcatraz323
1f8bba423f sdm660-common: sepolicy: address denial for hal_fingerprint_sdm660, hal_light_default
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
ExactExampl
73a43969b7 sdm660-common: enable ro.hwui.render_ahead and set it to 20 frames
* Rendering ahead makes some animations handling better (especially qs pulldown on a13 qpr2)

Change-Id: I3e732cfbd22d30df9843d3b7d2762ec59cf0f6a7
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Albert I
1d597aa83e sdm660-common: Inherit several Android Go configurations
Beneficial for everyone, even on non-Go devices.

Change-Id: I088fd00500ce10df5f413cb762aaed2ec00f5dfc
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Mathieu Chartier
371b3a10b0 sdm660-common: Speed profile services and wifi-service to reduce RAM and storage
Change-Id: I1d907b24cb2760ddd9cc65ac4335730c8e61a0a3
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Alcatraz323
796f450b3a sdm660-common: rootdir: time_daemon: self contained module
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Pavankumar Kondeti
9c4a02b3e7 sdm660-common: rootdir: post_boot: set the default IRQ affinity for SDM660/SDM630/SDM845
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>
2023-04-02 13:44:41 +02:00
Alcatraz323
901ff5c8a1 sdm660-common: rootdir: set task_profiles for common background tasks
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>
2023-04-02 13:44:41 +02:00
Suren Baghdasaryan
0348e50c0a sdm660-common: rootdir: Replace direct pid writes with setting task profiles for audio interfaces
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>
2023-04-02 13:44:41 +02:00