Commit graph

141 commits

Author SHA1 Message Date
PIPIPIG233666
f726563012 sm8350-common: Split component-overrides to support pure AOSP/QTI BT stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2021-06-10 19:16:10 +02:00
LuK1337
58cb8ab963 sm8350-common: Install charger_fw_fstab.qti to /vendor/etc
We are loading it for offline charging mode, see init.target.rc.

Change-Id: Ie6f1a1f7cdf8fed740766cbfe3d59ce815e90b2f
2021-06-06 23:01:55 +02:00
Han Wang
7f18ac549a sm8350-common: Unset PRODUCT_USE_PRODUCT_VNDK_OVERRIDE
* This is not needed if PRODUCT_SHIPPING_API_LEVEL is greater
   than 29, which is true for sm8350 series.

Change-Id: I5b3fa65dfaae20c788a96a6a22d4016ddfb19983
2021-06-05 10:55:56 +02:00
LuK1337
72da964f9a sm8350-common: Add wifi mac generator shell script
Change-Id: I95593db840dc4a668f899d248b2c8e03d4ebbc3e
2021-06-02 22:50:00 +02:00
Bruno Martins
79d93b6625 sm8350-common: Revise feature permission sets
Change-Id: I79396b6836f4ee45a7019c170ae6f647d06a8569
2021-06-02 00:59:17 +01:00
LuK1337
d2493c7765 sm8350-common: Build PowerShare HAL for all targets
Entire OnePlus 9 series supports wireless charging.

Change-Id: I50782fda084e0de21b32a67ae2d7be72579f16a5
2021-06-02 01:15:32 +02:00
LuK1337
ad3e0f3fdb sm8350-common: Sync surfaceflinger props with stock
Change-Id: I30c310b7e2bd5c7a21f07b8d8ae7056d99f22c4d
2021-06-01 23:23:38 +01:00
Sushil Chauhan
e973da39e0 sm8350-common: Enable Content Fps Detection
Enable Content Fps Detection feature in SurfaceFlinger.

CRs-Fixed: 2641659
Change-Id: I3a74823612d89b6901dfb7395f1c8ef924875a30
2021-06-01 23:23:38 +01:00
Lokesh Gidra
c0ab297b6f sm8350-common: Use 6GB dalvik-heap config
We are currently using 2GB dalvik-heap config.

Bug: 145823510
Test: MPTS
Change-Id: I086d4a5c09634c3c7bd51ec5d08dcaa1551511b4
2021-06-01 23:23:38 +01:00
LuK1337
4773fa9758 sm8350-common: Duplicate all audio configs to vendor/etc/audio/sku_lahaina
Change-Id: Ie14049e44c0f97729b96a171f29c25470ae162fa
2021-06-01 23:23:38 +01:00
LuK1337
892d7c1b59 sm8350-common: Build libhidltransport.vendor
Needed for composer HAL.

Change-Id: I3cf443297bc558b29c3033fce403394c412461b9
2021-06-01 23:23:38 +01:00
Bruno Martins
002ca5194d sm8350-common: Update wifi configs from OOS 11.2.5.5
Change-Id: Ie0fb31f5bfe4781319544d76ea5b0de085d2bed8
2021-06-01 23:23:38 +01:00
Bruno Martins
bd25594773 sm8350-common: Update gps configs from OOS 11.2.5.5
Change-Id: I041079a26ccfe243343854ae0bb8c9184c656d1b
2021-06-01 23:23:31 +01:00
Zhou Song
d8977f9f0e sm8350-common: Add dedicated hearing aid proxy configs
Add hearing aid configs in HAL.

Change-Id: Iaaec0b4d097fca67d35cb1e098c23f51b331837f
2021-06-01 22:29:58 +01:00
Bruno Martins
2947ddf81e sm8350-common: Update audio and media configs from OOS 11.2.5.5
Note that media_codecs.xml, media_codecs_performance.xml and
media_profiles_vendor.xml are now plain copies of media_codecs_lahaina.xml,
media_codecs_performance_lahaina.xml and media_profiles_lahaina.xml,
respectively.

Change-Id: I420d583f014ba4fd13f3e8f9629f36f7d158c957
2021-06-01 22:29:40 +01:00
Bruno Martins
b2e66f9cc7 sm8350-common: Update init scripts from OOS 11.2.5.5
Change-Id: Ia4e798ae3c5cbdb7246669b833c75e7058efa523
2021-06-01 21:43:16 +01:00
Bruno Martins
7c98da93ba sm8350-common: Remove useless or unused init scripts
Change-Id: I579319d620b14aab0decd49587d58a20262576ae
2021-06-01 17:40:16 +01:00
Bruno Martins
f9ba3937a7 sm8350-common: Import common fstab from OOS
Change-Id: I30d05c1b4f02137a109e30ffd491435acf0b3df3
2021-06-01 11:29:04 +02:00
Bruno Martins
7c0842401b sm8350-common: Populate initial common blobs list
Change-Id: I7c92ac6198463913907d8ee4a0faf998f5573a68
2021-06-01 11:29:04 +02:00
Leo Liou
8aed92f399 sm8350-common: Inherit the virtual a/b config
For devices launching with virtual A/B, inherit the virtual A/B
device base configuration.

Bug: 146466421
Bug: 149155051
Test: boot to home, check system property of virtual_ab
Test: Run full storage-qa test
Change-Id: I8ebbbe897dc9278f43e37a6a9599b89d68419b27
Signed-off-by: Leo Liou <leoliou@google.com>
2021-06-01 11:12:31 +02:00
Daniel Rosenberg
5d0602d85a sm8350-common: Enable casefolding support on userdata
This enables casefolding, which is required for removal of sdcardfs.

Test: Wipe data and boot. lsattr /data/media, check for +F
Bug: 138322712
Change-Id: I020aa6bb9c121e7bda83c07bc9fb37dcfa26702c
2021-06-01 11:12:31 +02:00
Bruno Martins
410e7ff323 sm8350-common: Initial common device tree conversion
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +02:00
Bruno Martins
2bee5a8ca6 sm8250-common: Move "proprietary" seccomp policies to vendor
Also discard unused qspm.policy as we don't ship qspm.

Change-Id: Icc1b978d373de8b0b7bc3e483c088c2cdeb5d325
2021-06-01 10:56:16 +02:00
Bruno Martins
919636446c sm8250-common: Move unnecessary WFD priv-app permissions whitelist
Our apk does not have these permissions in AndroidManifest.xml.

Change-Id: I5c8adf64e83a570f8c6a90ad7f082c78b707cb07
2021-05-28 00:14:43 +02:00
LuK1337
dc3d086fbd sm8250-common: Import QTI vibrator HAL
Change-Id: I6ed3252c6da746c8fb24f44b3b3ec2b1f32a6cb2
2021-04-14 18:57:16 +02:00
LuK1337
335e820c4c sm8250-common: livedisplay: Uprev to 2.1
Change-Id: I98b2ea16ed342339ee652d5cb79dcfd22f8c0a0d
2021-04-09 12:09:28 +02:00
PIPIPIG233666
278ffc532d sm8250-common: Add custom audio amplifier for TFA amp feedback
* Based on observing reverse engineering from davinci stock audio HAL.
 * Fixes speaker distortion on high volume.

 * Same logic with Smosia, rewritten by me.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2021-03-02 18:56:18 +01:00
chandra
c5ba644983 sm8250-common: Correct media codecs copy destination
Change-Id: I4ac12b4945aea67df067e1778f6e0c7aa1b790ad
2021-03-02 11:08:40 +01:00
dianlujitao
0a0b0f26f8 sm8250-common: Switch to source built vendor.qti.hardware.perf@2.0.so
Change-Id: Ia5de8c300d71b6def223e97ef9d58898c9c11a57
2021-02-16 13:28:27 +01:00
Nicholas Ambur
6edfb6eea4 sm8250-common: Add SoundTrigger HAL v2.3 support
Bug: 139071862
Test: gts-tradefed run gts-dev -m GtsAssistIntentTestCases
Change-Id: I2d17aade762ceb7800d5305119c37ec0f5991f35
2021-02-08 20:07:51 +01:00
Bruno Martins
0615d4b4d0 sm8250-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.

Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
2021-02-02 14:57:40 +01:00
Tao Bao
38e5c38009 sm8250-common: AB_OTA_UPDATER is BoardConfig variable.
Bug: 130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
2021-02-02 14:57:40 +01:00
LuK1337
232c213a90 sm8250-common: Enable barometer sensor for SKU 9 and 11
Change-Id: I2a0568822557d1ce4217f092a695037c8329dc1a
2021-01-17 13:48:55 +01:00
chandra
b1f4027111 sm8250-common: Sort and remove duplicated packages under display group
Change-Id: I637d43c89aca0d9817e77996c0d2db394e2bdf34
2021-01-15 21:47:28 +01:00
LuK1337
30a4a42bb2 sm8250-common: Decommonize PowerShare HAL
Change-Id: Id6b79d04e3cac4ea602c2af27c3562227e3c0485
2021-01-13 12:09:00 +01:00
Indranil Chakraborty
79b4324a2a sm8250-common: Pack libwfdaac_vendor for WFD
Change-Id: I828918c42e1eb2963829d62a9dbeee83e2f0e600
2021-01-12 21:07:59 +01:00
Lubin Yin
14c6cdd034 sm8250-common: Deploy libwfdaac_proprietary for miracast
Change-Id: I7f00c9f0a0375d7007123614e7605e3915903b90
2021-01-12 21:07:45 +01:00
LuK1337
cddd4bebc4 sm8250-common: Build stagefright vendor plugin
Change-Id: I040a8fb7639e78a538f3d75bdaba2a6deb9b6825
2021-01-12 04:36:38 +01:00
Badhri Jagan Sridharan
e5d06f846a sm8250-common: Add usb hal service
BUG: 31015010
Test: Manually tested for type-c role switches.
Change-Id: Ibc81cf763a14c0975a7721588d6e8b81bd0b124c
2021-01-11 12:21:57 +01:00
LuK1337
22ab810b58 sm8250-common: Import surface flinger props from OOS
Change-Id: Iac8f215d02b0873f51a9ab0e35f5a659393b75e6
2021-01-11 03:59:45 +01:00
Ryan Mitchell
1d9989ef3d sm8250-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
2021-01-08 14:31:38 +01:00
Anton Hansson
59c42cbe94 sm8250-common: Enforce RRO for all resource overlays
Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1
2021-01-08 14:31:38 +01:00
LuK1337
c28ecd7875 sm8250-common: Decommonize fstab
* 8T uses different metadata/userdata encryption algo.

Change-Id: Ie19487d4b4efe17540dd8c018537d7e222f64abd
2021-01-08 14:31:38 +01:00
LuK1337
dfd05e2565 sm8250-common: Build vndservicemanager
* Needed for FCM >= R.

Change-Id: I6d5eb8084127e295e4abec2c0192c0ad5b07b867
2021-01-08 14:31:38 +01:00
LuK1337
507155e7a5 sm8250-common: Switch to QTI bootctrl HAL
Change-Id: Ie5079fd4c40cb1f7414f2cba9f98d350f03047d8
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
LuK1337
f1b69167ae sm8250-common: Remove OnePlus vendor overlays
Change-Id: Id22dfbeabb9487e4ee67f914dbb4507115bf250f
2021-01-06 18:47:30 +01:00
LuK1337
5e1e5980eb sm8250-common: Import seccomp policy
Change-Id: I37ce3ffb096b18e08f994d0dc327456f850e35eb
2021-01-06 18:47:30 +01:00
LuK1337
2de76e9c5c sm8250-common: Import excluded-input-devices.xml
* Relocate keylayout/idc to vendor while at it

Change-Id: I6564d65de759fb11b1c91703583ae349ae2469c2
2021-01-06 18:47:30 +01:00
LuK1337
d80f3cef0e sm8250-common: Import public.libraries.txt
Change-Id: I4ba4570fd2d4f62344b3ebcc2fe4395b1c1406d7
2021-01-06 18:47:30 +01:00