Demon000
d94ca3c413
sm8450-common: Remove DEVICE_PROVISIONED
...
Change-Id: I9fb48bf8e5b991b0a3fdbf2546e561375303c703
2024-08-21 13:02:27 +02:00
Adithya R
ca5744198e
sm8450-common: overlay: Provide MIUI color mode options
...
Change-Id: I7faa409bf7069108f5bed64488b2a7c5566cd921
2024-08-21 11:46:30 +02:00
xboxfanj
06fb001376
sm8450-common: overlay: Move rro packages to vendor partition
...
In Android 14, prioritization of partitions is emphasized, diverging
from previous versions where priorities were respected universally.
Overlay precedence now plays a critical role, with the following
partition order dictating overlay precedence:
- system
- vendor
- odm
- oem
- product
- system_ext
When multiple overlays contend for the same resources, the order of
overlays becomes crucial. An overlay takes precedence over others if it
has configurations following its own. This prioritization, while
impactful for GSI compatibility, is essential for maintaining order and
functionality.
Change-Id: I8b7568dcc418dbbd1ccb39e2d0dc66504f19fcdd
2024-08-21 11:01:42 +02:00
Arian
bc0505c4f5
sm8450-common: overlay: Remove _Sys and _Vendor suffix from names
...
Change-Id: Ib119a9103d9b490b10e93f6b8ac0430266f6e102
2024-08-21 10:56:41 +02:00
Sebastiano Barezzi
a1e2240d59
sm8450-common: Move to Xiaomi IR AIDL
...
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2024-08-21 10:56:41 +02:00
Arian
abd3e699c6
sm8450-common: Update blobs from diting V816.0.6.0.ULFMIXM
...
Change-Id: Ie9b7b5361f054aa705558aab126c2842b7b56dc2
2024-08-21 10:56:41 +02:00
Arian
c9bfea27de
sm8450-common: Add clang-format configuration
...
Change-Id: I125056c23d0e4ed74b2b96f13842c39a39de7b45
2024-08-20 11:07:42 +02:00
Michael Bestas
2cc4e7a131
sm8450-common: Remove modules that depend on debugfs
...
These don't exist when we disable debugfs in kernel, which breaks
the build.
Change-Id: I17e17962152066cc0696a5c040b056d92219948d
2024-08-20 11:07:42 +02:00
LuK1337
258777e748
sm8450-common: Include vendor/debugfs.config
...
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER
Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2024-08-20 11:07:42 +02:00
Cosmin Tanislav
01dc5f47c3
sm8450-common: overlay: Allow switching between 60Hz and 120Hz
...
Change-Id: I4f328dbdce50e709f30b1f098e71248d72819268
2024-08-14 16:03:40 +02:00
Arian
defc946c27
sm8450-common: Commonize building sensors.xiaomi
...
Change-Id: Id45e19cec99f8342700b6e52495096463e455256
2024-08-14 14:00:53 +02:00
Yumi Yukimura
cc00e83945
sm8450-common: rootdir: Add more infos to ro.boot.hardware.revision
prop
...
Change-Id: I8110a8a9ec653b4dbb73563336c3859571d0a58e
2024-08-14 13:13:45 +02:00
Arian
2099b087c5
sm8450-common: rootdir: Set hardware revision property
...
The bootloader sets androidboot.hwversion, use this and set the ro.boot.hardware.revision property in order to show it in settings.
Change-Id: I3c6c678bf055091ea9fcb2a1524d321e2c1be043
2024-08-14 13:11:58 +02:00
Bruno Martins
4a74a44b2e
sm8450-common: Build opensource soundtrigger HAL
...
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2024-08-12 16:39:57 +02:00
Arian
3c8e111a67
sm8450-common: Disable proprietary listen sound model
...
Change-Id: I9a836a8c0a68a45b1c4ae5233adfd1f14789b8f6
2024-08-12 16:39:57 +02:00
Bruno Martins
8b0355c51c
sm8450-common: Let build system copy audio manifests
...
Despite forcing prebuilt audio HAL to be copied at the very end,
it's still built from sources along with all dependencies,
including the non-qmaa manifests.
Change-Id: I64a3611d6ea7b6d013d21dbf2df2b9b4c34963e6
2024-08-12 16:39:57 +02:00
AdarshGrewal
a2a76960a3
sm8450-common: Add platform specific audio hal to build targets
...
Change-Id: Ie09bdeed6f8fcdda44ef482158cbc50b1bbabba8
2024-08-12 16:39:57 +02:00
AdarshGrewal
9274350838
sm8450-common: Build libsndcardparser from source
...
Change-Id: I338a79e8c5e4cfe4070e249f952b6c6b18ca6202
2024-08-12 16:39:57 +02:00
AdarshGrewal
ee6ddfa41e
sm8450-common: Build libbatterylistener from source
...
Change-Id: I8d3171869764e50544a5fcd7e793589e2ecbabc9
2024-08-12 16:39:57 +02:00
Bruno Martins
cc7e982201
sm8450-common: Skip building agm test binaries
...
Change-Id: I6e0f4f37b4ae465700dfd4d20e54858a8241dcf4
2024-08-12 16:39:57 +02:00
Aaron Kling
c784dcbe29
sm8450-common: Move most agm and pal targets to source built
...
Change-Id: I6ca0c5396a3b583b37e029f5c98ff13127db65a6
2024-08-12 16:39:57 +02:00
Sebastiano Barezzi
546e43d74e
sm8450-common: Build mtdservice interface lib from source
...
Change-Id: Ie739f283c4be1b77d57aaee1941ed46957da1d1a
2024-08-12 16:39:57 +02:00
Bruno Martins
b8957e2ee6
sm8450-common: Switch to source-built mlipay interface
...
Change-Id: I7daaaffd9fe7a870e42c1d882b52dc93b3231120
2024-08-12 16:39:57 +02:00
AdarshGrewal
ca7ff595fa
sm8450-common: Build audioadsprpcd from source
...
Change-Id: I19d38c534edf26886bd354548eaee661dd79f793
2024-08-12 16:39:57 +02:00
AdarshGrewal
a9f07f9bed
sm8450-common: Build librmnetctl from source
...
Change-Id: I4c36cf8fbc3bc55f39e5ca3aa4680aa5acd836c7
2024-08-12 16:39:57 +02:00
Arian
6362447093
sm8450-common: Kill libstagefrighthw
...
This will not be loaded when vendor.media.omx=0 is set
Change-Id: I6c87910028feae4c0711ce9bfc0ed2fb5e7445c0
2024-08-12 16:39:57 +02:00
Sungtak Lee
5a3d11af1d
sm8450-common: Disable OMX
...
Bug: 222649162
Test: make
Change-Id: Iaf1046c610804c5bdb3b0f591e9907539534ea06
2024-08-12 16:39:57 +02:00
Arian
634530158f
sm8450-common: Get rid of unnecessary 32-bit blobs
...
Change-Id: I6b4fc2a77231b775e367d1adf7bf238f765a3e7a
2024-08-12 16:39:57 +02:00
Arian
9dca922bf9
sm8450-common: Drop unused libbt-hidlclient.so
...
Change-Id: I30e3ef42d168087237f39b80394b95d6635a1eff
2024-08-12 15:49:54 +02:00
Arian
cd719a95f7
sm8450-common: Stop building libcodec2_vndk explicitly
...
It's a dependency of libcodec2_hidl@1.0
Change-Id: I7a14b3b23d49ce3f0f1a1497005085e6f4f4224f
2024-08-12 12:40:48 +02:00
Arian
22852aac3b
sm8450-common: Drop xiaomi libsensor_cal@2.0.so
...
Change-Id: I3eab1b46b5ea9dd71c3eac1e5ad185b61ece4919
2024-08-12 10:24:41 +02:00
Arian
17578b3cfb
sm8450-common: Unpin telephony apks
...
Instead, we provide the isMiuiRom method via xiaomi-telephony-stub
The permissions patches for com.qti.permission.BIND_QTI_IMS_SERVICE
and com.qualcomm.qti.permission.USE_EXT_TELEPHONY_SERVICE don't
seem to be needed without injection.
Change-Id: Ifd904b845efa3e89dda89cedb6b495f61ca3308f
2024-08-12 10:24:41 +02:00
danielml
df0c2c2ca5
sm8450-common: Build xiaomi-telephony-stub
...
To provide the required Xiaomi IMS methods
Change-Id: I1e75476a0d2ed55b5eae2a0a2c6ca4c3c4e2c0f1
2024-08-12 10:24:41 +02:00
someone5678
a275858370
sm8450-common: rootdir: Add sdcard1 and usbotg to recovery fstab
...
Change-Id: I9beeff2d45b12801d5cb8d854ea363872ca4949c
2024-08-12 10:24:41 +02:00
ghostrider-reborn
6d47060aef
sm8450-common: Fix battery and USB OTG detection
...
* In cape (msm-5.10) pmic driver now lies in adsp [1], so
adsp firmware must to be loaded along with qti battery/
charger kernel module, in order to get battery and usb
power_supply up & running
* With this, we dont need to set usb mode to peripheral
explicitly either
* The GKI kernel for 5.10 explicitly disabled
FW_LOADER_USER_HELPER_FALLBACK, and the right way to enable it is to
echo 1 to the /proc/sys/kernel/firmware_config/force_sysfs_fallback,
so do this before writing to adsp sysfs node.
[1]: 4e2b0f663a
Depends-On: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef
Change-Id: I835fa5daaa53eb704cc6c0777d7069d47ecbe10c
2024-08-12 10:24:41 +02:00
pjgowtham
19b79e58c0
sm8450-common: Load adsp_loader_dlkm for battery status in recovery
...
Change-Id: Ia9b62249176dc6b86fd7ab40697940cb83c45cc2
2024-08-12 10:24:41 +02:00
Arian
06f5c160c2
sm8450-common: Kill xiaomi citsensorservice and sensor communicate
...
Change-Id: Iaa50c3d23f8c9398e12486098c037bc970ae4940
2024-08-12 10:24:41 +02:00
Arian
b9ef44eff2
sm8450-common: sensors: Introduce LightNotifier and use libssccalapi@2.0
...
Change-Id: Iec11aa1a8ccc13db5d30cc6fa52e4b10d255c706
2024-08-12 10:24:41 +02:00
Arian
a96665b595
sm8450-common: sensors: Add aod notifier
...
Change-Id: I2ba35d7b7db4e6922d83f041497fe66bf52124cb
2024-08-12 10:24:33 +02:00
Arian
53191f2811
sm8450-common: sensors: Convert nonui notifier into a generalized sensor based notifier
...
Change-Id: I34b9861341f4f033185fdbd066b46d779dd95cfa
2024-08-12 10:24:04 +02:00
Arian
70f137270c
sm8450-common: sensors: Close touch dev fd after usage
...
Change-Id: Iad20a110444e87fb6ea37147bd2dc5928ca0ec8d
2024-08-01 01:08:48 +02:00
Arian
66b47cfe82
sm8450-common: Use kernel provided xiaomi_touch.h
...
Change-Id: Ib235946a1233b4965fc4a90c9b2b01b7644775e9
2024-08-01 01:08:48 +02:00
Arian
b6069026da
sm8450-common: sensors: Pass nonui value unmodified to touchscreen
...
* report the scalar directly, 1 probably means pocket and 2 means it's covered.
this led to us disabling nonui mode again when covered was reported after pocket.
Change-Id: Idbf7fdf773657d87407dd4b67a7353c17b4ae799
2024-08-01 01:08:48 +02:00
Arian
26737a0758
sm8450-common: sensors: Use wake-up version of nonui sensor
...
Change-Id: I4858cd37b98839c00cc2e533d7e50720cd7280c8
2024-08-01 01:08:48 +02:00
Arian
727d6834e5
sm8450-common: sensors: Cleanup code and drop unused dependencies
...
Change-Id: I553fb6f441cde1d3a5c4b19e42e3bd696a92bbd3
2024-08-01 01:08:48 +02:00
Arian
f6aa6d90f8
sm8450-common: Update blobs from diting V816.0.5.0.ULFMIXM
...
Change-Id: I1246f2f0f1773730f2f020df91f0c3c63ecce16c
2024-08-01 01:08:47 +02:00
Arian
5402e4f817
sm8450-common: Drop nfc services from manifest since they have fragments
...
This was missed in commit e651d4133a
Change-Id: I83813930105abe360beb9fd9eb881ff954f64c22
2024-08-01 01:08:47 +02:00
Yumi Yukimura
aaa391c8f6
sm8450-common: Migrate to QTI USB Gadget 1.2 HIDL
...
Change-Id: I6adbca2fab9a3fe0477d17f9786166828b786710
2024-08-01 01:08:47 +02:00
Nolen Johnson
34a56e7ea8
sm8450-common: Swap to QTI USB init scripts
...
Change-Id: Ibb01a6a8b9817b01a8db397cdf82a89659562d62
2024-08-01 01:08:47 +02:00
Sebastiano Barezzi
856fd64d7b
sm8450-common: Partially revert "Move to QTI health AIDL service"
...
https://github.com/LineageOS/android_system_core/blob/lineage-21.0/init/init.cpp#L1099
This partially reverts commit 2d6f07b00c
.
Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
2024-08-01 01:08:47 +02:00