Commit Graph

334 Commits

Author SHA1 Message Date
Marc Bourgoin
3ad31b6191 rtwo: Update blobs from rtwo_g-user 14 U1TRS34.8-30-13-1 7c77a-12bae6 release-keys - RETAIL variant
Change-Id: I7980db1b41e79846dbe5671c2ed274c9e8f6983f
2024-04-12 12:12:58 -06:00
Bruno Martins
05736a8b77 rtwo: audio: Remove LC3 as a supported BT A2DP codec
Similarly to 62861bde94
this time around with AUDIO_FORMAT_LC3 breaks BT A2DP after U QRP2.

Change-Id: I6152c19281dac2c6748e535fa20b5518c6f2a4fe
2024-04-12 12:12:58 -06:00
SGCMarkus
f5a202552d rtwo: update kernel modules to stock U source
Change-Id: Ie12fe86c3b9eee5ecdaeede5c9174355473b051e
2024-03-05 12:05:44 -07:00
LuK1337
222741f51c rtwo: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2024-03-05 12:05:44 -07:00
Marc Bourgoin
aa1e21d7bc rtwo: Redo CarrierSettings for RETCN
Turns out there's one extra file needed and redo extract from

motorola/rtwo_cn/rtwo:14/U1TR34.8-19-11/a7b98-bf32f9:user/release-keys

Change-Id: If7605e7040e0887a36758730e113f54928644478
2024-03-05 12:05:33 -07:00
SGCMarkus
3567fd3808 rtwo: presign EuiccGoogle and its partner app
Change-Id: Ia35512b7f582ecd19a2ffffa4246d835115e0528
2024-03-05 12:04:54 -07:00
Marc Bourgoin
7ca48eecad fixup! rtwo: Update blobs from rtwo RETAIL 14
Change-Id: I87fc886d549e623f39bb92b102207a59e13c3692
2024-02-14 16:01:09 -07:00
Marc Bourgoin
5f2c7a1c53 rtwo: Update some audio configs from rtwo_g-user 14 U1TR34.8-30-13 c6cfc-4ed033 release-keys - RETAIL variant
Change-Id: I17c6e3a77e70606a7a4e47ecd5a0b99ff7804647
2024-02-03 21:09:19 -07:00
Marc Bourgoin
10f4e03943 rtwo: Update blobs from rtwo RETAIL 14
We will still pin a few CarrierSettings from RETCN 14

Change-Id: Ic279c837d319f22285e338e907e097a3cefbc374
2024-02-03 21:08:53 -07:00
Han Sol Jin
a72ef93574 rtwo: update-sha1sums: Add support for multiple proprietary-files lists
Change-Id: I1547f58756122de3bcfd6ad7fe4749efdee888c4
2024-01-31 21:19:37 -07:00
Marc Bourgoin
a7c8568307 rtwo: sm8550.mk -> common.mk
Change-Id: I0c6c113c3655816eb632c7e5fa41c38f982b87a0
2024-01-16 14:34:17 -07:00
Omkar Chandorkar
ed6c1d45f8 rtwo: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-01-16 13:33:45 +00:00
Marc Bourgoin
76e20a0f8b rtwo: Remove duplicate files and move 3 Secure Element blobs to common
The duplicates can be found in sm8550-common

Change-Id: I303bf5cefa4856c4260d7f10cbd350acad1f9d8b
2024-01-15 23:13:38 +00:00
Michael Bestas
9a56d2a25e rtwo: Add proprietary-firmware.txt
Change-Id: I32266912d6c01d4e0b61772793f6656b959420e2
2024-01-14 21:04:55 -07:00
SGCMarkus
16ab7fd905 rtwo: rootdir: remove insmod of non-existing modules
Change-Id: Ief47b186d594389e7b7c71d5c7e6213247a388ae
2024-01-14 21:04:54 -07:00
Chia-I Wu
48039247aa rtwo: overlay: Remove COLOR_MODE_SATURATED
It is replaced by COLOR_MODE_AUTOMATIC.

Bug: 110524699
Test: Settings > Display > Advanced > Colors
Change-Id: I116b50fde456a24c90fd83969cd2fc30f84947ee
2024-01-14 21:04:54 -07:00
SGCMarkus
8cd2aba4f5 rtwo: Update from rtwo_cn-user 14 U1TR34.8-19-2 9bfa3-adc28 release-keys
Pin euicc, hotword and MotCamera4 (the one on retcn doesn't have Google Lens)

Also pin some CarrierConfigs that don't exist on retcn

Change-Id: Icaef3bfb9ed4c054176b7ed2b9df1efabf5dff32
2024-01-14 21:04:53 -07:00
SGCMarkus
96cb7db891 rtwo: add missing camera blob
Change-Id: Icec1a3bfeb44171d2cd69f3576c5621fae966d6c
2024-01-13 18:44:51 -07:00
SGCMarkus
09ee00e236 rtwo: 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 230+GB userdata image.
Which means that less free space is required to start the
build.

Change-Id: Ibf48e7cdf566a4653e85352a79170b354d917234
2024-01-13 18:44:50 -07:00
SGCMarkus
d8d96e0fa7 rtwo: properly override common product overlays
Change-Id: I976947a4c5f1a7fe02584e750e6402987b2cac68
2024-01-13 18:44:49 -07:00
SGCMarkus
6ac6b75977 rtwo: overlay: LineageSystemUI: move to product
Change-Id: I67bd685bac8135b61c318e617edb19cb09e83fc0
2024-01-13 18:44:49 -07:00
SGCMarkus
3956c2a35a Revert "rtwo: mark android.software.nfc.beam as unavailable"
This reverts commit 9c818feb32.

This feature is gone in A14 completely, no need to mark it as
unavailable.

Change-Id: Ia99235cff45955bca967bc0321290ffaced2114f
2024-01-13 18:44:48 -07:00
Bruno Martins
bdfa407ffe rtwo: Replace board flag for building GKI modules
Android 14 introduced BOARD_SYSTEM_KERNEL_MODULES and it conflicts with
the currently implemented GKI handling setup, so workaround and migrate
to SYSTEM_KERNEL_MODULES.

Change-Id: I77798268c825a08761c103faaf3a38a9e086dad4
2023-12-19 18:34:53 +01:00
Nolen Johnson
73e4c690c2 rtwo: Don't override Aperture
Change-Id: Id154dc2d98df4aaf4bb967bc60570ce5d9fe3ad5
2023-12-14 05:22:40 -07:00
Marc Bourgoin
5907a8cedc Revert "rtwo: Split up MotCamera4.apk"
This reverts commit bcd83595f6.

We will use git lfs

Change-Id: Iba8ebd5503df18a84305ce6172ea64634cc0b572
2023-12-07 21:23:09 -07:00
Alexander Koskovich
17051c0248 rtwo: overlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2023-11-27 09:01:11 -07:00
Marc Bourgoin
bcd83595f6 rtwo: Split up MotCamera4.apk
Unfortunately the 100MB filesize limit is causing us grief here, so we must
split up the blobs within the MotCamera4.apk to reduce the size of it...

This also breaks HDR10 Video Recording, so that feature will also be disabled.

Change-Id: I453749f2d16108f64a9eef52992a77a92eb6ede2
2023-11-13 20:34:41 -07:00
Marc Bourgoin
fac41d9ae1 rtwo: Remove files found in common tree
Change-Id: I4cff6b961edabf270b6fb142ff8e0652bfc23c26
2023-11-12 22:22:50 -07:00
dianlujitao
ddf3656683 rtwo: update-sha1sums: Handle line with opts
Change-Id: Ia41000b36f3535a3cf0ef8d7650d0d540de728de
2023-11-12 22:14:20 -07:00
dianlujitao
bd18f5a36f rtwo: update-sha1sums: Better handle line breaks
Change-Id: I15cfda82a5bc6f05c0d7b9db209064ba498dac11
2023-11-12 22:14:13 -07:00
dianlujitao
2c52cb3f4d rtwo: Format update-sha1sums.py with yapf
Change-Id: I396ad6d79ea6e47ba8b9a56da317123c7579aa67
2023-11-12 22:14:05 -07:00
Bruno Martins
65e88b92ef rtwo: Add unpinning support to update-sha1sums.py script
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
2023-11-12 22:13:59 -07:00
LuK1337
fdb8621ba5 rtwo: Handle moved blobs in update-sha1sums.py script
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
2023-11-12 22:13:53 -07:00
LuK1337
1accbb0396 rtwo: Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
2023-11-12 22:13:47 -07:00
Marc Bourgoin
71c04bd2a3 rtwo: Update blobs from XT2301-1_RTWO_RETUS_13_T1TR33.43-48-41_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC
Change-Id: I1107ed8cb47436e40a18bbb6e819b78277ccee27
2023-11-12 22:13:33 -07:00
Marc Bourgoin
8c5317dbcc rtwo: Swap thermal config for rtwo-game-perf
The default thermal-engine-rtwo.conf is way too agressive with throttling that the performance
is way too low for any users trying to play 3D games on a Snapdragon 8gen2 runs almost as slow as
a SD 8gen1+, so let's swap to the rtwo-game-perf config as when we compared the configs it
allows for a better performance to thermal balance. We also checked rtwo-perf but that one
was more of a "let's get the highest scores in a benchmark and turn the device into a
handwarmer" kind of thermal config.

Change-Id: Id5c991a198ef6be61009a9785b5e8604aa1fdc91
2023-10-03 20:30:52 -06:00
Marc Bourgoin
10097f0e07 rtwo: Import thermal-engine config into device tree
Change-Id: I0e1dcc5c8734f79b37e80b4a0379d4efd4068582
2023-10-03 20:30:29 -06:00
Bruno Martins
5d62f9130c rtwo: Correct secure MSM kernel modules loading stages
This now matches securemsm-kernel configs for kalama.
Essentially, QCOM explicitly loads hdcp_qseecom_dlkm in recovery
and also decided to load qrng_dlkm in the first-stage in order
to improve booting times.

Change-Id: I6ff0debc8eaabf3d2ee0d06771f74b90d21e1804
2023-10-02 20:08:18 -06:00
Pranav Vashi
32360f6689 rtwo: Remove qrtr namespace module merged upstream
* ns.ko is merged with qrtr.ko

Change-Id: I65788e998add9c83258d4bd9050d5155ba0b0142
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-10-02 20:08:18 -06:00
Pranav Vashi
3ce6c762a3 rtwo: Drop debug and test kernel modules
Change-Id: I77ab2c3fd7fdcde6535ebb31cb05537f071b1304
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-10-02 20:08:17 -06:00
Pranav Vashi
adbd11c597 rtwo: Remove duplicate entries in modules load lists
Change-Id: Id3b31e15325c7df562a8690f4ecfedb006471285
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-09-30 21:27:30 -06:00
Bruno Martins
a8413e6e99 rtwo: Update path of external kernel modules
It now closely matches QCOM paths.

Change-Id: I50379d9143cb162270584f48b4ad6f3311eec4ca
2023-09-28 21:58:34 -06:00
Marc Bourgoin
5d3d436a03 rtwo: Set display density cflag
Change-Id: I55ae25a280fa5c770e2e0d1322274dabcc9f41af
2023-09-27 22:23:09 -06:00
SGCMarkus
e52c8622f5 rtwo: pin chinese carrier carriersettings from rtwo_retcn T1TR33.4-30-77 2023-09-18 16:24:25 +02:00
Michael Bestas
12333e1664 rtwo: Add carriersettings
Change-Id: Ia4725b2737cd9ba49d069c593cadaa6c8c900bcd
2023-09-15 22:38:41 +02:00
Marc Bourgoin
4244f83e84 rtwo: update blobs from motorola/rtwo_g/rtwo:13/T1TRS33.43-48-35/e1efad-a7da9b:user/release-keys
Also run sort-blobs-list.py

Change-Id: Iaa9678fe430319ef3d98c2e8d77ed95c6a667d97
2023-09-15 22:38:35 +02:00
Marc Bourgoin
836db5b368 Revert "dubai: Add a script to reorder blobs list"
This reverts commit ca971befd9.

There's a sort blobs script in our tools repo
2023-09-15 22:38:27 +02:00
Marc Bourgoin
8c09ec8bbf rtwo: Switch blobs to RETUS
Some edge+ users are saying that WiFi won't work for them using RETAIL or RETEU blobs,
so let's switch to RETUS blobs as other variants still work on those

Change-Id: Ied686675a08c4c8a8295e30e6c19dca4bfddf0b6
2023-09-15 22:38:22 +02:00
SGCMarkus
6ef941ecaf rtwo: cleanup BoardConfig 2023-09-15 15:56:56 +02:00
SGCMarkus
e0cf4be9ba rtwo: switch to source build dtb/dtbo 2023-09-15 15:56:56 +02:00