Commit Graph

86 Commits

Author SHA1 Message Date
therealmharc
8e9a497211 Revert "sm6150-common: Move to Xiaomi fingerprint AIDL"
This reverts commit 20d156bcab.

- also drop fcm entry

Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-11 01:11:54 +00:00
dlwlrma123
996e6fb49c sm6150-common: overlay: Disable intrusive gms components
* these processes were not allowed to run in background and yet they still persist everytime causing logspam and unnecessary broadcast, we may want to disable "GmsIntentOperationService" but some users on xda reported broken notifications on stuffs like google keep and maybe other google apps that relies on GmsIntentOperationService broadcasts.

07-24 09:29:26.041  2997  5548 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
07-24 09:29:26.042  2879  2879 I Zygote  : Process 8201 exited due to signal 9 (Killed)
07-24 09:29:26.043  2997  3023 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver

Change-Id: I17c1ab2bfb98375d9b5a6c6de91776244b12cf52
Signed-off-by: dlwlrma123 <alexfinhart@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:48 +00:00
Yumi Yukimura
f85f0d8b63 sm6150-common: Setup DeviceAsWebcam
Change-Id: Icf8e10cd21c4eef9a66af624971ffe9c4d39d992
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:48 +00:00
Joey Huab
1a909e840e sm6150-common: overlay: Enable Smart Pixels
Change-Id: I502019b1807edf54764580cddf709cf020177637
Signed-off-by: Joey Huab <jhuab@edukasyon.ph>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:48 +00:00
Pranav Vashi
a7f71f27da sm6150-common: overlay: Enable video pause workaround for video calling
Change-Id: I3a2f9a0ef47fca9cf296f1c507e2f774cac858f5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Subratam6296
c59edc00cf sm6150-common: overlay: Add overlay to improve signal reception
Change-Id: I469729c6c084fd94c0a1112aa46ecc2990b1839b
Signed-off-by: Subratam6296 <padraramesh420@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Cyber Knight
b92e51bfed sm6150-common: overlay: Disable QS media player turbulence effect by default
- This turbulence effect causes tremendous lags on devices with a midrange/low-end GPU as it requires expensive rendering.
- Hence, disable it by default to alleviate the situation.

Change-Id: I1a446adb36a2a9834b7733b74d8057e38425f8a6
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Michael Bestas
9426afc79d sm6150-common: Remove deprecated config_mobile_tcp_buffers/networkAttributes
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Cassie
c7355c5c9e sm6150-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Cosmin Tanislav
064eea7f58 sm6150-common: Remove unused config_speed_up_audio_on_mt_calls
Change-Id: I2860ab34e0252418236a4d90623b4fbfc6ad994a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Danny Lin
722845628f sm6150-common: Enable USB and skin temperature warnings
Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
firebird11
e377ac3bc7 sm6150-common: Add back Saturated color
Change-Id: I34b1447dcebf59b6f468e7a671516c4ae86067c7
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Pranav Vashi
c4a6a68889 sm6150-common: overlay: Disable 5G toggle
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Pranav Vashi
d7833b9429 sm6150-common: overlay: Remove 5G specific config
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
ghostrider-reborn
56471e2a91 sm6150-common: overlay: Disable alpha compositing in WM
* Completely eliminates occasional jank in few animations

Change-Id: Ia4cb48664a52242374419a923d07fcf584fe50cf
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 13:48:10 +00:00
Pranav Vashi
0431271ab6 sm6150-common: overlay: Configure turbo charging
Change-Id: I48bfe9d53b1d5887f653c14ab37a16f12d9b905f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:57:45 +00:00
Pranav Vashi
774f4d6eef sm6150-common: Disable zram writeback
* Disabled on many devices with reports to lagginess in long term and random reboot in some instances.

Change-Id: I73985159766da08cd35b0288db29cfafc7db62b0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:55:22 +00:00
Ujjwal Kirorimal
7e6ee028dd sm6150-common: overlay: Disable Adaptive Connectivity preference
Change-Id: I7274588c29cfd0078c168b7b7d9d36ef935e6bd0
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:43:52 +00:00
basamaryan
d0cac07a5c sm6150-common: Bring back QCOM WFD
This reverts commit 4a838e1a9b and d5d80a5347.

Change-Id: Ib6b2ffc341fc22511ebacdd6b716257090209b3b
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
basamaryan
20d156bcab sm6150-common: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
Edgar Arriaga
e79e4f1d01 sm6150-common: overlay: Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: Ieed912786ce51f420da9b0e96ea5d93c22244176
Signed-off-by: therealmharc <therealmharc@gmail.com>
2025-05-09 12:24:43 +00:00
x0x00044
c90f1d82bd sm6150-common: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-06-18 02:59:58 +05:30
basamaryan
03408f01f4 sm6150-common: Do not force DCI-P3 on adaptive color mode
Since Android 14, when we use the DCI-P3 color space on the adaptive color mode
there are multiple frame drops while using the device. Don't force it for now
until we have a proper fix.

Change-Id: I7ab3604f4b2932f0710374055d086aefad37aaab
2024-04-10 13:26:47 -04:00
Danny Lin
d166f5ef61 sm6150-common: overlay: Enable subtle tick vibration when revealing shelf
The stock ROM enables this because our vibrator supports subtle "tick"
vibration effects. Enable it in our device tree as well to make pulling
down the notification shade/QS panel feel slightly more interactive.

Change-Id: I0c160694bd9616c8693a659da8db9cf4e59ba4c3
2023-11-14 14:15:00 -05:00
Michael Bestas
014ef5ee19 sm6150-common: overlay: Enable multiple vibration strength levels support
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
2023-06-05 11:38:04 +02:00
SebaUbuntu
9d72a6566e sm6150-common: overlay: Drop MMS user agent overlays
* Current profile URL points to a 404 page

Change-Id: I92f3ded52dda04f6cec5709d51c84b32f39d8095
2023-06-05 11:38:04 +02:00
Danny Lin
d220c17b24 sm6150-common: overlay: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 8 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2023-06-05 11:38:04 +02:00
Arian
5dee55fd0a sm6150-common: overlay: Set preferred refresh rate on keyguard to 60
This ensures that the device doesn't switch to hrr while
doze mode is active.

Change-Id: I8488e86e56a46aea95f2835d8667c23401625f0b
2023-06-05 11:38:04 +02:00
Santiago Seifert
f6190cfd7d sm6150-common: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2023-01-27 01:32:59 +00:00
Nolen Johnson
4a838e1a9b sm6150-common: AOSP WFD doesn't support protected Wi-Fi Display buffers
Change-Id: I971373b5c57b8591b1bf676849cc511f8a425023
2023-01-27 01:32:59 +00:00
Georg Veichtlbauer
20f459e6e5 sm6150-common: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2023-01-27 01:32:59 +00:00
Alexander Koskovich
8f17177db9 sm6150-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13.

   976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2023-01-27 01:32:59 +00:00
Bruno Martins
6af6f875ca sm6150-common: overlay: Remove BT related configs
These have been migrated to sysprops in Android 13.

Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2023-01-27 01:32:59 +00:00
Nicolas Geoffray
ef38d89538 sm6150-common: Remove odex/oat files from pinner list
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
2022-04-19 19:35:09 +02:00
Kevin Jeon
cb96f74c9c sm6150-common: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2022-04-19 19:34:50 +02:00
Arian
b01b18c6fd sm6150-common: Drop renderscript pin
Change-Id: I231931f202adc0209db8e6c7d3449bf1c318b820
2022-04-19 19:34:28 +02:00
Arian
b3b6b7c683 sm6150-common: overlay: Decommonize vibration patterns
Our devices have different haptics devices which can
benefit from specific configuration.

Change-Id: Ida902a89162ee6befacda3bd014e57a828c78d8f
2021-12-29 10:08:52 +00:00
Jenhao Chen
9010fc737d sm6150-common: Enable zram writeback
Bug: 128889899
Test: Boot to home

Change-Id: I48ae06e54a66a7d6965afbe8db3d2f157cf8a1f4
2021-08-06 19:25:07 +02:00
Chia-I Wu
2db5017df7 sm6150-common: overlay: Remove COLOR_MODE_SATURATED
It is replaced by COLOR_MODE_AUTOMATIC.

Bug: 110524699
Test: Settings > Display > Advanced > Colors
Change-Id: I116b50fde456a24c90fd83969cd2fc30f84947ee
2021-06-18 18:34:30 +02:00
Gil
b612c65f72 sm6150-common: overlay: [Display] Enable adaptive color mode
Enable Adaptive color mode setting.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2021-06-18 18:34:30 +02:00
Christine Franks
3ee56cb4c4 sm6150-common: overlay: Add config value for a11y color mode
Accessibility transforms require a specific color mode that is not
always available for the user to select.

Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: Ia3211d5aa6e117c5361dea44d944064b23260a81
2021-06-18 18:34:30 +02:00
Adithya R
6139e3481e Revert "davinci: overlay: Hide sRGB toggle in developer options"
This reverts commit e793668fec.

Change-Id: Ia6a2bd810b0c98efca3fecffe174ba53067013bd
2021-06-18 18:34:30 +02:00
Arian
83fd7346ac sm6150-common: overlay: Decommonize brightness overlays
Change-Id: I70b781a8d9a30555848dbf2783c69aeb4b9e1425
2021-06-18 18:34:30 +02:00
Chirayu Desai
a9988f304c sm6150-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2021-06-18 18:34:30 +02:00
Arian
690cccbaba sm6150-common: Decommonize lights HAL and overlays
* toco and sweet don't have a notification light and since backlight
  control has been moved to hwc this HAL is not needed for these targets.

* Keep the HAL itself in common tree so that devices which need are able
  to build the lights HAL which is common for all targets with a
  notification light.

Change-Id: Ia4c3c96e49b5ce58f4f55b92a65321fb258f8975
2021-06-18 18:34:30 +02:00
Arian
27700c723f Revert "davinci: overlay: Enable STATE_DOZE_SUSPEND"
* We do not support different low power modes and handle doze lp1
  and lp2 the same in kernel which makes this redundant.

This reverts commit ba52828323.

Change-Id: Ie51dea708f157d1f0ba19f1b00dc8ce3cf892931
2021-06-18 18:32:31 +02:00
Arian
72944d2612 sm6150-common: overlay: Remove adaptive colour mode
Change-Id: I4f36e2c874773c44161536b2f8dbf4cbb7325b84
2021-06-18 18:32:31 +02:00
Arian
57ed428fca sm6150-common: overlay: Decrease minimal brightness level to 1
* It was previously bumped to 2 because 1 was causing a purple tint
  which didn't disappear after fod. This was fixed by properly handling
  the minimal brightness level in kernel.

Change-Id: Iec1f73260c061cf5616ee9322514b33d889adfe5
2021-04-25 15:23:52 +02:00
LuK1337
645f7d8c90 sm6150-common: Disable qti-telephony-common injection for time being
TODO: revisit once usable qti-telephony-common jar is available.

Change-Id: I2b80a3beb931d11db4b8367cded738e935797002
2021-04-25 15:23:51 +02:00
raghavt20
0aa378102c sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00