Commit Graph

19 Commits

Author SHA1 Message Date
Christian Oder
ca5e9e9676 sm7250-common: Patch fingerprint blobs to different prop
libgf_ud_hal.so looks for vendor.boot.verifiedbootstate to be set to the phones true state
in our case, for an unlocked phone, it must be orange
(green = locked with factory rom, orange = unlocked no checking, yellow = locked with user key)

Change it to look for vendor.boot.fingerprintbstate which we set to orange without having to mess with anything safetynet related.

Co-authored-by: Matt Filetto <matt.filetto@gmail.com>
2021-10-10 15:55:38 +02:00
Satheesh Kumar Pallemoni
f78ec61591 sm7250-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>
2021-10-10 15:55:38 +02:00
M Safoorah Banu
9913fa00f1 sm7250-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>
2021-10-10 15:55:38 +02:00
xiaowang
d35eafe026 sm7250-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>
2021-10-10 15:55:38 +02:00
dianlujitao
f8a7c0b95b sm7250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
Signed-off-by: KakatkarAkshay <akshayakakatkaraa@gmail.com>
2021-09-26 09:22:16 +02:00
LuK1337
4c73bc4db6 sm7250-common: Enable DPM Connection Tracking (CT)
Change-Id: I25991ee34c87ce1de4fb234518238f3fc906b54b
2021-09-26 09:20:40 +02:00
LuK1337
95f057b641 sm7250-common: Enable NR by default for SIM2 slot
Change-Id: I9fbe74cfed75754b950931ce712d278421327d13
2021-09-26 09:20:40 +02:00
KakatkarAkshay
5185b709bf sm7250-common: Populate initial common blobs list 2021-09-26 09:20:39 +02:00
LuK1337
b32f70dd43 sm8250-common: Set ro.netflix.bsp_rev
* This prop makes Netflix select L1 instead of L3.

Change-Id: Idc0368803ca082e99392fb136f2cdc41a4cb0c87
2021-01-27 19:44:37 +01:00
LuK1337
46fa73ab87 sm8250-common: Import media_codecs / media_profiles
Change-Id: Ia2531ec21746dbdd8f2ba059b1bfae5305deda76
2021-01-06 11:18:27 +01:00
Yifan Hong
0cd2d4a875 sm8250-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with ro.charger.disable_init_blank
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2020-11-23 15:10:40 +01:00
LuK1337
355cc5d209 Revert "sm8250-common: Switch to QTI bt stack"
This reverts commit 5e718ca747.
2020-11-23 15:10:40 +01:00
LuK1337
4d2358398c Revert "sm8250-common: Disable BT A2DP AAC whitelist"
This reverts commit 02d0be7bda.
2020-11-23 15:10:40 +01:00
Jesse Chan
e6554e26d6 sm8250-common: enable unspecialized app process pool
Change-Id: I6dfcb59dace5eaa7551caeae86db3b485c0cfbf1
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-09-01 10:46:14 +02:00
LuK1337
743d5a812f sm8250-common: Remove unused radio props
* These are set in /vendor.
2020-07-09 00:11:48 +02:00
LuK1337
9000f3d47d sm8250-common: Update ro.telephony.default_network
* NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = 22,
* NETWORK_MODE_NR_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = 33.
2020-07-09 00:07:50 +02:00
dianlujitao
02d0be7bda sm8250-common: Disable BT A2DP AAC whitelist 2020-07-08 14:29:32 +02:00
dianlujitao
5e718ca747 sm8250-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-06-27 00:17:27 +02:00
Anirudh Gupta
864976edc8 sdm845-common: Split system_prop to {product,system}.prop
Change-Id: I6467e54268aa2e07275263d3aedee50730d7467d
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-06-14 12:30:10 +02:00