Michael Bestas
d417b91b3f
sm6150-common: Migrate camera override format from reserved to soong_config_set
...
Signed-off-by: lemezohaib <zhbkhan644@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-10 08:54:16 +00:00
lemezohaib
d7ee1dc415
sm6150-common: Migrate libcameraservice extension lib via soong_config_set
...
Signed-off-by: lemezohaib <zhbkhan644@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-10 08:54:15 +00:00
Michael Bestas
370c890d03
sm61510-common: Migrate Lineage Health to soong_config_set
...
Signed-off-by: lemezohaib <zhbkhan644@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-10 08:54:15 +00:00
Erik Drozina
73fa702f31
sm6150-common: sepolicy: Label some RIL property
...
W/libc: Access denied finding property "{ro.fota.oem,ro.product.marketname}"
Change-Id: I7272823540980a927cfb8243122de941e16a97c2
Signed-off-by: Erik Drozina <erikdro41@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
Sebastiano Barezzi
6265148309
sm6150-common: Disable kpti
...
* As per qualcomm - SM8150/SM8250/SM8350/SM7250/SM7150/SM6150 - KPTI Not required.
* It can also help increase performance by a lot in some scenarios.
Change-Id: Idde48b8e8676f596217edd5100fec3aa07729dbe
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
Pig
9d4975a21a
sm6150-common: Move DPM feature property to /system_ext
...
* DPM blobs are under /system_ext.
Change-Id: I4664b7f3246f1184a61b180d226ed42d524d227a
Signed-off-by: Pig <pig.priv@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:48 +00:00
Dhina17
eeaa8481ee
sm6150-common: Implement torch light control
...
[RealJohnGalt:] modify for oneplus usage, add toggle switch
[cyberknight777]: Adapt nodes and SEPolicy for sunny
Change-Id: I8ff5d814-d58d-4ed1-9b42-b025415a5c85
Signed-off-by: Dhina17 <dhinalogu@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:45 +00:00
Adithya R
51b0e5b491
sm6150-common: Drop soundtrigger HIDL impl
...
* breaks google voice match with pixelpropsutils as
we don't have hotword enrollment support
Change-Id: I213626f9729e5ff47ce7e6c990d605ed669b97e3
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
7fb18748e0
sm6150-common: Use jemalloc to fix MIUI camera
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
5da1c3bb36
sm6150-common: Enable memcg on boot
...
Change-Id: I39707749b8df4505488e0e59667445ba1dd99790
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
867a7c6679
sm6150-common: Set TARGET_PACKAGE_NAME for miui camera
...
Change-Id: If6ad715b836d5650443002a41f789ebc5ec490f8
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:05 +00:00
Pranav Vashi
b9efdb26c7
sm6150-common: Use appropriate arch setup
...
Change-Id: Ib687617676ee308b4336a9a8be76777821009f0a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:51:37 +00:00
basamaryan
f32066f19c
sm6150-common: Drop TARGET_KERNEL_CONFIG
...
Change-Id: Ic6401b4f5a33ff6ff2881705f51b7e4c57eaa172
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:44:34 +00:00
basamaryan
8e7d7d1ee3
sm6150-common: Enable anti_flicker by default
...
Change-Id: Ifc93157308f57ca0062f61347d158ebc96db912b
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:52 +00:00
Panchajanya1999
253f618f87
sm6150-common: fstab: Support F2FS compressions and garbage collector
...
Partially based on Pixel 6 fstab[1] and personal
recommendations.
F2FS Compression requires kernel support too.
[1]: https://android.googlesource.com/device/google/gs101/+/refs/heads/android12-d1-s4-release/conf/fstab.gs101#20
Change-Id: I319fa4033911e89160308535b626c978d7269805
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:52 +00:00
John Galt
2ccadfcb00
sm6150-common: Switch to LZ4 for EROFS
...
lz4hc has a higher compression ratio, but extends build time significantly
for no decompress gains. Additionally, testing on sm8150 + lz4 1.9.4
showed larger decompress gains on lz4 than lz4hc despite the hair-splitting
results on v1.9.0.
Change-Id: Icb38aea5f8116dbf316e8cff440994c4c76aeb59
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:52 +00:00
Cyber Knight
5ae014790b
sm6150-common: Bump EROFS PCluster Size
...
- This sets the maximum "pcluster", or variable length block size, to 262144 bytes.
- The number must be a multiple of 4096.
- The description above was cited from [1].
[1]: https://source.android.com/docs/core/architecture/kernel/erofs#compression_tuning
Signed-off-by: Cyber Knight <cyberknight755@gmail.com >
Change-Id: I9f07773fe0e3df88190a0ec2a3b4e82cd997914e
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:52 +00:00
John Galt
97b04c69fc
sm6150-common: Set EROFS pcluster size
...
- Used on cuttlefish as part of erofs switch. Benefits performance considerably..
Change-Id: I5b7aab7c479704aa7e23a2186ee43957c5cef6f0
Signed-off-by: Cyber Knight <cyberknight755@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:52 +00:00
Cyber Knight
fcbaa25ffd
sm6150-common: Switch to EROFS for relevant partitions
...
- EROFS offers much more compressed partition sizes compared to the likes of ext4 albeit being read-only.
- We have switched to EROFS for /system, /system_ext, /product, /odm and /vendor.
- This patch was inspired by [1].
[1]: 2b52a00408
Change-Id: I438f6b88ede93fe7e5d581439ba630b5c5440a48
Signed-off-by: Cyber Knight <cyberknight755@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:43:52 +00:00
basamaryan
db30b68aee
sm6150-common: Drop TARGET_DISABLED_UBWC
...
Unused after switching to C2
Change-Id: I0186d9865d62ca61848d85f0044660095541654a
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
a65aad9817
sm6150-common: Define missing TARGET_HEALTH_CHARGING_CONTROL related configs
...
Change-Id: I859a4d5c25b07bcf45f998e0ad54a4d9afca10fb
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Yumi Yukimura
cdd98bc410
sm6150-common: Switch to common QTI USB init scripts
...
Change-Id: I42864edf1cf554815fa24b12892afd21835d13c7
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Nolen Johnson
d1d452c8e3
sm6150-common: Don't declare BOARD_VENDOR
...
* Only matters when it differs from the device OEM.
Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Arian
10ba5294cb
sm6150-common: Enable camera override format from reserved
...
This enables qcom additions for high framerate videos.
Change-Id: I572d35c6454711e838b2d0dba31551627d10f6e6
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
d0cac07a5c
sm6150-common: Bring back QCOM WFD
...
This reverts commit 4a838e1a9b and d5d80a5347 .
Change-Id: Ib6b2ffc341fc22511ebacdd6b716257090209b3b
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Michael Bestas
a8fff34607
sm6150-common: Update display flags & packages
...
Required after display HAL blueprint conversion
Change-Id: Ifc4e10703d3424607b9dc8bcc8e417d1c88cc2f3
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Michael Bestas
01cf236cea
sm6150-common: gps: Convert remaining Android.mk to bp
...
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Tim Zimmermann
01f71c5996
sm6150-common: Remove quotes from TARGET_RECOVERY_PIXEL_FORMAT
...
* Required after TARGET_RECOVERY_PIXEL_FORMAT is added to soong
Change-Id: Ie6dcac4beccd7e499416a16d5d52404fe9d82f33
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
Kelvin Zhang
e4fa63b2ad
sm6150-common: Explicitly set as an non-AB target
...
We will be changing AB to be the default, existing non-AB targets
need to explicitly set AB_OTA_UPDATER to false
Test: th
Change-Id: I86a76296937a6abab1b4495cd66a35144348aafd
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:24:43 +00:00
basamaryan
3df5cd506c
sm6150-common: Commonize sepolicy
...
Taken from davinci, courbet, surya, sweet, and sweet2
Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00
Bruno Martins
f3e31a2d6f
sm6150-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qualcomm targets can now build hermetic partitions.
Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 03:00:42 +05:30
Sebastiano Barezzi
f36cf7a8a9
sm6150-common: Drop power AIDL extension
...
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2024-06-22 17:27:09 +05:30
basamaryan
c41438c851
sm6150-common: Use the common Xiaomi FCM
...
Change-Id: I0ca395bc5c23c26e1546d3dd1839592530cc0e3f
2024-06-22 17:26:47 +05:30
Arian
8e3e871e8f
sm6150-common: Provide a static lib for power mode extension
...
Change-Id: I3e2cf17bf1e733838e9e18afdf3f888e814593dc
2024-05-19 18:07:53 +02:00
Bruno Martins
22ae2ff2f8
sm6150-common: Use common libqti-perfd-client and power-libperfmgr
...
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
2024-05-19 18:07:53 +02:00
Nolen Johnson
104c4cf764
Revert "sm6150-common: Ship full recovery image"
...
This reverts commit 9f3a3d1e47 .
Reason for revert: Global now in vendor/lineage.
Change-Id: Ib5d19fe8e69e52c87454418f9e4a0c4bdf90e7b8
2024-04-29 22:11:00 +02:00
Adithya R
4229944346
sm6150-common: Set arch variant to armv8-2a-dotprod
...
karna:/ $ cat /proc/cpuinfo | grep -m 1 Features
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
From this, it's evident that our CPU (Snapdragon 732G/Kryo 470) supports
all the features of ARMv8.2-DotProd [1]. Moreover AOSP sets this arch
variant in their generic cortex-a55 ART target as well [2]. This should
unlock some optimizations in different code paths.
[1]: https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]: https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com >
Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
2024-04-10 13:26:49 -04:00
Philip Cuadra
14c17f47af
sm6150-common: Target arm v8.2a and A55
...
This will let bionic use 8.2a atomics which helps scudo locking.
Bug 189248298
Test: Presubmit
Change-Id: Ifa7a6d8386c8adcadb81cb762758b06a8164f700
2024-04-10 13:26:48 -04:00
Michael Bestas
f531fce60d
sm6150-common: Switch to android.hardware.usb@1.3-service.dual_role_usb
...
Change-Id: Ibd14f7d31dfaf41e040302eda3bc49f351deb618
2024-04-10 13:26:48 -04:00
Cole Faust
5702656b83
sm6150-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-04-10 13:26:47 -04:00
Michael Bestas
43490e9531
sm6150-common: Inherit common partition reserved sizes
...
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-04-10 13:26:47 -04:00
Bruno Martins
83a0bcef55
sm6150-common: Use the common device compatibility matrix from QCOM
...
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-04-10 13:26:46 -04:00
Bruno Martins
95750a24bd
sm6150-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
2024-04-10 13:26:45 -04:00
LuK1337
dfc3c8754a
sm6150-common: Don't limit {product,system,system_ext} inode count when !WITH_GMS
...
Change-Id: I458edd755fa436feadeb9f5fb2aecb0da797b0ef
2023-12-15 16:15:57 +00:00
Jarl-Penguin
9f3a3d1e47
sm6150-common: Ship full recovery image
...
* Ensure users are always on the latest recovery image
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com >
Change-Id: I033ac4442622b737639d678993daf602a89f9bac
2023-12-15 14:06:43 +01:00
LuK1337
3150c6fef2
sm6150-common: Include vendor/debugfs.config
...
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER
Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2023-11-09 11:23:01 -05:00
basamaryan
ef7bbdacd2
sm6150-common: Reserve additional space on product
...
Change-Id: I27032b9250cc9891b502a2a187ee2e13da509e8a
2023-11-09 11:22:55 -05:00
Arian
5d9b716f90
sm6150-common: livedisplay: Make supported interfaces configurable
...
Change-Id: I2949134f978d3c9b619ae55d3ac41a9b62e65d9c
2023-08-21 22:53:01 +02:00
Michael Bestas
630f539308
sm6150-common: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-08-20 18:47:33 +02:00
LuK1337
cae03c13c8
sm6150-common: Fix BOARD_FLASH_BLOCK_SIZE
...
BOARD_KERNEL_PAGESIZE * 64 != 131072
Change-Id: Id0762503d1223d0f2b9cacf9af2fca1e6e6caf3d
2023-08-20 18:47:33 +02:00