Commit Graph

317 Commits

Author SHA1 Message Date
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
Bruno Martins
f5e3530b33 rtwo: Properly include and load GKI modules
This allows GKI modules to be copied to GKI module partition,
that is system_dlkm.

Change-Id: Id7e90aa17a60f32bc70d18469c910fa4ed7db1d5
2023-09-15 15:56:56 +02:00
Marc Bourgoin
4c6f7628b4 rtwo: Update blobs from 13-T1TRS33.43-20-28-2 888045-8d5819
Change-Id: Iab249aff63de0bffa960fcb5ce8fc072e8cdd5b2
2023-08-18 22:05:03 -06:00
SGCMarkus
9c818feb32 rtwo: mark android.software.nfc.beam as unavailable 2023-08-02 23:35:07 +02:00
SGCMarkus
3de80e2ac8 rtwo: proprietary-files: add one more ese lib 2023-07-31 02:01:56 +02:00
SGCMarkus
35904026ae rtwo: add mot_vsync_psd sensor service 2023-07-30 12:55:59 +02:00
SGCMarkus
972250290d rtwo: rootdir: cleanup 2023-07-30 12:55:59 +02:00
SGCMarkus
efabd9ca8b rtwo: overlay: enable any motion sensor 2023-07-30 12:55:59 +02:00
SGCMarkus
8a43ebd932 rtwo: overlay: enable zram writeback 2023-07-30 12:55:58 +02:00
SGCMarkus
d16d542627 rtwo: modules: move system_dlkm modules to vendor_dlkm 2023-07-29 21:15:47 +02:00
SGCMarkus
07220f3963 rtwo: overlay: set stable display width/height 2023-07-29 21:14:27 +02:00
SGCMarkus
2be5f89473 rtwo: overlay: set default screen brightness 2023-07-29 21:13:05 +02:00
SGCMarkus
454ad79419 rtwo: overlay: set config_screenBrightnessDimFloat 2023-07-29 21:12:28 +02:00
SGCMarkus
e9508a4de6 rtwo: overlay: reduce rounded corner radius 2023-07-29 21:11:59 +02:00
SGCMarkus
8b772205c4 rtwo: set product characteristics to nosdcard 2023-07-29 19:10:12 +02:00
SGCMarkus
c3afa0d0b6 rtwo: add EuiccGoogle and EuiccPartnerApp from stock 2023-07-24 18:14:07 +02:00
SGCMarkus
bc2d6be09d rtwo: sensors: re-enable sensors.rtwo 2023-07-23 01:14:16 +02:00
SGCMarkus
5fc03152c2 rtwo: fingerprint: use sysfs node 2023-07-22 18:12:27 +02:00