1496 Commits

Author SHA1 Message Date
basamaryan
0417a32035 redwood: Move to Xiaomi fingerprint AIDL 2025-08-27 10:12:18 +05:30
LuK1337
e1d33ad331 redwood: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2025-08-27 10:12:18 +05:30
FlowerSea0208
e583d6e108 redwood: Switch to source-built fx.tunnel interface 2025-08-27 10:12:18 +05:30
FlowerSea0208
e2ce35776e redwood: Fix soname of fingerprint.goodix.default.so
Change-Id: Ieaa6d07a5c7a45dbf804587bfce68fef4fa4fc34
2025-08-27 10:12:18 +05:30
Michael Bestas
f22744a9bf redwood: Shim widevine with libcrypto_shim
The following change
e202e51cb0
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29
2025-08-27 10:12:18 +05:30
lahaina
cd1a9dfb3b redwood: Link libwvhidl against libcrypto from vndk 33
* It depends on symbol CBS_init which is removed from the latest libcrypto.
2025-08-27 10:12:18 +05:30
Luofan Chen
8b66356c3f redwood: Remove quotes in TARGET_RECOVERY_PIXEL_FORMAT
Change-Id: Ic400a47f0b4b8d2884082b99df3fe2e09c9438f6
2025-08-27 10:12:18 +05:30
Michael Bestas
158cae5048 redwood: Switch to AIDL thermal HAL
Change-Id: I6ae621194044ab66fad69b9ef997b3b347bf6120
2025-08-27 10:12:18 +05:30
Michael Bestas
f865645c28 redwood: Switch to AIDL USB HAL
Change-Id: I70f6a4e57eef577d86987bfae44f381a4f107624
2025-08-27 10:12:18 +05:30
Pawin Vongmasa
8d9060dc61 redwood: props: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 131800183
Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06

Change-Id: I0789784bcdb7d42ec344a8ad7ec4cae03ae82a41
2025-08-27 10:12:18 +05:30
dianlujitao
f67dfeae4c redwood: Nuke ATFWD
It's normally not used at all.

Change-Id: Idb824b3b8c783b6ac962e604df05f9154beb4ed2
Signed-off-by: iHSAN <ihsanulrahman@gmail.com>
2025-08-27 10:12:18 +05:30
Giovanni Ricca
6a1e4ec8e1 redwood: Remove unused media_codecs_vendor_audio.xml
Change-Id: Ia4bb3b9d0ec170ba9c94e2481baacd9b8d874607
2025-08-27 10:12:18 +05:30
Michael Bestas
1fd5e0b842 redwood: Remove media_codecs_google_c2*
AOSP codecs can be used by default and it is not necessary to include
them device side.

Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
2025-08-27 10:12:18 +05:30
Bruno Martins
3f06a6cf68 redwood: Remove software OMX blobs
Default to C2 codecs from swcodec apex.

Change-Id: I32f0b0abe680c1f350268115a3cc5488a2a57ec3
2025-08-27 10:12:18 +05:30
Michael Bestas
aaecbbcdbd redwood: props: Use AOSP default Codec2/OMX ranks
debug.stagefright.ccodec=4
is the default value in frameworks.

debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.

Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
2025-08-27 10:12:18 +05:30
Aaron Kling
81d84d1c75 redwood: Remove software omx codec references
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.

Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
2025-08-27 10:12:18 +05:30
Aaron Kling
b8ffb66fbf redwood: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2025-08-27 10:12:18 +05:30
Michael Bestas
7a73dd7512 redwood: Work around using prebuilt HWC
After enabling ELF checks and switching prebuilts to modules,
the init and vintf files are no longer automatically built.

Change-Id: I48fcab53a7c8128b18e1399d9afadcfd5c85b116
2025-08-27 10:12:18 +05:30
Michael Bestas
470689a292 redwood: Disable ELF checks for certain libraries
Change-Id: I61dbc3559b43becc22f69ae2c1c3e8edf95e2483
2025-08-27 10:12:18 +05:30
Cosmin Tanislav
ef126d21e7 redwood: skip dependencies which aren't defined in .bp
Change-Id: I01a653661856495788c05b720c0577dac44998a4
2025-08-27 10:12:18 +05:30
Cosmin Tanislav
b06d4f1657 redwood: Setup ELF checks 2025-08-27 10:12:18 +05:30
Michael Bestas
a1403b751e redwood: Sync extract scripts with templates 2025-08-27 10:12:18 +05:30
Michael Bestas
d670760d9e redwood: Drop COMMON_LUNCH_CHOICES 2025-08-27 10:12:18 +05:30
Michael Bestas
2562571ad1 redwood: Migrate mount point creation out of Android.mk
Change-Id: Id5986b8a740e45f864eecdd2bd82d9455f128d6b
2025-08-27 10:12:18 +05:30
Bruno Martins
c71da35c8f redwood: Declare EGL libs as symlinks during extraction 2025-08-27 10:12:18 +05:30
Bruno Martins
b04f805e9a redwood: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2025-08-27 10:12:18 +05:30
Bruno Martins
2b38661b39 redwood: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2025-08-27 10:12:18 +05:30
Bruno Martins
787c212750 redwood: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2025-08-27 10:12:18 +05:30
Bruno Martins
8cecb2971f redwood: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.
2025-08-27 10:12:18 +05:30
SGCMarkus
d5f94c1179 redwood: unset BOARD_USERDATAIMAGE_PARTITION_SIZE
This not only saves a lot of build time when building with
TARGET_USERIMAGES_SPARSE_EXT_DISABLED and/or
TARGET_USERIMAGES_SPARSE_F2FS_DISABLED which is required
on A14, but also removes the need for the build system to
temporarily create a 40+GB userdata image.
Which means that less free space is required to start the
build.

Change-Id: Ibf48e7cdf566a4653e85352a79170b354d917234
2025-08-27 10:12:18 +05:30
thepriyanshujangid
fbd30def14 redwood: allow rmt_storage to acquire wakelocks correctly
* vendor.rmt_storage: wakelock acquired: 1, error no: 11
2025-08-27 10:12:18 +05:30
EcrosoftXiao
ae2d361385 redwood: audio: Nuke unsupported haptics output configuration
* Fixes Pixel ringtones

Change-Id: Ib81fd4209be8201d13aeea485910169371f82582
Signed-off-by: Bartłomiej Rudecki <ejbtrd@gmail.com>
2025-08-27 10:12:18 +05:30
New Author Name
468875b809 redwood: audio: Remove FM Tuner from audio input devices
* This fixes google voice recorder

Change-Id: If42676a0087e055e3164da4b0cc43987e32d82b3
2025-08-27 10:12:18 +05:30
Sebastiano Barezzi
b61e4b3f2c redwood: Move to Xiaomi IR AIDL
Change-Id: I46094bcbfaba252b5d98ea8211b927fdaa079e2d
2025-08-27 10:12:18 +05:30
Sebastiano Barezzi
034d67654a redwood: 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 4aca996701ea82f0d8dbe1b26715354442d166ab.

Change-Id: I284f80f364e9057a8373a015f0acaee3ef9e395d
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-08-27 10:12:18 +05:30
Sebastiano Barezzi
9da94705bb redwood: Drop SDM LiveDisplay service
* We switched to AOSP colors so messing with color calibration will
  confuse QDCM

Change-Id: Ia22c4c06e922d1b7f9c60b257299634333cc3fe4
2025-08-27 10:12:18 +05:30
Manish Kushwaha
39156eec8f redwood: Migrate sensor HAL to AIDL interface
Bug: 247478991
Test: tested on-device (P23) ab/P46941077
Test: `sensor_test -ahal list` and `sensor_test list`
Test: `sensor_test -ahal sample -s0` and `sensor_test sample -s0`

Change-Id: I40f6ab6b7780c53cd638a1f77c95f6c324dc2d15
Signed-off-by: ralph950412 <ralph950412@gmail.com>
2025-08-27 10:12:18 +05:30
Yumi Yukimura
357a650fcd redwood: Switch to QTI Memtrack AIDL HAL 2025-08-27 10:12:18 +05:30
thepriyanshujangid
c4417aa7e3 redwood: Switch to Turbo kernel
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 10:12:18 +05:30
thepriyanshujangid
2044d164a7 redwood: Adapt for crDroid 2025-08-27 10:12:18 +05:30
SVB
ed5621a508 redwood: rootdir: Allow all filesystems for USB-OTG
Change-Id: Ie9cef57485c337c39bae559a71582b4c66127d85
2025-08-27 10:12:18 +05:30
EcrosoftXiao
d12d046fbf redwood: sepolicy: Mark vendor_camera_sensor_prop as vendor_public_prop
[Tashar02]: Make vendor_camera_sensor_prop label public so that it can be used by
the proprietary vendor camera repository.

Change-Id: I889a90382869b40885b64ca7d47f4caa5159e9c3
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-08-27 10:12:18 +05:30
Alexander Koskovich
8035432d8f redwood: rootdir: Drop vm-bootsys from fstab
* Unused, and e2fsck is angry that it can't be opened
   because of lack of SEPolicy anyways.

Change-Id: I53d12572ca11f277a09b06b41e821d6acffcd121
2025-08-27 10:12:18 +05:30
priyanshu jangid
4d124528f5 redwood: sepolicy: Drop duplicate genfs entry 2025-08-27 10:12:18 +05:30
klozz
77251eb614 redwood: build recovery as permissive
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 10:12:18 +05:30
Michael Bestas
fccd9fc135 redwood: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2025-08-27 10:12:18 +05:30
Chirayu Desai
e0a085f8e3 redwood: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true"
or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports
userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2025-08-27 10:12:18 +05:30
John Galt
ba42290a15 redwood: make dex2oat go fast
Make ota updater go a bit faster.

Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: rk134 <rahul.kantrapally@gmail.com>
2025-08-27 10:12:18 +05:30
DarkJoker360
de94378286 redwood: props: Enable LTE_CA workaround 2025-08-27 10:12:18 +05:30
David Sehr
e05ae427b9 redwood: props: Enable usage of dex2oat64
Use 64-bit dex2oat for better dexopt time.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
2025-08-27 10:12:18 +05:30