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
Arian
7851954b06
sm8450-common: Use soong_config_set to set xiaomi powershare variable
...
Change-Id: Id00f757720800fbf4ee94bedee71edb6fedc5643
2024-08-01 01:08:47 +02:00
Bruno Martins
6b3861b808
sm8450-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
...
Qualcomm targets can now build hermetic partitions.
Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-08-01 01:08:47 +02:00
Bruno Martins
d7617868eb
sm8450-common: Convert WiFi firmware symlink to install_symlink target
...
The last bit that was preventing building hermetic images.
Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-08-01 01:08:47 +02:00
Bruno Martins
6627192d13
sm8450-common: Mark CNE symlink target as required package
...
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-08-01 01:08:47 +02:00
Bruno Martins
289b89f3bc
sm8450-common: Declare EGL libs as symlinks during extraction
...
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-08-01 01:08:47 +02:00
Bruno Martins
d39f2912c6
sm8450-common: Declare IMS and WFD libs as symlinks during extraction
...
Change-Id: I2a035323a483b8b2422b4a54219b2f6268ab4a61
2024-08-01 01:08:47 +02:00
Bruno Martins
c90c4bdaa7
sm8450-common: Move to new RFS install_symlink targets
...
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-08-01 01:08:47 +02:00
Paul Crowley
050a73468d
sm8450-common: Remove wait_for_keymaster and all references
...
No longer needed now init listens for property changes on a
separate thread.
Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
2024-08-01 01:08:46 +02:00
Michael Bestas
dcef5e1cde
sm8450-common: Build missing libraries for 14 QPR3
...
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-08-01 01:08:40 +02:00
Michael Bestas
ea789844aa
sm8450-common: gps: data-items: Fix snprintf usage
...
Fixes:
gps/core/data-items/DataItemConcreteTypes.cpp:465:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
465 | snprintf(t, sizeof(t),
"[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
| ^
gps/core/data-items/DataItemConcreteTypes.cpp:514:9: error: 'snprintf'
will always be truncated; specified size is 10, but format string
expands to at least 20 [-Werror,-Wfortify-source]
514 | snprintf(t, sizeof(t),
"[%02x:%02x:%02x:%02x:%02x:%02x]", d->mApSrnMacAddress[0],
| ^
2 errors generated.
Change-Id: I37188e7497f7ade97648fb41e2becd73f6b559a9
2024-07-02 18:13:43 +02:00
Chirayu Desai
8cb8478fdd
sm8450-common: Don't set BOARD_API_LEVEL
...
build/make/core/board_config.mk:1001: error: BOARD_API_LEVEL must not
set manully. The build system automatically sets this value..
Change-Id: If59ae9dea6cb13701d7217a1c0a355d4e07113eb
2024-07-02 18:12:58 +02:00
Arian
4e191dfe60
sm8450-common: Update blobs from diting V816.0.5.0.ULFEUXM
...
Change-Id: Iefdc239dde7a57b0588b4df104b6270ae9931fd5
2024-07-02 18:08:41 +02:00
Arian
cd4a966e2f
sm8450-common: udfps: Kill dedicated enroll handling
...
Change-Id: I906dbfd2b4fbe2c8d28bda6927e70144350f9ee9
2024-06-09 11:07:59 +02:00
Arian
c9aa23766e
sm8450-common: Add nonui notifier
...
Change-Id: Id447dec0d6c6a384a55a25db45f2d763ba23635a
2024-06-09 11:07:59 +02:00
Arian
0ffea87896
sm8450-common: udfps: Kill fod_status
...
Change-Id: I02cee1b4cb5207fed2da31302d9ecbb6b720b1d8
2024-06-09 11:07:59 +02:00
Arian
ec8a98e97f
sm8450-common: Move to double tap sensor
...
Change-Id: Ib4803011fefad35c8b7a2d1e2b7d2744b32b13f4
2024-06-09 11:07:59 +02:00
Arian
999f5ead73
sm8450-common: Enable single_tap sensor and set permissions for touch sensors
...
Change-Id: I777ed71ecc5dc502182567bc7e1166605251af93
2024-06-09 11:07:59 +02:00
Jens Reidel
5f52d9cc7c
sm8450-common: Add support for diting
...
Change-Id: I1222d405c9923da2772b1b5429716d06bb925f54
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-06-05 22:55:38 +02:00
Arian
1c57011e7c
sm8450-common: Add support for dagda and taranis
...
Change-Id: I58d40fc90c185b10af38606da4efe3e31cd19bbc
2024-06-02 03:30:25 +02:00
Jens Reidel
ec0869c007
sm8450-common: sepolicy: Drop extcon rules
...
These live in device/qcom/sepolicy_vndr now.
Change-Id: I33a51a18bdf9fbef01c5c12647646472c4850b32
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-24 13:48:38 +02:00
Jens Reidel
652efb6b64
sm8450-common: power: Set double-tap mode for secondary panel if exists
...
Change-Id: I20c06b5dbf88b07a330af8af3455318acbdeb276
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2024-05-24 13:18:44 +02:00
Arian
4deb89bf9b
sm8450-common: rootdir: Drop unnecessary actions from xiaomi_sm8450 specific init
...
Change-Id: Ib2b8f62f40a9a65b0653787309a337b6719ef200
2024-05-22 02:42:32 +02:00