Commit Graph

411 Commits

Author SHA1 Message Date
Michael Bestas
025a397d2f sapphire: overlay: Enable battery cycle count
Change-Id: I1653751cb98659ad32708d0c7487b9b2b66c51e8
Signed-off-by: artemscine <artempemine@gmail.com>
2024-09-01 14:13:15 +06:00
onettboots
441685f775 sapphire: Limit max refresh rate on lockscreen
Signed-off-by: Omar Mohamed <omarcoptan9@gmail.com>
2024-09-01 14:13:15 +06:00
Elias Dimopoulos
24fbbd97e1 sapphire: overlay: Lower UDPFS enroll bar radius
It used to overlap with the gesture pill

Change-Id: Ief5d9a122a8b07b6c602c9a84ed516b7ad0c569c
Signed-off-by: Elias Dimopoulos <linkdevel@protonmail.com>
Signed-off-by: Omar Mohamed <omarcoptan9@gmail.com>
2024-08-31 16:41:11 +06:00
Omkar Chandorkar
c7a323613a sapphire: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f | AOSP
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Omar Mohamed <omarcoptan9@gmail.com>
2024-08-31 16:41:11 +06:00
AdarshGrewal
184a97491f sapphire: Include MiuiCamera if exists
Signed-off-by: artemscine <artempemine@gmail.com>
2024-08-31 16:41:11 +06:00
Pranav Vashi
7d3450063c sapphire: Switch to jemalloc for libc
* Benchmark shows improvement.

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-08-31 16:41:11 +06:00
Pranav Vashi
e0193ac529 sapphire: Use jemalloc to fix camera
[Kondros1995] We dont have this issue with MIUI camera port but lets have it just to be safe

Signed-off-by: kibria5 <mdkibria687@gmail.com>
2024-08-31 16:41:11 +06:00
Arian
15ca4284f7 sapphire: Enable camera override format from reserved
This enables qcom additions for high framerate videos.

Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
2024-08-31 16:41:11 +06:00
Jesse Chan
e2e1bd7f6d sapphire: overlay: configure SQLite to operate in MEMORY mode
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.

Some OEMs have been doing this for years.

Change-Id: I541709fc771d4b501b56b8555e5e8a04486d0293
2024-08-31 16:41:11 +06:00
Jake Weinstein
d937d65ae7 sapphire: props: Rename property to disable MTE in system_server
Matches Android 14 D1

commit 6d9f5fc6ee46136163be16ec53cc70b4cba02c83
Author: Evgenii Stepanov <eugenis@google.com>
Date:   Fri Jun 16 16:47:21 2023 -0700

    Rename sysprop for MTE mode in system_server.

    Move the system property that controls MTE mode in system_server out of
    arm64.memtag.process namespace. Process sysprops affect the MTE mode of
    any process with the given name; using such property in a product means
    that any process or test unfortunately named "system_server" would be
    affected.

    Bug: 280343521
    Test: debuggerd `pidof system_server` | head -30 | grep tagged_addr
          affected by the new property
          not affected by the old property

Signed-off-by: angelomds42 <angelomds42@gmail.com>
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2024-08-31 16:41:11 +06:00
Michael Bestas
a6791f4d37 sapphire: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-08-31 16:41:11 +06:00
Rheygine Medel
3412be9506 sapphire: Disable blur on app launch
This change adds the system property that disables blur during app
launch.
2024-08-31 16:41:11 +06:00
pkm774
ee5c1c1ce1 sapphire: Disable slow blur effect to avoid laggish blur effect 2024-08-31 16:41:11 +06:00
saikiran2001
bb5e7b80b9 sapphire: Guard vendor_subsystem_ramdump in user builds 2024-08-31 16:41:11 +06:00
mukesh22584
6e00b1dfb7 sapphire: Exclude recovery from rom zip 2024-08-31 16:41:11 +06:00
Mohammad Kibria
6dbf556de4 sapphire: sm6225-common -> sapphire 2024-08-31 16:41:11 +06:00
itsnouralawad
49a3228e81 sm6225-common : Update from V816.0.6.0.UMGIDXM 2024-08-31 16:41:11 +06:00
itsnouralawad
7ba4522d09 sm6225-common : SQUASH : Use common Dolby package , Unpin Dolby blobs , Re-Enable volume leveler 2024-08-31 16:41:11 +06:00
SamarV-121
92aba79263 sm6225-common: Disable continuous transaction tracing on all build types
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2024-08-31 16:41:10 +06:00
Jens Reidel
2347f17fd2 sm6225-common: rootdir: Enable mgame mi_thermald mode
Out of all the modes that run the CPU at advertised speeds without
underclocking, mgame has the most conservative thermal limits.

Change-Id: I491f608a7be5c9497c70b3e49501d7abf58a980c
2024-08-31 16:41:10 +06:00
artemscine
93cfa1d655 sm6225-common: Set dynamic partitions values according to stock
Change-Id: I56d735d102fb618bb2263c926078c7a022e55278
2024-08-31 16:41:10 +06:00
itsnouralawad
c2e53b362b sm6225-common: Disable Audio compression 2024-08-31 16:41:10 +06:00
Fabian Leutenegger
9670945684 sm6225-common: Patch displayfeature.default.so to use v33 libstagefright_foundation
* this fixes a fatal crash within displayfeature that prevented it from starting

Change-Id: Ic102dc1fb5b27a849b55253d8b81828efd15c1fa
2024-08-31 16:41:10 +06:00
Ali Hasan
c20d5c471d sm6225-common: overlay: Update CarrierConfig from V14.0.14.0.TMTMIXM
Change-Id: I937a6e595b4c2ca250eca3316b366dd296748eb6
2024-08-31 16:41:10 +06:00
chandu078
12e63d1c6a sm6225-common: blobs: Update IMS system from T1TBS33.32-8-9-7-2
* Match with LA.QSSI.13.0.r1.11.00.00.913.072.01 QSSI tag.

Change-Id: I8b3a4a5bbeadeb9b36dc1e04f8ecdb08d3c231cf
2024-08-31 16:41:10 +06:00
itsnouralawad
f41565c3a1 sm6225-common : Remove blur 2024-08-31 16:41:10 +06:00
itsnouralawad
92a5b013d6 sm6225-common : Move deprecated blobs to prebuilt 2024-08-31 16:41:10 +06:00
kssrao13882
bc8369eea1 sm6225-common: overlay: Add CPU temperature divider
Change-Id: Iac249c840b81d5421d5484cfd4bc6b7f516ab68d
2024-08-31 16:41:10 +06:00
Sebastiano Barezzi
f682793d07 sm6225-common: rootdir: Drop debugfs stuff
Change-Id: Ibb5f24200f8d772cecf4166a90d27419329a337d
2024-08-31 16:41:10 +06:00
Ali Hasan
f3a972e3ac sm6225-common : Switch to HyperOS charger
Change-Id: If12d65e6f9bb2bcddc4c562365d3c647cef8edda
2024-08-31 16:41:10 +06:00
itsnouralawad
a5298b18f9 sm6225-common : Update blobs from V816.0.4.0.UNGMIXM 2024-08-31 16:41:10 +06:00
LinkBoi00
c511682f15 sm6225-common: overlay: Switch to AVC 3.1 for screen recording
In weaker SOCs, AVC 3.1 seems to pull less load on the CPU/GPU
and therefore using it has performance advantages in screen recording
2024-08-31 16:41:10 +06:00
minaripenguin
ac7e8dd2c6 sm6225-common: props: Set Brightness slider curve Implementation 2024-08-31 16:41:10 +06:00
Ivan Martynov
654edae89a sm6225-common: props: Disable QCRIL power saving
* Currently mobile network signal and speed was not giving wanted results for daily drive
* Disable QCRIL battery saving mode to have maximum network Performance

Change-Id: I893dc82491996a3ce203f26d9df32919b74c728c
2024-08-31 16:41:10 +06:00
UtsavBalar1231
783bbeb09e sm6225-common: sepolicy: Allow init.qcom.usb.sh to create files in uvc.0 dir
* During the UVC conifguration initialiation qcom USB script tries to create multiple folder and symlinks
* so allow qcom USB script to succesfully create them without any denials.

Change-Id: I601c038a2c83301a9427350d12ad80aced03fe22
2024-08-31 16:41:10 +06:00
TheCrazyLex
4843e0f2b0 sm6225-common: wifi: Enable QPower and Deep sleep at the same time
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
 -> Leads to amazing power savings

Change-Id: I3916ecd6ff93aa5c7248e542df2cc0e8f781441a
2024-08-31 16:41:10 +06:00
Vinay Verma
29d03078dd sm6225-common: properties: Disable Async MTE on System Server
Async mode MTE is enabled by default on System Server process.
Add property arm64.memtag.process.system_server=off
This property is read during system server forking process and
accordingly Heap Tagging level is set.

Change-Id: I84983ac78ca316e5b109b3a1f110f6c487a2f5e0
2024-08-31 16:41:10 +06:00
Vaisakh Murali
0f6ffb5a77 sm6225-common: Prefer hwcodecs for thumbnails
Change-Id: Ie226ec92b985bc2cc90d119b3a42962f2fea7d2e
2024-08-31 16:41:10 +06:00
dlwlrma123
cf172d707b sm6225-common: Switch to SkiaGL as HWUI renderer
* It seems like Google is improving Skia based from RenderEngineThreaded's history [1], lets switch to SkiaGL and test stability and perf.
[1]: https://github.com/LineageOS/android_frameworks_native/commits/lineage-19.1/libs/renderengine/threaded/RenderEngineThreaded.h
2024-08-31 16:41:10 +06:00
Daniel Jacob Chittoor
34d424f11e sm6225-common: rootdir: Enable suspend to RAM
* Improves idle drain considerably

Change-Id: Ibfbcbf9ade8123931b100432132b019f8fb44b45
2024-08-31 16:41:10 +06:00
Michael Bestas
8d4c3d65ac sm6225-common: Properly init qti perf hal
* Allows perf to work properly on boot to restore selected power profile

This fixes log spam -
QTI PowerHAL: Failed to acquire lock.

Change-Id: Idff7d1f51d8480b811a1a35c00670ca0bbd70be5
2024-08-31 16:41:10 +06:00
Omkar Chandorkar
d7d8cef375 sm6225-common: overlay: Disable 6GHz hotspot
* This device does not support the configuration

Change-Id: I8debdfcf0a7f5ac0d8c959f8ce387ca1c3dc3f93
2024-08-31 16:41:10 +06:00
Michael Bestas
bec5ef8279 sm6225-common: Set INLINE_KERNEL_BUILDING
* Needed for build with prebuilt kernel

Change-Id: Id68130bc16f2b0756c9afac84b7c27bd305c069c
2024-08-31 16:41:10 +06:00
sakhiofsakshi
92aba239d7 sm6225-common: Remove persist.vendor.service.bdroid.sibs=false
- Fix deep sleep issue when bluetooth headset is connected

Change-Id: I6db0da098ced911071c9392d42251b47c59e1066
2024-08-31 16:41:10 +06:00
Praveen Chavan
283cb1a8b4 sm6225-common: Add a property to enable prefetching video
persist.mm.enable.prefetch, if set to true, will enable
prefetching of video input from upstream source to help
improve playback performance for high frame-rate and
high bitrate content

Change-Id: I814785befd9844364afb50eb7d48439406ae0750
2024-08-31 16:41:10 +06:00
John Vincent Corcega
4cdfa06f50 sm6225-common: overlay: Properly setup fast charging configuration
- quick_charge_type returns '3' when using a validated Xiaomi fast charger (stock charger)
- Enable Turbo Power Charger to follow Xiaomi 'Turbo Charge' branding

Test: Boot, connect MFC

Change-Id: I198fb9e2af5bc93377b58b37273fc62ed82b69dc
2024-08-31 16:41:10 +06:00
Joey Rizzoli
f4094b3533 sm6225-common: overlay: Enable burnin protection
Change-Id: I925361e89ecf775f45f157eacdd8743b5a48a4df
2024-08-31 16:41:10 +06:00
hefatss
94ef3635c4 sm6225-common: sepolicy: label more sysfs wakeup node
Change-Id: Ia28fc160f5888e6472a23f7cd6cdb8e2b91ac816
2024-08-31 16:41:10 +06:00
Sebastiano Barezzi
243eba4a09 sm6225-common: Switch to AOSP WFD
Change-Id: I220026b33d4f4984efe6652cbbd83de529595df2
2024-08-31 16:41:10 +06:00
itsnouralawad
7d084b0cd8 sm6225-common : overlay:Cleanup duplications
There are some duplications after moving to common trees
2024-08-31 16:41:10 +06:00