Commit graph

79 commits

Author SHA1 Message Date
Michael Bestas
55893f11d9 Reapply "sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES"
This reverts commit 2d138058a1.

Change-Id: I0e0eabdc848c5c80ed9baa5db6e68fda9402a6ee
2024-08-15 18:58:09 +00:00
Michael Bestas
0c303a370c
sm6225-common: Switch to SPDX copyright & update dates
Change-Id: I1adc8afc557a0d8a7379ec24589ea68b2391d147
2024-06-28 15:51:10 +03:00
Michael Bestas
2d138058a1 Revert "sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES"
This reverts commit a95fef1c7b.

Reason for revert: Breaks various things.

Change-Id: I1416e65a2100ea213c09ce53e7aca6af0f019c40
2024-06-27 22:20:41 +00:00
Bruno Martins
a95fef1c7b
sm6225-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 02:23:29 +03:00
basamaryan
dce0970651
sm6225-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-06-23 18:34:34 +03:00
Bruno Martins
a4fbf5792c
sm6225-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-03-28 10:12:04 +02:00
Cole Faust
0b02dd3d27
sm6225-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-10 22:47:00 +02:00
MD Raza
776fa1eb1f sm6225-common: set boot header ver to 3 if not defined
Older bengal have boot header version 2

Change-Id: I4a29daebb7f85a430e2e26b27c8a39a1e259db8c
2024-01-08 12:21:04 +00:00
Michael Bestas
7764642d89
sm6225-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2023-11-29 17:03:47 +02:00
Andrew Hexen
82914a70e6
sm6225-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-11-29 17:03:47 +02:00
Bruno Martins
919871f4e6
sm6225-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-10-25 12:13:15 +03:00
dianlujitao
799d86bb52 sm6225-common: Add init extension to override ro.carrier
Change-Id: I82ec6b0d2293dc13524660fd0e2539f08ced2f9f
2023-07-26 23:32:33 +05:30
Michael Bestas
7227952d1a
sm6225-common: Decommonize BOARD_USES_RECOVERY_AS_BOOT
Change-Id: I42861466600cc90e1d33c75afd5618f7cb83ba63
2023-06-12 14:47:04 +03:00
Michael Bestas
5b339c43bc
sm6225-common: Decommonize vendor_boot
Change-Id: I0cbe93fed447bcd86cbfb0e7a4e01823691f6f32
2023-06-12 14:47:04 +03:00
Michael Bestas
912848fc7a sm6225-common: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-09 18:13:08 +02:00
Michael Bestas
3b0c6ea6ca
sm6225-common: Reduce system/system_ext reserved space
Change-Id: I984397a30ec0507e542ffd80c7733b183a6d5b3e
2023-06-01 16:19:07 +03:00
Michael Bestas
4d618f1b22
sm6225-common: Allow overriding userdata size
Change-Id: I8484c4d02cb873b8baf8764c1c66c285881fb087
2023-06-01 16:19:07 +03:00
Michael Bestas
1109d93b5b
sm6225-common: Correct partition sizes
Based on devon/hawao/rhode sizes

Change-Id: Ibcecb633e13fd61851519d5ea485992312c4a39a
2023-06-01 16:14:31 +03:00
Michael Bestas
8e1d912a3b
sm6225-common: Add FM blobs & build FM
Change-Id: I471a00dff44e8fb90e65b3f506a899e65c94d62f
2023-05-19 04:20:33 +03:00
Michael Bestas
f64e3835ce
sm6225-common: Build GPS HAL from source
Change-Id: I9bd42ab788a72ac80810d37b77591ebf0312a708
2023-05-17 20:48:48 +03:00
Michael Bestas
2ddb9afcae
sm6225-common: Decommonize AVB setup
Change-Id: Ifee2dac0dba86f5e0777dbe3c676a39c24bf113e
2023-05-10 23:49:35 +03:00
LuK1337
32a0c6e420
sm6225-common: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2023-05-08 03:58:15 +03:00
Michael Bestas
3e95eabf06
sm6225-common: Correct dynamic partition size
Change-Id: Ia2b7a318091ec3f0da411df12b24266b826241a3
2023-05-07 01:33:38 +03:00
pjgowtham
b826a21127
sm6225-common: Allow overrides for super partition size and group size
Change-Id: Icefef95b6172f243a7c003b51944658cb66cb431
2023-05-07 01:29:31 +03:00
Michael Bestas
df61000153
sm6225-common: Add fstab support for emmc devices
Change-Id: Id8d2838dd747f02107116cda761cb364b3a626d3
2023-05-07 01:03:32 +03:00
Dhina17
79f3146d24 sm6225-common: Decommonize vendor ramdisk modules.load
Change-Id: Ieac5ea48f3fb3d2e9a34e334cbedd08285c7881e
2023-04-25 22:32:37 +05:30
Michael Bestas
2351232293
sm6225-common: Decommonize security patch level
Change-Id: I2e418eb19051406a6631c97d2029606caeb5f3a5
2023-04-25 17:18:43 +03:00
Michael Bestas
1772cc8cf5
sm6225-common: Build libssrec & remove unused audio blobs
Change-Id: I8ad69f09dcb96b6d191e69bdb5404afc31c9a1f4
2023-04-23 22:15:26 +03:00
Alexander Koskovich
556840b219
sm6225-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
2023-04-20 21:44:22 +03:00
Michael Bestas
5cb5a1a942
sm6225-common: Move properties around
* Move whatever makes sense to vendor
* Eliminate system.prop

Change-Id: I2fd914463fec036b09ca673dfa2f72ff1992ca87
2023-04-20 19:12:32 +03:00
Michael Bestas
af60676a5a
sm6225-common: Add com.dsi.ant to vintf manifest
Fixes:
E HidlServiceManagement: Service com.dsi.ant@1.0::IAnt/default must be in VINTF manifest in order to register/get.
E LegacySupport: Could not register service com.dsi.ant@1.0::IAnt/default (-2147483648).
I android.hardware.bluetooth@1.0-service: Error while registering ANT service: -2147483648

Change-Id: Ifec99544b90dcf11f83e22c0436b89bb1a279e6a
2023-04-19 20:35:10 +03:00
Rohit
a08f482b21
sm6225-common: Build amplifier HAL
Change-Id: I1dbec8a83b8763497b11f2a602c7929b65b26ab7
2023-04-16 13:37:58 +03:00
Michael Bestas
1266db56ca
Revert "sm6225-common: Switch to prebuilt audio HAL"
This reverts commit 61223126f7.
2023-04-16 13:37:57 +03:00
Mohammad Asaad Akram
6495c38ca5
sm6225-common: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2023-04-16 13:37:57 +03:00
Alexander Koskovich
498c8a27e3
sm6225-common: Sort kernel cmdline and additional flags as a list
* This allows better readability and eases tracking further changes.

Change-Id: I3a23f7ccb238b5f0e18dfa18080f1ae8ff51109f
2023-04-16 13:37:57 +03:00
Bruno Martins
720e8838d2
sm6225-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2023-04-16 13:37:57 +03:00
Michael Bestas
1982480758
sm6225-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-04-14 05:22:18 +03:00
Edwin Moquete
43039d5ef2
sm6225-common: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2023-04-14 05:10:25 +03:00
Michael Bestas
9fdcb2ad70
Revert "sm6225-common: Switch to QTI bt stack"
This reverts commit fabef5d511.

Change-Id: I836f8c7be80dfe92a5d51e1ed286c91856eaf8f0
2023-04-14 05:01:56 +03:00
Dhina17
23b675da2d sm6225-common: Import base sepolicy from moto sm8250-common
- Imported from https://github.com/LineageOS/android_device_motorola_sm8250-common/tree/lineage-19.1/sepolicy HEAD ed02954834ecc70cee043170b1322dff5cd491b8
- Adapted and cleaned up.

Change-Id: I2e8cd6419c740c0e05ecb6fcd4db8b743e5ac229
2023-04-09 01:09:24 +05:30
dianlujitao
fabef5d511 sm6225-common: Switch to QTI bt stack
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2023-04-09 01:09:24 +05:30
Michael Bestas
8309a14009 sm6225-common: Match AVB rollback index with hawao_g S2SES32.28-70-3
Change-Id: I4433c041e387fe22d2f8358cd0739c7a938a64ec
2023-04-09 01:09:24 +05:30
Michael Bestas
f4618cbab4 sm6225-common: Correct vbmeta_system rollback index location
Change-Id: I9f71031b1834355d4ca8b19d6748f8647fa33a38
2023-04-09 01:09:24 +05:30
Michael Bestas
c3f2d53452 sm6225-common: Update to hawao_g S2SES32.28-70-3
Change-Id: I0bc32bc35feaa6b9aab0fd14b5cb240bd0af6100
2023-04-09 01:09:24 +05:30
Michael Bestas
e8c58dadb7 sm6225-common: Move TARGET_BOOTLOADER_BOARD_NAME to devices
Change-Id: I3ad30b9bbc29d0ebbf6f19cc839cf73b7a101fcb
2023-04-09 01:09:24 +05:30
Dhina17
61223126f7 sm6225-common: Switch to prebuilt audio HAL
- For time being.
- Revert after I fix the crackling sound issue with OSS HAL.

Change-Id: I2c2139936808838075c4aebcf265720b6e98f99b
2023-04-09 01:09:24 +05:30
Dhina17
e605a9fd4b sm6225-common: Setup vendor boot kernel modules
- As per stock.

Change-Id: Iab0bdb08f8c96217006bb0c4520b14f98ff82c50
2023-04-09 01:09:24 +05:30
Dhina17
a223df9cfe sm6225-common: Add kernel module aliases
Change-Id: Iad84951615fcac0a7b9d7a6532c87ca3e8d42e47
2023-04-09 01:09:24 +05:30
Dhina17
37a60de327 sm6225-common: Compile kernel from source
Change-Id: I41bc0c43765c823ccb39a298c02926fce1fd4393
2023-04-09 01:09:24 +05:30
Dan Willemsen
616e2f12f6 sm6225-common: Mark as having overridden commands
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.

Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2023-03-30 22:51:57 +05:30