70 Commits

Author SHA1 Message Date
DillerOFire
45b24bc3d8 sm7325-common: Nuke obsolete BOARD_BUILD_SYSTEM_ROOT_IMAGE
Change-Id: I8fafc8952e2b3bd535309a6aad035f02f1e00b14
2023-11-20 08:21:33 -07:00
Bruno Martins
1f54f6d684 sm7325-common: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2023-11-01 10:58:30 -04:00
Andrew Hexen
56d93f30a0
sm7325-common: symlink vendor/fsg to system_root
* Seems to be an issue where if modemst1/2 (efs) is wiped modem only looks for fsg to rebuild efs in the root_directory.

* Even though this isn't correct it should allow radio to be easily flashed during future firmware upgrades as the stock radio.img is a container which flashes fsg/modem then passes the command to wipe modemst*

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
2023-10-26 06:09:48 -07:00
electimon
2120f3cd4a sm7325-common: Remove unneeded cmdline properties
* HAB properties are appended by the bootloader,
  as well as console. RTB filter is a debug property.

Change-Id: If5347a00492c6782f17355b5221c033987475b09
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
electimon
8de4fbe8b1 sm7325-common: Rename manifest_yupik.xml to manifest.xml
* CAF only does this because they use one device tree
  for all 3 SoCs, vendor/qcom/lahaina. We use one -common
  tree with device trees inheriting it. There is no need
  to have manifest_yupik.xml.

Change-Id: I133f19725d523ce2e4acb17114b687f9e5757019
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
Bruno Martins
071491f492 sm7325-common: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-02-14 10:58:51 -05:00
Cosmin Tanislav
f89ad28fcb sm7325-common: remove wlan module alias
Doesn't even work. Module is still wlan.ko.

Change-Id: I62d58dadfba1e2357b5106226f4435cc32a3058e
2023-01-28 18:44:38 +02:00
Kujou Yuko
a076a47e9b sm7325-common: Remove duplicate loop.max_part=7 from kernel cmdline
Change-Id: Ib4632febb5a3bb4c88f5235172f298b2f13f31c6
2022-12-11 17:49:01 +01:00
Alexander Koskovich
2b1d39afc4 sm7325-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: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-12-11 17:49:01 +01:00
Lisa Liu
c9984ff4ff sm7325-common: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2022-12-11 17:49:01 +01:00
Mohammad Asaad Akram
8000001417 sm7325-common: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2022-12-11 17:49:01 +01:00
Edwin Moquete
af62bb3f25 sm7325-common: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-09-29 22:21:31 -04:00
Marc Bourgoin
219c25e9e1 sm7325-common: Adapt to virtual A/B
dubai is virtual A/B where-as berlin is not

Based on the logic from
https://github.com/LineageOS/android_device_xiaomi_sm8250-common

Change-Id: Ibadfd452365c799b290d32fd5afabc046b9f9c41
2022-08-26 04:02:24 -06:00
SGCMarkus
3fcf389bfc sm7325-common: go enforcing
Change-Id: I3f059c797eb9a0dcffa3dc7627c35a3622ecc342
2022-08-12 20:18:49 +02:00
Peng Xu
4b72c1f28e sm7325-common: wifi: Enable support for IEEE80211AX
* This is to allow supporting WiFi 6 mobile hotspots,
   to be noted this is only supported on SDM855+ platforms.

[jjpprrrr: skipping CONFIG_IEEE80211AC because external/wpa_supplicant_8/wpa_supplicant/defconfig has it enabled by default]

Change-Id: Iab61bd12499968e8823b3078acd1c7b8bce46136
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2022-08-11 14:20:40 +02:00
SGCMarkus
9396fb121e sm7325-common: Switch to AOSP BT HAL
Change-Id: I9a733ff3edd6b1841096c86998007c51724ce309
2022-08-09 16:07:12 -04:00
Nolen Johnson
6db14c7ddc sm7325-common: Correctly declare device recovery directory
Change-Id: Iebf2df406c526df25df74252d5b11e8eb4a32528
2022-08-07 22:04:29 -04:00
Nolen Johnson
08d1e2c466 sm7325-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-08-07 22:04:29 -04:00
Nolen Johnson
33c7540b74 sm7325-common: Remove BSP specific flags
Change-Id: Ie2673f2a9cbb0dc4626653e367a6c2d2ca3d9635
2022-08-07 22:04:29 -04:00
Elektroschmock
f16f2c5d7b sm7325-common: Drop USE_DEVICE_SPECIFIC_CAMERA
* Old, dead, not something we use.

Change-Id: I254a85b85380f53b105f01b33ff49a35d56214aa
2022-08-07 20:14:35 -04:00
Nolen Johnson
9b36511027 sm7325-common: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507.
* We never needed this.

Change-Id: I8ec420d6264fee70a1602eecdbb4f34f2e5db3dc
2022-08-07 19:24:23 -04:00
Georg Veichtlbauer
fd22d9fc17 sm7325-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-08-07 19:21:06 -04:00
Nolen Johnson
9896d6196a sm7325-common: Enforce vendor board configuration presence
* We already do so for blobs, so why not here.

Change-Id: Ia6ed0475b1f5360c027b9bcbbd2d6f4330add11c
2022-08-07 19:13:31 -04:00
SGCMarkus
f2a8de29f1 sm7325-common: update to S1RG32.53-18-11
Change-Id: I4bea9b6ebe78c4fc87c89405b43bb51467575be5
2022-08-06 21:51:07 +02:00
Marc Bourgoin
782cc6aa56 sm7325-common: Add support for dubai (Edge 30)
Also decommonize a kernel cmdline

Change-Id: Id5aa4a5b2b893bd43531fa7bd0c1b9391705b430
2022-08-04 10:14:51 +02:00
SGCMarkus
a34f68d835 sm7325-common: enable opensource st hal
Change-Id: I0173f8dd0e2bdca208e97dbe828041fca0a2cad2
2022-07-30 14:00:59 +02:00
SGCMarkus
d023bd34ae sm7325-common: rename qca6750.ko to qca_cld3_qca6750.ko during build
Change-Id: I39ffbec91342edec871665653961425c9d78a5b9
2022-07-29 15:16:07 +02:00
SGCMarkus
228c85acee sm7325-common: make manifest.xml sku specific
Change-Id: Ib30a34dd8b5cb75d0fce29ab8c81243bcdfb624f
2022-07-29 15:14:16 +02:00
SGCMarkus
297359d95e sm7325-common: set AUDIO_FEATURE_ENABLED_GKI true
Change-Id: I29c95d6058ea6b81a06e8658876a4c802ceb1505
2022-04-04 12:04:12 +02:00
SGCMarkus
599b343fcf sm7325-common: kernel: use proper defconfigs
Change-Id: I26ed6f5f5c75df079a7daf7532824472ca12500f
2022-04-03 21:51:42 +02:00
SGCMarkus
95b667c5b9 sm8250-common -> sm7325-common 2022-03-26 23:16:05 +01:00
Vinay Verma
a3dd6d4d07 sm8250-common: Enable PAC and BTI
Change-Id: I014eadcd8b59260ad59e9a1085ccf974404590d0
2022-03-24 19:29:34 +01:00
dianlujitao
2e94198a79 Revert "sm8250-common: Use gcc binutils for kernel"
This reverts commit b8be3007b09ad4129b8f1ba7a7d99f10f403ed04.

Change-Id: I5782f75c42a76b408058adeb62c3a9e336f969a9
2022-03-24 19:28:14 +01:00
SGCMarkus
2a84a55549 sm8250-common: set LOC_HIDL_VERSION and BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE
Change-Id: I917be4ea340871112b9dd1a42d10b4a800bef5fb
2022-03-23 23:19:37 +01:00
Kilian von Pflugk
7c74ba214b sm8250-common: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: Ieab43c6baf17eff134a11312d8f8ee7d1b310d55
2022-03-23 14:01:08 +01:00
SGCMarkus
489a2afe62 sm8250-common: reserve a bit of space for vendor
Change-Id: I090f22e4672d3c19f7104ac49fc01bf5bfdf4e61
2022-03-23 13:45:47 +01:00
SGCMarkus
f70e552aac sm8250-common: defconfig: switch to fragments
Change-Id: I3ffa5d54075cf84326cf2861fed5f33216e38372
2022-03-19 16:53:53 +01:00
SGCMarkus
bc6c1abac1 sm8250-common: set board in device tree, and add more stock props 2022-03-09 22:16:05 +01:00
SGCMarkus
3c0cba0748 sm8250-common: livedisplay: uprev to 2.1 2022-03-06 23:02:20 +01:00
SGCMarkus
3660a02879 sm8250-common: switch to qti bt stack 2022-02-21 13:59:59 +01:00
dianlujitao
0fe53f415a sm8250-common: sepolicy: Fix build for S
Change-Id: Ic0c822ce146bee4d09a62306d4573f557acd186e
2022-02-20 14:29:59 +01:00
SGCMarkus
a3497aef2b sm8250-common: sepolicy: fix inclusion path 2022-02-20 14:27:58 +01:00
SGCMarkus
a6fb204f84 sm8250-common: add sepolicies from nio
state: fffc7ba5a6
2022-02-19 15:28:33 +01:00
SGCMarkus
f1ae7f8284 sm8250-common: add a framework manifest file 2022-02-18 23:23:50 +01:00
SGCMarkus
c72a8b55a3 sm8250-common: add missing vendor_boot partition to AB list 2022-02-18 19:55:51 +01:00
SGCMarkus
f026c9bfe9 sm8250-common: add qcom sepolicies 2022-02-18 14:56:33 +01:00
SGCMarkus
472670564f sm8250-common: unify fstabs used, and the vbmeta_system entries 2022-02-18 14:55:20 +01:00
SGCMarkus
88eb9e2c8e sm8250-common: use proper dynamic partition group name 2022-02-17 22:34:39 +01:00
SGCMarkus
94757d6254 sm8250-common: add a device framework compatibility matrix file 2022-02-17 20:26:00 +01:00
SGCMarkus
deb22a36e7 sm8250-common: build vendor ramdisk image
also use rootdir/etc/fstab.qcom for recovery
and add recovery.wipe
2022-02-17 19:30:04 +01:00