Commit Graph

40 Commits

Author SHA1 Message Date
Omkar Chandorkar a47f3cdffc
sm8150-common: update media props to LA.QSSI.11.0.r1-12300-qssi.0
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:59 +09:00
Satheesh Kumar Pallemoni e8128ca90d
sm8150-common: AAC frame control enabled for hal implementation.
Added below two changes to enable the AAC frame control
when property persist.vendor.bt.a2dp.hal.implementation
has nbeen enabled.

- Send bitrate value to MM on basis of MTU and sample rate.
  CRs-Fixed: 2402346
  Change-Id: I6c964311dfa5db335d3b9dd21c60d1f9dcc61ebe

- A2dpSrc: Calculate bitrate with exact peer MTU value.
  CRs-Fixed: 2466969
  Change-Id: I95e93cb29d1add0b2bca8f99827849519311a0b1

CRs-Fixed: 2474400
Change-Id: I8eea975fac290c117d9781c1455e81e9404f6bd6
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:58 +09:00
M Safoorah Banu b0e676d74b
sm8150-common: Enable TWS plus feature using persist property
- Enable/Disable TWS plus feature support using persist
   property - "persist.vendor.btstack.enable.twsplus"

 - TWS plus feature is supported only if property is set to
   "True" else feature is not supported.By default property
   is set to False.

CRs-Fixed: 2344895
Change-Id: I855f448146424b7b647ca599f3d830073ec7c409
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:58 +09:00
xiaowang 92f50991a6
sm8150-common: Add support for low power adaptive control feature
High power consumption issues were reported for some HS/CK/Speaker
in close range(1 meter) on hastings platform as they may not have
perfect RSSI golden range logic for power control and always request
SOC to increase TX power to max power level. Newer hastings SOC support
LPA power control to avoid unnecessary higher power consumption.

The change enable this soc feature according to value of property.
And disable it for special remote devices which have been added in BL
when new ACL link is created.

If feature is enabled, controllable power level for remote is L0-L9,
BT controller increase it to L10 or L11 according to RSSI and NAK rate.
Otherwise controllable power level for remote is from 0 to max power
level signified in NVM, most likely L11 for hastings.

CRs-Fixed: 2597191
Change-Id: I354bb34a84aa7a55537e3a595daac54c46d90603
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:58 +09:00
timocapa d031dc3ec3
sm8150-common: switch to qti telephony component
Change-Id: I58178a8c663dd0b5c61c68ec03b2775083a062ed
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:47 +09:00
Omkar Chandorkar 0a68ddbf98
sm8150-common: inital bringup for aospa
* drop in-tree bootctrl and dependencies
* drop unused flags
* use usb component
* update HIDL manifests for CAF
* blob perf deps
* drop non-existent overlays and general cleanup

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I7babead03416479ad6928d359b1cb68def0565cc
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-03 15:24:40 +09:00
Omkar Chandorkar 8f8c281773
sm8150-common: relocate camera prop
* fixes [    2.094340] init: Do not have permissions to set 'persist.vendor.camera.privapp.list' to 'com.oneplus.camera' in property file '/vendor/build.prop'

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-06-29 05:49:35 +02:00
Omkar Chandorkar 5d947faf83
sm8150-common: sync media props with CAF
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-16 15:34:54 +00:00
Omkar Chandorkar 870504e13d
sm8150-common: cleanup NFC prop and service
* fixes init being unable to start service or set the prop

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-05-10 15:44:12 +00:00
Omkar Chandorkar aaa3a09008
Revert "sm8150-common: log priv-app perms"
This reverts commit 7c589d05a1.
2021-05-09 13:49:17 +00:00
LuK1337 48e2602923
sm8150-common: Relocate camera props to vendor.prop
Now we match with sm8250-common.

Change-Id: I9db8261733a461d9dee818195767aa22f818b1a1
2021-04-30 06:35:20 +00:00
Jake Weinstein fe40331366
sm8150-common: enable UXE
Matches stock Qualcomm configuration and improves performance.
OnePlus disables this because of their framework features, which
we do not have.

Change-Id: I75a1efb3f1963041ed4a810bffad539d81dac992
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-18 10:13:58 +05:30
Omkar Chandorkar b02322da32
sm8150-common: props: set td_scdma_gsm_wcdma_lte as default
* we don't support cdma

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-11 19:41:54 +05:30
Omkar Chandorkar 00adb3d44e
sm8150-common: props: fix telephony.lteOnCdmaDevice
* fixes 'telephony.lteOnCdmaDevice' to '1,1' in property file '/system/build.prop': Property type check failed, value doesn't match expected type 'int'

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-11 08:37:51 +05:30
LuK1337 c76a719d35
sm8150-common: Sync {system,vendor}.prop with stock
Change-Id: I429cf25910652dc37503276118d010fc80151181
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 15:34:42 +05:30
Omkar Chandorkar 7c589d05a1
sm8150-common: log priv-app perms
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:54:41 +05:30
Omkar Chandorkar d1fbbe9519
sm8150-common: props: enable and update DPM props
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:54:35 +05:30
Omkar Chandorkar c9ca630883
sm8150-common: props: enable persist.rcs.supported
* apparently Fi needs this for RCS to work and OOS has this as well

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:54:10 +05:30
Omkar Chandorkar e5b296351c
sm8150-common: props: silence IMS debug logs
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:53 +05:30
Hikari-no-Tenshi e140de117f
sm8150-common: Add product audio props 2021-04-03 06:57:34 +05:30
Hikari-no-Tenshi a59798724c
sm8150-common: Remove few props not used in OOS 10.3.4 2021-04-03 06:57:33 +05:30
dianlujitao 02c048cbd0
sm8150-common: Disable BT A2DP AAC whitelist
Change-Id: Ie971c6f33f5cf125a43394e1abd406ac93701712
2021-04-03 06:56:31 +05:30
dianlujitao 5c9d522519
sm8150-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2021-04-03 06:56:30 +05:30
Yifan Hong 1040a750c2
sm8150-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2021-04-03 06:48:47 +05:30
Jesse Chan f7220133ea sm8150-common: Enable unspecialized app process pool
Change-Id: I6dfcb59dace5eaa7551caeae86db3b485c0cfbf1
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-07-08 03:07:46 +05:30
Anirudh Gupta 9775bae839 sm8150-common: system.prop: Add OnePlus Camera to privapp list
This prop is set on stock and helps fix crash when launching app:
https://del.dog/urrimeseha.txt

Change-Id: Idcb653e0dc6a7b38579586719d0f265ae84f6a8f
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:30:10 +05:30
LuK1337 e4a371c0bf sm8150-common: Sync radio props with stock 2020-01-06 21:43:50 +01:00
LuK1337 63ffcbfbdd sm8150-common: Move persist.radio.multisim.config to /vendor 2020-01-05 02:30:23 +01:00
LuK1337 d9b74b2036 sm8150-common: Enable priv-app permissions whitelist
Change-Id: If871e8e54cb0505f706fad537440ffe2b966cd49
2019-07-12 00:57:39 +02:00
LuK1337 94f4039982 sm8150-common: Clean up system.prop
Change-Id: If74dfaaaa916493709783e231738def5da62d681
2019-07-09 01:06:49 +02:00
Peter Cai f07a5313d7
sm8150-common: enable default color mode 2019-06-28 21:25:47 +08:00
Peter Cai 382d8fee8d
[WIP, DO NOT MERGE] sm8150-common: build vendor image
* Initial full vendor building. Do not merge, does not boot.
2019-06-24 21:32:23 +08:00
Peter Cai 529ec479f0
sm8150-common: commonize
* guacamole and guacamoleb share a lot of common configurations. Put
them all in a common tree.
2019-06-24 12:12:35 +08:00
Peter Cai 422b8423ba
guacamole: enable volte via system.prop 2019-06-21 15:08:35 +08:00
Peter Cai d7b89fa9fb
guacamole: system.prop: fix fingerprint-on-display position 2019-06-21 14:49:04 +08:00
Peter Cai ae9827fdb7
guacamole: system.prop: remove qti bluetooth library
* we don't need it for aosp
2019-06-21 14:42:11 +08:00
Peter Cai fae10aee11
guacamole: camera_motor: switch to proper HAL 2019-06-20 21:55:46 +08:00
Peter Cai a12ac7946d
guacamole: implement camera motor support
* Support camera motor by using a hook into the camera service
* TODO: Clean this up. Maybe we can use HAL to implement this?
2019-06-20 20:21:53 +08:00
Peter Cai 9b90467bf6
guacamole: add support for under-screen fingerprint scanner
* Needs corresponding frameworks commit.
* Imported all vendor interfaces to the device tree. This is dirty and
should be fixed from the frameworks side first, e.g. maybe load a .jar
library for FOD, but the code of that .jar library is only present in
device tree.
2019-06-20 15:29:40 +08:00
Peter Cai 92de26428f
guacamoleb: system.prop: import from stock 2019-06-19 08:32:11 +08:00