Commit Graph

845 Commits

Author SHA1 Message Date
Christopher Braga
f58b667d1f sm8350-common: rootdir: Update QMCS partition to mount with noatime
QMCS partition is not a read only partition, and risks the danger
of causing unnecessary disk churn when QMCS files are read.

Update QMCS partition to be mounted with the noatime option.

Change-Id: Icf7e565d0e1c990131ad090c2f466bea419b4ad4
2022-04-01 17:24:10 +02:00
Benergy Meenan Ravuri
637840c1e2 sm8350-common: init.target.rc: move spunvm partition out of lahaina/shima fstab
move spunvm partition out of fstab and mount in init.target.rc
only for lahaina as shima doesn't have spunvm partition.

Change-Id: I2b19c7cf84f23c0f73103fff2a2a7ae5a7dd186a
CRs-Fixed: 2801834
2022-04-01 17:24:10 +02:00
Arian
77842cb102 sm8350-common: rootdir: Fix creating persist display folder
Change-Id: I929324ff494ecbf5a0672e503980a547ee0c66ce
2022-04-01 17:22:23 +02:00
Arian
f3a9c1cf55 sm8350-common: Update soundtrigger properties from odin V12.5.12.0.RKMCNXM
Change-Id: I22fd75dd3bc726f3254ee85177538f551b8b80b4
2022-04-01 17:19:07 +02:00
Arian
b967e75f28 sm8350-common: Update audio feature configurations from odin V12.5.12.0.RKMCNXM
Change-Id: I5355fb99322bf192542695048321d9b63c2b53ca
2022-04-01 17:17:25 +02:00
Arian
f1c1da34ea sm8350-common: Correct properties sorting
Change-Id: I390bc13f731cf703af9e5c85415789f8f2a440d6
2022-04-01 17:17:03 +02:00
Arian
eedc9b46e1 sm8350-common: Cleanup system/vendor property duplicates
Properties that cannot be set from vendor are removed from
vendor.prop, other properties are removed from system.prop.

Change-Id: I1e15db5e11121ded15b768bd559b161fbf0ecea7
2022-04-01 17:12:23 +02:00
Erfan Abdi
40eb48528c sm8350-common: Set default_network to 33 for 5G
Change-Id: I2bc72646528ad38fb281a6ae573b9681a78da3d2
2022-04-01 17:12:23 +02:00
Erfan Abdi
5ff6288d96 sm8350-common: Enable iwlan
Change-Id: I61196210f01281eb2158ec179d7defb30f4b8271
2022-04-01 17:12:23 +02:00
Arian
f4d47329d7 sm8350-common: Correct sf idle timer value
Change-Id: I0a1b58a6527b5c58ab977a1db908ade1b93fa089
2022-04-01 17:12:23 +02:00
Arian
12ce552a69 sm8350-common: Move fw bservie property to system
Change-Id: I5d3e77ea9634a1786d6c70df1e4a5096d26f66da
2022-04-01 17:12:23 +02:00
Arian
8513de536a sm8350-common: Move bluetooth soc property to system
Change-Id: I29cccd9eb52d5c00dd7a12d1187b43a3408895ce
2022-04-01 17:12:23 +02:00
Arian
0b29ede3fb sm8350-common: Drop unnecessary audio properties
They are not set on stock either

Change-Id: Ic5e54eb61d1c4cf3f39779034b8ffda577082bb5
2022-04-01 17:12:23 +02:00
Arian
225066c907 sm8350-common: Drop unused ucdetect radio property
Change-Id: Ia186b3dc5ad4887dd4ed1cdd88014b415d9b30e5
2022-04-01 17:12:23 +02:00
Arian
4ed406a51a sm8350-common: Drop unused usb diag function name property
Change-Id: I96c9e17efdb0eb20697625edc0d46422d16244b8
2022-04-01 17:12:23 +02:00
Arian
9abb518cce sm8350-common: Drop media properties that are not set on odin V12.5.12.0.RKMCNXM
Change-Id: Ifc3f234ffb7e5e6be47aa2e1fd997db212326059
2022-04-01 17:12:23 +02:00
Arian
8510c96eeb sm8350-common: Drop custom media volume steps
MIUI uses 15 steps, which is the default.

Change-Id: I3b3d4ce3ffacf5330f0a19b7f5deb70d26b4b102
2022-04-01 17:12:23 +02:00
Arian
3b3a17bc7b sm8350-common: Drop unnecessary DRM property
Change-Id: I2768470ad1ec8a20d4a1a858bb203d7ccd70b0e3
2022-04-01 17:12:23 +02:00
Erfan Abdi
fb1694e35f sm8350-common: Drop iorapd property
Change-Id: Iaa28072e1998126e7b9b6be5d188b0ec16d71acb
2022-04-01 17:12:23 +02:00
Erfan Abdi
c00004486b sm8350-common: Drop unused btstack property
Change-Id: I4ce46b5f6ab323c4c072614a810702aca9b7bb58
2022-04-01 17:12:23 +02:00
Erfan Abdi
bdfefb8cce sm8350-common: Drop unused ril libpath property
Change-Id: Icc6bf7e47c89a81b949b230330b8f5175b022ac8
2022-04-01 17:12:23 +02:00
Erfan Abdi
431ed73e3d sm8350-common: Drop privapp permissions enforce property
This is handled in vendor/lineage

Change-Id: Ie42d690928ffc483292345af11c8d73a0a537833
2022-04-01 17:12:23 +02:00
Erfan Abdi
da82d41259 sm8350-common: Drop unused ssr property
Change-Id: Ied22b4a11580963a1bcf744668a8e63293c662c8
2022-04-01 17:12:23 +02:00
Erfan Abdi
e728336d63 sm8350-common: Drop unnecessary wifi properties
Change-Id: Iec89e5d300a24d747426e00f6cb4c78c596d1d81
2022-04-01 17:12:23 +02:00
Erfan Abdi
ec8967887e sm8350-common: Drop camera.aux.packagelist
Change-Id: I0fd3607a1c09474fabde43614ff61a2ffad134ac
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2022-04-01 17:12:23 +02:00
Erfan Abdi
eee102f62f sm8350-common: Drop unused EGL lib symlinks
* They’re not even added to installed modules
2022-04-01 17:12:23 +02:00
Luca Stefani
1275ef272b sm8350-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2022-04-01 17:12:23 +02:00
Erfan Abdi
0098ec7279 sm8350-common: Disable debugging full super build 2022-04-01 17:12:22 +02:00
Erfan Abdi
c20701501c sm8350-common: Set armv8-2a for arch variant 2022-04-01 17:11:09 +02:00
Arian
1a3440bdb7 Revert "sm6520-common: use BUILD_COPY_HEADERS"
This reverts commit b220c66461.

Change-Id: If674d4ad180cb51b7a268faf11e79a8ea811a05f
2022-04-01 17:09:12 +02:00
Erfan Abdi
0d8363f239 sm8350-common: Drop RenderScript override 2022-04-01 17:09:02 +02:00
Arian
da5b5366f4 sm8350-common: Drop deprecated TARGET_USES_ION flag
This is not a thing anymore in sm8350 media HAL

Change-Id: I06dd979fd59ea3adb1c0daf2a80e60dedcb4fc67
2022-04-01 17:09:02 +02:00
Nolen Johnson
0269bed70c sm8350-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.

Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
2022-04-01 17:09:02 +02:00
Arian
02d4073671 sm8350-common: Drop unused TARGET_USES_HWC2 flag
Change-Id: Ibbd99b25b270c4fb593d1ad09d8003d40b6f0d18
2022-04-01 17:09:02 +02:00
Anton Hansson
8a92c6d7e8 sm8350-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
2022-04-01 17:09:02 +02:00
Sebastiano Barezzi
114ba94139 sm8350-common: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet

Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2022-04-01 17:09:02 +02:00
Arian
2191cd7d4a sm8350-common: Drop unnecessary audio HAL flags from BoardConfig
BOARD_USES_ALSA_AUDIO is only used to determine wether the audio HAL
is built from source, but we ship the prebuilt stock HAL.
AUDIO_FEATURE_ENABLED_GEF_SUPPORT is used to modify the source-built
audio HAL, which does not have an effect for us.

Change-Id: I652de533d1c21a0e45dc7406bd0698326c5dbcd7
2022-04-01 17:09:02 +02:00
Nolen Johnson
02192e7637 sm8350-common: Kill deprecated/unneeded board flags
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.

Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2022-04-01 17:09:02 +02:00
Daniel Mentz
7ba36f043f sm8350-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. Our bootloader ignores all the offset values for kernel, ramdisk
and tags.

2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile

Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2022-04-01 17:09:02 +02:00
Nolen Johnson
589821dcaa sm8350-common: Simplify AVB flag logic
* AVB's `--flags 3` argument builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
2022-04-01 17:09:02 +02:00
Erfan Abdi
941f73234a sm8350-common: Drop vendor modules load
Change-Id: Ibd9c586c62cbb28b145bf98c6fb5bef9a5b2ae8b
2022-04-01 17:09:02 +02:00
Erfan Abdi
e6b036480f sm8350-common: Drop unused releasetools 2022-04-01 17:09:02 +02:00
Erfan Abdi
88c208f447 sm8350-common: Drop disabled ubwc flag 2022-04-01 17:09:02 +02:00
Erfan Abdi
6f918f5cd0 sm8350-common: Enable wifi display 2022-04-01 17:09:02 +02:00
Erfan Abdi
64e18b2b38 sm8350-common: Enable livedisplay
Change-Id: I7f9d84ed5889f79bbc11378fbb3262e8feab687e
2022-04-01 17:09:02 +02:00
Arian
c06ff1eba0 sm8350-common: Don't build disabled audio feature libs
They are disabled by the vendor audio properties

Change-Id: I7942503e61326dab4b8bd28b33b0d2b269d62858
2022-04-01 17:09:02 +02:00
Roman Kiryanov
790cbbe67f sm8350-common: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead

Bug: 153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
2022-04-01 17:09:02 +02:00
Arian
985f799a6d sm8350-common: Cleanup audio packages
Sort everything and drop prebuilt and unused packages

Change-Id: I7c119310e29ec8d9bfc207752ae6aea29809ac69
2022-04-01 17:09:02 +02:00
Arian
84979d4180 sm8350-common: Drop unused libgui_vendor
Change-Id: I416499ed7095c55da8cac5dce446c21b434105db
2022-04-01 17:09:02 +02:00
Arian
cb3e685ffa sm8350-common: Drop android.software.verified_boot.xml from product
Change-Id: I550cd95831a8050bb5e644b5734b344c5a029be6
2022-04-01 17:09:02 +02:00