Commit Graph

126 Commits

Author SHA1 Message Date
Chenyang Zhong
548aa839d0 sm7250-common: Update qcom sepolicy include path
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: Ica4a55672c3b06a8f2634056116098e937c64041
2022-02-12 13:21:43 +05:30
EcrosoftXiao
be09e25cf8 sm7250-common: ant: move to vfs-prerelease for now 2022-02-12 13:21:42 +05:30
Pig
2b8e0e6e7e sm7250-common: Move DPM feature property to /system_ext
* DPM blobs are under /system_ext.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-02-12 13:21:42 +05:30
Alexander Koskovich
d2a57d732d sm7250-common: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I51becacd30d17e71cdeb0fbe31bbe1b94262b316
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-01-28 15:22:04 +05:30
Nolen Johnson
2cdfb623ee sm7250-common: Simplify AVB flag logic
* AVB's  argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2022-01-28 15:21:54 +05:30
Akshay Kakatkar
7cafc897c8 sm7250-common: sepolicy: Comply with VTS vendor isolation 2022-01-05 11:00:41 +05:30
LuK1337
b542d1243b sm7250-common: Adjust for recent tri state key changes
tri-state-key package has been integrated into KeyHandler app, and
KeyHandler itself no longer needs to be added to lineage-sdk overlays.

Change-Id: I13b8f05e8e0b036c9303a01ec0c7e2d99b6756f7
2022-01-05 11:00:41 +05:30
Akshay Kakatkar
c75de081a4 sm7250-common: Update Blobs from RKQ1.201217.002 2109152230 2022-01-05 11:00:41 +05:30
Akshay Kakatkar
f5288875e7 sm7250-common: Ignore vendor property namespace 2022-01-05 11:00:41 +05:30
Chenyang Zhong
62ecd25cbb sm7250-common: relax sysprop owner enforcement
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:

"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"

It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM845, so relax the
enforcement to avoid triggering millions of neverallows.

ref:
[1] afc09932f6

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-05 11:00:41 +05:30
Felix
bfc76cf497 sm7250-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2022-01-05 11:00:41 +05:30
Roger Ellis
b5c0571daf sm7250-common: Add exclusion for vendor ELF prebuilts
- ELF prebuilts were banned in PRODUCT_COPY_FILES starting May 11.
 - Adding BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true to
BoardConfig.mk temoporarily.
 - See b/156534160 for long-term fix which should override this change.

Test: Build
Bug: 156534160
Change-Id: I7d80798d3b2d3818bc835fcede21de2e7ab04735
2021-10-30 18:20:44 +02:00
TheScarastic
b7ee7e9a4e sm7250-common: Switch to udfps 2021-10-30 18:20:40 +02:00
Chandra Chaganti
19d897b8d0 sm7250-common: PixelExperience Bringup 2021-10-10 15:55:13 +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
KakatkarAkshay
bbd0232c2a sm7250-common: set TARGET_SCREEN_DENSITY to 450
* All devices in oneplus sm7250 lineup have 1080p display
2021-09-26 09:20:40 +02:00
KakatkarAkshay
e9a33ef666 sm7250-common: Disable Audio DTS and Dolby Feature flags 2021-09-26 09:20:40 +02:00
LuK1337
89753766b7 sm7250-common: Don't pass OEM_TARGET_PRODUCT to kernel build cmdline
Not needed on this platform.

Change-Id: I6cbb2772b8a79a7d50be113e493ae9743238cc8e
2021-09-26 09:20:40 +02:00
KakatkarAkshay
419a5b32d9 sm7250-common: Initial common device tree conversion 2021-09-26 09:18:39 +02:00
LuK1337
43591c3713 sm8250-common: Switch to hardware/oneplus components
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-20 15:05:35 +02:00
Bowgo Tsai
1bf94e3dc1 sm8250-common: Including product partition into vbmeta_system.img
vbmeta_system.img should include HASHTREE descriptors for system.img,
system_ext.img and product.img, which will be updated in a system-only
OTA manner.

Bug: 170180068
Test: Tree Hugger
Change-Id: Iaf81dc11313826d146adb31d4edfbbd5310c48f6
2021-09-03 14:49:33 +02:00
LuK1337
a980329556 sm8250-common: Update blobs from OOS 11.0.8.8
Change-Id: I60f5d95c8aa1a478466c359ec15b4116bce0a569
2021-08-18 14:19:45 +02:00
LuK1337
7ec6643321 sm8250-common: Include device FCM from vendor/lineage
Sadly we aren't able to include it globally without breaking other
devices ;((((

Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-08-02 22:54:23 +02:00
LuK1337
cb0dd0b4d4 sm8250-common: Remove all lineage HALs from FCM
No longer needed since we added device framework matrix in
vendor/lineage, see 78870c2.

Change-Id: I00233e7588dcfcd4bb66c42c52edb34cdff4376e
2021-08-02 15:56:57 +02:00
Bruno Martins
1b5b17e9ed sm8250-common: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
It is no longer necessary as per the latest QTI USB HAL update
(LA.UM.9.12.r1-11500-SMxx50.0).

Change-Id: I3caf226de247ac45bdcb9b35ab3a4c5b959dc1dd
2021-06-15 23:16:54 +02:00
LuK1337
bc32893867 sm8250-common: Update blobs from OOS 11.0.7.7
Change-Id: Iaf5c72c7c5b840afedbae498fd4d25c6aee74514
2021-06-12 19:04:02 +02:00
Arne Coucheron
04a49dee44 sm8250-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 12:07:22 +02:00
Sebastiano Barezzi
ce49dcdd35 sm8250-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 13:50:08 +02:00
LuK1337
f972f8c9fb sm8250-common: Update blobs from OOS 11.0.6.6
Change-Id: I5b0519136cbca2b94c90fbae114197f4f1d4416e
2021-05-27 14:26:19 +02:00
LuK1337
bb16435fa4 sm8250-common: Relocate volume steps customization to vendor.prop
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
Nolen Johnson
9a36678b92 sm8250-common: Kill deprecated/unneeded board flags
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-04-23 20:11:14 +02:00
Anton Hansson
0c11497347 sm8250-common: Remove obsolete dex settings
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
  BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true

Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2021-04-23 20:11:14 +02:00
LuK1337
cd50a1bbe9 sm8250-common: Unset NEED_KERNEL_MODULE_SYSTEM
We are building vendor image ^.^

Change-Id: Ia7f47528c116749f897d7bcfbff6acf290a220fd
2021-04-23 20:11:14 +02:00
Michael Bestas
6115bfd27c sm8250-common: Remove unused TARGET_SPECIFIC_HEADER_PATH
Change-Id: I5518d31fa6c6f56f05dc374bfd8f98b3cd2e62cc
2021-04-23 20:07:17 +02:00
Nolen Johnson
ab44ad8b4b sm8250-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2021-04-23 19:53:24 +02:00
LuK1337
1dd29a35a0 sm8250-common: Unset BOARD_VNDK_VERSION
Change-Id: Ie9e8615eb7fe186dbb595fc3fa0d2bfc013b5d47
2021-04-23 19:51:58 +02:00
LuK1337
6de1b949cd sm8250-common: Enable TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
We can handle analog audio just fine, no need to
inform the user that their device is not supported.

Change-Id: I7dda01e7bd2560e8c782245dea3f3b7519c3b0b6
2021-04-10 11:00:57 +02:00
LuK1337
2a71acaa19 sm8250-common: Decommonize reserved partition sizes
Change-Id: I12d333c4688f265ddfcf55feaee155640c4e1efe
2021-04-02 03:09:08 +02:00
LuK1337
6cac812f0b sm8250-common: Decommonize BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE
Change-Id: I8e423551a64bcf3cb96ff30a04fa56cdfa0d2d0e
2021-04-02 02:05:28 +02:00
LuK1337
fea51bce3c sm8250-common: Update blobs from OOS 11.0.5.5
Change-Id: Iaa7ca6c73513a4bccda4c6738d78b47bf52630dd
2021-03-30 12:13:40 +02:00
Erfan Abdi
041cd132b7 sm8250-common: Set right Sprint APNs
* We need the new Sprint APNs (x.ispsn.*).

Change-Id: I8680ed8ae214c7e76dc177f1db8474e092b03a37
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2021-03-20 15:10:44 +01: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
Wang Han
5da67e0fae sm8250-common: Drop deprecated configstore flags
* These are converted to props, which we have already set.

Change-Id: I8449041eec5c8ab4153bd2942ebc7fda9ceb7432
2021-02-09 14:15:47 +01:00
Bruno Martins
6dca1a4e7f sm8250-common: Remove deprecated telephony flag
The custom jar is dead for good in Android 11.

Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2021-02-09 20:57:04 +08:00
LuK1337
4e686f34db sm8250-common: Bump vendor SPL to 2021-01-01
Change-Id: I51f03ee2b49dc83ab7a01388152c4476d9212be1
2021-02-08 19:57:04 +01:00
LuK1337
2412a59d46 sm8250-common: tri-state-key: Relocate to /vendor
Change-Id: Ic70173b82ded0151e98fcfa4023b8a081cd67874
2021-02-08 14:59:28 +01:00
Han Wang
e040fd281b sm8250-common: Correct TARGET_RECOVERY_PIXEL_FORMAT
* This was duplicated and set to wrong value eventually.

Change-Id: I4c397d787aaddf02254f750298ffcde64269d386
2021-02-03 04:14:25 +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
625e09ca3f sm8250-common: Pass OEM_TARGET_PRODUCT to kernel make flags
* OnePlus kernel adds -DUFS3V0 to KBUILD_CFLAGS for
  instantnoodle* and -DUFS3V1 otherwise.

Change-Id: I1cc104f973ead9dec3ab24a90d152c51798f3164
2021-01-31 14:29:44 +01:00
LuK1337
1412004719 sm8250-common: Increase /product image reserved size
Change-Id: Ifc90f64cff2748143bb341004520222e70d16e1a
2021-01-09 12:19:47 +01:00