Commit Graph

50 Commits

Author SHA1 Message Date
boedhack99
8acb8e3a94 sm6375-common: Decommonize NFC build target
* moonstone/sunstone use NFC.st HALs

Change-Id: I2d21f1ad9d3ababd22d8b7f9eac5d45e95052984
2023-06-27 13:04:19 +07:00
Ramii Ahmed
319561f173 [DNM] sm6375-common: prebuilt kernel
Change-Id: I41ba81f75180de6de45aebfae5ef715288f9180f
2023-01-19 02:27:04 +00:00
Ramii Ahmed
7507289ebf sm6375-common: update to latest EEA blobs
* from veux_eea-user 12 SKQ1.211006.001 V13.0.3.0.SKCEUXM release-keys
2023-01-19 02:27:04 +00:00
Michael Bestas
d6642d3a5b sm6375-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2023-01-16 04:23:09 +00:00
Edwin Moquete
86be16ca56 sm6375-common: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2023-01-16 02:54:36 +00:00
Sebastiano Barezzi
d8871fe982 sm6375-common: Use RSA4096 key also for vbmeta_system
* Per https://android.googlesource.com/platform/external/avb/+/master/README.md#build-system-integration, SHA256_RSA4096 is used if BOARD_AVB_ALGORITHM isn't defined
* We can assume bootloader is able to understand a RSA4096 key for vbmeta_system as well

Change-Id: I1d7a539731add04feb8d89c2234e8050e209c5c1
2023-01-16 02:54:36 +00:00
Sebastiano Barezzi
5ec633b1f6 sm6375-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-09-04 13:00:28 +00:00
Sebastiano Barezzi
9fb997ec60 sm6375-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-09-04 13:00:24 +00:00
Sebastiano Barezzi
297371448c sm6375-common: Kill console parameters
Change-Id: I69a14e00cfc3291175351259f2d8cbd6b0dc827a
2022-09-04 13:00:17 +00:00
Alexander Koskovich
ac396da515 sm6375-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-09-04 13:00:16 +00:00
kubersharma001
c4b7cc6c9d sm6375-common: Import product props
- V13.0.8.0.RKCMIXM

Change-Id: I54c4a00971a42750a4b0809913250f72b0b7c167
2022-09-04 13:00:14 +00:00
Edwin Moquete
6a4288e605 sm6375-common: Set TARGET_TAP_TO_WAKE_NODE
Change-Id: I971349c0aaf6b11231ce79cd3260dd758bd88a2b
2022-09-04 13:00:05 +00:00
Sebastiano Barezzi
fe96c0f0c1 sm6375-common: BOARD_PLAT_* -> SYSTEM_EXT_*
Change-Id: I8a711202483ae2f0a7892cea577dec24ab71d201
2022-09-04 12:59:56 +00:00
Georg Veichtlbauer
b08ee0f4ca sm6375-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-09-04 12:59:55 +00:00
Demon000
304f45617c sm6375-common: enable ODM value additions
Change-Id: I597f2ed5f7c7b19c0fbff96b7e610125413fd3c6
2022-09-04 12:59:53 +00:00
Ramii Ahmed
2cd7756d93 sm6375-common: import bdroid_buildcfg header from CAF
* from LA.UM.9.16.r1-10100-MANNAR.0

Change-Id: I02fb46d7c57ee75abb6bc0ba5321e81682418985
2022-09-04 12:59:51 +00:00
Sebastiano Barezzi
ebb0a73926 sm6375-common: Move NFC manifest entries to nfc SKU
Change-Id: I2d83a4551551f370c1ecffb73502c5bcec0bd5a9
2022-09-04 12:59:41 +00:00
Ramii Ahmed
4abebb1669 sm6375-common: initial SEPolicy
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Co-authored-by: ItsVixano <giovanniricca@protonmail.com>
Change-Id: I2ab2e0b5981ec8044c22caa3ff41ba094ccadf38
2022-09-04 12:59:40 +00:00
Arian
287a8379ba sm6375-common: Build GPS HAL from source and import proprietary configs
Configs from veux V13.0.10.0.RKCMIXM
slim_daemon is disabled in izat.conf, hence drop it.

Change-Id: Ia1ed33f6250b898d149970389befe8033cc8eaf3
2022-09-04 12:59:30 +00:00
Ramii Ahmed
956f4d6883 sm6375-common: Adjust Biometrics HIDL for Xiaomi SM6375
* rename all manifest, init & relative files
* adjust chown's & chmod's to fit holi's fingerprint devices

Change-Id: I409847c845620555b8a9b7035682c2f88f8a60a7
2022-09-04 12:59:28 +00:00
XiNGRZ
dd37cb27e2 sm6375-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2022-09-04 12:59:25 +00:00
Ramii Ahmed
778e90bf46 sm6375-common: define vendor security patch level
Change-Id: I3658b532826c3440c23c9b0797dbc634c493f201
2022-09-04 12:59:24 +00:00
Ramii Ahmed
9e85006452 sm6375-common: build Renderscript HIDL
Change-Id: I8347cb672d5040444b3a8e7e60dcdc10d72d30aa
2022-09-04 12:59:23 +00:00
Dan Pasanen
a9df1f9e4b sm6375-common: Reserve additional space on odm/product/system/system_ext/vendor
This is a squash of the following:

Author: Dan Pasanen <dan.pasanen@gmail.com>
Date:   Sat Oct 19 00:06:11 2019 -0500

    floral: Reserve additional space on system/product/vendor

    Change-Id: Iacd45444dd0d3f423314a8edb243370600f37cdb

Author: Nolen Johnson <johnsonnolen@gmail.com>
Date:   Sun Aug 16 03:27:34 2020 +0530

    floral: Don't reserve space for gapps WITH_GMS

    Change-Id: Ie95b32654772622f7a061947c252b09a45db8fdd

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sun Sep 6 14:51:31 2020 +0200

    floral: Don't limit system inode count when !WITH_GMS

    Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef

Author: Eamon Powell <eamonpowell@outlook.com>
Date:   Fri Jan 1 11:59:38 2021 +1100

    floral: Adjust reserved partition space

    * Increase reserved partition space for vendor and add reserved
      partition space for system_ext so both partitions can be
      written to, regardless of GMS presence.

    * Increase product reserved partition space so smaller addon
      packages that write to the product partition like MindTheGapps
      can be installed.

    * Increase the amount of available space on the system partition
      so the user can optionally choose to install other addon packages
      that write to the system partition such as OpenGapps.

    Change-Id: I8d3ecca3980d50621f960fd7dff22ba40f495fee

[SebaUbuntu] Always reserve at least 30MB on each partition

Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2022-09-04 12:59:15 +00:00
Ramii Ahmed
a8c28bcf25 sm6375-common: import initial build properties
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I7194afe20084f070040bc0a4eff8c7beea4fd259
2022-09-04 12:59:13 +00:00
Sebastiano Barezzi
a0194f0819 sm6375-common: Reboot to recovery if init fails
Change-Id: I1d8f38620caa7b003911ff30f69ed7973c100e6d
2022-09-04 12:59:13 +00:00
Sebastiano Barezzi
deb1479ea5 sm6375-common: Define recovery fstab
Change-Id: If6eeb10239ebe07decfed311d4f70661415c4a8e
2022-09-04 12:59:12 +00:00
David Ng
26004cfeff sm6375-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2022-09-04 12:59:10 +00:00
Ramii Ahmed
16dc2d3728 sm6375-common: build Wi-Fi stack
Change-Id: Ibf6a6ffda14ca8f350203e0343d779a09a4fee4b
2022-09-04 12:59:02 +00:00
Cosmin Tanislav
e96ca15e9c sm6375-common: import 2.1 sensors multihal
Change-Id: I43dedb8e0ee5220a1c1abfcc7c971fe5f4e6cc4c
2022-09-04 12:58:55 +00:00
Sebastiano Barezzi
c3e1b3528d sm6375-common: Enable vendor RIL service
* We use qcrild

Change-Id: Iaab09d72110fdc3887fda6f543b988bdb3e98a4c
2022-09-04 12:58:53 +00:00
Ramii Ahmed
2d65c7a4c6 sm6375-common: build FM packages
Change-Id: Ifc950ffc4cecfbb64cc0b3afb942799497e0a6d9
2022-09-04 12:58:52 +00:00
Ramii Ahmed
8f6f672a9a sm6375-common: build media stack
Change-Id: Icbbe55579b3fd4b0402dd577896cddad8a4b498d
2022-09-04 12:58:48 +00:00
Ramii Ahmed
d200bf670e sm6375-common: build DRM HIDL
Change-Id: I6168793f8a0cb2a4d7dbff2e18077fd1bbdfd2bc
2022-09-04 12:58:43 +00:00
Ramii Ahmed
7cfffec682 sm6375-common: build camera libraries
Change-Id: Iefd1c2ffa9a0f1dca458032a81eb78441c991d0f
2022-09-04 12:58:40 +00:00
Ramii Ahmed
451f997108 sm6375-common: build audio stack
Change-Id: Ia5d97a244577aa107fd453cbbcee5c0aeac2b9ba
2022-09-04 12:58:38 +00:00
Ramii Ahmed
ecdf5cbc6f sm6375-common: enable BOARD_USES_METADATA_PARTITION
Change-Id: Iae898efa71c10638201661567c73831e2d298486
2022-09-04 12:58:35 +00:00
Luca Stefani
a910aa3ac4 sm6375-common: Enabled updateable APEX
Change-Id: Iae46cbf48ae5fbfa100e83e8d6ce19f225102cf3
2022-09-04 12:58:34 +00:00
Ramii Ahmed
9b059d923a sm6375-common: Don't build super image by default
Change-Id: I3ea961bdb5b89d42f09531e481aab5431aff2146
2022-09-04 12:58:33 +00:00
Ramii Ahmed
e0a3b5d34d sm6375-common: Import compatibility matrix and manifest
* From veux_global-user 11 RKQ1.211001.001 V13.0.10.0.RKCMIXM release-keys

Change-Id: I4a78950e6d9ebb64794c13fd3d72b8548ce16c10
2022-09-04 12:58:32 +00:00
Jyotiraditya
a6fa2549af sm6375-common: Specify AVB recovery flags
Change-Id: I576883b03b9c4239f9010bbc200179958e6fe95c
2022-09-04 12:58:32 +00:00
Nolen Johnson
20344412ad sm6375-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-09-04 12:58:31 +00:00
Christian Oder
445f69a5e4 sm6375-common: Build disabled VBMeta image
Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
2022-09-04 12:58:30 +00:00
Ramii Ahmed
d4d8e50475 sm6375-common: Inherit Qualcomm vendor sepolicies
Change-Id: I1d7a9074d9730ffd88c25fad2aa6ece64c215b38
2022-09-04 12:58:29 +00:00
Ramii Ahmed
841c284c62 sm6375-common: Add recovery flags
Change-Id: I45f811633eac45152bab7063485814b530cd2e37
2022-09-04 12:58:29 +00:00
Ramii Ahmed
8155f50196 sm6375-common: Add platform flags
Change-Id: I32dfe6c1ff9a58e55f96e1947d2059bc72fff35e
2022-09-04 12:58:28 +00:00
Ramii Ahmed
be6244d062 sm6375-common: Add partition flags
Change-Id: I3f4cbd7aba71998310495db788d206f370fbfe0b
2022-09-04 12:58:25 +00:00
Ramii Ahmed
9989300c17 sm6375-common: Add kernel flags
Change-Id: I8ca24b4bfb172ae6eafb5d524471ab56c9d2a314
2022-09-04 12:58:24 +00:00
Ramii Ahmed
96e82065ce sm6375-common: Add arch and bootloader flags
Change-Id: I62ea18830ade043eb04bcd0f347cfde6f1a55aff
2022-09-04 12:58:23 +00:00
Ramii Ahmed
91994d37f3 sm6375-common: Initial skeleton
Change-Id: I231368c54c77d559c7aa47060d041149826e16a8
2022-09-04 12:58:23 +00:00