50 Commits

Author SHA1 Message Date
Sanju0910
a93459d56b avicii: Add support for OnePlus Camera & Gallery
* Apps repo: https://gitlab.com/Sanju0910/vendor_oneplus_apps

Co-authored-by: cjh1249131356 <cjh1249131356@gmail.com>
2023-07-09 10:53:04 +05:30
Sanju0910
bc2f1a5993 avicii: Add support for Dolby Atmos
Co-authored-by: HELLBOY017 <abhaygill017@gmail.com>
Co-authored-by: kibria5 <mdkibria687@gmail.com>
2023-07-09 10:45:31 +05:30
Alessio Balsini
0d4a83a749 avicii: props: Use FUSE passthrough mode by default
Enable the persist.sys.fuse.passthrough.enable flag in the device
system configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish devices for about two months
and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Change-Id: I874e2e2bd143513c32aedf27b824baccc5fcc478
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2023-04-22 13:47:40 +00:00
rdxzv
bd9466519f avicii: Disable client composition cache
* Disabling client composition cache improves system smoothness and fix issues like lags when media output is showed on qs panel

Signed-off-by: Vitorgl2003 <vitorgl.2003@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-04-22 13:47:14 +00:00
officialputuid
3f841d69d2 avicii: props: Remove Force triple frame buffers
* Causing some apps laggy & UI performance regression

Co-authored-by: Reinazhard <reinazhard@gmail.com>
Co-authored-by: Ratoriku <a1063021545@gmail.com>
Change-Id: I6e96e0e186a112fb492b002b208932d5278b7877
Signed-off-by: onettboots <blackcocopet@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Master <mhmdeveloperofficial@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-04-22 13:45:51 +00:00
Vaisakh Murali
30f7c41101 avicii: props: Use HintManager for HWUI
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.

Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-04-22 07:24:38 +00:00
KakatkarAkshay
b49a01f7ae avicii: Sync properties from AC2003_11_F.17
Change-Id: Ia7031f5e9847509f299a969a4efc897903959917
2023-03-02 00:45:03 +05:30
LuK1337
0beafc06ae avicii: Set more crypto props
Change-Id: I9b18c44e0508cf16b5b815ce5aaab08ed5e7c9c4
2023-02-19 14:19:36 +01:00
Alexander Koskovich
f15a998417 avicii: Set USB product string to 'OnePlus Nord'
* This is better for user facing stuff than 'AC2003'.

Change-Id: I1f380699692c07b2fcc03fa83adc292b6d899cf7
2023-02-19 14:19:36 +01:00
Sal Savage
08f8cc3f26 avicii: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-02-19 14:19:36 +01:00
Alice Kuo
9d8d2c79a1 sm8250-common: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I57eaa7abe70e4c7739c707b09dc95530e10b5586
2023-01-09 17:59:40 +01:00
Edwin Moquete
e53be2ef64 sm8250-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-01-07 09:30:54 +00:00
Edwin Moquete
04e09521ef sm8250-common: Restore vendor bluetooth props
These are read by the BT audio blobs, even without the
QTI BT stack.

Change-Id: Ia2335bedfd7e19899c2cb32c23fcc664f2cfe8ce
2023-01-07 09:20:21 +00:00
LuK1337
ee35037bbb sm8250-common: Migrate vendor.camera.aux.packageexcludelist to overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2022-11-04 20:30:09 +01:00
LuK1337
670bcba9dd sm8250-common: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-09-19 16:27:33 +02:00
Bruno Martins
4045d01d6a sm8250-common: Remove QTI BT stack bits
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2022-09-19 16:27:30 +02:00
Michael Bestas
f29c731953 sm8250-common: Remove persist.sys.fflag.override.settings_bluetooth_hearing_aid
This has been replaced by `bluetooth.profile.asha.central.enabled`

Change-Id: I0bb72ec01a77f790ebeb594e45c695e9a087dc43
2022-09-19 13:18:16 +02:00
Alexander Koskovich
5a2761c2f8 sm8250-common: Move Bluetooth power overlays to sysprops
* These were moved to sysprops in Android 13 [1] and while
   frameworks reads the values directly from power_profile.xml
   Bluetooth app reads from the properties.

 [1] 976d33062b%5E%21/#F0

Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
2022-09-19 13:18:16 +02:00
Sal Savage
660518daf5 sm8250-common: Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Merged-In: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
Change-Id: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
2022-09-19 13:18:16 +02:00
Sal Savage
1f1ac763f8 sm8250-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Merged-In: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-09-19 13:18:16 +02:00
Sal Savage
b9967697d8 sm8250-common: Update LE Audio profile properties
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
Change-Id: I0d23d92ae4d75d6658c2ab2ca25122dd5ac68300
2022-09-19 13:18:16 +02:00
Alexander Koskovich
9b0d9a88d8 sm8250-common: Move BT profiles props to vendor
* Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2022-09-19 13:18:16 +02:00
Woody Lin
a4bbf153b8 sm8250-common: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-09-19 13:18:16 +02:00
Jayachandran C
f941b138c8 sm8250-common: Move default network property to vendor partition
This fixes GSI image overriding the default value

Bug: 153852350
Test: Manually verified after flashing the GSI image
Change-Id: I78b415862c420c23121ec03d6953814cd628ea9a
2022-08-19 21:59:31 +02:00
LuK1337
f82eb28086 sm8250-common: Disallow aux cam usage for Telegram / Telegram X
These seem to misbehave when they reach certain camera IDs.

Change-Id: Ib07269215d76a09bf5b305bfb6ae9b84f5c5a7d3
2022-08-19 21:59:31 +02:00
Alexander Koskovich
8168c25ae4 sm8250-common: Drop implied Bluetooth properties
Change-Id: Ibf99eb0a1cfec92b849403db710df3239e1de203
2022-08-19 21:59:31 +02:00
Alexander Koskovich
d36b5f0e25 sm8250-common: Use content detection for refresh rate
Change-Id: I8e53f18cd07156d4d80c6f0238c7801fa887fa1f
2022-08-19 21:59:31 +02:00
Park Ju Hyung
5d2e8a3ecf sm8250-common: Relax timers for automatic refresh rate switching
* Due to visible gamma shifts on our panels, we should
   make the switchings to happen conservatively.

 * With idle timer >= touch timer, idle timer now always
   takes precedence, but we're leaving touch timer property
   to immediately switch back to 120Hz on touch input events.

 * Display power timer is left untouched as it's responsible
   for display mode changes such as Doze.

Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8
2022-08-19 21:59:31 +02:00
Vishalcj17
dce4de3df7 sm8250-common: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Change-Id: I878eb5cd7acb1fa322b28fce61ea59d8bfa47932
2022-08-19 21:59:20 +02:00
Alexander Koskovich
9da731496d sm8250-common: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-08-19 21:59:20 +02:00
Alexander Koskovich
31e1297d77 sm8250-common: Drop QSPM vendor property
* Only used in system_ext libraries that we don't include.

Change-Id: I5ddcb48558df9b396cf4753aca9044978d3ddcb5
2022-08-19 21:59:20 +02:00
Alexander Koskovich
fb99e77372 sm8250-common: Drop PASR properties
* vendor.power.pasr.enabled is unused and vendor.pasr.activemode.enabled
   is only used on property:vendor.pasr.enabled=true, which isn't the
   case since we disable memory hotplugging kernel.

verify_pasr_support()
{
         if [ -d /sys/kernel/mem-offline ]; then
                setprop vendor.pasr.enabled true
         fi
}

Change-Id: I73145cb15bd970eaec3bd96f87a48c44e3115a3b
2022-08-19 21:59:20 +02:00
Alexander Koskovich
db3cac8c18 sm8250-common: Drop shutdown wait time property
* Can't find anything that uses it.

Change-Id: I146158a8f37fb888a3ae88e5241ab68f62d69194
2022-08-19 21:59:20 +02:00
Alexander Koskovich
ff12a7464b sm8250-common: Move default.prop properties to vendor.prop
Change-Id: I91759cc0a37b504dd5f9a2bf978c9b207da02435
2022-08-19 21:59:19 +02:00
Alexander Koskovich
2a7e625904 sm8250-common: Move properties to their respective partitions
* They don't have permission to be set otherwise.

Change-Id: I63aa83d0ff316c5fe0c90df85f0951c4d3a19e06
2022-08-19 21:59:19 +02:00
Alexander Koskovich
c526057efa sm8250-common: Sync properties with OOS
Change-Id: I7b53d83d9acd46fd91f842f552338952a95f86d3
2022-08-19 21:59:19 +02:00
Bruno Martins
253d6a5f43 sm8250-common: Update blobs to Android 12 (IN2025_11.C.33)
* Move some configurations to proprietary files since
   we make no edits to them.

Change-Id: Ia412660d84825b47c2f272f89baf73cf5981879c
2022-08-19 21:59:19 +02:00
Lokesh Gidra
56fb9175ca sm8250-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2022-04-01 15:19:21 +02:00
Wilson Sung
f8217d4a99 sm8250-common: Set SOC manufacturer and chipset properties
Bug: 158284209
Bug: 180589452
Change-Id: I9be67a1a78ab1d3b4a0e717fb3381458eb4996da
2022-01-25 20:08:10 +01:00
P.Adarsh Reddy
20a3d8694e sm8250-common: Enable incremental FS feature.
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-07 10:41:49 +08:00
Bruno Martins
70bd2661d2 sm8250-common: Ditch rild.libpath prop
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.

Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2021-06-01 10:23:44 +02:00
LuK1337
ce7f97800c sm8250-common: Decommonize voice call volume steps
Apparently there are issues on non-8T with vol steps set to 9.

Change-Id: Icc8f1dd75c67cf2cc247301ec8606326e4b6f3d5
2021-05-20 09:33:00 +02:00
LuK1337
bb16435fa4 sm8250-common: Relocate volume steps customization to vendor.prop
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
LuK1337
c870005d46 fixup! sm8250-common: Set persist.sys.sf.color_mode to DISPLAY_COLOR_MANAGED (0)
* Meant to actually set the native_mode here.

Change-Id: Ie8830d2804df7be2563cbd2ea87a85727a8053f1
2021-02-02 12:59:27 +01:00
LuK1337
5e5a8d31d7 sm8250-common: Set persist.sys.sf.color_mode to DISPLAY_COLOR_MANAGED (0)
* 'Display white balance' only works when color_mode is
  set to something other than the default value
  DISPLAY_COLOR_UNMANAGED (1).

Change-Id: Idaf30a2f2924c461fc0f034f099afaecb5bbf79b
2021-02-02 11:58:29 +01:00
LuK1337
443ade5112 sm8250-common: Set ro.gfx.driver.0 according to stock
* This was in stock /system/build.prop but since it's
  labeled as u:object_r:exported3_default_prop:s0 it
  may as well be put in /vendor/build.prop instead.

Change-Id: I5c03cedec64e7364c0733cd2ea416ca6a7b09089
2021-01-23 20:38:10 +01:00
LuK1337
0cd9a81dcf sm8250-common: Enable ro.audio.monitorRotation
* This was in stock /system/build.prop but since it's
  labeled as u:object_r:exported3_default_prop:s0 it
  may as well be put in /vendor/build.prop instead.

Change-Id: I462c575da006f096185f515ffb1b050d7bd4ae3c
2021-01-23 20:31:10 +01:00
LuK1337
08b67c59e8 sm8250-common: Restrict DSDS to intl variants
Change-Id: I8858ca1ce05a3354acea8f322bb34cc2192d81f5
2021-01-08 14:31:38 +01:00
LuK1337
e7a726e756 sm8250-common: Enable OTG
Change-Id: I9a361ba93d94ee9a5cfeb8421367fae097837601
2021-01-08 14:31:38 +01:00
LuK1337
343e954111 sm8250-common: Start building vendor and odm
* Build whatever we can from source
* Import vintf compatibility_matrix and manifest
* Import stock vendor props

Change-Id: I905b2b6c388f6b76844e7cea2def70d10e164dab
2021-01-08 14:31:38 +01:00