Will McVicker
f6f7e210d6
sm8350-common: Add support for vendor_boot
...
This enables boot header v3 which creates a vendor_boot images that
holds the vendor kernel modules.
Signed-off-by: Will McVicker <willmcvicker@google.com>
Fixes: 151949371
Test: boot, verify vendor_boot ramdisk is loaded, check lsmod
Change-Id: Ia1b7df306d3a9f0e2f1f3ec8e7c2547da0b07596
2021-06-01 11:29:04 +02:00
Bruno Martins
f9ba3937a7
sm8350-common: Import common fstab from OOS
...
Change-Id: I30d05c1b4f02137a109e30ffd491435acf0b3df3
2021-06-01 11:29:04 +02:00
Bruno Martins
410e7ff323
sm8350-common: Initial common device tree conversion
...
Change-Id: I0d7188b3fa82dddf3f9fb9523d716a8f15f46184
2021-06-01 11:12:31 +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
LuK1337
f87d85bdd7
sm8250-common: Decommonize super partition size
...
Change-Id: I833f31bf639599fafd38e9f69cb073da1f0463b7
2021-01-08 14:31:38 +01:00
Jimmy Chen
b7b61bb523
sm8250-common: Move supplicant service init to wpa_supplicant
...
Bug: 138790309
Test: boot and wifi function is ok
Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
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
46098650a7
sm8250-common: Add DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
...
* Needed for FCM >= R.
Change-Id: I5200b7a8d159cfd5ff91ad80fa714c215c7e01fb
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
da018dd3c6
sm8250-common: Re:Start sepolicy
...
* Drop all old rules, but keep tri-state-key.
* Also introduce dashd/wlchgd domain as they are needed for seclabels.
Change-Id: I0a7121f51d106d927866aead746a49b3dea6a149
2021-01-06 18:47:30 +01:00
LuK1337
039cae69d5
sm8250-common: Switch to common power HAL implementation
...
Change-Id: I56f1fa264909c6402f1bb418d6bb6196605c3b9c
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
5d377ba4d6
sm8250-common: Update blobs from OOS11
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
Nicolas Geoffray
7402069314
sm8250-common: overlay: Update in pinned files.
...
Remove or update paths that don't exist.
Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-11-23 15:10:40 +01:00
LuK1337
4ad6c6b12b
sm8250-common: Add system_ext to dynamic partitions list
2020-11-23 15:10:40 +01:00
LuK1337
8b6a59f17d
sm8250-common: Include QSSI sepolicy
...
* Now that device/qcom/sepolicy is non-vendor only
we are able to do that.
Change-Id: I4c83a8e30cfa11e45be2f06eb7f444de7f68d219
2020-11-20 14:27:15 +01:00
LuK1337
7c3e80309d
sm8250-common: Unset TARGET_COPY_OUT_ODM
...
* We aren't building odm anyway.
2020-11-20 14:27:15 +01:00
Christian Oder
f9501c93a7
sm8250-common: Decrease reserved space to 1.2GB
...
* It appears we're running out of storage when reserving 1.8GB on both partitions
2020-09-07 21:23:20 +02:00
LuK1337
1242b46b98
sm8250-common: Don't limit system and product inode count when !WITH_GMS
...
Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef
2020-09-06 15:07:22 +02:00
Nolen Johnson
4bd0d201a9
sm8250-common: Don't reserve space for gapps WITH_GMS
...
Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd
2020-09-04 17:16:28 +02:00
Dan Pasanen
d422f483da
sm8250-common: Reserve an additional 1.8G of space on system and product
...
Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb
2020-09-04 17:16:28 +02:00
Luca Stefani
e9265b2a32
sm8250-common: Use uncompressed dtbless kernel image
...
* Apparently this is what stock does too.
2020-08-07 12:40:33 +02:00
LuK1337
d7c440262d
sm8250-common: Set proper BOARD_KERNEL_BASE
2020-08-01 01:20:34 +02:00
LuK1337
67c9e2ad71
sm8250-common: Include dtbo in recovery image
...
* This allows us to drop dependency on dtbo partition
being in sync with recovery.
* Test: fastboot erase dtbo && fastboot boot recovery.img
2020-07-01 17:49:56 +02:00
dianlujitao
5e718ca747
sm8250-common: Switch to QTI bt stack
...
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-06-27 00:17:27 +02:00
LuK1337
cbfd77df61
sm8250-common: Don't build odm.img
2020-06-27 00:17:27 +02:00
LuK1337
6d9f90eb8a
sm8250-common: Drop /op_odm
2020-06-27 00:17:13 +02:00
LuK1337
362f88963b
sm8250-common: Set ro.vendor.qti.va_odm.support=1
2020-06-27 00:17:13 +02:00