361 Commits
udc ... vic

Author SHA1 Message Date
eaf780c7f6 felix: Initialize for Evolution X 10.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-05-12 03:51:44 +00:00
Michael Bestas
3424042f59 Update fingerprint/build description from BP1A.250505.005.B1
Change-Id: I4dd2700dd91d0d6c043629e955d192f861597f6c
2025-05-07 06:18:39 +03:00
Michael Bestas
c33d3f3e3f Update fingerprint/build description from BP1A.250405.007.B1
Change-Id: I82d2b9ac934c00912422cc6ef45aef412c381151
2025-04-11 19:34:52 +03:00
Michael Bestas
41a7169d7f Update fingerprint/build description from BP1A.250305.019
Change-Id: I12d7cc905f70bcd3fc30c2ccad30cf410fd780b0
2025-03-11 16:08:33 +02:00
Michael Bestas
d69bffd6e4 Update lineage.dependencies
Change-Id: Idf9ef8cac172518b5337de2de071f212e82866a9
2025-03-10 18:56:40 +02:00
Michael Bestas
4b90b1a800 Include missing vibrator sepolicy
Change-Id: Iac3a36e884dc1747d4fd0a60b418ffbf3779ffdb
2025-03-09 12:16:01 +02:00
Michael Bestas
c882851239 vibrator: Rename flags to avoid conflicts with prebuilts
Change-Id: Ibfd657c2ee3a393b7eb71a17d66770867ec1f738
2025-03-09 12:14:23 +02:00
Michael Bestas
a6c73e18dc Disable ELF checks for gpsd
Somehow it depends on multiple versions of the same AIDL interface.
Disable ELF checks and remove the older dependency for now.

Change-Id: Id57ab481b248d4c394597cbb8b15d5b839b0f911
2025-03-09 12:14:23 +02:00
Michael Bestas
b10b38f37b proprietary-files: BP1A.250305.019
Change-Id: Ifa101ec3aba60459a82ec088223139b62dcb74ac
2025-03-09 12:14:23 +02:00
Michael Bestas
656e2f203c Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo6gAKCRDorT+BmrEO
# eChJAKCAtiyGb/6641UG0H/a0uS9y0ltCQCfSmR94ePAO2Y4cvEy8jh+/wSrwac=
# =y5oH
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:14 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Tai Kuo (5) and others
# Via Android Build Coastguard Worker (20) and others
* tag 'android-15.0.0_r20': (24 commits)
  modem_svc: use modem_svc_sit version sepolicy
  Revert "felix/haptics: Remove voltage restriction for haptics"
  felix/haptics: Remove voltage restriction for haptics
  Enable TAPreferHighCap for first frame
  Update F10 Bluetooth LEA unicast allowlist: Samsung Galaxy Buds 3 pro
  Disable Wifi BugReport for subsystem restart
  audio: fix cts AAudioTests failed on GSI image
  Update ISODEP routing setting
  Felix HAL: Fixed VibratorTest unit tests errors.
  cs40l26: add DBC bin info and reduce duplicates
  vibrator/cs40l26: update default scales of click, tick and long vib
  cs40l26: organize dump() AIDL section
  Add power profile config to reflect the presence of two displays
  Update OWNERS
  vibrator: correct debug() calibration file path
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  felix: Pull init.insmod.*.cfg from vendor_dlkm
  Move modem_svc_sit from gs201 to felix
  vibrator: Update location of PixelVibratorFlags
  gps: set default SUPL SSL method to SSLv23
  ...

Change-Id: I4da020f16b76d36569b0837e36d6a38ede64398c
2025-03-09 11:05:16 +02:00
Michael Bestas
d6f0ac4bbd Update fingerprint/build description from AP4A.250205.002
Change-Id: I19f0b5d9e1d5711abfb428fa42ac68c3c8fb8452
2025-02-05 18:02:41 +02:00
Michael Bestas
298662a036 felix: Add more Pixel camera prebuilts
These are present on stock since QPR1

Change-Id: I58ba2d30d28d4c9cd525f1e1d4ddb353eaaf9db0
2025-01-24 13:50:27 +02:00
Michael Bestas
5a67c56f59 Add missing IWLAN packages
Change-Id: I671e4f057eb3fbe94f63dc16bf697867278e3eb2
2025-01-14 00:39:21 +02:00
Michael Bestas
cc0d02a020 Update fingerprint/build description from AP4A.250105.002
Change-Id: I00f4797e9b2b4554326295f79a679071350db16c
2025-01-08 12:11:02 +02:00
Michael Bestas
9cf97e409c proprietary-files: AP4A.241205.013
Change-Id: Ia0d253867c9fafa277404610923457b1056c035f
2024-12-11 15:40:24 +02:00
Michael Bestas
0da442b0ad Update fingerprint/build description from AP4A.241205.013
Change-Id: I4a3a96c11ce30af1e3b422a54f1edf98ecc70510
2024-12-11 04:12:23 +02:00
Michael Bestas
9cf4eb3b90 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eNtjAJ9IYzraM4YqV63XOPHQh4f88l61xACfTEjtfWgD7ERJTIHmvn0aEoEnuuQ=
# =k48C
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ken Yang (1) and others
# Via Android Build Coastguard Worker (7) and others
* tag 'android-15.0.0_r6':
  Label sysfs node power_mode as sysfs_display.
  SELinux: add missing wakeup rule
  Update SELinux error

Change-Id: I56be13059f76a4d1d421112bab5c2ad75cf0df90
2024-12-11 03:51:10 +02:00
Michael Bestas
5eecd09be6 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eAdIAKCOskWFzsn0hPfZWGwtrTab2Dx5qACgkcGVmoy28T7jVBy5C34PLquh8y0=
# =hFFT
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (3) and others
# Via Android Build Coastguard Worker (29) and others
* tag 'android-15.0.0_r6': (28 commits)
  gps: set default SUPL SSL method to SSLv23
  Update product id for Felix
  Symlink current prebuilt folder to android root
  cs40l26: Align Felix HAL dump logs with common HAL
  Delete mapper4 manifest
  powerhint: Raise minimum MIF frequency to 546 MHz during screen on
  gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
  thermal: read thermistor temp from sysfs
  thermal:remove unused state2power value
  Update felix SVN to 55
  vibrator: Fix scaling logic for felix vibrator
  vibrator: Update polling timeout to 50ms
  update OWNERS to include Android.bp
  thermal: Remove bcl related tzones
  vibrator: common: Check whether file is opened correctly
  vibrator: cs40l26: Implement braking duration for haptic effects
  Upgrade IDisplay to V13
  felix: Add build_flags based properties for SMR/EMR build
  haptics: Update output distortion gain
  Adpf:felix: switch to multitier heuristic boost.
  ...

Change-Id: I16e5c3379845e2cb3a058f29319582db1c6ab145
2024-12-11 03:50:55 +02:00
Android Build Coastguard Worker
17f643f454 Snap for 12770256 from f62bd8d2e2 to 25Q1-release
Change-Id: I4d1a888de5663da3c9c38549fe401a556870b8e7
2024-12-10 00:32:13 +00:00
Eileen Lai
f62bd8d2e2 modem_svc: use modem_svc_sit version sepolicy
For solving sepolicy conflicts for different AP version, modem_svc_sit will support devices from gs101 to zuma_pro.

Bug: 372400955

Change-Id: I6f434094d9886f0aabd4df03e0d170578c15b457
Flag: NONE local testing only
2024-12-08 07:38:56 +00:00
Android Build Coastguard Worker
7d623e1f0c Snap for 12763142 from a4f3009676 to 25Q1-release
Change-Id: Ib3a53213bdd9147c61daad49297574e19e8d1d3c
2024-12-07 02:04:26 +00:00
Alexander Koskovich
c7c66ea637 Add oem-iptables-init.sh for Wi-Fi calling in airplane mode
This was added recently in Android 15, see the following commit:
fbf009b886

Issue: calyxos#2813
Change-Id: I853f087347795e1d8932db2020f8a69fb5d97fa6
2024-12-05 02:50:21 +02:00
Zouberou Sayibou
a4f3009676 Revert "felix/haptics: Remove voltage restriction for haptics"
Revert submission 30661505-tdm_amplitude_limitation_removal_dvl

Reason for revert: short time to properly test before 25q1 cut-off.

Reverted changes: /q/submissionid:30661505-tdm_amplitude_limitation_removal_dvl

Bug: 318476589

Change-Id: I0e4043be9b4d96b75234fbd160bad6a5b4eab7e1
2024-12-04 23:12:17 +00:00
Android Build Coastguard Worker
1c59a09b2f Snap for 12742097 from c8208e32b6 to 25Q1-release
Change-Id: Ia8b28cda13ca66ea96b891b06b6d3fb6f94d402c
2024-12-04 00:03:18 +00:00
Zouberou Sayibou
c8208e32b6 felix/haptics: Remove voltage restriction for haptics
Remove the voltage restriction for haptics since DVL is enabled.  This
will allow FW control for exertion protection of the motor, and allow
for stronger output for audio-haptics.

Bug: 318476589
Flag: EXEMPT config json change
Test: dumpsys vibrator_manager and accel measurement
Change-Id: I2263206a423c7731f930c213e68c7fb9fd8d6a3a
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-12-03 00:27:00 +00:00
Android Build Coastguard Worker
4cfc2bec78 Snap for 12715656 from e66340bee2 to 25Q1-release
Change-Id: I2a5f3afa5bc33ae4dec657c10b73610a9ad829a1
2024-11-27 00:03:41 +00:00
Barry Wang
e66340bee2 Merge "Update F10 Bluetooth LEA unicast allowlist: Samsung Galaxy Buds 3 pro" into main 2024-11-26 08:40:34 +00:00
Treehugger Robot
1393f13474 Merge "Enable TAPreferHighCap for first frame" into main 2024-11-26 04:04:18 +00:00
Android Build Coastguard Worker
0fe3c3a9d3 Snap for 12710726 from ef972d0ac9 to 25Q1-release
Change-Id: Ia044898695c5aaedc5435141de0a1be2f632df54
2024-11-26 02:03:15 +00:00
Xin Li
ef972d0ac9 [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: 19b5cf663e -s ours
am skip reason: Merged-In I56f0139c748a3a04df9f3998653121948846c8fe with SHA-1 ea53f43031 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/30532833

Change-Id: I8ebc12c77f99b3e416657b411eea962eade176c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:18:46 +00:00
Chungkai Mei
0b7eb46d12 Enable TAPreferHighCap for first frame
we already saw some janks caused by longer runnable time.
so Enable TAPreferIdle for first frame

Bug: 372168866
Flag: NONE powerhint do not support flag
Change-Id: I01f699abd1eaed5760789d6c0788cbe4791e2b13
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-11-25 09:53:09 +00:00
Barry
32313267f5 Update F10 Bluetooth LEA unicast allowlist: Samsung Galaxy Buds 3 pro
Add Samsung Galaxy Buds 3 pro into unicast default allowlist.

bug: 380369260
Test: PTE PQM-BT LE audio unicast test
Flag: EXEMPT The Samsung Galaxy Buds 3 pro users are able to disable LE
audio in Settings app

Change-Id: Ib96037f904f9326cbf9a46c09496b27955e3df68
2024-11-25 02:10:27 +00:00
Xin Li
19b5cf663e Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: I56f0139c748a3a04df9f3998653121948846c8fe
Change-Id: Ic0c382d2f6e1551b238ef2c67a5d993e55fe70cb
2024-11-21 15:09:58 -08:00
Android Build Coastguard Worker
146b97cb6d Snap for 12687986 from d7999fab5b to 25Q1-release
Change-Id: I74f3b9117f3404aeb546f38921999c4ed3d7b427
2024-11-21 00:03:17 +00:00
Isaac Chiou
d7999fab5b Merge "Disable Wifi BugReport for subsystem restart" into main 2024-11-20 12:58:30 +00:00
Android Build Coastguard Worker
8bed4b2841 Snap for 12658558 from 181d87b6f3 to 25Q1-release
Change-Id: If1b03cffe77eb85b82536babb6b30e3651c88c15
2024-11-15 00:03:10 +00:00
Xin Li
181d87b6f3 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 1226602095 -s ours
am skip reason: Merged-In I57bbf91eb9ce9c35a103cfc54f9a6f2002eba54a with SHA-1 a42bff7938 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/30283917

Change-Id: Iac1ef86e475fff156c9a39a2a7767c1146df3b3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 01:00:10 +00:00
Android Build Coastguard Worker
83f27f9d84 Snap for 12637843 from 41145025fe to 25Q1-release
Change-Id: I674721f71701e1a70482486596c2d47bf1770e0a
2024-11-12 00:02:56 +00:00
Miller Liang
41145025fe Merge "audio: fix cts AAudioTests failed on GSI image" into main 2024-11-11 04:09:48 +00:00
Isaac Chiou
067d8c641d Disable Wifi BugReport for subsystem restart
Flag: EXEMPT gated by overlay
Bug: 373594936
Test: Manuel test, trigger SSR and won't create bugreport automatically
Change-Id: If4b749b933d305e35b8bff689c08ebd080243c2c
2024-11-08 09:38:33 +00:00
millerliang
11690d6960 audio: fix cts AAudioTests failed on GSI image
Set all the audio policy configuration files to the correct
format for mmap-playback.

Flag: EXEMPT bugfix
Bug: 372047634
Test: Manual Test
Change-Id: I091b7360fabb60990b60210bd7417179f5c319eb
Signed-off-by: millerliang <millerliang@google.com>
2024-11-08 09:30:18 +00:00
Michael Bestas
4998d346bc Update fingerprint/build description from AP3A.241105.007
Change-Id: I2ea28daf58c1101695a3163da761cd71a0d284ec
2024-11-07 15:17:12 +02:00
Xin Li
1226602095 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I57bbf91eb9ce9c35a103cfc54f9a6f2002eba54a
Change-Id: If6fbe780861ff224296983e789285ab19679b83e
2024-11-06 10:31:18 -08:00
Cosmin Tanislav
56e16c439f felix: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
2024-11-06 13:07:32 +02:00
Android Build Coastguard Worker
19358ba87b Snap for 12609205 from ccd324c4b3 to 25Q1-release
Change-Id: I2e13a9ea9010d5d0c3144b055a035f656a031ec9
2024-11-06 00:03:44 +00:00
Kyle Hsiao
ccd324c4b3 Update ISODEP routing setting
Bug: 323953256
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ic809f837493ea92b47545dde7b5cf7c52831326f
2024-11-05 06:36:21 +00:00
Zouberou Sayibou
eed7c72e34 Merge "Felix HAL: Fixed VibratorTest unit tests errors." into main 2024-11-04 22:11:42 +00:00
Zouberou Sayibou
2b7642486b Felix HAL: Fixed VibratorTest unit tests errors.
Fixed Felix HAL VibratorHalCs40l26TestSuitePrivate
3 failed tests:
- VibratorTest#on
- VibratorTest#perform/CLICK_LIGHT,
- VibratorTest#perform/HEAVY_CLICK_STRONG.

Moving the mActiveId_mutex to a global variable caused issues with the #perform/HEAVY_CLICK_STRONG test failing to call the HwApi and the #perform/CLICK_LIGHT test failing due to an outdated timeout value. Additionally, the intensifyToVolLevel function was returning an incorrect value, requiring a check to be added to the testing function.

Bug: 373761684
Flag: TEST_ONLY
Test: Ran VibratorHalCs40l26TestSuitePrivate.
Change-Id: Ibcdbc874c5c96644f3f647cc240b5012907253d4
Signed-off-by: Zouberou Sayibou <zouberou@google.com>
2024-11-01 18:32:25 +00:00
Michael Bestas
94385360a2 felix: Enable ELF checks for c2 codec libs
Change-Id: I7702c3104fde477e27a18998982605673de29aee
2024-11-01 05:14:54 +02:00
Michael Bestas
d9e22834bb fixup! felix: overlay: Import foldable auto rotate translations
Change-Id: Idd934d1d9fa015fd2c216df7d9cdcc170027b72b
2024-10-30 12:27:07 +02:00
Michael Bestas
c9ae61df9c fixup! felix: overlay: Import selected framework-res/Settings product RRO overlays
Change-Id: I636b2f0d47a338acaf249c6d6fe10b5515e4fca3
2024-10-30 12:27:07 +02:00
Michael Bestas
722299ba9e felix: Add felix-services.jar
Change-Id: Ia18181006fbea8d09ff121a8dc94086b92dbcf9c
2024-10-30 12:27:07 +02:00
Android Build Coastguard Worker
768c2c61fe Snap for 12573674 from 0705ab4ca1 to 25Q1-release
Change-Id: Ic2b5950fba030f6cbb37fae96fb9e93cdc68ec13
2024-10-29 23:03:50 +00:00
Dmitri Plotnikov
0705ab4ca1 Merge "Add power profile config to reflect the presence of two displays" into main 2024-10-28 20:41:33 +00:00
Naman Sood
ca6dcdf246 felix: fix padding in status bar
These overlays seem to be left over from barbet. With these values
adjusted, the padding on left and right sides of the status bar is
more symmetrical, and in line with the felix stock ROM.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I10c3f495b7627200b05a24f5b259f789e62ada13
2024-10-27 13:18:50 +02:00
Michael Bestas
59692c195b felix: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery
fst2/ftm5 require goog_touch_interface symbols too

Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
2024-10-27 13:18:50 +02:00
Michael Bestas
c8528f01ae Revert "felix: Disable advanced display rotation settings"
This reverts commit af283bfd6d.

Reason for revert: Moved to lineage-sdk and overlaid at
vendor/lineage fold specific overlays.

Change-Id: Ib5cca6171c4f1fb2ee5f680e890d8eb6df88d18a
2024-10-27 13:18:50 +02:00
Android Build Coastguard Worker
fb79a976d0 Snap for 12559614 from ce15d2389d to 25Q1-release
Change-Id: I483c283f6e409722d530d39a071a35edb7fc9661
2024-10-26 01:07:43 +00:00
Treehugger Robot
ce15d2389d Merge "vibrator/cs40l26: update default scales of click, tick and long vib" into main 2024-10-25 10:59:08 +00:00
Tai Kuo
f669a1ea52 cs40l26: add DBC bin info and reduce duplicates
Bug: 356823441
Test: dumpsys android.hardware.vibrator.IVibrator/default
Flag: EXEMPT bugfix
Change-Id: Id3d9fac99b204de581269818e69722932e4911fc
(cherry picked from commit 6e4e8d2052e352a56eeab2e452addaf484d79d9f)
2024-10-24 10:46:17 +00:00
Tai Kuo
46065a4462 vibrator/cs40l26: update default scales of click, tick and long vib
Flow:
1. If the calibration file exist, use the value.
2. If no property, use the default setting {5,95}.

Bug: 356823441
Bug: 322937989
Test: Check dumpsys records for the scaling results.
  case1: no calibration file and properties.
  case2: valid property range
  case3: float property (invalid)
Flag: EXEMPT bugfix
Change-Id: Ia3e89f34189e9725ab01d85d931925129745608c
(cherry picked from commit 4063493a64fcd0f20b49a492106f58b0e3349c5c)
2024-10-22 20:50:23 +08:00
Tai Kuo
0b3cc7ea7b cs40l26: organize dump() AIDL section
Bug: 356823441
Test: dumpsys android.hardware.vibrator.IVibrator/default
Flag: EXEMPT refactor
Change-Id: Ie14e60482c3e6763921dc22f804155cd6f3b9fcd
2024-10-21 11:43:19 +08:00
Michael Bestas
ba2b1d00c6 fixup! Add initial Lineage product makefiles
Change-Id: Ie0a1c81d5b0c95d66365d85aa0173613bc57668a
2024-10-20 00:59:49 +00:00
Ethan Chen
4c3321d29a felix: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-19 23:55:21 +00:00
Michael Bestas
74f0c6be8c felix: Disable Wi-Fi verbose logging by default
Change-Id: Iafe9f4b83d157906ca6b9114db52ab27b1a01878
2024-10-19 23:55:14 +00:00
Michael Bestas
cdb4cb9393 felix: Add lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-10-19 23:55:04 +00:00
jabashque
9c181e00cc felix: Enable Osaifu-Keitai on non-Japanese SKUs
https://github.com/kormax/osaifu-keitai-google-pixel/

Test 1 & 2 on a Global SKU Google Pixel 6a (bluejay):
- Observe that Osaifu-Keitai doesn't function WITHOUT this change.
- Observe that Osaifu-Keitai functions normally WITH this change.

Test 3 & 4 on a Japanese SKU Google Pixel Fold (felix):
- Observe that Osaifu-Keitai functions normally WITHOUT this change.
- Observe that Osaifu-Keitai continues to function normally WITH this change.

Change-Id: I9faac2e130714a41e6922b62d2019dae0d615a3b
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-10-20 01:23:57 +03:00
Michael Bestas
af283bfd6d felix: Disable advanced display rotation settings
Change-Id: Ic77faf7c75195090ce57fa41a90d4e8c5b68a46d
2024-10-20 01:23:56 +03:00
Michael Bestas
16cbad8af3 felix: overlay: Import foldable auto rotate translations
Change-Id: Icf2edee3b3dff472f0f4cd8d0a6b5e1da1398268
2024-10-20 01:23:56 +03:00
Michael Bestas
0ccd493bb8 felix: overlay: Import selected framework-res/Settings product RRO overlays
Change-Id: I375809d68a093be9b0a17d761bda0b41e1e4cac4
2024-10-20 01:23:56 +03:00
Tommy Webb
8cc113140b felix: Update IWLAN config with IMS changes in gs201
Resolve issues with VoWiFi (Wi-Fi Calling) for Pixel 7 series, which
now uses a different proprietary package for its qualified networks
service.

Issue: calyxos#1324
Change-Id: Ie2984ff22cf786eb82a536bfb1d9ffaff15ae079
2024-10-20 01:23:56 +03:00
Michael Bestas
c05e6d064f felix: overlay: Configure aux cameras for Aperture
Change-Id: I3d1c93057b5c2a1ba09c06a945d538d2043f30fd
2024-10-20 01:23:56 +03:00
Bruno Martins
6808d985f4 overlay: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-10-20 01:23:56 +03:00
Danny Lin
5530356dad overlay: Settings: Enable Smooth Display setting
felix has peak refresh rate higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2024-10-20 01:23:56 +03:00
Michael Bestas
5041c42bde felix: Add HbmSVManager RRO overlay
* Based on redfin

Change-Id: I54d885c233151498372e1b510284d6a297ac3e94
2024-10-20 01:23:56 +03:00
Chirayu Desai
762f28153d Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2024-10-20 01:23:55 +03:00
Michael Bestas
82d9c9660e Include wireless_charger makefile
This includes the required sepolicy and compatibility matrix
in the build.

Change-Id: I3096357c5f45e664a7b39870fdc053e48d1361ad
2024-10-20 01:23:55 +03:00
Chirayu Desai
8cbd99c2e5 felix: Set up proprietary files extraction
* The proprietary files lists are generated by comparing stock partition
  contents with AOSP generated partitions.

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b78ccf212d8364070c40fe3c7d06d4048e3fe4
2024-10-20 01:23:55 +03:00
Ethan Chen
7f60a74010 Declare EUICC permission
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2024-10-20 01:23:42 +03:00
Chirayu Desai
93fa8f4d73 Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 01:23:41 +03:00
Dmitri Plotnikov
0f940132a1 Add power profile config to reflect the presence of two displays
Bug: 363857767
Test: adb shell dumpsys batterystats
Flag: EXEMPT_bugfix
Change-Id: I14add1339ef418b89201bc56c1b9cec80f3afc79
2024-10-18 16:12:02 -07:00
Android Build Coastguard Worker
f4a1511369 Snap for 12508860 from 03e46a5e0f to 25Q1-release
Change-Id: I46e7e29d2c618dfc5e4c6a067595576fbf146a89
2024-10-16 23:02:52 +00:00
Ali K. Zadeh
03e46a5e0f Merge "[felix] Define CAMERA_MULTICAM_BOOST" into main 2024-10-15 23:10:58 +00:00
Treehugger Robot
f8f3aaf665 Merge "vibrator: correct debug() calibration file path" into main 2024-10-15 20:58:48 +00:00
Tai Kuo
f0ebfabee8 Update OWNERS am: 3f7ccdf45f am: 3e14bb76f4
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3309623

Change-Id: I1269e5f44491cde4442c02695abc768602892710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 20:15:42 +00:00
Tai Kuo
3e14bb76f4 Update OWNERS am: 3f7ccdf45f
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3309623

Change-Id: Ibbcef482c38a722c250ea2d0f2b56095d4ca6a54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-15 19:55:46 +00:00
Tai Kuo
3f7ccdf45f Update OWNERS
Bug: 362659323
Test: N/A
Flag: EXEMPT OWNERS change
Change-Id: I6e2148448f1105933d66cec57cb879054657eeda
2024-10-16 00:58:23 +08:00
Tai Kuo
c5a772a3f2 vibrator: correct debug() calibration file path
Bug: 356823441
Test: dumpsys
Flag: EXEMPT bugfix
Change-Id: I2d126e63ae7365b4bd199d00776f10b11c700702
2024-10-15 20:27:45 +08:00
Android Build Coastguard Worker
0460af54e7 Snap for 12496712 from 9c9f564b77 to 25Q1-release
Change-Id: Ie249be93a3845e7de8ab382ec30e44fcb0cea09b
2024-10-14 23:03:10 +00:00
Android Build Coastguard Worker
75561aa57a Snap for 12477291 from 70c67ccdb5 to 25Q1-release
Change-Id: Ib21b9a56be2567e9756994ab8448d8e644edb336
2024-10-09 21:02:41 +00:00
Eileen Lai
9c9f564b77 modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: NONE local testing only
Change-Id: Ic54f0cbc895de8ba038cb581d055287768c1e23a
2024-10-09 07:55:28 +00:00
Treehugger Robot
70c67ccdb5 Merge "felix: Pull init.insmod.*.cfg from vendor_dlkm" into main 2024-10-08 22:15:21 +00:00
Brian Norris
32a1b78620 felix: Pull init.insmod.*.cfg from vendor_dlkm
We've started pushing init.insmod.*.cfg into the kernel prebuilts, and
installing it to /vendor_dlkm/etc, but it may not be available on all
prebuilt variants (e.g., kernel 5.10).

Here, we:
1. conditionally install our common init.*cfg to /vendor_dlkm (only if
   $(TARGET_KERNEL_DIR) doesn't have a copy)
2. point init at /vendor_dlkm/etc

When we've cycled completely off of kernel 5.10, we can drop #1.

Bug: 369686096
Test: build, boot
Flag: EXEMPT refactor
Change-Id: If8f879366645cbe9bf330d136dd7190763b2d6bc
2024-10-08 20:12:15 +00:00
Android Build Coastguard Worker
598939bc97 Snap for 12465365 from da210da2f2 to 25Q1-release
Change-Id: I140cb82123e8f8daf1b3217669a7ad6e7dbf8049
2024-10-07 23:03:05 +00:00
Jim Tang
da210da2f2 Merge "Move modem_svc_sit from gs201 to felix" into main 2024-10-07 08:45:20 +00:00
Ravi Jain
583f46ea0a Merge "vibrator: Update location of PixelVibratorFlags" into main 2024-10-07 06:57:59 +00:00
Michael Bestas
3b312ac46b Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-07 00:18:49 +03:00
Michael Bestas
2d0dd08e6e Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2024-10-07 00:18:46 +03:00
Michael Bestas
aa13f499c7 Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: b3dccf3ec2
git-subtree-split: 7676b88662
Change-Id: I99f0011125540835b36fc3bf83ccd80f0284658b
2024-10-07 00:18:34 +03:00
Jim Tang
17e4c0262f Move modem_svc_sit from gs201 to felix
Module `modem_svc_sit` is not valid unless:
* USES_LASSEN_MODEM is true
* BOARD_WITHOUT_RADIO is NOT true (or NOT set)

Devices in gs201 family will set "USES_LASSEN_MODEM := true"; however,
not evevy gs201 device disables BOARD_WITHOUT_RADIO.

This commit defines PRODUCT_PACKAGES `modem_svc_sit` because it is
converted from bp by moving the if-statement constrain from the module
level to device level, device-felix.mk in this case.

Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: Ib57ffeb545ca52eea47f2415c7ce020ba73f2c24
2024-10-04 08:58:54 +00:00
Android Build Coastguard Worker
e993cbf286 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29492250'] into 24Q4-release.
Change-Id: I2ff76f702a247611e5ec0e24a00722ccfb42aba8
2024-10-03 23:33:33 +00:00
Wayne Lin
7c1f13c5a9 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea53f43031e0ca9930f145feff56221f041afa5c)
Merged-In: I56f0139c748a3a04df9f3998653121948846c8fe
Change-Id: I56f0139c748a3a04df9f3998653121948846c8fe
2024-10-03 23:24:23 +00:00
Android Build Coastguard Worker
bcd50954e7 Snap for 12445464 from e09b97327d to 25Q1-release
Change-Id: I0b50d845dae25b45c29c2b5d97bc7f7480d00280
2024-10-02 23:03:20 +00:00
Treehugger Robot
e09b97327d Merge "dumpstate: touch: Init using touch_predump" into main 2024-10-02 08:57:00 +00:00
Treehugger Robot
5644762c10 Merge "vibrator: Format PWLE header in user driver" into main 2024-10-02 03:17:08 +00:00
Android Build Coastguard Worker
f92d762063 Snap for 12439515 from ece926a269 to 25Q1-release
Change-Id: Ie078d8c01bfa70fdb47b388d4314ff1ea5c88738
2024-10-01 23:02:47 +00:00
Ravi Jain
810423348e vibrator: Update location of PixelVibratorFlags
Temporary move the definition from main repository to manage visibility
and prevent aosp without vendor build fails

Bug: 362659323
Test: Build pass
Flag: EXEMPT refactor
Change-Id: Ie3bb23838743df1f75261fd530652dcf55b6a643
2024-10-01 15:31:33 +00:00
Grzegorz Kolodziejczyk (xWF)
ece926a269 Merge "audio: enable software encoded Bluetooth broadcast" into main 2024-10-01 12:30:35 +00:00
Android Build Coastguard Worker
a577b0903a Snap for 12426030 from ea53f43031 to 25Q1-release
Change-Id: Icf9ee066eaf98c4b5d014de902496c90d28860ee
2024-09-28 01:03:02 +00:00
Wayne Lin
ea53f43031 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
Change-Id: I56f0139c748a3a04df9f3998653121948846c8fe
2024-09-24 05:45:20 +00:00
Grzegorz Kołodziejczyk
c45009ef12 audio: enable software encoded Bluetooth broadcast
Bug: 345372436
Test: manual
Flag: EXEMPT, trivial change
Change-Id: I8e84fca69260a3be6d797ccb0d25b3032dac2bee
2024-09-20 08:29:34 +00:00
Android Build Coastguard Worker
fd49c7d627 Snap for 12370120 from 2f4a8c042d to 25Q1-release
Change-Id: I22df64f58d4162913bb2c5cb23b978da7cc6ccf3
2024-09-14 23:01:16 +00:00
Android Build Coastguard Worker
bacdac0961 Snap for 12354992 from 2f4a8c042d to 24Q4-release
Change-Id: Ie73eb1ee1d2ecbbf3d3dd73c7a9ce1469a94b329
2024-09-11 23:01:33 +00:00
Treehugger Robot
2f4a8c042d Merge "gps: Enable Beidou measurements only in the US for F10." into main 2024-09-11 08:36:12 +00:00
Android Build Coastguard Worker
aa00b52d46 Snap for 12337407 from 2035632a2a to 25Q1-release
Change-Id: I9d20f4b749360201dbf361c478562fd173840d46
2024-09-07 23:01:20 +00:00
Android Build Coastguard Worker
7b1f3cc5e9 Snap for 12337246 from 535e34ca41 to 24Q4-release
Change-Id: Ic118c6428ac14b76a2f0f7c4e7763cce74840e4e
2024-09-07 21:01:34 +00:00
Android Build Coastguard Worker
455abec472 Snap for 12337246 from 2035632a2a to 24Q4-release
Change-Id: I8cca54584f965faae6acdbff574b3150b4a659ff
2024-09-07 21:01:33 +00:00
Xin Li
2035632a2a [automerger skipped] Merge 24Q3 to AOSP main am: c62cecbadb -s ours am: 65e3fdb6ce -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 411eed6900 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/3258591

Change-Id: I7283236099c4fd8e256b7a7aa4ea62fc9197d0eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 05:01:50 +00:00
Xin Li
535e34ca41 [automerger skipped] Merge 24Q3 to AOSP main am: d71f0d4226 -s ours am: f5461abee0 -s ours
am skip reason: Merged-In If9ea56afc11e2978bc2b02cfeaf2ee08296a8804 with SHA-1 a5c3209e2f is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix-sepolicy/+/3258433

Change-Id: I2dd04f8b33b81f8dd1bf2a51c4d4b6cddf2434eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:48:54 +00:00
Xin Li
65e3fdb6ce [automerger skipped] Merge 24Q3 to AOSP main am: c62cecbadb -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 411eed6900 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/3258591

Change-Id: I3fcfac340d487f0ca43c94aa838e663352524bbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:27:51 +00:00
Xin Li
f5461abee0 [automerger skipped] Merge 24Q3 to AOSP main am: d71f0d4226 -s ours
am skip reason: Merged-In If9ea56afc11e2978bc2b02cfeaf2ee08296a8804 with SHA-1 a5c3209e2f is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix-sepolicy/+/3258433

Change-Id: I0188e2c574a6b74d5e9dad90f7ca75ebd999f782
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 02:40:12 +00:00
Android Build Coastguard Worker
d97e201ada Snap for 12335440 from 342b6c285b to 24Q4-release
Change-Id: Iae074ce0ba14419b5a25679b2914dca8b5ed29e3
2024-09-07 02:31:58 +00:00
Treehugger Robot
342b6c285b Merge "Symlink current prebuilt folder to android root" into main 2024-09-06 10:36:12 +00:00
Koli Lin
a42bff7938 Update product id for Felix
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I57bbf91eb9ce9c35a103cfc54f9a6f2002eba54a
2024-09-06 07:50:05 +00:00
Robin Peng
3e925e4349 Symlink current prebuilt folder to android root
The Android are now based on Trunk Stable world and Pixel prebuilts CLs
also needs to reply with this which controlled by the flag which results:
- the flag value might be different on each branches
- the flag value are mostly different on each release configuration
- for local builds, ENGs' needs to figure out the correct location
  of current prebuilts by checking through entire prebuilt textproto
  files

To alleviate this problem, create an symlink file under android root
indicates current prebuilt path after invoke the android lunch cmd.

Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: I08d009b79c5d15c078bfbeb3f191271e154cd508
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 07:35:11 +00:00
Xin Li
d71f0d4226 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: If9ea56afc11e2978bc2b02cfeaf2ee08296a8804
Change-Id: I9081da2025d0e4829eb53d9a6df904562e77b065
2024-09-05 17:02:37 -07:00
Xin Li
c62cecbadb Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Change-Id: Idae800eaefc02e5a81b02f21ee7920200d5860ca
2024-09-05 17:02:36 -07:00
Android Build Coastguard Worker
18fc6eaebe Snap for 12319997 from 14484bec22 to 24Q4-release
Change-Id: I1b54fbf271a6e367be50d04e989e5e5f4b85909b
2024-09-04 23:02:08 +00:00
Treehugger Robot
14484bec22 Merge "powerhint: Raise minimum MIF frequency to 546 MHz during screen on" into main 2024-09-04 04:16:15 +00:00
Android Build Coastguard Worker
6fb800d1b6 Snap for 12309590 from e8e0c840a9 to 24Q4-release
Change-Id: I0377b968e1c2b16f84b7cee0a9f472b63cbf0d6e
2024-09-02 23:01:41 +00:00
Android Build Coastguard Worker
e54054c882 Snap for 12309590 from 09d11a02b0 to 24Q4-release
Change-Id: I51d0fbc78f984fa07ed5812b894f8de3637dca7f
2024-09-02 23:01:41 +00:00
Leonard Ian
09d11a02b0 Merge "cs40l26: Align Felix HAL dump logs with common HAL" into main 2024-09-02 09:04:25 +00:00
Nathan Kulczak
7105ca38e8 vibrator: Format PWLE header in user driver
Add PWLE header formatting to user side driver to support new kernel
driver and SVC and DVL for OWT effects.

Bug: 279055885
Bug: 361011775
Flag: EXEMPT bugfix
Test: idlcli
Change-Id: I3b447962cc46ab57cf145072bc30303786f581ad
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2024-09-02 15:06:34 +08:00
Android Build Coastguard Worker
9ce1414403 Snap for 12304452 from 777bc1274f to 24Q4-release
Change-Id: Ic9a3aa212c9918008c7cc4810134fd21aa0ed60f
2024-08-31 01:01:52 +00:00
leonardian
a644ef2a33 cs40l26: Align Felix HAL dump logs with common HAL
- Add driver, firmware, and tuning versions.
- Increase HAL buffer size to 2048 lines.
- Add F0, active ID, redc

Bug: 348316804
Flag: EXEMPT bugfix
Test: Checked HAL dumpsys
Test: atest PTS, VTS, CTS
Change-Id: I277d270533868cf2075388bdc329d77c9065801e
2024-08-30 04:33:59 +00:00
Ankit Goyal
777bc1274f Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: I1882a688138455538418b01b38084b5dfb2dd802
2024-08-28 22:52:54 -07:00
attis
e8e0c840a9 Label sysfs node power_mode as sysfs_display.
Label power_mode to sysfs_panel to let it be allowed in dumpstate.

avc log:
08-26 13:07:52.112 12585 12585 W dump_second_dis: type=1400 audit(0.0:22): avc:  denied  { read } for  name="power_mode" dev="sysfs" ino=90675 scontext=u:r:dump_second_display:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Test: ls -Z, adb bugreport.
Flag: EXEMPT bugfix
Bug: 358505990
Change-Id: If13b6d231ba06bab6432eeb3aefb78f4f7d384a3
Signed-off-by: attis <attis@google.com>
2024-08-26 12:13:35 +00:00
Chungkai Mei
d37470ea6e powerhint: Raise minimum MIF frequency to 546 MHz during screen on
It improved 55% surfaceflinger janks in photos_playgca30fpsvideo cuj test case.

Test: Build and power measurement
Bug: 336872050
Flag: NONE powerhint change does not support flags
Change-Id: Idad3394e5ac9d1d275f144e2d1304a115b7dc3af
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-08-23 01:35:02 +00:00
Android Build Coastguard Worker
70883e8952 Snap for 12253386 from ed543a25e3 to 24Q4-release
Change-Id: I14a00d10ba435188e986c4e2acdee879f2fb2cb8
2024-08-20 23:01:51 +00:00
Wayne Lin
ed543a25e3 Merge "gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay" into main 2024-08-20 02:41:29 +00:00
Android Build Coastguard Worker
8ff3786a99 Snap for 12247339 from 0b1da34e0d to 24Q4-release
Change-Id: Ibe274d54e0f9d58c88c712dd94150b5d31ce69f6
2024-08-19 23:02:08 +00:00
Wayne Lin
5524ba6a07 gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
Bug: 358041425
Test: verify pass
Change-Id: Idddb3d7968b93ebb214d1dd2938be2b1aaff8ea9
2024-08-19 10:04:11 +00:00
Peter (YM)
0b1da34e0d Merge "thermal: read thermistor temp from sysfs" into main 2024-08-19 04:10:06 +00:00
Peter (YM)
caeaff1444 thermal: read thermistor temp from sysfs
- avoid wrong sensor value reading for thermalHAL

Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I93cbfa767a8d882eba526d72ce9ba3c389cd0a1e
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:26:10 +00:00
Android Build Coastguard Worker
6017a17c66 Snap for 12235414 from 600d262d0a to 24Q4-release
Change-Id: I3bf4fe76a7794a494cbc112f9b74ccdc06c1bc65
2024-08-15 23:01:54 +00:00
Peter (YM)
600d262d0a Merge "thermal:remove unused state2power value" into main 2024-08-15 07:19:17 +00:00
Peter (YM)
5142673794 thermal:remove unused state2power value
Bug: 355566259
Test: Build test
Flag: EXEMPT NDK
Change-Id: Ib3e2e2772c340d13f3bc80583f6e1f1b7715a44d
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-15 04:14:36 +00:00
Ankur Bakshi
d86e92697e Merge "Update felix SVN to 55" into main 2024-08-15 00:48:51 +00:00
Ankur Bakshi
9e47f5a1ce Update felix SVN to 55
Bug:352170103
Change-Id: Ib76fb34d8c9fa0317c7cc150a80d5fe79bcec81f
Flag: EXEMPT bugfix
2024-08-14 23:07:38 +00:00
Android Build Coastguard Worker
db8dcec399 Snap for 12229688 from 4c54ddb36f to 24Q4-release
Change-Id: I0cf10821a705de242395a9b8dc04dc6878150dac
2024-08-14 23:02:00 +00:00
Chris Paulo
4c54ddb36f Merge changes from topic "felix_polling_scaling" into main
* changes:
  vibrator: Fix scaling logic for felix vibrator
  vibrator: Update polling timeout to 50ms
2024-08-14 00:10:55 +00:00
Android Build Coastguard Worker
dd4f614874 Snap for 12224018 from e13fb63655 to 24Q4-release
Change-Id: Ie93f2f41edc4b9015a904247772082d5c4da870a
2024-08-13 23:02:16 +00:00
Android Build Coastguard Worker
c2bd124b19 Snap for 12217053 from cc2b786053 to 24Q4-release
Change-Id: Ic64f4e3a8ec4fdd1d2a7dad9dfbec9c9a87c5d85
2024-08-12 23:06:35 +00:00
Xin Li
e13fb63655 [automerger skipped] Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future am: 5d40c09b2d -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 36015c810e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/28710528

Change-Id: Idae7b5a9a22f1b4111f0fab60576c7e07dfe4643
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:03:09 +00:00
Xin Li
0c904894a5 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: f10b8dce08 -s ours
am skip reason: Merged-In I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc with SHA-1 36015c810e is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/28710528

Change-Id: Ic78e9651ba3f81dea62933861676290389611423
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:28 +00:00
Chris Paulo
3b2b23e5e2 vibrator: Fix scaling logic for felix vibrator
Felix vibrator has stricter primitive effect scaling values.  We need to
update the logic to assure that we apply the upper and lower bounds of
the voltage range to avoid brownout and to maximize the usable range.

Bug: 344037610
Flag: EXEMPT bugfix
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  CtsVibratorTestCases
Test: Verify scale values
Change-Id: Iba8b8115fea01e56105b43f520d32c63ffcf7fd4
2024-08-12 10:59:08 -07:00
Chris Paulo
42ebfa74b9 vibrator: Update polling timeout to 50ms
Update the polling timeout to match that of main vibrator HAL.  The
polling timeout is too short, and will cause reset logic to run if the
bus is busy.

Bug: 348364432
Flag: EXEMPT bugfix
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  CtsVibratorTestCases
Change-Id: I31dac8f1693eda8f1a5bac8420aaa7c0d11781fa
2024-08-12 10:59:08 -07:00
Xin Li
5d40c09b2d Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future 2024-08-12 17:14:18 +00:00
Sam Ou
cc2b786053 Merge "thermal: Remove bcl related tzones" into main 2024-08-12 12:32:35 +00:00
Leonard Ian
651fde2c0a Merge changes Ifa8f197f,Ifacc94db into main
* changes:
  vibrator: common: Check whether file is opened correctly
  vibrator: cs40l26: Implement braking duration for haptic effects
2024-08-12 06:45:49 +00:00
Android Build Coastguard Worker
d28db8a0db Snap for 12210778 from a42feaf189 to 24Q4-release
Change-Id: I788c124a8b001b8b3091fbb1c4a3bbaa37c4b367
2024-08-10 01:06:35 +00:00
Cyan_Hsieh
a42feaf189 update OWNERS to include Android.bp am: 3286919c55 am: a28a8a824e
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3211863

Change-Id: I81b3048d9ef69a4db99cc177486ddf599f2a0d21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:33 +00:00
Cyan_Hsieh
a28a8a824e update OWNERS to include Android.bp am: 3286919c55
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3211863

Change-Id: I0e9c1aeb1f23ed8d6ad1faaf450c1a22b59977f8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:01 +00:00
Cyan_Hsieh
3286919c55 update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c3a2458c2b16735c76f717a9968b7f857e8de71b)
Merged-In: I5dd6aceaeccb3c5ade2c3234b2a4e371ac8f95d4
Change-Id: I5dd6aceaeccb3c5ade2c3234b2a4e371ac8f95d4
2024-08-09 08:33:24 +00:00
Xin Li
f10b8dce08 Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Change-Id: I30478255fddb311c135448f9925abf8f1c30f788
2024-08-08 11:15:40 -07:00
Android Build Coastguard Worker
66f5d46159 Snap for 12190349 from ee973de330 to 24Q4-release
Change-Id: I3719d5b0107e28c61359e204c65146041033d544
2024-08-06 23:02:11 +00:00
samou
697c73328c thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: I9162338b20afd9b5d4472d8a7176c69e04ce0175
Signed-off-by: samou <samou@google.com>
2024-08-06 07:40:49 +00:00
Lokesh Kumar Goel
ee973de330 Merge "felix: Add build_flags based properties for SMR/EMR build" into main 2024-08-06 02:13:44 +00:00
Android Build Coastguard Worker
a31575e121 Snap for 12180713 from fcfc990b28 to 24Q4-release
Change-Id: Iaedb17332f2f707d6447111409a1099731758995
2024-08-03 23:01:29 +00:00
Android Build Coastguard Worker
92b5263e34 Snap for 12177962 from a33d70164d to 24Q4-release
Change-Id: Idd81c399a1d96694d06e294e12bc61db87c8b7f1
2024-08-03 03:01:40 +00:00
Treehugger Robot
fcfc990b28 Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:59 +00:00
Ali K. Zadeh
29af95b978 [felix] Define CAMERA_MULTICAM_BOOST
Port from ag/28607900

This CL defines CAMERA_MULTICAM_BOOST (with the same settings as the
existing CAMERA_ZOOMING_BOOST). Having both definitions is necessary to
be able to transition from zooming boost to multicam boost. Once the
multicam boost flag is fully rolled out, we can remove the
CAMERA_ZOOMING_BOOST.

Bug: 347829135
Test: adb logcat
Flag: EXEMPT resource file only change
Change-Id: I3e25ea8e3fd84512e514aabab92b1d7c65ffab63
2024-08-02 20:10:44 +00:00
leonardian
1d29f93863 vibrator: common: Check whether file is opened correctly
- Add compile-time type checking inside the has() function to ensure it
  receives the correct type.
- Add is_open() inside the has() function.

Bug: 350911314
Test: alarm, ringtone vibrations
Test: keyboard vibrations
Test: idlcli commands
Test: atest PTS, CTS, VTS
Flag: EXEMPT bugfix
Change-Id: Ifa8f197f6f4b25d51b2edaf6fec27a086bd4f73c
2024-08-02 12:55:23 +08:00
leonardian
0dcee74707 vibrator: cs40l26: Implement braking duration for haptic effects
1. Add sysfs nodes for querying braking duration
   - braking_time_bank
   - braking_time_index
   - braking_time_ms
2. Set delay time between effects to include the whole braking duration
3. Add braking effect durations in HAL dumpsys logs

Bug: 325121485
Test: Plotted acceleration
Test: Checked HAL dumpsys
Test: atest VibratorHalCs40l26TestSuite
Flag: EXEMPT bugfix
Change-Id: Ifacc94db4224adbab971e8d2c01c54422838760c
Signed-off-by: leonardian <leonardian@google.com>
2024-08-02 12:48:19 +08:00
Chris Lu
a33d70164d Upgrade IDisplay to V13
Bug: 315496839
Flag: EXEMPT bugfix
Test: build pass
Change-Id: I3039f3c843b03f0df46e952d6c7f28fd8b3e101e
2024-08-02 04:30:37 +00:00
Lokesh Kumar Goel
ae27f1a5b6 felix: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_FELIX
Bug: 155105803
Change-Id: Ib2db14ae61d914ee8bc9619058753dbd8a81f0cf
2024-07-31 16:58:59 +00:00
Chris Paulo
c64871377f haptics: Update output distortion gain
Recommended output distortion gain is 0.52.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: I7ca1ca0186ad9d76d0ef9db604fdbdbbf02103ce
2024-07-30 10:49:57 -07:00
Android Build Coastguard Worker
f99611dfb2 Snap for 12148957 from 7eeceadfac to 24Q4-release
Change-Id: Idfa73eafbac694e65b03f898918817b400862d3f
2024-07-27 21:01:41 +00:00
guibing
7eeceadfac Adpf:felix: switch to multitier heuristic boost.
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I1b37c1e71eb148a4dab454b7e7db9cf46f09d9a3
2024-07-26 23:19:57 +00:00
James Huang
3279a16af4 gps: Enable Beidou measurements only in the US for F10.
Bug: 354884462
Test: Field test in the US
Change-Id: Ic864c27f90f17da2fa65d3864d3882395226aa91
2024-07-26 15:11:42 +08:00
Android Build Coastguard Worker
b3dccf3ec2 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27586231', 'googleplex-android-review.googlesource.com/26824328', 'googleplex-android-review.googlesource.com/28319518'] into 24Q3-release.
Change-Id: I82cb048cb14119b6b3c47a2e1aed3b4cf97e213a
2024-07-25 04:16:25 +00:00
Ankur Bakshi
411eed6900 Update felix SVN to 54
Bug:352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:36015c810ee6ebe7cc9a9b2dad3e9b85ccae47ab)
Merged-In: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Change-Id: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
2024-07-25 04:04:56 +00:00
Lokesh Kumar Goel
0235c55b83 felix: Use build_flags for SVN
Flag: build.RELEASE_SVN_FELIX
Bug: 332726030
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:87907f0071ae7ec6f81de189bf895d4fc6eee494)
Merged-In: Icdf9198885ba0fa9c02bd161e2b2ff45927aa8a0
Change-Id: Icdf9198885ba0fa9c02bd161e2b2ff45927aa8a0
2024-07-25 04:04:44 +00:00
Ankur Bakshi
b279a1ac96 Update felix SVN to 53
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bc25286b64b9c867c3638196002a7b70ac69ac62)
Merged-In: I21048d04ff40b1237bcf3d8258b3a3263394fe42
Change-Id: I21048d04ff40b1237bcf3d8258b3a3263394fe42
2024-07-25 04:04:31 +00:00
Android Build Coastguard Worker
28c5d4bace Snap for 12122529 from 059785b639 to 24Q4-release
Change-Id: I0c3b70864b251d697c1013bb515dec9e948145bf
2024-07-22 23:01:40 +00:00
Android Build Coastguard Worker
301bc11364 Snap for 12116631 from f9e0de5fa4 to 24Q4-release
Change-Id: I918f5d03f89c1adbe10be6c74777f9d7d2449c63
2024-07-20 01:01:53 +00:00
Android Build Coastguard Worker
f2ab69d943 Snap for 12110738 from 2a59cf1891 to 24Q4-release
Change-Id: I1c2e7c496240c1a9e6ee50d15ce472041de216c2
2024-07-18 23:01:52 +00:00
Ankur Bakshi
f9e0de5fa4 Merge "Update felix SVN to 54" into main 2024-07-18 21:44:23 +00:00
Kyle Hsiao
2a59cf1891 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ia89d2c410164ec44fde3d6400be8f38b24aa625d
2024-07-18 13:07:56 +00:00
Ken Yang
059785b639 SELinux: add missing wakeup rule
Flag: EXEMPT bugfix
Bug: 351241262
Change-Id: I90acd96daa137172d0b1bcdc02c9afcba5788c8e
Signed-off-by: Ken Yang <yangken@google.com>
2024-07-18 09:02:31 +00:00
Ankur Bakshi
36015c810e Update felix SVN to 54
Bug:352170103
Change-Id: I60fb3fb1d4ddae9ce7a3b07a5392b12e76c388dc
Flag: EXEMPT bugfix
2024-07-15 14:17:33 +00:00
Android Build Coastguard Worker
43ee5b7212 Snap for 12085179 from 36db21a9ce to 24Q4-release
Change-Id: I19e80110cf8d0e7793e3aad785c740f97ff5dd4e
2024-07-13 01:02:00 +00:00
Lokesh Kumar Goel
36db21a9ce Merge "felix: Use build_flags for SVN" into main 2024-07-12 18:00:40 +00:00
Android Build Coastguard Worker
242eda7e4c Snap for 12065372 from c004bba0e7 to 24Q4-release
Change-Id: Idb4a5ee43ed2662a7536168cec6de9ce1050e547
2024-07-09 23:06:59 +00:00
Koli Lin
c004bba0e7 add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I1f929402d041541a1ad95673cd9e0346fdbe4122
2024-07-09 08:59:01 +00:00
Android Build Coastguard Worker
8ffc001597 Snap for 12053972 from 172c3e5076 to 24Q4-release
Change-Id: If9f4eed91506193acf0aefa87ce763cf4274f7e9
2024-07-06 03:01:54 +00:00
Wilson Sung
172c3e5076 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 351241262
Change-Id: I0f3d92a3549e3eedd81adf3d2464b8978447390d
2024-07-05 04:03:03 +00:00
Android Build Coastguard Worker
9571ee7616 Snap for 12042346 from df0899088c to 24Q4-release
Change-Id: I150e56aec9e4f28da08c88ee3e2ca77f634ce789
2024-07-02 23:02:42 +00:00
Treehugger Robot
df0899088c Merge "gps: Set configuration by kernel version" into main 2024-07-02 06:51:49 +00:00
Android Build Coastguard Worker
93218efea2 Snap for 12033399 from c24bdaad26 to 24Q4-release
Change-Id: I22db09113775aedcb20de61ea62ca26dd74e486b
2024-06-30 21:02:02 +00:00
Lokesh Kumar Goel
87907f0071 felix: Use build_flags for SVN
Flag: build.RELEASE_SVN_FELIX
Bug: 332726030
Change-Id: Icdf9198885ba0fa9c02bd161e2b2ff45927aa8a0
2024-06-27 23:05:13 +00:00
Cheng Chang
eaeec92303 gps: Set configuration by kernel version
Bug: 258364350
Test: Verification at b/258364350.
Test: Function verification at b/258364350.
Test: Compile and verify the configuration is correct.
Change-Id: I0e5426dadc03e8f1681fc8b99aa2abd7bf0b6d27
2024-06-25 10:11:16 +00:00
Barry
c24bdaad26 BT: update LEA unicast allowlist: SONY
Add Sony WF-1000XM5 into unicast default allowlist.

bug: 349296638
Test: Build and check system property
Flag: NONE alowlist extension
Change-Id: If6a2eec7576ff89d0e4be3f6fab0c2c2adcf13e4
2024-06-25 09:55:17 +00:00
Android Build Coastguard Worker
99dacbb29d Snap for 11996894 from 24c8aab79d to 24Q4-release
Change-Id: I8aa746ad8170c29350b1cfbc5636cb218541f1d1
2024-06-20 23:02:08 +00:00
Android Build Coastguard Worker
708ff445c6 Snap for 11996894 from e892403259 to 24Q4-release
Change-Id: Ib089cd3667d03104a99ba469207a6bc8ac92792e
2024-06-20 23:02:07 +00:00
Xin Li
e892403259 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 1a62a84fb3 -s ours
am skip reason: Merged-In Ia51b1745f14bda22629e05cd33f6c807cf6f6565 with SHA-1 22b192c34a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/27907050

Change-Id: I0fac19b3da694b50c524fbadc21cbd733d609645
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 19:56:57 +00:00
Xin Li
24c8aab79d [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 726b6abb0b -s ours
am skip reason: Merged-In If9ea56afc11e2978bc2b02cfeaf2ee08296a8804 with SHA-1 a5c3209e2f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/27908756

Change-Id: I73d23b5a70c91bb64063b10c868c7b9e69733cc3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 19:56:50 +00:00
Android Build Coastguard Worker
6adcb12e51 Snap for 11987757 from 96cfed1ec0 to 24Q4-release
Change-Id: I61d47354e9fdcf023bd985b05f82e23dcd4e37f7
2024-06-18 23:02:08 +00:00
Android Build Coastguard Worker
d0e2e8f74c Snap for 11987757 from 7c4f210d5d to 24Q4-release
Change-Id: I91ceae93a74b2d8721dd3ed9f2edccabe37d4a7f
2024-06-18 23:02:07 +00:00
Xin Li
726b6abb0b Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: If9ea56afc11e2978bc2b02cfeaf2ee08296a8804
Change-Id: I6fb4abbc3755306db0ff1c01b629dd12cf630475
2024-06-18 14:13:22 -07:00
Xin Li
1a62a84fb3 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Ia51b1745f14bda22629e05cd33f6c807cf6f6565
Change-Id: I13397dc93b0fee76f441fa32aedd23ac7828d450
2024-06-18 14:13:22 -07:00
Xin Li
7c4f210d5d [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 2a16a2c557 -s ours am: ad366f7631 -s ours
am skip reason: Merged-In I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3 with SHA-1 a24eb002fd is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/3131976

Change-Id: Iefc9f3af55c2ad5ee69b06d47e2f4788dc010778
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:28 +00:00
Xin Li
96cfed1ec0 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 65c643d8ff -s ours am: 776775db56 -s ours
am skip reason: Merged-In Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687 with SHA-1 8dc65eb428 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix-sepolicy/+/3132076

Change-Id: I70e679a72c4cf0a7e1b2428d627ae34a33c7c6eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:19 +00:00
Android Build Coastguard Worker
f7ed0a9626 Snap for 11981331 from eb11811dfd to 24Q4-release
Change-Id: I42acb3c5c3844f69a5ea6da15778f94718786988
2024-06-17 23:01:44 +00:00
Xin Li
ad366f7631 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 2a16a2c557 -s ours
am skip reason: Merged-In I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3 with SHA-1 a24eb002fd is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/3131976

Change-Id: Ie3bc848a2248a2aee0f041b3f9fc2fd635d99df0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:51 +00:00
Xin Li
776775db56 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 65c643d8ff -s ours
am skip reason: Merged-In Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687 with SHA-1 8dc65eb428 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix-sepolicy/+/3132076

Change-Id: Ie54371556deecda5f6bb5ca845944997f5b529c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:12 +00:00
Ankur Bakshi
eb11811dfd Merge "Update felix SVN to 53" into main 2024-06-17 05:04:32 +00:00
Android Build Coastguard Worker
4350ca50fd Snap for 11967491 from f7e56e0dd5 to 24Q3-release
Change-Id: I2269a6b96c70bc720662d0f3a4c2a9d4b3d87c7d
2024-06-13 23:01:59 +00:00
Xin Li
65c643d8ff Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687
Change-Id: Ide1adcc5459092e25d4fc87a956a3ae92343d689
2024-06-13 10:48:22 -07:00
Xin Li
2a16a2c557 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3
Change-Id: I53bf20ef8d2ccf02642adeaadc0d2b2f77a0dd24
2024-06-13 10:48:14 -07:00
Michael Wright
f7e56e0dd5 Merge "Use singular OWNERS file." into main 2024-06-13 17:13:21 +00:00
Michael Wright
22b192c34a Use singular OWNERS file.
Rather than every project having an OWNERS with explicit people, just
use one centralized OWNERS file and have every other OWNERS reference
that. This way when the team changes there's only one place that needs
to be updated.

Bug: 346876927
Test: N/A
Flag: EXEMPT OWNERS change
Change-Id: Ia51b1745f14bda22629e05cd33f6c807cf6f6565
2024-06-13 14:47:44 +01:00
Android Build Coastguard Worker
3be7dcb9d4 Snap for 11959661 from 0cd2ae5985 to 24Q3-release
Change-Id: Ic4e89b7ab2f8800fd6060b7ad936593c73bd60c5
2024-06-12 23:02:20 +00:00
Treehugger Robot
0cd2ae5985 Merge "Update IDisplay to V12" into main 2024-06-12 03:20:59 +00:00
Android Build Coastguard Worker
864101303b Snap for 11954976 from f005b04430 to 24Q3-release
Change-Id: Ief6f2945fb71eb128f346a179c6226877fac6d22
2024-06-11 23:02:32 +00:00
Elliott Hughes
f005b04430 libc++fs is part of libc++ now. am: e6dbfef4d8 am: a24eb002fd
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3122791

Change-Id: I978717fe7ec141313214d84cdef40dc22073bc43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 22:11:20 +00:00
Elliott Hughes
a24eb002fd libc++fs is part of libc++ now. am: e6dbfef4d8
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3122791

Change-Id: I4e10554e6f7abbac2e06953c68bfba6f7ffe77d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-10 21:49:03 +00:00
Elliott Hughes
e6dbfef4d8 libc++fs is part of libc++ now.
Change-Id: I543c95f9813e055dd441ea03363f2205648847c8
2024-06-10 17:38:45 +00:00
Android Build Coastguard Worker
b8bbbf433d Snap for 11944020 from 56bdd7be8d to 24Q3-release
Change-Id: I0265a56b23e357995b428c182fdd52e73b41a8cc
2024-06-08 01:02:24 +00:00
Xin Li
56bdd7be8d [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: dba62a135a -s ours
am skip reason: Merged-In I0b4bea1a97004139cc18129eeeab302aa557ca05 with SHA-1 e222c30712 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/27554774

Change-Id: I7623cf7049eaf9fe810775826e4766d70898199f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:08 +00:00
Xin Li
dba62a135a Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I0b4bea1a97004139cc18129eeeab302aa557ca05
Change-Id: Iba46bfc0ab8cfaf0e6cc451327633efaf19567a6
2024-06-05 14:12:12 -07:00
Android Build Coastguard Worker
e622773879 Snap for 11915075 from e2ee725f85 to 24Q4-release
Change-Id: Ic5707e6b7c87fd8071920a5b653ddafa7b69fd7e
2024-06-01 01:02:04 +00:00
Android Build Coastguard Worker
38cc5bb6a4 Snap for 11915075 from 1e3b1303f5 to 24Q4-release
Change-Id: Ie739a6573f716dc9ee81a6c3429cc49d934da533
2024-06-01 01:02:03 +00:00
Android Build Coastguard Worker
7676b88662 Snap for 11908474 from e2ee725f85 to 24Q3-release
Change-Id: I26224f00e1ad17347d583649e25f7d2db4efa5ee
2024-05-30 23:02:14 +00:00
Android Build Coastguard Worker
432662684c Snap for 11908474 from 1e3b1303f5 to 24Q3-release
Change-Id: Ic0c955146efc5a7fc196057e653476f267439081
2024-05-30 23:02:13 +00:00
Ankur Bakshi
bc25286b64 Update felix SVN to 53
Bug: 342381152
Change-Id: I21048d04ff40b1237bcf3d8258b3a3263394fe42
2024-05-30 00:05:52 +00:00
Cyan_Hsieh
1e3b1303f5 Switch makefile owners to MK_OWNERS am: 5537f0189d am: 3353815bc3
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3107247

Change-Id: Ieecb018967c147ad3fcd822359d93ed0e358123c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 21:59:59 +00:00
Xin Li
e2ee725f85 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 8dc65eb428 -s ours
am skip reason: Merged-In I250fd1c8415c3c865bffa4504c8c290c0d49fddb with SHA-1 1979e8df0a is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix-sepolicy/+/27273281

Change-Id: Iead8f08424e4ab89eb64a11a3135940c0ba9a8b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:49:31 +00:00
Xin Li
42cbf6bab4 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 1c48c9f6e4 -s ours
am skip reason: Merged-In Iac265af75b5fbb9bf6b34448ff3d2d4413ae3959 with SHA-1 5c4d4da8e8 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/27273321

Change-Id: I6339ae310fef49a75606d58372539fc1aba92477
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:48:57 +00:00
Cyan_Hsieh
3353815bc3 Switch makefile owners to MK_OWNERS am: 5537f0189d
Original change: https://android-review.googlesource.com/c/device/google/felix/+/3107247

Change-Id: Idf6420dfddc69f692d5b94a9878a1ce9897c5fb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:13 +00:00
Cyan_Hsieh
5537f0189d Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5f2a464f9f1dd6536b257d873ad4c47bd0ae83f9)
Merged-In: Idb90ff62c5180bc81e358bad05df03d1c0ba2023
Change-Id: Idb90ff62c5180bc81e358bad05df03d1c0ba2023
2024-05-29 10:00:10 +00:00
Leo Chen
30b137a0e3 Update IDisplay to V12
Test: trigger test build
Bug: 309897479
Change-Id: Ia66b36711deaad59135d15f435a0db9319687051
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-23 06:44:03 +00:00
Android Build Coastguard Worker
d2bae1d67a Snap for 11869550 from 5e6d0a0716 to 24Q3-release
Change-Id: Ie72796a34ad14c5c34985e84c6b9e77d46f39dcf
2024-05-21 23:02:49 +00:00
Sam Ou
5e6d0a0716 Merge "thermal: Remove SOFT_OCP related tzones" into main 2024-05-21 12:28:55 +00:00
Android Build Coastguard Worker
da48ab6773 Snap for 11865526 from c6e58188ca to 24Q3-release
Change-Id: Icbd9181bfb7bf19fc50ad280066beac6f2a4fdb4
2024-05-21 01:02:08 +00:00
Ravi Jain
c6e58188ca Merge "Vibrator: Set Soong Config variable - kernel_ver" into main 2024-05-20 11:00:40 +00:00
Ravi Jain
b0a6cbf1e4 Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: I835b4556bb88d40bc11bec5108496806915cb42c
2024-05-20 06:51:37 +00:00
Android Build Coastguard Worker
5c4ca38b98 Snap for 11859356 from c5bbba8808 to 24Q3-release
Change-Id: I846127e1ae8d898eda501e82ac67838e35b7d9a6
2024-05-18 03:02:02 +00:00
Wei Wang
c5bbba8808 Merge "Adpf:felix: enable heuristic boost." into main 2024-05-17 07:07:39 +00:00
guibing
ff36604d18 Adpf:felix: enable heuristic boost.
Heuristic boost will adjust the ADPF boost profile when the
powerhal detects the power session is very janky, providing more
boost for deadline sensitive threads managered in the session.

Bug: 341111433
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: I02ed6e281447a080346337554d9566e4173e57b7
2024-05-16 20:45:57 +00:00
Android Build Coastguard Worker
1c058859d1 Snap for 11847214 from cd15076da0 to 24Q3-release
Change-Id: I432f0470a0172b8d0802e23ea9ba9549adea1c28
2024-05-16 01:02:33 +00:00
Cyan Hsieh
cd15076da0 Merge "Update bootloader pdk folder and soong config" into main 2024-05-15 14:01:34 +00:00
samou
e52b5d2407 thermal: Remove SOFT_OCP related tzones
Bug: 337976702
Test: Confirm boot
Change-Id: I676dcdd53742737effd14283ad1d71e1d7bcf63d
Signed-off-by: samou <samou@google.com>
2024-05-15 11:52:55 +00:00
Android Build Coastguard Worker
04d77259ec Snap for 11834877 from d9706b6ef9 to 24Q3-release
Change-Id: Iad608a06a4060005ff24201d2d3651fbcc686805
2024-05-13 23:02:18 +00:00
Treehugger Robot
d9706b6ef9 Merge "gps: Reduce logging mask" into main 2024-05-13 01:50:58 +00:00
Android Build Coastguard Worker
df54429c3f Snap for 11816316 from 799400bb47 to 24Q3-release
Change-Id: Icfa7d40f1272104072bfc760c944d4b27b074e53
2024-05-08 23:02:14 +00:00
Leo Chen
799400bb47 Update IDisplay to V11-V12
V12 is not frozen yet. We should still allow V11 for `next` build.

Test: trigger test build
Bug: 309897479
Bug: 303162192
Change-Id: I7e3c91a76bd82a3aec915c92d8b792f8a3878723
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-05-08 08:50:47 +00:00
Xin Li
8dc65eb428 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I250fd1c8415c3c865bffa4504c8c290c0d49fddb
Change-Id: Ied5f2da6f2de803a6d19f5de43ba0ffc4f7f0687
2024-05-06 12:09:15 -07:00
Xin Li
1c48c9f6e4 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: Iac265af75b5fbb9bf6b34448ff3d2d4413ae3959
Change-Id: I59d25be35974c9b6ae5140fbe02a0e457de59845
2024-05-06 12:09:15 -07:00
Cheng Chang
ef1ebee4bb gps: Reduce logging mask
Bug: 267729515
Bug: 312716075
Test: Verification for logging system.
Change-Id: I5c43536e5a7bcfb150366ad8527ce84fa2a34364
2024-05-06 14:32:27 +00:00
Cyan_Hsieh
50f5ed51d7 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I238d51c4895cdd314ff8fa9a2475d8c1a547300a
2024-05-06 16:43:49 +08:00
Android Build Coastguard Worker
20c2dcd0ea Snap for 11800966 from ea60b53ce1 to 24Q3-release
Change-Id: I5b35e136bee4bff0ec1f44ea2ddae1e9e34724a1
2024-05-04 01:02:24 +00:00
Qian-Hao Huang
ea60b53ce1 Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: I4e049294aa1194a46d6a6d1eabf93ac7a50257a1
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:16:43 +00:00
Android Build Coastguard Worker
c92d984cb3 Snap for 11789350 from 3eb08635a0 to 24Q3-release
Change-Id: Iffe020c015ed34acd2a040a10e12ae2004b588e6
2024-05-01 23:02:43 +00:00
Nick Chameyev
3eb08635a0 Merge "Enable haptics for unfold animation on Felix" into main 2024-05-01 14:31:06 +00:00
Android Build Coastguard Worker
2c08fd95d3 Snap for 11784291 from d0669d782e to 24Q3-release
Change-Id: Ife854526bdc3fbb78bff04fa1723ca6a9dc78d61
2024-04-30 23:02:57 +00:00
Android Build Coastguard Worker
e5f4fa3204 Snap for 11778614 from 466863b60e to 24Q3-release
Change-Id: I6246e381b1067cd463cab1fb9be628bc6995ef95
2024-04-29 23:02:10 +00:00
Matt Buckley
d0669d782e Merge "Add POWER_EFFICIENCY uclamp max to adpf config" into main 2024-04-29 19:42:15 +00:00
Hao Dong
466863b60e Merge "Rename style from AuthCredential to AuthNonBioCredential." into main 2024-04-29 18:51:55 +00:00
Nick Chameyev
141d4917a4 Enable haptics for unfold animation on Felix
Bug: 336388573
Change-Id: I1bc1afc1cfeb0cf6f6cce0715b14cedc57895983
Test: atest UnfoldHapticsPlayerTest
Test: manual test that haptics could be disabled
2024-04-29 14:39:17 +00:00
Android Build Coastguard Worker
0b0a047922 Snap for 11772614 from 24086fb478 to 24Q3-release
Change-Id: Ib254a962ea97729ec8b046d809baed2d85089481
2024-04-27 01:02:08 +00:00
Hao Dong
4ce0287a43 Rename style from AuthCredential to AuthNonBioCredential.
Bug: 335199602
Test: N/A
Change-Id: Ief716415b2dbe330e69835a31f323a012a39af1c
2024-04-26 18:10:24 +00:00
Thomas Girardier
24086fb478 Merge "Revert "[Bluetooth] Disable BT auto on feature"" into main 2024-04-26 04:02:59 +00:00
Ankur Bakshi
85ab287b51 Merge "Update felix SVN to 52" into main 2024-04-26 00:24:51 +00:00
Ankur Bakshi
bf019fab5d Merge "Update felix SVN to 51" into main 2024-04-26 00:19:29 +00:00
Thomas Girardier
b1c645d05f Revert "[Bluetooth] Disable BT auto on feature"
Revert submission 26919210-BTAUTOOFF4389

Reason for revert: Auto On has been approved for 24Q3

Reverted changes: /q/submissionid:26919210-BTAUTOOFF4389

Change-Id: I6954cbe2e9dcbed7ee450b73fceb3025e149d349
2024-04-25 16:21:30 +00:00
Ankur Bakshi
499a0fb8e0 Update felix SVN to 52
Bug: 336526332
Change-Id: I29b92d74abee7982022151fb53ef23634fd707f8
2024-04-25 03:46:50 +00:00
Android Build Coastguard Worker
255f50d7ae Snap for 11760402 from b830ea62b3 to 24Q3-release
Change-Id: I85bd322c14e0c9c215f77f3e3fa18fd84503e037
2024-04-24 23:02:01 +00:00
Ankur Bakshi
e222c30712 Update felix SVN to 51
Bug: 336526332
Change-Id: I0b4bea1a97004139cc18129eeeab302aa557ca05
2024-04-24 19:56:03 +00:00
Cutter Coryell
b830ea62b3 Turn off ML in system back gesture
Bug: b/332343111
Fixes: b/332343111
Test: atest BackAnimationControllerTest BackNavigationControllerTests OnBackInvokedDispatcherTest
Change-Id: I3de429ed6d9972355dae4edd2fd03b15859d0f4b
2024-04-24 16:57:15 +00:00
Android Build Coastguard Worker
ad7324bc7f Snap for 11740859 from f7fb3a0297 to 24Q3-release
Change-Id: I175533de648ddffbc6c80345af1c501dd8e88423
2024-04-20 01:02:04 +00:00
Treehugger Robot
f7fb3a0297 Merge "felix/vibrator: Add removecapo flag reference for it to show up in aconfig" into main 2024-04-19 16:28:38 +00:00
Treehugger Robot
91b6311bc3 Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:45 +00:00
Chris Paulo
c1da63bc66 felix/vibrator: Add removecapo flag reference for it to show up in
aconfig

Bug: 335547922
Test: adb shell device_config list | egrep -i 'remove_capo'
Change-Id: I1f6dca0f0dc61fa4bc2db85a1fc55f56ce7146af
Signed-off-by: Chris Paulo <chrispaulo@google.com>
2024-04-18 16:23:39 -07:00
Cyan_Hsieh
dc242dcbda Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: If900f24f9f171a27f81fed59c4712bf536c84734
2024-04-18 16:02:34 +08:00
Android Build Coastguard Worker
bb7e262189 Snap for 11728787 from 7c40f4f50b to 24Q3-release
Change-Id: Ib3fe8791ee145fbc0c74a6cd9dcee7b067ceeae3
2024-04-17 23:03:29 +00:00
Poomarin Phloyphisut
7c40f4f50b [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: Ib6794b13c755f00c2c5918f418fe1a62bbe0da98
2024-04-17 04:16:23 +00:00
Android Build Coastguard Worker
a977a85ae4 Snap for 11722130 from 5e17e9e8a5 to 24Q3-release
Change-Id: Iba5b441a34525db48637d4bd8826494c5ae459df
2024-04-16 23:02:21 +00:00
Charles Yo
5e17e9e8a5 Merge "Switch default kernel directory and change build flag naming" into main 2024-04-16 01:34:48 +00:00
Android Build Coastguard Worker
84dcdd13f6 Snap for 11717025 from f916dc1b49 to 24Q3-release
Change-Id: I9d7c71579bd93ba278360616ebf96f48ab50ff7e
2024-04-15 23:02:32 +00:00
Isaac Chiou
f916dc1b49 Merge "wifi: disable FW roaming when in idle mode" into main 2024-04-15 13:46:13 +00:00
isaacchiou
29b72d3928 wifi: disable FW roaming when in idle mode
When device is idle, disable FW roaming (LOW RSSI roam, high band roam) to save power

Bug: 321639511
Test: Manual
Change-Id: Iab34c0fdda533a33d1a9f38429a809091df5dd57
2024-04-15 11:56:52 +00:00
Android Build Coastguard Worker
7405beba23 Snap for 11710546 from 7088cc28d6 to 24Q3-release
Change-Id: Ida72edfcb228f6f3055e66928269a9d9126813df
2024-04-13 01:02:22 +00:00
Cyan_Hsieh
9f7ed821c8 Switch default kernel directory and change build flag naming
Bug: 309749142
Change-Id: I1be08e889dfa60d6a24acac7f71f21b0241221b1
2024-04-12 17:41:29 +08:00
Barry
7088cc28d6 [Bluetooth] Disable BT auto on feature
Set bluetooth.server.automatic_turn_on false for disable Bluetooth Auto
On feature

Bug: 333830114

Test: make
Change-Id: I18365504a4f7c9f16b5b20842e15a6248770bdab
2024-04-11 14:58:47 +00:00
Android Build Coastguard Worker
69c1e46e64 Snap for 11697857 from 6eb6002115 to 24Q3-release
Change-Id: Ifae64448261a7f610441e1b35fcb51e8d3fe70f3
2024-04-10 23:02:06 +00:00
Jimmy Shiu
6eb6002115 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: 1ab55d56bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26899888

Change-Id: I3be8684df226b750d9ee093dd77e4d6c098787a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:21 +00:00
Jimmy Shiu
1ab55d56bc powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I9b748e2fb6110cac3d8589da2f3bb6d89a619ed3
2024-04-10 11:45:08 +00:00
Frank Yu
55e6bf60f4 Merge "Fix wrong unit in mipi table for F10." into main 2024-04-10 05:27:14 +00:00
Android Build Coastguard Worker
77f560c6ba Snap for 11679388 from 50cb4553ef to 24Q3-release
Change-Id: Icb73c5a8d152a86e421f84d88e3398b2ba783d3e
2024-04-06 01:01:59 +00:00
Ankur Bakshi
50cb4553ef Merge changes from topic "svn-set-3" into main
* changes:
  Update felix SVN to 50
  Update felix SVN to 49
2024-04-05 02:13:25 +00:00
Ankur Bakshi
73220aeecf Update felix SVN to 50
Bug: 330382848
Change-Id: Ic4cb9fec016661b45d7af9a1075e5912bd435b9e
2024-04-03 23:17:39 +00:00
Android Build Coastguard Worker
15bf2c2dd2 Snap for 11666018 from 1893564a14 to 24Q3-release
Change-Id: I34702a637597f5ef9fa1ad1f5d307be1ab69f7c6
2024-04-03 23:02:02 +00:00
Jimmy Shiu
1893564a14 powerhint: set uclampmin_init value for applying CPU Load boost am: 8bed816740
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26809469

Change-Id: I8494acf063f656185191e9d17cf56f22df1e0a50
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:42 +00:00
Jimmy Shiu
8bed816740 powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Test: Manual Test
Change-Id: I9e3afbeb455391ab1493f184bbf27f3c8e6c8e5a
2024-04-03 01:04:47 +00:00
Android Build Coastguard Worker
c577e645b2 Snap for 11648291 from 182fa65fc7 to 24Q3-release
Change-Id: I0427b660facdb7c163da163c6acf4239723af2b4
2024-03-30 01:02:11 +00:00
cweichun
182fa65fc7 felix: upgrade IDisplay to V11 am: d33926ec06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26755013

Change-Id: I37f7eb92b7da52b693a84aaa61c4acf5aac049dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-29 04:11:04 +00:00
cweichun
d33926ec06 felix: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: Iba924e74c72d2d8f857a47068d702d4197f56ce8
2024-03-28 23:53:11 +00:00
Ankur Bakshi
f4e79e0825 Update felix SVN to 49
Bug: 330382848
Change-Id: I4adff31a3d552c862fab43cba73c0cb074904be8
2024-03-28 15:35:42 +00:00
Android Build Coastguard Worker
a5873e93c0 Snap for 11635697 from 1b9a113162 to 24Q3-release
Change-Id: Iaec4582fde6cd7e1a5791309b62eaab62d961b8a
2024-03-27 23:02:23 +00:00
Frank Yu
5f25b6c426 Fix wrong unit in mipi table for F10.
Test: Manual test with MDS apps. The result display mipi frequency is expected.
Bug: 331336468
Change-Id: I72ec2519ea345716b5430da5b8cc6a845123d399
2024-03-27 03:33:09 +00:00
Ankur Bakshi
1b9a113162 Merge "Update felix SVN to 48" into main 2024-03-26 22:20:47 +00:00
Android Build Coastguard Worker
8f1d90f9a2 Snap for 11623990 from 85c783c08f to 24Q3-release
Change-Id: I07ad9770f7993fd0c9d838f6a89eb490df34e466
2024-03-25 23:02:14 +00:00
Ravi Jain
85c783c08f Merge "cs40l26: Align Felix Hal with common HAL" into main 2024-03-25 12:34:03 +00:00
Ravi Jain
75d87040c7 cs40l26: Align Felix Hal with common HAL
Pull ag/22589260 to replace new/delete by using vector from the common
HAL.

Bug: 322648133
Test: idlcli compose commands
Test: adb shell cmd vibrator_manager synced prebaked 1
Test: adb shell idlcli vibrator compose 0 8 1.0; \
      sleep 1; adb shell idlcli vibrator compose 0 7 1.0;
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuitePrivate \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  android.os.cts.VibratorTest \
  android.os.cts.VibratorManagerTest \
  android.os.cts.VibrationEffectTest \
  android.os.cts.VibrationAttributesTest \
  android.os.cts.CombinedVibrationTest
Change-Id: Ia6e9111c47f27089521f05a68b538bbefb235d6b
2024-03-22 00:42:07 +00:00
Ankur Bakshi
662666134f Update felix SVN to 48
Bug: 325156176
Change-Id: Ifd4c3df67510d9f7cf5a88b9269614572b5eb0bc
2024-03-21 21:46:31 +00:00
Cyan_Hsieh
10a4784c6b Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I692d1ffbd7f3ae425a84fce55c4bc537f0e2c4d8
2024-03-21 18:24:36 +08:00
Android Build Coastguard Worker
7d8e7a4216 Snap for 11603317 from cb66557aef to 24Q3-release
Change-Id: I6adca44b60e5d3b609a5f892979c76dc29890c76
2024-03-20 23:02:21 +00:00
Ankur Bakshi
cb66557aef Merge "Update felix SVN to 47" into main 2024-03-20 05:01:24 +00:00
Android Build Coastguard Worker
a300e957f8 Snap for 11591048 from 611b4d69f1 to 24Q3-release
Change-Id: I82615d7a9fd7a635be2af08d6bf181aacf9c9c3d
2024-03-18 23:02:15 +00:00
Nina Chen
611b4d69f1 Merge "Change the rule to specify kernel directory with release configurations" into main 2024-03-18 03:47:37 +00:00
Android Build Coastguard Worker
c58de49624 Snap for 11585034 from bc701d8d61 to 24Q3-release
Change-Id: Ia5832ea6aa15da59c265463ae1f6286595b4a41d
2024-03-16 01:02:25 +00:00
Ankur Bakshi
0771df9996 Update felix SVN to 47
Bug: 325156176
Change-Id: I80ca14c7073707ef69dd3feef8f7731afbe09582
2024-03-15 18:58:49 +00:00
Nina Chen
eda8074af2 Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: I6e93b76380f4a71b28009319d914f325d04d8796
Signed-off-by: Nina Chen <sheaunic@google.com>
2024-03-15 14:15:59 +08:00
Ankur Bakshi
bc701d8d61 Update felix SVN to 46
Bug: 325156176
Change-Id: I84212cd2b6e36d162d6f6624a21f393e0ec0d070
2024-03-15 00:51:23 +00:00
Android Build Coastguard Worker
3903b175cd Snap for 11578433 from ad47d16718 to 24Q3-release
Change-Id: Iad25740062133dd824dba17957f896b76f147b26
2024-03-14 23:06:37 +00:00
Ankur Bakshi
ad47d16718 Merge "Update felix SVN to 45" into main 2024-03-14 01:35:09 +00:00
Sam Paradis
2692711374 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency am: 011bda50b8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/26566996

Change-Id: I25f4599ae628a6d88c558a55b71280619ac9c00d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-13 23:29:13 +00:00
Sam Paradis
011bda50b8 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I6d6f3b6c8990bbe3c04575a60797a2aefa898172
2024-03-13 17:12:21 +00:00
Android Build Coastguard Worker
287ea34372 Snap for 11565217 from 31bee4ad9d to 24Q3-release
Change-Id: I1e6ab60ea698dd6727b89a5629de47d570ea5669
2024-03-12 23:02:14 +00:00
Melvin Huang
31bee4ad9d F10: Update BQR Event Mask property value
Bug: 327514325
Test: Build Pass
Change-Id: I9f0a3e27099eab86bf39733bf2f137418cde9156
2024-03-12 13:33:09 +08:00
Sam Paradis
9e9a886bbb Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I6d6f3b6c8990bbe3c04575a60797a2aefa898172
2024-03-09 01:56:19 +00:00
Android Build Coastguard Worker
b320b7df63 Snap for 11545716 from db96ab8a6a to 24Q3-release
Change-Id: I55fd4140147452c453c89507e60b8fd8656fe200
2024-03-08 00:01:49 +00:00
Android Build Coastguard Worker
193cd104ce Snap for 11545716 from 3f20d14a71 to 24Q3-release
Change-Id: I640888207d3564333568056390fe9c7df69b0912
2024-03-08 00:01:49 +00:00
Xin Li
3f20d14a71 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 57e651cd73 -s ours am: edf45affd6 -s ours
am skip reason: Merged-In I1e89d5091baa1df8662e4dcbd0a15460d0826c4b with SHA-1 099b593e11 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/2990601

Change-Id: I6226fc97f0123adbfb1cc000b2d4d5226dcb7681
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:25 +00:00
Xin Li
db96ab8a6a [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 4532257287 -s ours am: 4bb4c55c09 -s ours
am skip reason: Merged-In I7b028059ddd64f3abd93f58ef84ec443d10c1d96 with SHA-1 3b8ff0887e is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix-sepolicy/+/2989694

Change-Id: I598e3a053b1a1ef5035a0c85c326eaef6c164d16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:18 +00:00
Xin Li
edf45affd6 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 57e651cd73 -s ours
am skip reason: Merged-In I1e89d5091baa1df8662e4dcbd0a15460d0826c4b with SHA-1 099b593e11 is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix/+/2990601

Change-Id: I258ff0f0d84a18a0b5490f9676d6da4e41be94dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:00 +00:00
Xin Li
4bb4c55c09 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 4532257287 -s ours
am skip reason: Merged-In I7b028059ddd64f3abd93f58ef84ec443d10c1d96 with SHA-1 3b8ff0887e is already in history

Original change: https://android-review.googlesource.com/c/device/google/felix-sepolicy/+/2989694

Change-Id: I0c85c93023dd3c4f09fa4bf8de1ea77895f93b90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:54:54 +00:00
Android Build Coastguard Worker
4015124715 Snap for 11540345 from 13d30b3035 to 24Q3-release
Change-Id: I44ed73507d9d06d698c39d7e99dd7082fca12604
2024-03-07 01:51:42 +00:00
Xin Li
4532257287 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I7b028059ddd64f3abd93f58ef84ec443d10c1d96
Change-Id: I977205f4f6780ca20e1f81ac7f61f3a0aa03084f
2024-03-06 09:29:48 -08:00
Xin Li
57e651cd73 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I1e89d5091baa1df8662e4dcbd0a15460d0826c4b
Change-Id: I5ec91ce4c108cefcb2510fa54e28e888f5bff567
2024-03-06 09:29:47 -08:00
Ankur Bakshi
abb540718b Update felix SVN to 45
Bug: 325156176
Change-Id: I5ebc65fcd00c7d5c593f8a56c8ccdfd424551005
2024-03-06 15:00:18 +00:00
Ravi Jain
13d30b3035 Merge "cs40l26: Align Felix Hal with common HAL" into main 2024-03-06 14:30:32 +00:00
Ravi Jain
85299be2ad cs40l26: Align Felix Hal with common HAL
Pull DSPMemChunk related CLs from common HAL.
ag/22087481, ag/22093662

Bug: 322648133
Test: idlcli compose commands
Test: adb shell cmd vibrator_manager synced prebaked 1
Test: adb shell idlcli vibrator composePwle -b \
  a 0.1 300.0 0.1 30.0 1000 \
  a 0.1 30.0 0.1 300.0 500
Test: atest PtsVibratorHalTestSuite \
  PtsHapticsTestCases \
  VibratorHalCs40l26TestSuite \
  VtsHalVibratorManagerTargetTest \
  VtsHalVibratorTargetTest \
  android.os.cts.VibratorTest \
  android.os.cts.VibratorManagerTest \
  android.os.cts.VibrationEffectTest \
  android.os.cts.VibrationAttributesTest \
  android.os.cts.CombinedVibrationTest
Change-Id: I32258500ec02c2a8cbfc6d0b37aaea2c83c7c8b4
2024-03-06 11:19:19 +00:00
Ankur Bakshi
d4ba2efe22 Merge "Update felix SVN to 44" into main 2024-03-06 02:53:13 +00:00
Android Build Coastguard Worker
253590a1e9 Snap for 11533280 from a5c3209e2f to 24Q3-release
Change-Id: I76b4a2a979145505651c63f690dcc30e318cd216
2024-03-06 00:02:00 +00:00
Android Build Coastguard Worker
c45a994066 Snap for 11533280 from ad564d868f to 24Q3-release
Change-Id: If71595b898813a2114a98917dc88fe952a8b4471
2024-03-06 00:01:59 +00:00
Barry Wang
ad564d868f Merge "BT: set system property for Bluetooth Auto On" into main 2024-03-05 11:48:13 +00:00
Barry
abe266909e BT: set system property for Bluetooth Auto On
Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On
feature.
The feature will be enabled with both system property and flag set.

Bug: 328168526
Test: check system property value
Change-Id: I9a48c7dd041dc87dae8f1659b3a782b71cb67ccb
2024-03-05 09:13:08 +00:00
Android Build Coastguard Worker
dc869670a2 Snap for 11520864 from 2f802dde2c to 24Q3-release
Change-Id: I58bca033d3b6d86fe970b6173e12d5ccae2bf449
2024-03-02 02:02:22 +00:00
Mark Chang
a5c3209e2f Add device specific entry back.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.

Change-Id: If9ea56afc11e2978bc2b02cfeaf2ee08296a8804
Signed-off-by: Mark Chang <changmark@google.com>
2024-03-01 11:53:47 +00:00
Android Build Coastguard Worker
97e55d8432 Snap for 11517216 from 64a306d0e1 to 24Q3-release
Change-Id: Ie5a11416cf2dded97da3927b5e192469243a5cb6
2024-03-01 00:02:41 +00:00
Ravi Jain
ef3616fe66 dumpstate: touch: Init using touch_predump
More info at go/touch_predump

Test: Test locally on test device and check predump_touch works.
Bug: 287907308
Change-Id: Iadad909a658f4fa1d3bc163b8bfd950e5029c4a5
2024-02-29 13:23:39 +00:00
Android Build Coastguard Worker
9b3528ba0a Snap for 11510413 from 1979e8df0a to 24Q3-release
Change-Id: Iac12fa4011604e7036bda4aadcc32c38e25d6470
2024-02-29 00:02:42 +00:00
Android Build Coastguard Worker
1d9f7353ca Snap for 11504269 from 836da8022d to 24Q3-release
Change-Id: Ic99c9a051829125a5fe79c60fe15e72da456a7bf
2024-02-28 00:02:46 +00:00
Android Build Coastguard Worker
5f6caf7f39 Snap for 11469542 from d2bc8e7dc0 to 24Q3-release
Change-Id: I1d53e5742971a8ece21d0fc644b809653b1908c0
2024-02-20 00:02:30 +00:00
Android Build Coastguard Worker
96ce74f8d5 Merge "Snap for 11455877 from 0764dad6b4 to 24Q3-release" into 24Q3-release 2024-02-16 01:30:23 +00:00
Android Build Coastguard Worker
4a4ef584b4 Snap for 11455877 from 0764dad6b4 to 24Q3-release
Change-Id: I978b9323ef1270c93e5f7203b59a7e9d40f643f4
2024-02-16 00:23:12 +00:00
Android Build Coastguard Worker
c545f91965 Snap for 11455651 from 0764dad6b4 to 24Q3-release
Change-Id: Ic6f82c41151fdabf29ae8e9100715816798d8ca7
2024-02-16 00:14:05 +00:00
Ankur Bakshi
e30274d4c9 Update felix SVN to 44
Bug: 325156176
Change-Id: Id9052a3303fc7c2c1842f3db9b52a2adf1ba164e
2024-02-15 02:06:34 +00:00
Matt Buckley
8f82ebc72c Add POWER_EFFICIENCY uclamp max to adpf config
Add the "UclampMax_EfficientBase" value to the ADPF config in the
powerhint.json to specify efficient core scheduling in the static
case, and "UclampMax_EfficientOffset" for the dynamic case, for this
device.

Bug: 277285195
Test: manual
Change-Id: Ibeca70e171d8c15ec73eb57cd8dd7a5bf21eaea5
2023-08-19 05:25:10 +00:00
89 changed files with 3339 additions and 2660 deletions

4
BoardConfigEvolution.mk Normal file
View File

@@ -0,0 +1,4 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#

View File

@@ -1,5 +1,11 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Kernel modules
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_kernel_boot
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_kernel_boot))
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)))

2
OWNERS
View File

@@ -1,4 +1,4 @@
per-file powerhint.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com
# per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
per-file *.mk,*/BoardConfig.mk=file:device/google/gs-common:main:/OWNERS
per-file *.mk,*/BoardConfig.mk,{**/,}Android.bp=file:device/google/gs-common:main:/MK_OWNERS

View File

@@ -1344,7 +1344,7 @@
<path name="bluetooth-sco-headset-microphones" />
</path>
<path name="usb-headset-microphones">
<path name="usb-microphones">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
@@ -1354,6 +1354,15 @@
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="usb-headset-microphones">
<path name="usb-microphones" />
</path>
<path name="usb-device-microphones">
<path name="usb-microphones" />
</path>
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
<path name="cs35l41-load-protection-firmware-start">
<!-- Enable it after get the protection firmware -->

View File

@@ -59,7 +59,7 @@
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">

View File

@@ -59,7 +59,7 @@
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="incall playback" role="source"

View File

@@ -60,7 +60,7 @@
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">

View File

@@ -11,6 +11,7 @@
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!-- Le Audio Audio Ports -->
<mixPort name="le audio broadcast output" role="source" />
<mixPort name="le audio output" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100 48000"
@@ -51,6 +52,7 @@
<devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
<devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
<devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
<devicePort tagName="BLE Broadcast Out" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"/>
</devicePorts>
<routes>
<route type="mix" sink="BT A2DP Out"
@@ -66,6 +68,8 @@
<route type="mix" sink="le audio input"
sources="BLE Headset In"/>
<route type="mix" sink="BLE Speaker Out"
sources="le audio output"/>
sources="le audio output"/>
<route type="mix" sink="BLE Broadcast Out"
sources="le audio broadcast output"/>
</routes>
</module>

View File

@@ -3,4 +3,7 @@
# Uart port name
UartPort = /dev/ttySAC18
# Update BQR Event Mask property value
BqrEventMaskValueUpdate = 262238
BtOpusEnabled = true

View File

@@ -86,7 +86,7 @@ on early-boot
start insmod_sh_felix
chown system system /sys/class/power_supply/dualbatt/dbatt_stats
service insmod_sh_felix /vendor/bin/insmod.sh /vendor/etc/init.insmod.felix.cfg
service insmod_sh_felix /vendor/bin/insmod.sh /vendor_dlkm/etc/init.insmod.felix.cfg
class main
user root
group root system

View File

@@ -1,8 +1,6 @@
#
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-evolution
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution

View File

@@ -17,18 +17,12 @@
# Restrict the visibility of Android.bp files to improve build analysis time
$(call inherit-product-if-exists, vendor/google/products/sources_pixel.mk)
TARGET_KERNEL_DIR ?= device/google/felix-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/felix-kernel/kernel-headers
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
ifdef RELEASE_GOOGLE_FELIX_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_FELIX_KERNEL_VERSION)
endif
ifdef RELEASE_GOOGLE_FELIX_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_FELIX_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_FELIX_KERNEL_DIR)/kernel-headers
endif
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_FELIX_VERSION)
# Keeps flexibility for kasan and ufs builds
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_FELIX_DIR)
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_FELIX_DIR)/kernel-headers
$(call inherit-product-if-exists, vendor/google_devices/felix/prebuilts/device-vendor-felix.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
@@ -47,8 +41,8 @@ $(call soong_config_set,fp_hal_feature,pixel_product, product_a)
include device/google/felix/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/display/dump_second_display.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/stm/stm6.mk
include device/google/gs-common/touch/gti/predump_gti_dual.mk
include device/google/gs-common/touch/stm/predump_stm6.mk
ifeq ($(filter factory_felix, $(TARGET_PRODUCT)),)
include device/google/felix/uwb/uwb_calibration.mk
endif
@@ -66,9 +60,13 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/felix/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.felix.rc
# insmod files
# insmod files. Kernel 5.10 prebuilts don't provide these yet, so provide our
# own copy if they're not in the prebuilts.
# TODO(b/369686096): drop this when 5.10 is gone.
ifeq ($(wildcard $(TARGET_KERNEL_DIR)/init.insmod.*.cfg),)
PRODUCT_COPY_FILES += \
device/google/felix/init.insmod.felix.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.felix.cfg
device/google/felix/init.insmod.felix.cfg:$(TARGET_COPY_OUT_VENDOR_DLKM)/etc/init.insmod.felix.cfg
endif
# Camera
PRODUCT_COPY_FILES += \
@@ -114,6 +112,12 @@ PRODUCT_PACKAGES += \
android.hardware.nfc-service.st \
NfcOverlayFelix
# Shared Modem Platform
SHARED_MODEM_PLATFORM_VENDOR := lassen
# Shared Modem Platform
include device/google/gs-common/modem/modem_svc_sit/shared_modem_platform.mk
# SecureElement
PRODUCT_PACKAGES += \
android.hardware.secure_element@1.2-service-gto \
@@ -146,6 +150,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true
# Bluetooth Tx power caps
PRODUCT_COPY_FILES += \
device/google/felix/bluetooth/bluetooth_power_limits_felix_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv \
@@ -168,11 +176,11 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.spatializer.speaker_enabled=true
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
sar_test
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
hci_inject
# Bluetooth
@@ -229,7 +237,26 @@ endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=F10
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_FELIX))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_FELIX)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_FELIX))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_FELIX)
endif
endif
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_VENDOR_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=0 \
ro.vendor.vibrator.hal.gpio.num=44 \
@@ -237,6 +264,10 @@ PRODUCT_VENDOR_PROPERTIES +=\
persist.vendor.vibrator.hal.chirp.enabled=0
ACTUATOR_MODEL := luxshare_ict_lt_xlra1906d
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.52
# Fingerprint
include device/google/gs101/fingerprint/fpc1540/sw42/fpc1540.mk
FPC_MODULE_TYPE=1542_C
@@ -271,13 +302,6 @@ PRODUCT_PACKAGES += \
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/felix/prebuilts/trusty/trunk
endif
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
@@ -294,14 +318,26 @@ PRODUCT_COPY_FILES += \
# Location
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/felix/location/lhd.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/felix/location/scd.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/felix/location/gps.6.1.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/felix/location/gps.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
else
PRODUCT_COPY_FILES += \
device/google/felix/location/gps_user.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/felix/location/lhd_user.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/felix/location/scd_user.conf.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/felix/location/gps_user.6.1.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/felix/location/gps_user.xml.f10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
endif
PRODUCT_PACKAGES += \
@@ -397,10 +433,10 @@ PRODUCT_COPY_FILES += \
# LE Audio Unicast Allowlist
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.allow_list=SM-R510
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES_ENG += \
ewp_tool
# Enable DeviceAsWebcam support
@@ -420,3 +456,7 @@ PRODUCT_PACKAGES += \
NoCutoutOverlay \
AvoidAppsInCutoutOverlay
# Bluetooth device id
# Felix: 0x410C
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16652

View File

@@ -1,11 +1,10 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
@@ -18,12 +17,17 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# Fold extensions
PRODUCT_SYSTEM_SERVER_JARS += \
system_ext:felix-services
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlayFelix
# Kernel
TARGET_PREBUILT_KERNEL := device/google/felix-kernel/Image.lz4
# IWLAN
PRODUCT_PACKAGES += \
Iwlan
# wireless_charger HAL service
include device/google/gs-common/wireless_charger/wireless_charger.mk
@@ -36,19 +40,16 @@ PRODUCT_PACKAGES += \
libacryl_hdr_plugin \
libexynosv4l2
# GNSS
PRODUCT_PACKAGES += \
android.hardware.sensors-V2-ndk.vendor:64
# Graphics
PRODUCT_PACKAGES += \
libEGL_angle \
libGLESv1_CM_angle \
libGLESv2_angle
# Identity credential
PRODUCT_PACKAGES += \
android.hardware.identity_credential.xml
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal
# Properties
TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop

View File

@@ -1,7 +1,7 @@
<compatibility-matrix version="1.0" type="framework" level="7">
<hal format="aidl" optional="true">
<name>com.google.hardware.pixel.display</name>
<version>10</version>
<version>13</version>
<interface>
<name>IDisplay</name>
<instance>secondary</instance>

View File

@@ -4,8 +4,8 @@
"target_path": "device/google/gs201"
},
{
"repository": "device/google/felix-kernel",
"target_path": "device/google/felix-kernel",
"repository": "device/google/felix-kernels/6.1",
"target_path": "device/google/felix-kernels/6.1",
"remote": "aosp-felix"
}
]

13
extract-files.py Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)"
pushd "${MY_DIR}/felix"
./extract-files.py $@
popd

View File

@@ -1,149 +0,0 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=felix
VENDOR=google
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
# If XML files don't have comments before the XML header, use this flag
# Can still be used with broken XML files by using blob_fixup
export TARGET_DISABLE_XML_FIXING=true
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"
exit 1
fi
source "${HELPER}"
# Default to sanitizing the vendor folder before extraction
CLEAN_VENDOR=true
ONLY_FIRMWARE=
KANG=
SECTION=
CARRIER_SKIP_FILES=()
VENDOR_SKIP_FILES=()
while [ "${#}" -gt 0 ]; do
case "${1}" in
--only-firmware)
ONLY_FIRMWARE=true
;;
-n | --no-cleanup)
CLEAN_VENDOR=false
;;
-k | --kang)
KANG="--kang"
;;
-s | --section)
SECTION="${2}"
shift
CLEAN_VENDOR=false
;;
*)
SRC="${1}"
;;
esac
shift
done
if [ -z "${SRC}" ]; then
SRC="adb"
fi
function blob_fixup() {
case "${1}" in
product/etc/felica/common.cfg)
[ "$2" = "" ] && return 0
sed -i -e '$a00000018,1' -e '/^00000014/d' -e '/^00000015/d' "${2}"
;;
vendor/etc/init/init.modem_logging_control.rc)
[ "$2" = "" ] && return 0
sed -i 's/ && property:ro.debuggable=0//' "${2}"
;;
*)
return 1
;;
esac
return 0
}
function blob_fixup_dry() {
blob_fixup "$1" ""
}
function prepare_firmware() {
if [ "${SRC}" != "adb" ]; then
bash "${ANDROID_ROOT}"/lineage/scripts/pixel/prepare-firmware.sh "${DEVICE}" "${SRC}"
fi
}
# Initialize the helper
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
if [ -z "${ONLY_FIRMWARE}" ]; then
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
generate_prop_list_from_image "product.img" "${MY_DIR}/proprietary-files-carriersettings.txt" CARRIER_SKIP_FILES carriersettings
extract "${MY_DIR}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
readarray -t VENDOR_SKIP_FILES < <(cat "${MY_DIR}/skip-files-vendor.txt" | sed -E "/^[[:blank:]]*(#|$)/d")
VENDOR_TXT="${MY_DIR}/proprietary-files-vendor.txt"
generate_prop_list_from_image "vendor.img" "${VENDOR_TXT}" VENDOR_SKIP_FILES
# flp.default & gps.default have incorrect SONAME
# libExynosC2*Dec & libExynosC2*Enc depend on libacryl & libexynosv4l2, which are gnu makefile targets
set_disable_checkelf "vendor/lib/libExynosC2H263Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H263Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H264Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2H264Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2HevcDec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2HevcEnc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Mpeg4Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Mpeg4Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp8Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp8Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp9Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib/libExynosC2Vp9Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/hw/flp.default.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/hw/gps.default.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H263Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H263Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H264Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2H264Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2HevcDec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2HevcEnc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Mpeg4Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Mpeg4Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp8Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp8Enc.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp9Dec.so" "${VENDOR_TXT}"
set_disable_checkelf "vendor/lib64/libExynosC2Vp9Enc.so" "${VENDOR_TXT}"
set_module_suffix "vendor/lib/com.google.edgetpu_app_service-V3-ndk.so" "-vendor" "${VENDOR_TXT}"
set_module_suffix "vendor/lib64/com.google.edgetpu_app_service-V3-ndk.so" "-vendor" "${VENDOR_TXT}"
set_module_suffix "vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so" "-vendor" "${VENDOR_TXT}"
extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}"
fi
if [ -z "${SECTION}" ]; then
extract_firmware "${MY_DIR}/proprietary-firmware.txt" "${SRC}"
fi
"${MY_DIR}/setup-makefiles.sh"

11
felix/Android.bp Normal file
View File

@@ -0,0 +1,11 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "init.recovery.felix.touch.rc",
src: "init.recovery.touch.rc",
sub_dir: "init",
recovery: true,
}

View File

@@ -21,18 +21,15 @@ USES_DEVICE_GOOGLE_FELIX := true
BOARD_KERNEL_CMDLINE += swiotlb=noforce
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_FELIX_RADIO_DIR)
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
else
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
endif
RELEASE_GOOGLE_BOOTLOADER_FELIX_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_FELIX_DIR)
$(call soong_config_set,felix_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_FELIX_DIR))
# Enable load module in parallel
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_KERNEL_CMDLINE += panel-samsung-ana6707-f10.load_sequential=1
BOARD_KERNEL_CMDLINE += s2mpg12-regulator.load_sequential=1
@@ -42,8 +39,12 @@ USES_IDISPLAY_INTF_SEC := true
include device/google/gs201/BoardConfig-common.mk
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
-include vendor/google_devices/felix/proprietary/BoardConfigVendor.mk
include device/google/felix/sepolicy/felix-sepolicy.mk
include device/google/felix/wifi/BoardConfig-wifi.mk
include device/google/felix/felix/BoardConfigLineage.mk
DEVICE_PATH := device/google/felix
VENDOR_PATH := vendor/google/felix
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk

View File

@@ -0,0 +1,6 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
include $(DEVICE_PATH)/BoardConfigEvolution.mk

View File

@@ -1,9 +1,9 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
include device/google/felix/BoardConfigLineage.mk
include $(DEVICE_PATH)/BoardConfigLineage.mk
include vendor/google/felix/BoardConfigVendor.mk
include $(VENDOR_PATH)/BoardConfigVendor.mk

View File

@@ -0,0 +1,8 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-evolution.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-evolution

13
felix/device-lineage.mk Normal file
View File

@@ -0,0 +1,13 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
# Init
PRODUCT_PACKAGES += \
init.recovery.felix.touch.rc

107
felix/extract-files.py Executable file
View File

@@ -0,0 +1,107 @@
#!/usr/bin/env -S PYTHONPATH=../../../../tools/extract-utils python3
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
from extract_utils.extract import extract_fns_user_type
from extract_utils.extract_pixel import (
extract_pixel_factory_image,
extract_pixel_firmware,
pixel_factory_image_regex,
pixel_firmware_regex,
)
from extract_utils.file import FileArgs, FileList
from extract_utils.fixups_blob import (
blob_fixup,
blob_fixups_user_type,
)
from extract_utils.fixups_lib import (
lib_fixup_remove,
lib_fixups,
lib_fixups_user_type,
)
from extract_utils.main import (
ExtractUtils,
ExtractUtilsModule,
)
namespace_imports = [
'device/google/felix',
'hardware/google/av',
'hardware/google/gchips',
'hardware/google/graphics/common',
'hardware/google/interfaces',
'hardware/google/pixel',
]
def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs):
return f'{lib}_{partition}' if partition == 'vendor' else None
lib_fixups: lib_fixups_user_type = {
**lib_fixups,
(
'com.google.edgetpu_app_service-V3-ndk',
'com.google.edgetpu_vendor_service-V2-ndk',
): lib_fixup_vendor_suffix,
'android.hardware.sensors-V2-ndk': lib_fixup_remove,
}
blob_fixups: blob_fixups_user_type = {
'product/etc/felica/common.cfg': blob_fixup()
.patch_file('osaifu-keitai.patch'),
'vendor/etc/init/init.modem_logging_control.rc': blob_fixup()
.regex_replace(' && property:ro.debuggable=0', ''),
} # fmt: skip
extract_fns: extract_fns_user_type = {
pixel_factory_image_regex: extract_pixel_factory_image,
pixel_firmware_regex: extract_pixel_firmware,
}
module = ExtractUtilsModule(
'felix',
'google',
device_rel_path='device/google/felix/felix',
blob_fixups=blob_fixups,
lib_fixups=lib_fixups,
namespace_imports=namespace_imports,
add_generated_carriersettings_file=True,
add_firmware_proprietary_file=True,
extract_fns=extract_fns,
)
def fix_vendor_file_list(file_list: FileList):
# flp.default & gps.default have incorrect SONAME
# gpsd depends on android.hardware.sensors-V2-ndk & android.hardware.sensors-V3-ndk
disable_checkelf_file_paths = [
'vendor/bin/hw/gpsd',
'vendor/lib64/hw/flp.default.so',
'vendor/lib64/hw/gps.default.so',
]
for file_path in disable_checkelf_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.DISABLE_CHECKELF, True)
module_suffix_file_paths = [
'vendor/lib/com.google.edgetpu_app_service-V3-ndk.so',
'vendor/lib64/com.google.edgetpu_app_service-V3-ndk.so',
'vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so',
]
for file_path in module_suffix_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.MODULE_SUFFIX, '_vendor')
module.add_generated_proprietary_file(
'proprietary-files-vendor.txt',
partition='vendor',
skip_file_list_name='skip-files-vendor.txt',
fix_file_list=fix_vendor_file_list,
)
if __name__ == '__main__':
utils = ExtractUtils.device(module)
utils.run()

View File

@@ -0,0 +1,4 @@
on init
insmod /lib/modules/goog_touch_interface.ko
insmod /lib/modules/fst2.ko
insmod /lib/modules/ftm5.ko

24
felix/osaifu-keitai.patch Normal file
View File

@@ -0,0 +1,24 @@
From aab255f2807cfc460c0dce40decd5554d49c0076 Mon Sep 17 00:00:00 2001
From: jabashque <jabashque@gmail.com>
Date: Mon, 5 Feb 2024 21:36:03 +0000
Subject: [PATCH 1/1] Enable Osaifu-Keitai on non-Japanese SKUs
---
common.cfg | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common.cfg b/common.cfg
index 3b78765..00f53cb 100644
--- a/common.cfg
+++ b/common.cfg
@@ -11,6 +11,5 @@
02030001,0
02030002,0
02030003,intent:#Intent;action=android.settings.NFC_SETTINGS;end
-00000014,content://com.google.android.pixelnfc.provider.DeviceInfoContentProvider/isJapanSku
-00000015,is_japan_sku
00000016,0001
+00000018,1
--
2.47.0

View File

@@ -221,6 +221,9 @@
<!-- Indicates whether to enable hinge angle sensor when using unfold animation -->
<bool name="config_unfoldTransitionHingeAngle">true</bool>
<!-- Indicates whether to enable haptics during unfold animation -->
<bool name="config_unfoldTransitionHapticsEnabled">true</bool>
<!-- Timeout for receiving the keyguard drawn event from System UI. -->
<integer name="config_keyguardDrawnTimeout">1700</integer>

View File

@@ -16,6 +16,6 @@
*/
-->
<resources>
<!-- for 20dp of padding at 3.5px/dp at default density -->
<dimen name="rounded_corner_content_padding">50px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">14dp</dimen>
</resources>

View File

@@ -151,13 +151,17 @@
</array>
<!-- Additional power used when screen is ambient mode -->
<item name="ambient.on">32</item>
<item name="ambient.on.display0">32</item>
<item name="ambient.on.display1">32</item>
<!-- Additional power used when screen is turned on at minimum brightness -->
<item name="screen.on">98</item>
<item name="screen.on.display0">98</item>
<item name="screen.on.display1">98</item>
<!-- Additional power used when screen is at maximum brightness, compared to
screen at minimum brightness -->
<item name="screen.full">470</item>
<item name="screen.full.display0">470</item>
<item name="screen.full.display1">470</item>
<!-- Average power used by the camera flash module when on -->
<item name="camera.flashlight">240.47</item>

View File

@@ -16,10 +16,6 @@
*/
-->
<resources>
<!-- Landscape, just use the regular values -->
<dimen name="status_bar_padding_start">8dp</dimen>
<dimen name="status_bar_padding_end">8dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">0dp</dimen>
</resources>

View File

@@ -16,7 +16,7 @@
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AuthCredentialPatternContainerStyle">
<style name="AuthNonBioCredentialPatternContainerStyle">
<item name="android:gravity">center</item>
<item name="android:maxHeight">@dimen/biometric_auth_pattern_view_max_size</item>
<item name="android:maxWidth">@dimen/biometric_auth_pattern_view_max_size</item>

View File

@@ -148,5 +148,8 @@
4 : DEVICE_POSTURE_FLIPPED
-->
<integer name="config_face_auth_supported_posture">1</integer>
<!-- Whether to use a machine learning model for back gesture falsing. -->
<bool name="config_useBackGestureML">false</bool>
</resources>

View File

@@ -16,21 +16,20 @@
*/
-->
<resources>
<!-- Don't need the left side padding due to being inset from the cutout -->
<!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">0dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">1px</dimen>
<!-- Padding for the system icons on the keyguard (when no multi user switch is showing).
The icons always have a 4dp padding in the container so we only need 56 extra px of padding
for the corners -->
<dimen name="system_icons_super_container_avatarless_margin_end">11px</dimen>
<!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height_default</dimen>
<!-- Multi user switch has some intrinsic padding to it -->
<dimen name="multi_user_switch_keyguard_margin">40px</dimen>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<dimen name="keyguard_carrier_text_margin">0px</dimen>
<!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="ongoing_appops_dot_min_padding">14dp</dimen>
<dimen name="config_rounded_mask_size">71px</dimen>
<dimen name="config_rounded_mask_size_top">71px</dimen>

View File

@@ -1,6 +1,8 @@
# All blobs below are extracted from the release mentioned in proprietary-files.txt
product/etc/CarrierSettings/1and1_de.pb
product/etc/CarrierSettings/2degrees_nz.pb
product/etc/CarrierSettings/321communications_us.pb
product/etc/CarrierSettings/48_ie.pb
product/etc/CarrierSettings/4ka_sk.pb
product/etc/CarrierSettings/a1_at.pb
product/etc/CarrierSettings/a1_bg.pb
@@ -8,9 +10,13 @@ product/etc/CarrierSettings/a1_hr.pb
product/etc/CarrierSettings/a1_mk.pb
product/etc/CarrierSettings/a1_si.pb
product/etc/CarrierSettings/ahamo_jp.pb
product/etc/CarrierSettings/airbus_de.pb
product/etc/CarrierSettings/airbus_fr.pb
product/etc/CarrierSettings/airtel_in.pb
product/etc/CarrierSettings/ais_th.pb
product/etc/CarrierSettings/alcom_fi.pb
product/etc/CarrierSettings/altice_us.pb
product/etc/CarrierSettings/alticeroaming_us.pb
product/etc/CarrierSettings/andorratelecom_ad.pb
product/etc/CarrierSettings/antel_uy.pb
product/etc/CarrierSettings/appalachian_us.pb
@@ -18,12 +24,14 @@ product/etc/CarrierSettings/apt_tw.pb
product/etc/CarrierSettings/asda_gb.pb
product/etc/CarrierSettings/assurance_us.pb
product/etc/CarrierSettings/astca_as.pb
product/etc/CarrierSettings/astoundbroadband_us.pb
product/etc/CarrierSettings/att5g_us.pb
product/etc/CarrierSettings/att5gsa_us.pb
product/etc/CarrierSettings/att_mx.pb
product/etc/CarrierSettings/att_us.pb
product/etc/CarrierSettings/attbootstrap_us.pb
product/etc/CarrierSettings/attmvnos_us.pb
product/etc/CarrierSettings/axis_id.pb
product/etc/CarrierSettings/base_be.pb
product/etc/CarrierSettings/batelco_bh.pb
product/etc/CarrierSettings/bell_ca.pb
@@ -49,7 +57,11 @@ product/etc/CarrierSettings/chatr_ca.pb
product/etc/CarrierSettings/chinamobile_hk.pb
product/etc/CarrierSettings/cht_tw.pb
product/etc/CarrierSettings/cityfone_ca.pb
product/etc/CarrierSettings/claro_br.pb
product/etc/CarrierSettings/claro_cl.pb
product/etc/CarrierSettings/claro_co.pb
product/etc/CarrierSettings/claro_pr.pb
product/etc/CarrierSettings/commonmvnxatt_us.pb
product/etc/CarrierSettings/congstar_de.pb
product/etc/CarrierSettings/consumercellularatt_us.pb
product/etc/CarrierSettings/consumercellulartmo_us.pb
@@ -64,6 +76,7 @@ product/etc/CarrierSettings/cspire_us.pb
product/etc/CarrierSettings/default.pb
product/etc/CarrierSettings/digi_hu.pb
product/etc/CarrierSettings/digi_my.pb
product/etc/CarrierSettings/digi_pt.pb
product/etc/CarrierSettings/digi_ro.pb
product/etc/CarrierSettings/digimobil_es.pb
product/etc/CarrierSettings/dish5gsa_us.pb
@@ -72,15 +85,20 @@ product/etc/CarrierSettings/dito_ph.pb
product/etc/CarrierSettings/dna_fi.pb
product/etc/CarrierSettings/docomo_jp.pb
product/etc/CarrierSettings/docomomvno_jp.pb
product/etc/CarrierSettings/docomopacific_us.pb
product/etc/CarrierSettings/dtac_th.pb
product/etc/CarrierSettings/du_ae.pb
product/etc/CarrierSettings/eastlink_ca.pb
product/etc/CarrierSettings/ee_gb.pb
product/etc/CarrierSettings/eeyoumobility_ca.pb
product/etc/CarrierSettings/eir_ie.pb
product/etc/CarrierSettings/elisa1_fi.pb
product/etc/CarrierSettings/elisa2_fi.pb
product/etc/CarrierSettings/elisa_ee.pb
product/etc/CarrierSettings/enetworks_gy.pb
product/etc/CarrierSettings/enreach_nl.pb
product/etc/CarrierSettings/entel_cl.pb
product/etc/CarrierSettings/epic_mt.pb
product/etc/CarrierSettings/eplus_de.pb
product/etc/CarrierSettings/erate_no.pb
product/etc/CarrierSettings/esn_gb.pb
@@ -90,7 +108,7 @@ product/etc/CarrierSettings/evolve_us.pb
product/etc/CarrierSettings/fastweb_it.pb
product/etc/CarrierSettings/fet_tw.pb
product/etc/CarrierSettings/fi_at.pb
product/etc/CarrierSettings/fi_us.pb
product/etc/CarrierSettings/fi_tmo_us.pb
product/etc/CarrierSettings/fido_ca.pb
product/etc/CarrierSettings/finetwork_es.pb
product/etc/CarrierSettings/firstnet_us.pb
@@ -98,7 +116,10 @@ product/etc/CarrierSettings/firstnetpacific2_us.pb
product/etc/CarrierSettings/firstnetpacific_us.pb
product/etc/CarrierSettings/fizz_ca.pb
product/etc/CarrierSettings/fl1_li.pb
product/etc/CarrierSettings/foroyatele_fo.pb
product/etc/CarrierSettings/free_fr.pb
product/etc/CarrierSettings/free_gp.pb
product/etc/CarrierSettings/free_mq.pb
product/etc/CarrierSettings/free_re.pb
product/etc/CarrierSettings/freedommobile_ca.pb
product/etc/CarrierSettings/gamma_gb.pb
@@ -107,6 +128,8 @@ product/etc/CarrierSettings/gibtel_gi.pb
product/etc/CarrierSettings/giffgaff_gb.pb
product/etc/CarrierSettings/giga_sg.pb
product/etc/CarrierSettings/globe_ph.pb
product/etc/CarrierSettings/gomobile_mt.pb
product/etc/CarrierSettings/grameenphone_bd.pb
product/etc/CarrierSettings/guuk_es.pb
product/etc/CarrierSettings/h3_at.pb
product/etc/CarrierSettings/h3_gb.pb
@@ -114,6 +137,7 @@ product/etc/CarrierSettings/h3_ie.pb
product/etc/CarrierSettings/h3_se.pb
product/etc/CarrierSettings/h3g27202_ie.pb
product/etc/CarrierSettings/halebop_se.pb
product/etc/CarrierSettings/helium_us.pb
product/etc/CarrierSettings/help_at.pb
product/etc/CarrierSettings/homobile_it.pb
product/etc/CarrierSettings/hotmobile_il.pb
@@ -121,9 +145,15 @@ product/etc/CarrierSettings/ice_no.pb
product/etc/CarrierSettings/idea_in.pb
product/etc/CarrierSettings/idmobile_gb.pb
product/etc/CarrierSettings/iliad_it.pb
product/etc/CarrierSettings/indosat_id.pb
product/etc/CarrierSettings/inland_us.pb
product/etc/CarrierSettings/iwireless_us.pb
product/etc/CarrierSettings/jazz_pk.pb
product/etc/CarrierSettings/jazztel_es.pb
product/etc/CarrierSettings/jcommobile_jp.pb
product/etc/CarrierSettings/kddi5gsa_jp.pb
product/etc/CarrierSettings/kddi_jp.pb
product/etc/CarrierSettings/kddimvno5gsa_jp.pb
product/etc/CarrierSettings/kddimvno_jp.pb
product/etc/CarrierSettings/kena_it.pb
product/etc/CarrierSettings/koodo_ca.pb
@@ -131,6 +161,7 @@ product/etc/CarrierSettings/kpn_nl.pb
product/etc/CarrierSettings/lebara_es.pb
product/etc/CarrierSettings/lebara_fr.pb
product/etc/CarrierSettings/lebara_gb.pb
product/etc/CarrierSettings/lebara_nl.pb
product/etc/CarrierSettings/liberty_pr.pb
product/etc/CarrierSettings/lifecell_ua.pb
product/etc/CarrierSettings/linemo_jp.pb
@@ -140,18 +171,33 @@ product/etc/CarrierSettings/lowi_es.pb
product/etc/CarrierSettings/luckymobile_ca.pb
product/etc/CarrierSettings/lum_ca.pb
product/etc/CarrierSettings/lyca_es.pb
product/etc/CarrierSettings/lyca_us.pb
product/etc/CarrierSettings/lycamobile_gb.pb
product/etc/CarrierSettings/lycamobile_pt.pb
product/etc/CarrierSettings/lycamobile_se.pb
product/etc/CarrierSettings/m1_sg.pb
product/etc/CarrierSettings/magticom_ge.pb
product/etc/CarrierSettings/manxcontract_im.pb
product/etc/CarrierSettings/manxprepaid_im.pb
product/etc/CarrierSettings/masmovil_es.pb
product/etc/CarrierSettings/maxis_my.pb
product/etc/CarrierSettings/mediacom_us.pb
product/etc/CarrierSettings/melita_mt.pb
product/etc/CarrierSettings/meo_pt.pb
product/etc/CarrierSettings/metropcs_us.pb
product/etc/CarrierSettings/mobifone_vn.pb
product/etc/CarrierSettings/mobily_sa.pb
product/etc/CarrierSettings/monacotelecom_mc.pb
product/etc/CarrierSettings/movistar_co.pb
product/etc/CarrierSettings/movistar_es.pb
product/etc/CarrierSettings/movistar_mx.pb
product/etc/CarrierSettings/mucho_ch.pb
product/etc/CarrierSettings/mvnoconnect_us.pb
product/etc/CarrierSettings/nema_fo.pb
product/etc/CarrierSettings/netcomgroup_fr.pb
product/etc/CarrierSettings/nexphone_ch.pb
product/etc/CarrierSettings/nextech_us.pb
product/etc/CarrierSettings/no_sim.pb
product/etc/CarrierSettings/nos_pt.pb
product/etc/CarrierSettings/nova_gr.pb
product/etc/CarrierSettings/nova_is.pb
@@ -162,9 +208,12 @@ product/etc/CarrierSettings/o2postpaid_gb.pb
product/etc/CarrierSettings/o2prepaid_de.pb
product/etc/CarrierSettings/o2prepaid_gb.pb
product/etc/CarrierSettings/omantel_om.pb
product/etc/CarrierSettings/one_me.pb
product/etc/CarrierSettings/onecall_no.pb
product/etc/CarrierSettings/only_yt.pb
product/etc/CarrierSettings/ooredoo_kw.pb
product/etc/CarrierSettings/ooredoo_qa.pb
product/etc/CarrierSettings/optimera_us.pb
product/etc/CarrierSettings/optus_au.pb
product/etc/CarrierSettings/orange_be.pb
product/etc/CarrierSettings/orange_es.pb
@@ -182,18 +231,24 @@ product/etc/CarrierSettings/pcmobilebell_ca.pb
product/etc/CarrierSettings/pelephone_il.pb
product/etc/CarrierSettings/pepephone_es.pb
product/etc/CarrierSettings/play_pl.pb
product/etc/CarrierSettings/plintron_us.pb
product/etc/CarrierSettings/plus_pl.pb
product/etc/CarrierSettings/post_lu.pb
product/etc/CarrierSettings/postemobile_it.pb
product/etc/CarrierSettings/povo5gsa_jp.pb
product/etc/CarrierSettings/povo_jp.pb
product/etc/CarrierSettings/proximus_be.pb
product/etc/CarrierSettings/publicmobile_ca.pb
product/etc/CarrierSettings/pwg_us.pb
product/etc/CarrierSettings/qlink_us.pb
product/etc/CarrierSettings/r_es.pb
product/etc/CarrierSettings/racc_es.pb
product/etc/CarrierSettings/rakuten_jp.pb
product/etc/CarrierSettings/reachmobileatt_us.pb
product/etc/CarrierSettings/redpocketatt_us.pb
product/etc/CarrierSettings/redpockettmo_us.pb
product/etc/CarrierSettings/republicwireless_us.pb
product/etc/CarrierSettings/rjio_in.pb
product/etc/CarrierSettings/robi_bd.pb
product/etc/CarrierSettings/rogers5g_ca.pb
product/etc/CarrierSettings/rogers_ca.pb
product/etc/CarrierSettings/rogerswpn_ca.pb
@@ -210,34 +265,47 @@ product/etc/CarrierSettings/singtel_sg.pb
product/etc/CarrierSettings/skinny_nz.pb
product/etc/CarrierSettings/skt_kr.pb
product/etc/CarrierSettings/sky_gb.pb
product/etc/CarrierSettings/sky_ie.pb
product/etc/CarrierSettings/skylo_zz.pb
product/etc/CarrierSettings/smart_ph.pb
product/etc/CarrierSettings/smartfren_id.pb
product/etc/CarrierSettings/smartone_hk.pb
product/etc/CarrierSettings/smarty_gb.pb
product/etc/CarrierSettings/softbank_jp.pb
product/etc/CarrierSettings/solomobile_ca.pb
product/etc/CarrierSettings/spark_nz.pb
product/etc/CarrierSettings/spectrum_us.pb
product/etc/CarrierSettings/spectrummso_us.pb
product/etc/CarrierSettings/spectrummsotest_us.pb
product/etc/CarrierSettings/spmtelecom_pm.pb
product/etc/CarrierSettings/sprint_us.pb
product/etc/CarrierSettings/sprintprepaid_us.pb
product/etc/CarrierSettings/sprintwholesale_us.pb
product/etc/CarrierSettings/spusu_at.pb
product/etc/CarrierSettings/spusu_ch.pb
product/etc/CarrierSettings/spusu_gb.pb
product/etc/CarrierSettings/spusu_it.pb
product/etc/CarrierSettings/ssimobile_ca.pb
product/etc/CarrierSettings/starhub_sg.pb
product/etc/CarrierSettings/stc_bh.pb
product/etc/CarrierSettings/stc_kw.pb
product/etc/CarrierSettings/stc_sa.pb
product/etc/CarrierSettings/strata_us.pb
product/etc/CarrierSettings/sunrise_ch.pb
product/etc/CarrierSettings/superdrug_gb.pb
product/etc/CarrierSettings/sweno_es.pb
product/etc/CarrierSettings/swisscom_ch.pb
product/etc/CarrierSettings/swisscom_li.pb
product/etc/CarrierSettings/swisscommvno_ch.pb
product/etc/CarrierSettings/talkmobile_gb.pb
product/etc/CarrierSettings/tango_lu.pb
product/etc/CarrierSettings/tango_us.pb
product/etc/CarrierSettings/tbaytel_ca.pb
product/etc/CarrierSettings/tchibo_at.pb
product/etc/CarrierSettings/tchibo_de.pb
product/etc/CarrierSettings/tdc_dk.pb
product/etc/CarrierSettings/telavox_be.pb
product/etc/CarrierSettings/telavox_se.pb
product/etc/CarrierSettings/telcel_mx.pb
product/etc/CarrierSettings/telco_re.pb
product/etc/CarrierSettings/tele2_ee.pb
@@ -249,15 +317,18 @@ product/etc/CarrierSettings/telekom_de.pb
product/etc/CarrierSettings/telekom_gr.pb
product/etc/CarrierSettings/telekom_hr.pb
product/etc/CarrierSettings/telekom_hu.pb
product/etc/CarrierSettings/telekom_me.pb
product/etc/CarrierSettings/telekom_mk.pb
product/etc/CarrierSettings/telekom_pl.pb
product/etc/CarrierSettings/telekom_ro.pb
product/etc/CarrierSettings/telekom_si.pb
product/etc/CarrierSettings/telekom_sk.pb
product/etc/CarrierSettings/telemach_hr.pb
product/etc/CarrierSettings/telemach_si.pb
product/etc/CarrierSettings/telenet_be.pb
product/etc/CarrierSettings/telenor_dk.pb
product/etc/CarrierSettings/telenor_no.pb
product/etc/CarrierSettings/telenor_pk.pb
product/etc/CarrierSettings/telenor_se.pb
product/etc/CarrierSettings/telia_dk.pb
product/etc/CarrierSettings/telia_ee.pb
@@ -265,15 +336,21 @@ product/etc/CarrierSettings/telia_fi.pb
product/etc/CarrierSettings/telia_lt.pb
product/etc/CarrierSettings/telia_no.pb
product/etc/CarrierSettings/telia_se.pb
product/etc/CarrierSettings/telkomsel_id.pb
product/etc/CarrierSettings/tello_us.pb
product/etc/CarrierSettings/telstra_au.pb
product/etc/CarrierSettings/telus_ca.pb
product/etc/CarrierSettings/tesco_gb.pb
product/etc/CarrierSettings/test001_zz.pb
product/etc/CarrierSettings/three_dk.pb
product/etc/CarrierSettings/tigo_co.pb
product/etc/CarrierSettings/tim_br.pb
product/etc/CarrierSettings/tim_it.pb
product/etc/CarrierSettings/tmobile_at.pb
product/etc/CarrierSettings/tmobile_cz.pb
product/etc/CarrierSettings/tmobile_nl.pb
product/etc/CarrierSettings/tmobile_us.pb
product/etc/CarrierSettings/tmobileprivate_us.pb
product/etc/CarrierSettings/tmomvno_nl.pb
product/etc/CarrierSettings/tmomvno_us.pb
product/etc/CarrierSettings/tracfoneatt_us.pb
@@ -295,6 +372,7 @@ product/etc/CarrierSettings/ultra_us.pb
product/etc/CarrierSettings/umobile_my.pb
product/etc/CarrierSettings/unifi_my.pb
product/etc/CarrierSettings/unionwireless_us.pb
product/etc/CarrierSettings/unitedwireless_us.pb
product/etc/CarrierSettings/uqmobile5gsa_jp.pb
product/etc/CarrierSettings/uqmobile_jp.pb
product/etc/CarrierSettings/uscc_us.pb
@@ -302,6 +380,7 @@ product/etc/CarrierSettings/verizon_us.pb
product/etc/CarrierSettings/verymobile_it.pb
product/etc/CarrierSettings/viaero_us.pb
product/etc/CarrierSettings/videotron_ca.pb
product/etc/CarrierSettings/viettel_vn.pb
product/etc/CarrierSettings/vimla_se.pb
product/etc/CarrierSettings/vinaphone_vn.pb
product/etc/CarrierSettings/virgin_ca.pb
@@ -311,6 +390,8 @@ product/etc/CarrierSettings/virgintelco_es.pb
product/etc/CarrierSettings/visible_us.pb
product/etc/CarrierSettings/visiblev_us.pb
product/etc/CarrierSettings/viti_pf.pb
product/etc/CarrierSettings/vivacom_bg.pb
product/etc/CarrierSettings/vivo_br.pb
product/etc/CarrierSettings/vodafone_au.pb
product/etc/CarrierSettings/vodafone_cz.pb
product/etc/CarrierSettings/vodafone_de.pb
@@ -320,6 +401,7 @@ product/etc/CarrierSettings/vodafone_gr.pb
product/etc/CarrierSettings/vodafone_hu.pb
product/etc/CarrierSettings/vodafone_ie.pb
product/etc/CarrierSettings/vodafone_in.pb
product/etc/CarrierSettings/vodafone_is.pb
product/etc/CarrierSettings/vodafone_it.pb
product/etc/CarrierSettings/vodafone_nl.pb
product/etc/CarrierSettings/vodafone_nz.pb
@@ -328,10 +410,12 @@ product/etc/CarrierSettings/vodafone_pt.pb
product/etc/CarrierSettings/vodafone_qa.pb
product/etc/CarrierSettings/vodafone_ro.pb
product/etc/CarrierSettings/vodafone_tr.pb
product/etc/CarrierSettings/walmart_mx.pb
product/etc/CarrierSettings/webbing_hk.pb
product/etc/CarrierSettings/windtre_it.pb
product/etc/CarrierSettings/xfinity2_us.pb
product/etc/CarrierSettings/xfinity_us.pb
product/etc/CarrierSettings/xfinitymso_us.pb
product/etc/CarrierSettings/yes_my.pb
product/etc/CarrierSettings/yesss_at.pb
product/etc/CarrierSettings/yettel_bg.pb
@@ -341,3 +425,4 @@ product/etc/CarrierSettings/zain_bh.pb
product/etc/CarrierSettings/zain_kw.pb
product/etc/CarrierSettings/zain_sa.pb
product/etc/CarrierSettings/zeop_re.pb
product/etc/CarrierSettings/ztar_us.pb

File diff suppressed because it is too large Load Diff

View File

@@ -3,8 +3,8 @@
# product partition
# AiAi
product/priv-app/DeviceIntelligenceNetworkPrebuilt-v.U.14.playstore/DeviceIntelligenceNetworkPrebuilt-v.U.14.playstore.apk;PRESIGNED
product/priv-app/DevicePersonalizationPrebuiltPixel2022-v.U.14.playstore/DevicePersonalizationPrebuiltPixel2022-v.U.14.playstore.apk;PRESIGNED
product/priv-app/DeviceIntelligenceNetworkPrebuilt-U.32_V.7_playstore_astrea_20240725.00_RC01/DeviceIntelligenceNetworkPrebuilt-U.32_V.7_playstore_astrea_20240725.00_RC01.apk;PRESIGNED
product/priv-app/DevicePersonalizationPrebuiltPixel2022-U.32_V.7_playstore_aiai_20240725.00_RC08/DevicePersonalizationPrebuiltPixel2022-U.32_V.7_playstore_aiai_20240725.00_RC08.apk;PRESIGNED
# Audio
product/etc/ambient/matcher_tah.leveldb
@@ -20,6 +20,11 @@ product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIG
product/etc/permissions/androidx.camera.extensions.impl.xml
product/priv-app/PixelCameraServices/PixelCameraServices.apk;PRESIGNED
# Camera services
product/etc/permissions/com.google.pixel.camera.connectivity.impl.xml
product/etc/permissions/com.google.pixel.camera.services.cameraidremapper.impl.xml
product/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.impl.xml
# Felica
product/etc/felica/common.cfg
product/etc/felica/mfm.cfg
@@ -62,7 +67,7 @@ product/lib/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmengin
product/lib/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmjavaplugin.so
product/lib64/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmengine.so
product/lib64/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmjavaplugin.so
product/priv-app/CarrierSettings_signed_45.0.591154042/CarrierSettings_signed_45.0.591154042.apk;PRESIGNED
product/priv-app/CarrierSettings_signed_51.0.707712815/CarrierSettings_signed_51.0.707712815.apk;PRESIGNED
product/priv-app/CarrierWifi/CarrierWifi.apk;PRESIGNED
product/priv-app/ConnMO/ConnMO.apk
product/priv-app/DCMO/DCMO.apk
@@ -83,6 +88,11 @@ product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
product/priv-app/OemDmTrigger/OemDmTrigger.apk
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
# system partition
# IMS
system/bin/oem-iptables-init.sh
# system_ext partition
# Camera extensions
@@ -91,15 +101,26 @@ system_ext/etc/permissions/com.google.android.camerax.extensions.xml
system_ext/framework/com.google.android.camera.extensions.jar
system_ext/framework/com.google.android.camerax.extensions.jar
# Camera services
system_ext/app/PersistentBackgroundCameraServices/PersistentBackgroundCameraServices.apk
system_ext/etc/permissions/com.google.pixel.camera.connectivity.xml
system_ext/etc/permissions/com.google.pixel.camera.services.cameraidremapper.xml
system_ext/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.xml
system_ext/etc/vintf/manifest/com.google.pixel.camera.services@1.0-service-google.xml
system_ext/framework/com.google.pixel.camera.connectivity.jar
system_ext/framework/com.google.pixel.camera.services.cameraidremapper.jar
system_ext/framework/com.google.pixel.camera.services.lyricconfigprovider.jar
# Edge TPU
system_ext/bin/hw/vendor.google.edgetpu_app_service@1.0-service
system_ext/etc/init/vendor.google.edgetpu_app_service@1.0-service.rc
system_ext/etc/public.libraries-google.txt
system_ext/etc/vintf/manifest/vendor.google.edgetpu_app_service@1.0-service.xml
system_ext/lib/libedgetpu_dba.google.so
system_ext/lib64/com.google.edgetpu_app_service-V3-ndk.so
system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
system_ext/lib64/libedgetpu_dba.google.so
# Fold extensions
system_ext/framework/felix-services.jar
# HBM
system_ext/lib64/libhbmsvmanager_jni.so;SYMLINK=system_ext/priv-app/HbmSVManager/lib/arm64/libhbmsvmanager_jni.so
@@ -119,6 +140,11 @@ system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# IWLAN
system_ext/etc/permissions/privapp-permlist_com.google.pixel.iwlan.xml
system_ext/etc/sysconfig/sysconfig_com.google.pixel.iwlan.xml
system_ext/priv-app/PixelIwlan/PixelIwlan.apk
# Permissions
system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml
@@ -142,6 +168,7 @@ system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_EVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_EVT.up
system_ext/priv-app/EuiccSupportPixel/EuiccSupportPixel.apk;PRESIGNED
system_ext/priv-app/EuiccSupportPixel/esim-full-ofl-v1.img
system_ext/priv-app/EuiccSupportPixel/esim-full-v0-security.img
system_ext/priv-app/EuiccSupportPixel/esim-full-v0.img
system_ext/priv-app/EuiccSupportPixel/esim-full-v1.img
system_ext/priv-app/EuiccSupportPixelPermissions/EuiccSupportPixelPermissions.apk;PRESIGNED

View File

@@ -1,7 +1,7 @@
730000,670000
365000,335000
1810000,1835000,670000
720000,740000,670000
0,710000,730000
750000,1800000,730000
1845000,50000000,730000
1810000,1835000,335000
720000,740000,335000
0,710000,365000
750000,1800000,365000
1845000,50000000,365000
1 730000,670000 365000,335000
2 1810000,1835000,670000 1810000,1835000,335000
3 720000,740000,670000 720000,740000,335000
4 0,710000,730000 0,710000,365000
5 750000,1800000,730000 750000,1800000,365000
6 1845000,50000000,730000 1845000,50000000,365000
7

1
felix/setup-makefiles.py Executable file
View File

@@ -0,0 +1 @@
#!./extract-files.py --regenerate_makefiles

View File

@@ -1,10 +1,10 @@
# Standard build output with vendor image build enabled
apex/com.android.hardware.cas.apex
bin/[
bin/acpi
bin/awk
bin/base64
bin/basename
bin/blkdiscard
bin/blockdev
bin/boringssl_self_test32
bin/boringssl_self_test64
@@ -38,20 +38,23 @@ bin/du
bin/dump/dump_aoc
bin/dump/dump_devfreq
bin/dump/dump_display
bin/dump/dump_gti0.sh
bin/dump/dump_modem.sh
bin/dump/dump_fingerprint
bin/dump/dump_modem
bin/dump/dump_modemlog
bin/dump/dump_perf
bin/dump/dump_pixel_metrics
bin/dump/dump_power_gs201.sh
bin/dump/dump_power
bin/dump/dump_second_display
bin/dump/dump_sensors
bin/dump/dump_soc
bin/dump/dump_stm.sh
bin/dump/dump_storage
bin/dump/dump_thermal.sh
bin/dump/dump_touch.sh
bin/dump/dump_trusty.sh
bin/dump/dump_umfw_stat
bin/dump_touch/predump_gti0.sh
bin/dump_touch/predump_gti1.sh
bin/dump_touch/predump_stm.sh
bin/dumpsys
bin/echo
bin/egrep
@@ -71,6 +74,7 @@ bin/getconf
bin/getenforce
bin/getevent
bin/getfattr
bin/getopt
bin/getprop
bin/gpiodetect
bin/gpiofind
@@ -91,7 +95,7 @@ bin/hw/android.hardware.composer.hwc3-service.pixel
bin/hw/android.hardware.drm-service.clearkey
bin/hw/android.hardware.dumpstate-service
bin/hw/android.hardware.gatekeeper-service.trusty
bin/hw/android.hardware.graphics.allocator-V1-service
bin/hw/android.hardware.graphics.allocator-V2-service
bin/hw/android.hardware.health-service.gs201
bin/hw/android.hardware.health.storage-service.default
bin/hw/android.hardware.memtrack-service.pixel
@@ -101,6 +105,7 @@ bin/hw/android.hardware.power.stats-service.pixel
bin/hw/android.hardware.secure_element@1.2-service-gto
bin/hw/android.hardware.secure_element@1.2-service-gto-ese2
bin/hw/android.hardware.security.keymint-service.trusty
bin/hw/android.hardware.security.secretkeeper.trusty
bin/hw/android.hardware.sensors-service.multihal
bin/hw/android.hardware.thermal-service.pixel
bin/hw/android.hardware.usb-service
@@ -173,6 +178,7 @@ bin/pidof
bin/pixelstats-vendor
bin/pkill
bin/pmap
bin/predump_touch.sh
bin/printenv
bin/printf
bin/ps
@@ -227,6 +233,7 @@ bin/timeout
bin/toolbox
bin/top
bin/touch
bin/touch_gti_ical
bin/toybox_vendor
bin/tr
bin/true
@@ -264,10 +271,11 @@ etc/NOTICE.xml.gz
etc/a2dp_audio_policy_configuration_7_0.xml
etc/a2dp_in_audio_policy_configuration_7_0.xml
etc/aconfig_flags.pb
etc/aidl/hfp/hfp_codec_capabilities.xml
etc/aidl/le_audio/aidl_audio_set_configurations.bfbs
etc/aidl/le_audio/aidl_audio_set_configurations.json
etc/aidl/le_audio/aidl_audio_set_scenarios.bfbs
etc/aidl/le_audio/aidl_audio_set_scenarios.json
etc/aidl/le_audio/aidl_default_audio_set_configurations.json
etc/aidl/le_audio/aidl_default_audio_set_scenarios.json
etc/aoc/BLUETOOTH.dat
etc/aoc/HANDSET.dat
etc/aoc/HANDSFREE.dat
@@ -293,6 +301,7 @@ etc/boringssl_self_test.no_zygote.rc
etc/boringssl_self_test.zygote32.rc
etc/boringssl_self_test.zygote64.rc
etc/boringssl_self_test.zygote64_32.rc
etc/bpf/filterPowerSupplyEvents.o
etc/build_flags.json
etc/default_volume_tables.xml
etc/display_colordata_cal0.pb
@@ -323,20 +332,20 @@ etc/gnss/scd.conf
etc/group
etc/hearing_aid_audio_policy_configuration_7_0.xml
etc/init.common.cfg
etc/init.insmod.felix.cfg
etc/init/android.hardware.audio.service.rc
etc/init/android.hardware.boot-service.default-pixel.rc
etc/init/android.hardware.cas@1.2-service.rc
etc/init/android.hardware.drm-service.clearkey.rc
etc/init/android.hardware.dumpstate-service.rc
etc/init/android.hardware.gatekeeper-service.trusty.rc
etc/init/android.hardware.graphics.allocator-aidl-service.rc
etc/init/android.hardware.graphics.allocator2-aidl-service.rc
etc/init/android.hardware.health-service.gs201.rc
etc/init/android.hardware.power-service.pixel-libperfmgr.rc
etc/init/android.hardware.power.stats-service.pixel.rc
etc/init/android.hardware.secure_element@1.2-service-gto-ese2.rc
etc/init/android.hardware.secure_element@1.2-service-gto.rc
etc/init/android.hardware.security.keymint-service.trusty.rc
etc/init/android.hardware.security.secretkeeper.trusty.rc
etc/init/android.hardware.sensors-service-multihal.rc
etc/init/android.hardware.thermal-service.pixel.rc
etc/init/android.hardware.usb-service.rc
@@ -351,14 +360,23 @@ etc/init/health-storage-default.rc
etc/init/hostapd.android.rc
etc/init/hw/init.felix.rc
etc/init/hw/init.gs201.rc
etc/init/hw/init.gs201.storage.rc
etc/init/hw/init.gs201.usb.rc
etc/init/hwc3-pixel.rc
etc/init/init.aoc.rc
etc/init/init.fingerprint.dump.rc
etc/init/init.modem.rc
etc/init/init.module.rc
etc/init/init.pixel-mm-gs.rc
etc/init/init.pixel-perf.rc
etc/init/init.pixel.rc
etc/init/init.storage.rc
etc/init/init.touch.gti0.rc
etc/init/init.touch.gti1.rc
etc/init/init.touch.predump.rc
etc/init/libg3a_gabc.rc
etc/init/libg3a_gaf.rc
etc/init/libg3a_ghawb.rc
etc/init/memtrack.rc
etc/init/nfc-service-default.rc
etc/init/pixel-mm-gki.rc
@@ -368,6 +386,9 @@ etc/init/rebalance_interrupts-vendor.gs101.rc
etc/init/storage.gs201.rc
etc/init/vndservicemanager.rc
etc/le_audio_codec_capabilities.xml
etc/libg3a_standalone_gabc_rc
etc/libg3a_standalone_gaf_rc
etc/libg3a_standalone_ghawb_rc
etc/libnfc-hal-st.conf
etc/libse-gto-hal.conf
etc/libse-gto-hal2.conf
@@ -401,7 +422,7 @@ etc/permissions/android.hardware.camera.raw.xml
etc/permissions/android.hardware.context_hub.xml
etc/permissions/android.hardware.device_unique_attestation.xml
etc/permissions/android.hardware.fingerprint.xml
etc/permissions/android.hardware.hardware_keystore.xml
etc/permissions/android.hardware.hardware_keystore_V3.xml
etc/permissions/android.hardware.keystore.app_attest_key.xml
etc/permissions/android.hardware.location.gps.prebuilt.xml
etc/permissions/android.hardware.nfc.ese.xml
@@ -435,7 +456,6 @@ etc/permissions/android.hardware.wifi.direct.xml
etc/permissions/android.hardware.wifi.passpoint.xml
etc/permissions/android.hardware.wifi.rtt.xml
etc/permissions/android.hardware.wifi.xml
etc/permissions/android.software.contextualsearch.xml
etc/permissions/android.software.device_id_attestation.xml
etc/permissions/android.software.ipsec_tunnel_migration.xml
etc/permissions/android.software.ipsec_tunnels.xml
@@ -445,10 +465,12 @@ etc/permissions/android.software.verified_boot.xml
etc/permissions/android.software.vulkan.deqp.level.xml
etc/permissions/aosp_excluded_hardware.xml
etc/permissions/com.nxp.mifare.xml
etc/permissions/features_com.android.virt.xml
etc/permissions/handheld_core_hardware.xml
etc/permissions/vendor.android.hardware.camera.preview-dis.xml
etc/powerhint.json
etc/r_submix_audio_policy_configuration.xml
etc/selinux/genfs_labels_version.txt
etc/selinux/plat_pub_versioned.cil
etc/selinux/plat_sepolicy_vers.txt
etc/selinux/precompiled_sepolicy
@@ -458,6 +480,7 @@ etc/selinux/precompiled_sepolicy.system_ext_sepolicy_and_mapping.sha256
etc/selinux/selinux_denial_metadata
etc/selinux/vendor_file_contexts
etc/selinux/vendor_hwservice_contexts
etc/selinux/vendor_keystore2_key_contexts
etc/selinux/vendor_mac_permissions.xml
etc/selinux/vendor_property_contexts
etc/selinux/vendor_seapp_contexts
@@ -538,6 +561,7 @@ etc/vintf/manifest/android.hardware.health-service.gs201.xml
etc/vintf/manifest/android.hardware.power-service.pixel.xml
etc/vintf/manifest/android.hardware.power.stats-service.pixel.xml
etc/vintf/manifest/android.hardware.security.keymint-service.trusty.xml
etc/vintf/manifest/android.hardware.security.secretkeeper.trusty.xml
etc/vintf/manifest/android.hardware.sensors-multihal.xml
etc/vintf/manifest/android.hardware.thermal-service.pixel.xml
etc/vintf/manifest/android.hardware.usb-service.xml
@@ -549,7 +573,8 @@ etc/vintf/manifest/android.hardware.wifi.supplicant.xml
etc/vintf/manifest/bluetooth_audio.xml
etc/vintf/manifest/health-storage-default.xml
etc/vintf/manifest/hwc3-default.xml
etc/vintf/manifest/manifest_gralloc_aidl.xml
etc/vintf/manifest/manifest.xml
etc/vintf/manifest/manifest_gralloc_aidl2.xml
etc/vintf/manifest/memtrack.xml
etc/vintf/manifest/nfc-service-default.xml
etc/vintf/manifest/pixel-display-default.xml
@@ -577,7 +602,7 @@ firmware/fast_switch5.txt
firmware/fast_switch6.txt
firmware/fast_switch7.txt
firmware/fast_switch8.txt
lib/android.hardware.audio.common-V3-ndk.so
lib/android.hardware.audio.common-V4-ndk.so
lib/android.hardware.audio.common-util.so
lib/android.hardware.audio.common@2.0.so
lib/android.hardware.audio.common@5.0.so
@@ -591,13 +616,13 @@ lib/android.hardware.audio.effect@7.0.so
lib/android.hardware.audio@7.0.so
lib/android.hardware.audio@7.1-util.so
lib/android.hardware.audio@7.1.so
lib/android.hardware.bluetooth.audio-V4-ndk.so
lib/android.hardware.bluetooth.audio-V5-ndk.so
lib/android.hardware.bluetooth.audio-impl.so
lib/android.hardware.bluetooth.audio@2.0.so
lib/android.hardware.bluetooth.audio@2.1.so
lib/android.hardware.common-V2-ndk.so
lib/android.hardware.common.fmq-V1-ndk.so
lib/android.hardware.graphics.common-V5-ndk.so
lib/android.hardware.graphics.common-V6-ndk.so
lib/android.hardware.graphics.common@1.0.so
lib/android.hardware.graphics.common@1.1.so
lib/android.hardware.graphics.common@1.2.so
@@ -613,12 +638,11 @@ lib/android.hidl.allocator@1.0.so
lib/android.hidl.memory.token@1.0.so
lib/android.hidl.memory@1.0.so
lib/android.hidl.safe_union@1.0.so
lib/android.media.audio.common.types-V3-ndk.so
lib/android.media.audio.common.types-V4-ndk.so
lib/android.system.suspend-V1-ndk.so
lib/arm.graphics-V1-ndk.so
lib/hw/android.hardware.audio.effect@7.0-impl.so
lib/hw/android.hardware.audio@7.1-impl.so
lib/hw/android.hardware.graphics.mapper@4.0-impl.so
lib/hw/android.hardware.soundtrigger@2.3-impl.so
lib/hw/android.hidl.memory@1.0-impl.so
lib/hw/audio.bluetooth.default.so
@@ -628,8 +652,11 @@ lib/hw/audio.usb.default.so
lib/hw/audio.usbv2.default.so
lib/hw/gralloc.default.so
lib/hw/local_time.default.so
lib/hw/mapper.pixel.so
lib/hw/power.default.so
lib/hw/vibrator.default.so
lib/libOpenCL.so
lib/libaconfig_storage_read_api_cc.so
lib/libalsautils.so
lib/libalsautilsv2.so
lib/libaudioutils.so
@@ -673,6 +700,8 @@ lib/libxml2.so
lib/libz.so
lib/mediacas/libclearkeycasplugin.so
lib/mediadrm/libdrmclearkeyplugin.so
lib/modules/6lowpan.ko
lib/modules/8021q.ko
lib/modules/acpm_flexpmu_dbg.ko
lib/modules/acpm_mbox_test.ko
lib/modules/aoc_alsa_dev.ko
@@ -681,41 +710,54 @@ lib/modules/aoc_channel_dev.ko
lib/modules/aoc_char_dev.ko
lib/modules/aoc_control_dev.ko
lib/modules/aoc_core.ko
lib/modules/aoc_tbn_service_dev.ko
lib/modules/aoc_unit_test_dev.ko
lib/modules/aoc_usb_driver.ko
lib/modules/aoc_uwb_platform_drv.ko
lib/modules/aoc_uwb_service_dev.ko
lib/modules/arm-memlat-mon.ko
lib/modules/aqc111.ko
lib/modules/arm_dsu_pmu.ko
lib/modules/asix.ko
lib/modules/at24.ko
lib/modules/audiometrics.ko
lib/modules/ax88179_178a.ko
lib/modules/bbd_pps_gpio.ko
lib/modules/bc_max77759.ko
lib/modules/bcm47765.ko
lib/modules/bcm_dbg.ko
lib/modules/bcmdhd4389.ko
lib/modules/bigocean.ko
lib/modules/boot_device_spi.ko
lib/modules/bigwave.ko
lib/modules/bluetooth.ko
lib/modules/bsd_comp.ko
lib/modules/btbcm.ko
lib/modules/btqca.ko
lib/modules/bts.ko
lib/modules/btsdio.ko
lib/modules/can-bcm.ko
lib/modules/can-dev.ko
lib/modules/can-gw.ko
lib/modules/can-raw.ko
lib/modules/can.ko
lib/modules/cdc-acm.ko
lib/modules/cdc_eem.ko
lib/modules/cdc_ether.ko
lib/modules/cdc_ncm.ko
lib/modules/cfg80211.ko
lib/modules/cl_dsp-core.ko
lib/modules/clk_exynos.ko
lib/modules/clk_exynos_gs.ko
lib/modules/cmupmucal.ko
lib/modules/coresight-etm4x.ko
lib/modules/coresight-funnel.ko
lib/modules/coresight-replicator.ko
lib/modules/coresight-tmc.ko
lib/modules/coresight.ko
lib/modules/cp_thermal_zone.ko
lib/modules/cpif.ko
lib/modules/cpif_page.ko
lib/modules/crc-t10dif.ko
lib/modules/crct10dif_common.ko
lib/modules/crct10dif_generic.ko
lib/modules/cs40l26-core.ko
lib/modules/cs40l26-i2c.ko
lib/modules/dbgcore-dump.ko
lib/modules/debug-reboot.ko
lib/modules/debug-snapshot-debug-kinfo.ko
lib/modules/drv2624.ko
lib/modules/diag.ko
lib/modules/drm_display_helper.ko
lib/modules/dss.ko
lib/modules/dw3000-core-tests.ko
lib/modules/dw3000.ko
lib/modules/dwc3-exynos-usb.ko
lib/modules/ect_parser.ko
@@ -732,6 +774,7 @@ lib/modules/exynos-cpuhp.ko
lib/modules/exynos-cpupm.ko
lib/modules/exynos-debug-test.ko
lib/modules/exynos-dm.ko
lib/modules/exynos-drm-audio.ko
lib/modules/exynos-drm.ko
lib/modules/exynos-ecc-handler.ko
lib/modules/exynos-pcie-iommu.ko
@@ -741,15 +784,16 @@ lib/modules/exynos-pd_el3.ko
lib/modules/exynos-pd_hsi0.ko
lib/modules/exynos-pm.ko
lib/modules/exynos-pmu-if.ko
lib/modules/exynos-reboot.ko
lib/modules/exynos-seclog.ko
lib/modules/exynos_devfreq.ko
lib/modules/exynos_mct.ko
lib/modules/exynos_mfc.ko
lib/modules/exynos_pm_qos.ko
lib/modules/exynos_tty.ko
lib/modules/fips140.ko
lib/modules/fpc1020_platform_tee.ko
lib/modules/fst2.ko
lib/modules/ftdi_sio.ko
lib/modules/ftm5.ko
lib/modules/g2d.ko
lib/modules/goodixfp.ko
@@ -759,33 +803,50 @@ lib/modules/google-bms.ko
lib/modules/google-charger.ko
lib/modules/google-cpm.ko
lib/modules/google_bcl.ko
lib/modules/google_ccd.ko
lib/modules/google_dock.ko
lib/modules/google_dual_batt_gauge.ko
lib/modules/governor_memlat.ko
lib/modules/google_tcpci_shim.ko
lib/modules/gpu_cooling.ko
lib/modules/gs-chipid.ko
lib/modules/gs-drm-connector.ko
lib/modules/gs-panel.ko
lib/modules/gs_acpm.ko
lib/modules/gs_governor_memlat.ko
lib/modules/gs_governor_utils.ko
lib/modules/gs_perf_mon.ko
lib/modules/gs_thermal.ko
lib/modules/gsa.ko
lib/modules/gsa_gsc.ko
lib/modules/gvotable.ko
lib/modules/gxp.ko
lib/modules/gzvm.ko
lib/modules/hall_sensor.ko
lib/modules/hardlockup-debug.ko
lib/modules/hardlockup-watchdog.ko
lib/modules/hci_uart.ko
lib/modules/heatmap.ko
lib/modules/hidp.ko
lib/modules/i2c-acpm.ko
lib/modules/i2c-dev.ko
lib/modules/i2c-exynos5.ko
lib/modules/ieee802154.ko
lib/modules/ieee802154_6lowpan.ko
lib/modules/ieee802154_socket.ko
lib/modules/itmon.ko
lib/modules/janeiro.ko
lib/modules/kernel-top.ko
lib/modules/keycombo.ko
lib/modules/keydebug.ko
lib/modules/kheaders.ko
lib/modules/l2tp_core.ko
lib/modules/l2tp_ppp.ko
lib/modules/libarc4.ko
lib/modules/ln8411.ko
lib/modules/logbuffer.ko
lib/modules/lwis.ko
lib/modules/lzo-rle.ko
lib/modules/lzo.ko
lib/modules/mac80211.ko
lib/modules/mac802154.ko
lib/modules/mailbox-wc.ko
lib/modules/mali_kbase.ko
lib/modules/mali_kutf.ko
@@ -796,25 +857,50 @@ lib/modules/max20339.ko
lib/modules/max77729-pmic.ko
lib/modules/max77729_charger.ko
lib/modules/max77729_uic.ko
lib/modules/max77759_charger.ko
lib/modules/max77759-charger.ko
lib/modules/max77759_contaminant.ko
lib/modules/max77759_helper.ko
lib/modules/max77779-charger-i2c.ko
lib/modules/max77779-charger.ko
lib/modules/max77779-fg-i2c.ko
lib/modules/max77779-fg.ko
lib/modules/max77779-fwupdate.ko
lib/modules/max77779-sp-i2c.ko
lib/modules/max77779-sp.ko
lib/modules/max77779-vimon-i2c.ko
lib/modules/max77779-vimon.ko
lib/modules/max77779_contaminant.ko
lib/modules/max77779_i2cm.ko
lib/modules/max77779_i2cm_i2c.ko
lib/modules/max77779_pmic.ko
lib/modules/max77779_pmic_i2c.ko
lib/modules/max77779_pmic_irq.ko
lib/modules/max77779_pmic_pinctrl.ko
lib/modules/max77779_pmic_sgpio.ko
lib/modules/max777x9_contaminant.ko
lib/modules/mcps802154.ko
lib/modules/mcps802154_region_fira.ko
lib/modules/mcps802154_region_nfcc_coex.ko
lib/modules/mcps802154_region_pctt.ko
lib/modules/memlat-devfreq.ko
lib/modules/mii.ko
lib/modules/modules.alias
lib/modules/modules.blocklist
lib/modules/modules.dep
lib/modules/modules.load
lib/modules/modules.softdep
lib/modules/nfc.ko
lib/modules/nhc_dest.ko
lib/modules/nhc_fragment.ko
lib/modules/nhc_hop.ko
lib/modules/nhc_ipv6.ko
lib/modules/nhc_mobility.ko
lib/modules/nhc_routing.ko
lib/modules/nhc_udp.ko
lib/modules/nitrous.ko
lib/modules/null_blk.ko
lib/modules/odpm.ko
lib/modules/overheat_mitigation.ko
lib/modules/odpm-whi.ko
lib/modules/p9221.ko
lib/modules/panel-boe-nt37290.ko
lib/modules/panel-common.ko
lib/modules/panel-samsung-ana6707-f10.ko
lib/modules/panel-samsung-drv.ko
lib/modules/panel-samsung-ea8182-f10.ko
@@ -827,16 +913,17 @@ lib/modules/panel-samsung-s6e3hc3.ko
lib/modules/panel-samsung-s6e3hc4.ko
lib/modules/panel-samsung-sofef01.ko
lib/modules/pca9468.ko
lib/modules/pcie-exynos-core.ko
lib/modules/pcie-exynos-gs.ko
lib/modules/pcie-exynos-gs201-rc-cal.ko
lib/modules/phy-exynos-mipi-dsim.ko
lib/modules/phy-exynos-mipi.ko
lib/modules/phy-exynos-usbdrd-super.ko
lib/modules/pinctrl-samsung-core.ko
lib/modules/pinctrl-exynos-gs.ko
lib/modules/pinctrl-slg51000.ko
lib/modules/pinctrl-slg51002.ko
lib/modules/pixel-boot-metrics.ko
lib/modules/pixel-debug-test.ko
lib/modules/pixel-reboot.ko
lib/modules/pixel-suspend-diag.ko
lib/modules/pixel_em.ko
lib/modules/pixel_metrics.ko
@@ -846,9 +933,20 @@ lib/modules/pkvm-s2mpu.ko
lib/modules/pl330.ko
lib/modules/pmic_class.ko
lib/modules/power_stats.ko
lib/modules/pps-gpio.ko
lib/modules/pps_core.ko
lib/modules/ppp_deflate.ko
lib/modules/ppp_generic.ko
lib/modules/ppp_mppe.ko
lib/modules/pppox.ko
lib/modules/pptp.ko
lib/modules/pwm-exynos.ko
lib/modules/r8152.ko
lib/modules/r8153_ecm.ko
lib/modules/rfcomm.ko
lib/modules/rfkill.ko
lib/modules/rt4539_bl.ko
lib/modules/rt9471_charger.ko
lib/modules/rtc-s2mpg12.ko
lib/modules/rtl8150.ko
lib/modules/s2mpg12-key.ko
lib/modules/s2mpg12-mfd.ko
lib/modules/s2mpg12-powermeter.ko
@@ -857,7 +955,7 @@ lib/modules/s2mpg13-mfd.ko
lib/modules/s2mpg13-powermeter.ko
lib/modules/s2mpg13-regulator.ko
lib/modules/s2mpg13_spmic_thermal.ko
lib/modules/s2mpg1x-gpio-gs201.ko
lib/modules/s2mpg1x-gpio.ko
lib/modules/s3c2410_wdt.ko
lib/modules/samsung-dma.ko
lib/modules/samsung-iommu-group.ko
@@ -866,7 +964,6 @@ lib/modules/samsung_dma_heap.ko
lib/modules/samsung_iommu.ko
lib/modules/sbb-mux.ko
lib/modules/sched_tp.ko
lib/modules/scsi_debug.ko
lib/modules/sg.ko
lib/modules/shm_ipc.ko
lib/modules/sjtag-driver.ko
@@ -874,23 +971,24 @@ lib/modules/slc_acpm.ko
lib/modules/slc_dummy.ko
lib/modules/slc_pmon.ko
lib/modules/slc_pt.ko
lib/modules/slcan.ko
lib/modules/slg51000-core.ko
lib/modules/slg51000-regulator.ko
lib/modules/slg51002-core.ko
lib/modules/slg51002-regulator.ko
lib/modules/slhc.ko
lib/modules/smfc.ko
lib/modules/snd-soc-cs35l41-i2c.ko
lib/modules/snd-soc-cs35l41-spi.ko
lib/modules/snd-soc-cs35l41.ko
lib/modules/snd-soc-cs35l45-i2c.ko
lib/modules/snd-soc-cs35l45-spi.ko
lib/modules/snd-soc-cs35l45.ko
lib/modules/snd-soc-cs40l26.ko
lib/modules/snd-soc-wm-adsp.ko
lib/modules/softdog.ko
lib/modules/spi-s3c64xx.ko
lib/modules/spidev.ko
lib/modules/sscoredump.ko
lib/modules/sscoredump_sample_test.ko
lib/modules/sscoredump_test.ko
lib/modules/st21nfc.ko
lib/modules/st33spi.ko
lib/modules/st54spi.ko
@@ -898,6 +996,7 @@ lib/modules/stmvl53l1.ko
lib/modules/sysrq-hook.ko
lib/modules/systrace.ko
lib/modules/tcpci_max77759.ko
lib/modules/tipc.ko
lib/modules/touch_bus_negotiator.ko
lib/modules/touch_offload.ko
lib/modules/trusty-core.ko
@@ -905,25 +1004,28 @@ lib/modules/trusty-ipc.ko
lib/modules/trusty-log.ko
lib/modules/trusty-test.ko
lib/modules/trusty-virtio.ko
lib/modules/ufs-exynos-core.ko
lib/modules/ufs-exynos-gs.ko
lib/modules/ufs-pixel-fips140.ko
lib/modules/usb_f_dm.ko
lib/modules/usb_f_dm1.ko
lib/modules/usb_f_etr_miu.ko
lib/modules/usb_f_rndis.ko
lib/modules/usb_psy.ko
lib/modules/usbc_cooling_dev.ko
lib/modules/usbnet.ko
lib/modules/usbserial.ko
lib/modules/vcan.ko
lib/modules/vh_cgroup.ko
lib/modules/vh_fs.ko
lib/modules/vh_mm.ko
lib/modules/vh_preemptirq_long.ko
lib/modules/vh_sched.ko
lib/modules/vh_thermal.ko
lib/modules/wlan_ptracker.ko
lib/modules/wwan.ko
lib/modules/xhci-exynos.ko
lib/modules/zcomp_cpu.ko
lib/modules/zcomp_eh.ko
lib/modules/zram.ko
lib/modules/zram_gs.ko
lib/modules/zsmalloc.ko
lib/server_configurable_flags.so
lib/soundfx/libaudiopreprocessing.so
@@ -935,10 +1037,11 @@ lib/soundfx/libhapticgenerator.so
lib/soundfx/libldnhncr.so
lib/soundfx/libreverbwrapper.so
lib/soundfx/libvisualizer.so
lib64/PixelVibratorFlagsL26.so
lib64/android.frameworks.sensorservice-V1-ndk.so
lib64/android.frameworks.stats-V1-ndk.so
lib64/android.frameworks.stats-V2-ndk.so
lib64/android.hardware.audio.common-V3-ndk.so
lib64/android.hardware.audio.common-V4-ndk.so
lib64/android.hardware.audio.common-util.so
lib64/android.hardware.audio.common@2.0.so
lib64/android.hardware.audio.common@5.0.so
@@ -952,7 +1055,7 @@ lib64/android.hardware.audio.effect@7.0.so
lib64/android.hardware.audio@7.0.so
lib64/android.hardware.audio@7.1-util.so
lib64/android.hardware.audio@7.1.so
lib64/android.hardware.bluetooth.audio-V4-ndk.so
lib64/android.hardware.bluetooth.audio-V5-ndk.so
lib64/android.hardware.bluetooth.audio-impl.so
lib64/android.hardware.bluetooth.audio@2.0.so
lib64/android.hardware.bluetooth.audio@2.1.so
@@ -966,19 +1069,18 @@ lib64/android.hardware.cas@1.2.so
lib64/android.hardware.common-V2-ndk.so
lib64/android.hardware.common.fmq-V1-ndk.so
lib64/android.hardware.drm-V1-ndk.so
lib64/android.hardware.drm.common-V1-ndk.so
lib64/android.hardware.dumpstate-V1-ndk.so
lib64/android.hardware.gatekeeper-V1-ndk.so
lib64/android.hardware.graphics.allocator-V1-ndk.so
lib64/android.hardware.graphics.allocator-V2-ndk.so
lib64/android.hardware.graphics.allocator@2.0.so
lib64/android.hardware.graphics.allocator@3.0.so
lib64/android.hardware.graphics.allocator@4.0.so
lib64/android.hardware.graphics.common-V3-ndk.so
lib64/android.hardware.graphics.common-V5-ndk.so
lib64/android.hardware.graphics.common-V6-ndk.so
lib64/android.hardware.graphics.common@1.0.so
lib64/android.hardware.graphics.common@1.1.so
lib64/android.hardware.graphics.common@1.2.so
lib64/android.hardware.graphics.composer3-V3-ndk.so
lib64/android.hardware.graphics.composer3-V4-ndk.so
lib64/android.hardware.graphics.composer@2.1-resources.so
lib64/android.hardware.graphics.composer@2.1.so
lib64/android.hardware.graphics.composer@2.2-resources.so
@@ -989,13 +1091,13 @@ lib64/android.hardware.graphics.mapper@2.0.so
lib64/android.hardware.graphics.mapper@2.1.so
lib64/android.hardware.graphics.mapper@3.0.so
lib64/android.hardware.graphics.mapper@4.0.so
lib64/android.hardware.health-V3-ndk.so
lib64/android.hardware.health-V4-ndk.so
lib64/android.hardware.health.storage-V1-ndk.so
lib64/android.hardware.memtrack-V1-ndk.so
lib64/android.hardware.nfc-V1-ndk.so
lib64/android.hardware.power-V1-ndk.so
lib64/android.hardware.power-V2-ndk.so
lib64/android.hardware.power-V5-ndk.so
lib64/android.hardware.power-V6-ndk.so
lib64/android.hardware.power.stats-V2-ndk.so
lib64/android.hardware.power.stats-impl.gs-common.so
lib64/android.hardware.power.stats-impl.gs201.so
@@ -1007,11 +1109,11 @@ lib64/android.hardware.secure_element@1.0.so
lib64/android.hardware.secure_element@1.1.so
lib64/android.hardware.secure_element@1.2.so
lib64/android.hardware.security.keymint-V1-ndk.so
lib64/android.hardware.security.keymint-V3-ndk.so
lib64/android.hardware.security.keymint-V4-ndk.so
lib64/android.hardware.security.rkp-V3-ndk.so
lib64/android.hardware.security.secureclock-V1-ndk.so
lib64/android.hardware.security.sharedsecret-V1-ndk.so
lib64/android.hardware.sensors-V2-ndk.so
lib64/android.hardware.sensors-V3-ndk.so
lib64/android.hardware.sensors@1.0.so
lib64/android.hardware.sensors@2.0-ScopedWakelock.so
lib64/android.hardware.sensors@2.0.so
@@ -1022,30 +1124,29 @@ lib64/android.hardware.soundtrigger@2.1.so
lib64/android.hardware.soundtrigger@2.2.so
lib64/android.hardware.soundtrigger@2.3.so
lib64/android.hardware.thermal-V1-ndk.so
lib64/android.hardware.thermal-V2-ndk.so
lib64/android.hardware.thermal-V3-ndk.so
lib64/android.hardware.thermal@1.0.so
lib64/android.hardware.thermal@2.0.so
lib64/android.hardware.usb-V3-ndk.so
lib64/android.hardware.usb.gadget-V1-ndk.so
lib64/android.hardware.usb.gadget@1.0.so
lib64/android.hardware.vibrator-V2-ndk.so
lib64/android.hardware.wifi-V2-ndk.so
lib64/android.hardware.wifi.common-V1-ndk.so
lib64/android.hardware.wifi.hostapd-V2-ndk.so
lib64/android.hardware.wifi.supplicant-V3-ndk.so
lib64/android.hardware.wifi-V3-ndk.so
lib64/android.hardware.wifi.common-V2-ndk.so
lib64/android.hardware.wifi.hostapd-V3-ndk.so
lib64/android.hardware.wifi.supplicant-V4-ndk.so
lib64/android.hidl.allocator@1.0.so
lib64/android.hidl.memory.token@1.0.so
lib64/android.hidl.memory@1.0.so
lib64/android.hidl.safe_union@1.0.so
lib64/android.media.audio.common.types-V3-ndk.so
lib64/android.media.audio.common.types-V4-ndk.so
lib64/android.system.keystore2-V1-ndk.so
lib64/android.system.suspend-V1-ndk.so
lib64/arm.graphics-V1-ndk.so
lib64/com.google.hardware.pixel.display-V10-ndk.so
lib64/com.google.hardware.pixel.display-V13-ndk.so
lib64/hw/android.hardware.audio.effect@7.0-impl.so
lib64/hw/android.hardware.audio@7.1-impl.so
lib64/hw/android.hardware.graphics.allocator-aidl-impl.so
lib64/hw/android.hardware.graphics.mapper@4.0-impl.so
lib64/hw/android.hardware.soundtrigger@2.3-impl.so
lib64/hw/android.hardware.vibrator-impl.cs40l26-private.so
lib64/hw/android.hidl.memory@1.0-impl.so
@@ -1056,10 +1157,13 @@ lib64/hw/audio.usb.default.so
lib64/hw/audio.usbv2.default.so
lib64/hw/gralloc.default.so
lib64/hw/local_time.default.so
lib64/hw/mapper.pixel.so
lib64/hw/power.default.so
lib64/hw/vibrator.default.so
lib64/libExynosHWCService.so
lib64/libOpenCL.so
lib64/lib_android_keymaster_keymint_utils.so
lib64/libaconfig_storage_read_api_cc.so
lib64/libacryl.so
lib64/libacryl_hdr_plugin.so
lib64/libalsautils.so
@@ -1075,8 +1179,6 @@ lib64/libbluetooth_audio_session_aidl.so
lib64/libc++.so
lib64/libcfg_if.dylib.so
lib64/libclang_rt.ubsan_standalone-aarch64-android.so
lib64/libcppbor_external.so
lib64/libcppcose_rkp.so
lib64/libcrypto.so
lib64/libcutils.so
lib64/libdisppower-pixel.so
@@ -1101,8 +1203,7 @@ lib64/libhwjpeg.so
lib64/libion_google.so
lib64/libjsoncpp.so
lib64/libkeymaster_messages.so
lib64/libkeymaster_portable.so
lib64/libkeymint.so
lib64/libkeymasterconfig.so
lib64/libkeystore-engine-wifi-hidl.so
lib64/liblibloading.dylib.so
lib64/liblog_rust.dylib.so
@@ -1122,12 +1223,10 @@ lib64/libpower.so
lib64/libprocessgroup.so
lib64/libprotobuf-cpp-full-21.12.so
lib64/libprotobuf-cpp-lite-21.12.so
lib64/libpuresoftkeymasterdevice.so
lib64/libreference-ril.so
lib64/libril.so
lib64/librilutils.so
lib64/libsensorndkbridge.so
lib64/libsoft_attestation_cert.so
lib64/libspeexresampler.so
lib64/libssl.so
lib64/libstagefright_foundation.so
@@ -1169,27 +1268,42 @@ lib64/soundfx/libvisualizer.so
odm/etc/build.prop
odm/etc/group
odm/etc/passwd
odm/etc/selinux/odm_file_contexts
odm/etc/selinux/odm_hwservice_contexts
odm/etc/selinux/odm_mac_permissions.xml
odm/etc/selinux/odm_property_contexts
odm/etc/selinux/odm_seapp_contexts
odm/etc/selinux/odm_sepolicy.cil
odm/etc/selinux/odm_service_contexts
odm_dlkm/etc/build.prop
overlay/EmergencyInfo__felix__auto_generated_rro_vendor.apk
overlay/NfcNci__felix__auto_generated_rro_vendor.apk
overlay/SettingsProvider__felix__auto_generated_rro_vendor.apk
overlay/Settings__felix__auto_generated_rro_vendor.apk
overlay/StorageManager__felix__auto_generated_rro_vendor.apk
overlay/SystemUI__felix__auto_generated_rro_vendor.apk
overlay/TeleService__felix__auto_generated_rro_vendor.apk
overlay/Traceur__felix__auto_generated_rro_vendor.apk
overlay/framework-res__felix__auto_generated_rro_vendor.apk
vendor_dlkm/etc/build.prop
vendor_dlkm/etc/init.insmod.felix.cfg
# Exclude overlays, symlinks and extra files that we override
# Overlays
overlay/DeviceDiagnostics__felix__auto_generated_rro_vendor.apk
overlay/DMService__felix__auto_generated_rro_vendor.apk
overlay/DeviceDiagnostics__felix__auto_generated_rro_vendor.apk
overlay/Flipendo__felix__auto_generated_rro_vendor.apk
overlay/SettingsGoogle__felix__auto_generated_rro_vendor.apk
overlay/SettingsProvider__felix__auto_generated_rro_vendor.apk
overlay/StorageManagerGoogle__felix__auto_generated_rro_vendor.apk
overlay/SystemUIGoogle__felix__auto_generated_rro_vendor.apk
overlay/TeleService__felix__auto_generated_rro_vendor.apk
overlay/Traceur__felix__auto_generated_rro_vendor.apk
overlay/framework-res__felix__auto_generated_rro_vendor.apk
# beta
overlay/DMService__felix_beta__auto_generated_rro_vendor.apk
overlay/DeviceDiagnostics__felix_beta__auto_generated_rro_vendor.apk
overlay/Flipendo__felix_beta__auto_generated_rro_vendor.apk
overlay/SettingsGoogle__felix_beta__auto_generated_rro_vendor.apk
overlay/SettingsProvider__felix_beta__auto_generated_rro_vendor.apk
overlay/StorageManagerGoogle__felix_beta__auto_generated_rro_vendor.apk
overlay/SystemUIGoogle__felix_beta__auto_generated_rro_vendor.apk
overlay/TeleService__felix_beta__auto_generated_rro_vendor.apk
overlay/Traceur__felix_beta__auto_generated_rro_vendor.apk
overlay/framework-res__felix_beta__auto_generated_rro_vendor.apk
# Symlinks
lib/modules
@@ -1208,14 +1322,13 @@ lib64/libtinycompress.so
# Bluetooth
lib64/android.hardware.bluetooth-V1-ndk.so
lib64/android.hardware.bluetooth.finder-V1-ndk.so
lib64/android.hardware.bluetooth.ranging-V1-ndk.so
lib64/hardware.google.bluetooth.bt_channel_avoidance@1.0.so
# Camera
lib/libGralloc4Wrapper.so
lib/libdrm.so
lib/pixel-power-ext-V1-ndk.so
lib64/libGralloc4Wrapper.so
lib64/libcamera2ndk_vendor.so
# Charger
etc/res/images/charger/battery_fail.png
@@ -1224,7 +1337,6 @@ etc/res/images/charger/main_font.png
etc/res/values/charger/animation.txt
# Codec2
lib/android.hardware.media.bufferpool2-V1-ndk.so
lib/android.hardware.media.bufferpool2-V2-ndk.so
lib/android.hardware.media.bufferpool@2.0.so
lib/android.hardware.media.c2-V1-ndk.so
@@ -1249,7 +1361,6 @@ lib/libstagefright_bufferqueue_helper.so
lib/libstagefright_omx_utils.so
lib/libstagefright_xmlparser.so
lib/libvendorgraphicbuffer.so
lib64/android.hardware.media.bufferpool2-V1-ndk.so
lib64/android.hardware.media.bufferpool2-V2-ndk.so
lib64/android.hardware.media.bufferpool@2.0.so
lib64/android.hardware.media.c2-V1-ndk.so
@@ -1261,6 +1372,7 @@ lib64/android.hardware.media@1.0.so
lib64/libavservices_minijail.so
lib64/libcap.so
lib64/libcodec2.so
lib64/libcodec2_aidl.so
lib64/libcodec2_hal_common.so
lib64/libcodec2_hidl@1.0.so
lib64/libcodec2_hidl@1.1.so
@@ -1288,9 +1400,10 @@ lib64/android.hardware.confirmationui@1.0.so
lib64/libteeui_hal_support.so
# Contexthub
lib/android.hardware.contexthub-V3-ndk.so
lib64/android.hardware.contexthub-V3-ndk.so
lib64/android.hardware.contexthub-V4-ndk.so
lib64/chre_atoms_log.so
lib64/chre_metrics_reporter.so
lib64/chremetrics-cpp.so
# GPS
@@ -1303,18 +1416,17 @@ lib/libhwbinder.so
lib64/libhidltransport.so
lib64/libhwbinder.so
# Identity credential
etc/permissions/android.hardware.identity_credential.xml
lib64/android.hardware.identity-V5-ndk.so
lib64/android.hardware.identity-support-lib.so
# Json
lib/libjsoncpp.so
lib64/libjson.so
# Nos
lib64/libkeymaster4support.so
lib64/android.hardware.security.keymint-V3-ndk.so
lib64/libcppbor.so
lib64/libcppcose_rkp.so
lib64/libkeymaster_portable.so
lib64/libkeymint_support.so
lib64/libkeymint_support_V3.so
lib64/libnos.so
lib64/libnos_client_citadel.so
lib64/libnos_datagram.so
@@ -1323,9 +1435,7 @@ lib64/libnos_feature.so
lib64/libnos_transport.so
lib64/libnosprotos.so
lib64/nos_app_avb.so
lib64/nos_app_identity.so
lib64/nos_app_keymaster.so
lib64/nos_app_keymaster_ctdl.so
lib64/nos_app_weaver.so
lib64/pixelpowerstats_provider_aidl_interface-cpp.so
@@ -1346,7 +1456,7 @@ lib64/modem_clock_manager_impl.so
# Sensors
lib/android.frameworks.sensorservice-V1-ndk.so
lib/android.hardware.sensors-V2-ndk.so
lib/android.hardware.sensors-V3-ndk.so
lib/android.hardware.sensors@1.0.so
lib/android.hardware.sensors@2.0-ScopedWakelock.so
lib/android.hardware.sensors@2.0.so
@@ -1354,17 +1464,18 @@ lib/android.hardware.sensors@2.1.so
lib/hw/sensors.dynamic_sensor_hal.so
lib/libhidparser.so
lib/libsensorndkbridge.so
lib64/android.hardware.sensors-V2-ndk.so
lib64/hw/sensors.dynamic_sensor_hal.so
lib64/libhidparser.so
# Trusty
lib64/android.trusty.stats.nw.setter-cpp.so
lib64/lib_sensor_listener.so
lib64/libbinder_trusty.so
lib64/libtrusty_metrics.so
# Misc interfaces
lib/android.frameworks.stats-V1-ndk.so
lib/android.frameworks.stats-V2-ndk.so
lib/android.hardware.graphics.allocator-V2-ndk.so
lib/android.hardware.graphics.allocator@2.0.so
lib/android.hardware.graphics.allocator@3.0.so
@@ -1399,12 +1510,9 @@ lib/android.hardware.thermal@2.0.so
lib/android.hidl.token@1.0-utils.so
lib/android.hidl.token@1.0.so
lib/com.google.hardware.pixel.display-V9-ndk.so
lib64/android.frameworks.sensorservice@1.0.so
lib64/android.frameworks.stats-V1-cpp.so
lib64/android.hardware.authsecret-V1-ndk.so
lib64/android.hardware.biometrics.common-V3-ndk.so
lib64/android.hardware.biometrics.face-V3-ndk.so
lib64/android.hardware.biometrics.face@1.0.so
lib64/android.hardware.biometrics.fingerprint-V3-ndk.so
lib64/android.hardware.gnss-V3-ndk.so
lib64/android.hardware.graphics.bufferqueue@1.0.so
@@ -1412,20 +1520,15 @@ lib64/android.hardware.graphics.bufferqueue@2.0.so
lib64/android.hardware.health-V1-ndk.so
lib64/android.hardware.input.common-V1-ndk.so
lib64/android.hardware.input.processor-V1-ndk.so
lib64/android.hardware.keymaster-V3-ndk.so
lib64/android.hardware.keymaster-V4-ndk.so
lib64/android.hardware.keymaster@3.0.so
lib64/android.hardware.keymaster@4.0.so
lib64/android.hardware.keymaster@4.1.so
lib64/android.hardware.neuralnetworks-V4-ndk.so
lib64/android.hardware.neuralnetworks@1.0.so
lib64/android.hardware.neuralnetworks@1.1.so
lib64/android.hardware.neuralnetworks@1.2.so
lib64/android.hardware.neuralnetworks@1.3.so
lib64/android.hardware.oemlock-V1-ndk.so
lib64/android.hardware.power@1.0.so
lib64/android.hardware.power@1.1.so
lib64/android.hardware.power@1.2.so
lib64/android.hardware.radio-V1-ndk.so
lib64/android.hardware.radio.config-V1-ndk.so
lib64/android.hardware.radio.config@1.0.so
@@ -1444,7 +1547,6 @@ lib64/android.hardware.radio@1.4.so
lib64/android.hardware.radio@1.5.so
lib64/android.hardware.radio@1.6.so
lib64/android.hardware.weaver-V2-ndk.so
lib64/android.hardware.wifi-V1-ndk.so
lib64/android.hidl.token@1.0-utils.so
lib64/android.hidl.token@1.0.so
lib64/com.google.hardware.pixel.display-V9-ndk.so
@@ -1459,6 +1561,12 @@ lib/libui.so
lib64/libevent.so
lib64/libion.so
# Odex
framework/oat/arm/com.google.android.camera.experimental2022.odex
framework/oat/arm/com.google.android.camera.experimental2022.vdex
framework/oat/arm64/com.google.android.camera.experimental2022.odex
framework/oat/arm64/com.google.android.camera.experimental2022.vdex
# Completely skip files that are not required
# Edge TPU

View File

@@ -9,8 +9,5 @@ persist.vendor.ril.use_radio_hal=2.0
ro.vendor.config.build_carrier=europen
vendor.rild.libpath=libsitril.so
# SSR
vendor.debug.ssrdump.type=sscoredump
# UWB
ro.vendor.uwb.calibration.calibrationpaths=/vendor/etc/uwb/calib_paths

View File

@@ -1,33 +1,35 @@
#
# Copyright (C) 2023 The LineageOS Project
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Inherit some common Evolution X stuff.
# Inherit some common Evolution X stuff
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/lineage/config/common_full_foldable_book_telephony.mk)
# Inherit device configuration
$(call inherit-product, device/google/felix/aosp_felix.mk)
DEVICE_CODENAME := felix
DEVICE_PATH := device/google/felix
VENDOR_PATH := vendor/google/felix
$(call inherit-product, $(DEVICE_PATH)/aosp_$(DEVICE_CODENAME).mk)
$(call inherit-product, device/google/gs201/lineage_common.mk)
$(call inherit-product, device/google/gs201/evolution_common.mk)
$(call inherit-product, device/google/felix/device-lineage.mk)
$(call inherit-product, device/google/felix/device-evolution.mk)
$(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-lineage.mk)
$(call inherit-product, $(DEVICE_PATH)/$(DEVICE_CODENAME)/device-evolution.mk)
# Device identifier. This must come after all inclusions
PRODUCT_BRAND := google
PRODUCT_MODEL := Pixel Fold
PRODUCT_NAME := lineage_felix
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 2092
TARGET_SCREEN_WIDTH := 1080
PRODUCT_BUILD_PROP_OVERRIDES += \
TARGET_PRODUCT=felix \
PRIVATE_BUILD_DESC="felix-user 14 AP2A.240905.003 12231197 release-keys"
BuildDesc="felix-user 15 BP1A.250505.005.B1 13277630 release-keys" \
BuildFingerprint=google/felix/felix:15/BP1A.250505.005.B1/13277630:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)
BUILD_FINGERPRINT := google/felix/felix:14/AP2A.240905.003/12231197:user/release-keys
$(call inherit-product, vendor/google/felix/felix-vendor.mk)
$(call inherit-product, $(VENDOR_PATH)/$(DEVICE_CODENAME)-vendor.mk)

107
location/gps.6.1.xml.f10 Normal file
View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
Log="JAVA"
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="true"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
SensorsMask="0x244"
MaxThreadNum="13"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
RfType="GL_RF_4776_BRCM"
ExtL5Bias="13.0"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="2.9"
RfPathLossDb_Cp="2.9"
RfPathLossDb_Ap_L5="3.7"
RfPathLossDb_Cp_L5="3.7"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="2"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableNicAutoSwitch="true"
EnableNavic="true"
/>
</glgps>

View File

@@ -18,7 +18,7 @@
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
@@ -35,7 +35,7 @@
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
@@ -49,6 +49,7 @@
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
@@ -70,7 +71,7 @@
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI | LOG_MEASAPI"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
@@ -100,6 +101,7 @@
<gll_features
EnableNicAutoSwitch="true"
EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/>
</glgps>

View File

@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
<hal
PortName="/dev/ttyBCM"
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="false"
Log="JAVA"
LogDirectory="/sdcard/gps/broadcom/storage/"
CtrlPipe="/data/vendor/gps/glgpsctrl"
NmeaOutName="/data/vendor/gps/nmea_out"
acSuplServer="supl.google.com"
SuplPort="7275"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
SuplUseFwCellInfo="false"
SuplDummyCellInfo ="true"
SuplTlsCertDirPath="/etc/security/cacerts"
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
SuplUT1Seconds="20"
SuplUT2Seconds="20"
SuplUT3Seconds="20"
TcpConnectionTimeout="20"
SuplLppCapable="true"
SuplEcidCapable="true"
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
SuplMgpsCapable = "true"
RtoEnable="true"
RtiEnable="true"
HttpSyncLto="true"
LtoFileName="lto2.dat"
LtoDir="/data/vendor/gps/"
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
SensorsMask="0x244"
MaxThreadNum="13"
/>
<gll
PpsEnable="true"
LogPriMask="LOG_INFO"
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
RfType="GL_RF_4776_BRCM"
ExtL5Bias="13.0"
WarmStandbyTimeout1Seconds="10"
WarmStandbyTimeout2Seconds="15"
EnableGnssPropagateInStandby="true"
RfPathLossDb_Ap="2.9"
RfPathLossDb_Cp="2.9"
RfPathLossDb_Ap_L5="3.7"
RfPathLossDb_Cp_L5="3.7"
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
EnableOnChipStopNotification="0"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
EnableB1C="false"
RTICacheTimeoutSec="3600"
/>
<gll_features
EnableNicAutoSwitch="true"
EnableNavic="true"
/>
</glgps>

View File

@@ -17,7 +17,7 @@
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
@@ -34,7 +34,7 @@
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
@@ -48,6 +48,7 @@
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
@@ -99,6 +100,7 @@
<gll_features
EnableNicAutoSwitch="true"
EnableNavic="true"
ConstellationAutoSwitchOffNavOnly="true"
/>
</glgps>

View File

@@ -48,15 +48,6 @@
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.mapper</name>
<transport arch="32+64">passthrough</transport>
<version>4.0</version>
<interface>
<name>IMapper</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>

View File

@@ -0,0 +1,3 @@
blocklist fst2.ko
blocklist ftm5.ko
blocklist goog_touch_interface.ko

View File

@@ -0,0 +1,3 @@
extra/fst2.ko
extra/ftm5.ko
extra/goog_touch_interface.ko

View File

@@ -135,7 +135,7 @@ OFFHOST_ROUTE_ESE={86}
# host 0x00
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_ISODEP_ROUTE=0x81
DEFAULT_ISODEP_ROUTE=0x00
###############################################################################
# Configure the HAL Clock control

View File

@@ -24,6 +24,9 @@
entries do not follow the convention, but all new entries should. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- IWLAN-->
<string name="config_qualified_networks_service_package">com.android.qns</string>
<!-- If true, allows rotation resolver service to help resolve screen rotation. -->
<bool name="config_allowRotationResolver">false</bool>
@@ -51,9 +54,11 @@
<item>3</item>
</integer-array>
<!-- Indicates whether the window manager reacts to half-fold device states by overriding
rotation. -->
<bool name="config_windowManagerHalfFoldAutoRotateOverride">true</bool>
<!-- The device states (supplied by DeviceStateManager) that should be treated as concurrent
display state. Default is empty. -->
<integer-array name="config_concurrentDisplayDeviceStates">
<item>4</item>
</integer-array>
<!-- Indicates whether the window manager pauses autorotation when folding or unfolding
a foldable device based on hinge angle sensor events and physical display switch events. -->
@@ -93,6 +98,7 @@
<item>0:1</item>
<item>1:0:2</item>
<item>2:2</item>
<item>3:0:0</item>
</string-array>
<!-- Device states where the sensor based rotation values should be reversed around the Z axis
@@ -102,17 +108,24 @@
<item>3</item>
</integer-array>
<!-- Boolean indicating whether secondary built-in displays should have their orientation
match the active default display. This config assumes that the secondary display only
requires swapping ROTATION_90 and ROTATION_270.
TODO(b/265991392): This should eventually be configured and parsed in
display_settings.xml -->
<bool name="config_matchSecondaryInternalDisplaysOrientationToReverseDefaultDisplay">true</bool>
<!-- The time in milliseconds after which a press on power button is considered "long". -->
<integer name="config_longPressOnPowerDurationMs">750</integer>
<!-- Control whether the pickup gesture is enabled by default. This value will be used
during initialization when the setting is still null. -->
<bool name="config_dozePickupGestureEnabled">false</bool>
<!-- Amount of time in ms the user needs to press the relevant key to bring up the
global actions dialog -->
<integer name="config_globalActionsKeyTimeout">750</integer>
<!-- Class name of the device specific implementation of DeviceStatePolicy.Provider
or empty if the default should be used. -->
<string translatable="false" name="config_deviceSpecificDeviceStatePolicyProvider">com.google.android.server.policy.FelixDeviceStatePolicyProvider</string>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps">true</bool>
@@ -130,6 +143,7 @@
<item>1:2</item>
<item>2:3</item>
<item>3:1</item>
<item>4:1000</item>
</string-array>
<!-- Which Surface rotations are considered as tabletop posture (horizontal hinge) when the
@@ -152,7 +166,7 @@
Note: Activity min/max aspect ratio restrictions will still be respected.
Therefore this override can control the maximum screen area that can be occupied by
the app in the letterbox mode. -->
<item type="dimen" name="config_fixedOrientationLetterboxAspectRatio">1.333</item>
<item name="config_fixedOrientationLetterboxAspectRatio" format="float" type="dimen">1.333</item>
<!-- Corners radius for activity presented the letterbox mode. Values < 0 enable rounded
corners with radius equal to min between device bottom corner radii. Default 0 value turns
@@ -190,6 +204,12 @@
TODO(b/255532890) Enable when ignoreOrientationRequest is set -->
<bool name="config_letterboxIsEnabledForTranslucentActivities">true</bool>
<!-- Whether per-app user aspect ratio override settings is enabled -->
<bool name="config_appCompatUserAppAspectRatioSettingsIsEnabled">true</bool>
<!-- Whether per-app fullscreen override option is allowed in user aspect ratio settings -->
<bool name="config_appCompatUserAppAspectRatioFullscreenIsEnabled">true</bool>
<!-- Whether sending compat fake focus for split screen resumed activities is enabled.
Needed because some game engines wait to get focus before drawing the content of
the app which isn't guaranteed by default in multi-window modes. -->
@@ -212,6 +232,7 @@
<!-- List of the labels of requestable device state config values -->
<string-array name="config_deviceStatesAvailableForAppRequests">
<item>config_deviceStateRearDisplay</item>
<item>config_deviceStateConcurrentRearDisplay</item>
</string-array>
<!-- Device state that corresponds to rear display mode, feature provided
@@ -220,12 +241,15 @@
-->
<integer name="config_deviceStateRearDisplay">3</integer>
<!-- Whether the vendor power press code need to be mapped. -->
<bool name="config_powerPressMapping">true</bool>
<!-- Device state that corresponds to concurrent display mode where the default display
is the internal display. Public API for the feature is provided through Jetpack
WindowManager.
TODO(b/236022708) Move concurrent display state to device state config file
-->
<integer name="config_deviceStateConcurrentRearDisplay">4</integer>
<!-- Power press vendor code. -->
<integer name="config_powerPressCode">19</integer>
<!-- IWLAN-->
<string name="config_qualified_networks_service_package">com.android.qns</string>
<!-- Physical display address that corresponds to the rear display in rear display mode
and concurrent display mode. Used to get information about the display before
entering the corresponding modes -->
<string name="config_rearDisplayPhysicalAddress" translatable="false">4619827677550801153</string>
</resources>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2009, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<resources>
<bool name="def_accelerometer_rotation">true</bool>
</resources>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Outodraai wanneer dit toegevou is</string>
<string name="setting_auto_rotate_folded">Outodraai wanneer dit gevou is</string>
<string name="setting_auto_rotate_unfolded">Outodraai wanneer dit oopgevou is</string>
</resources>

View File

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">Auto-rotate when folded</string>
<string name="setting_auto_rotate_unfolded">Auto-rotate when unfolded</string>
</resources>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="setting_auto_rotate_folded">फोल्ड गरिएका बेला स्वतः रोटेट गरियोस्</string>
<string name="setting_auto_rotate_unfolded">अनफोल्ड गरिएका बेला स्वतः रोटेट गरियोस्</string>
<string name="setting_auto_rotate_folded">फोल्ड गरिएका बेला स्वतः रोटेट गर्नुहोस्</string>
<string name="setting_auto_rotate_unfolded">अनफोल्ड गरिएका बेला स्वतः रोटेट गर्नुहोस्</string>
</resources>

View File

@@ -18,6 +18,23 @@
<!-- Whether to show Smooth Display feature in Settings Options -->
<bool name="config_show_smooth_display">true</bool>
<!-- App aspect ratio settings screen, user aspect ratio override options. Must be the same
length and order as config_userAspectRatioOverrideValues below. -->
<string-array name="config_userAspectRatioOverrideEntries" translatable="false">
<item>@null</item>
<item>@null</item>
<item>@null</item>
</string-array>
<!-- App aspect ratio settings screen, user aspect ratio override options. Must be the same
length and order as config_userAspectRatioOverrideEntries above. The values must
correspond to PackageManager.UserMinAspectRatio -->
<integer-array name="config_userAspectRatioOverrideValues" translatable="false">
<item>0</item> <!-- USER_MIN_ASPECT_RATIO_UNSET -->
<item>6</item> <!-- USER_MIN_ASPECT_RATIO_FULLSCREEN -->
<item>1</item> <!-- USER_MIN_ASPECT_RATIO_SPLIT_SCREEN -->
</integer-array>
<!-- The settings/preference description for each settable device state defined in the array
"config_perDeviceStateRotationLockDefaults".
The item in position "i" describes the auto-rotation setting for the device state also in
@@ -26,6 +43,7 @@
<item>@string/setting_auto_rotate_folded</item>
<item>@null</item>
<item>@string/setting_auto_rotate_unfolded</item>
<item>@null</item>
</string-array>
<!-- The ratio to use when using the two-pane settings layout -->

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020-2023 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Whether to show advanced display rotation settings -->
<bool name="config_show_advanced_rotation_settings">false</bool>
</resources>

View File

@@ -21,7 +21,8 @@
"1539000",
"1352000",
"1014000",
"421000"
"421000",
"546000"
],
"ResetOnInit": true
},
@@ -878,6 +879,12 @@
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "DISPLAY_INACTIVE",
"Node": "MemFreq",
"Duration": 0,
"Value": "421000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq",
@@ -890,6 +897,12 @@
"Duration": 33,
"Value": "1014000"
},
{
"PowerHint": "CPU_LOAD_RESET",
"Node": "TAPreferHighCap",
"Duration": 33,
"Value": "1"
},
{
"PowerHint": "CAMERA_LAUNCH",
"Node": "MemFreq",
@@ -1100,6 +1113,18 @@
"Duration": 100,
"Value": "0"
},
{
"PowerHint": "CAMERA_MULTICAM_BOOST",
"Node": "CDPreferIdle",
"Duration": 100,
"Value": "1"
},
{
"PowerHint": "CAMERA_MULTICAM_BOOST",
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU_RANK1",
"Node": "TAPreferHighCap",
@@ -1959,18 +1984,6 @@
"Duration": 50,
"Value": "1"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "100"
},
{
"PowerHint": "THERMAL_FLASH_LED_REDUCE_NONE",
"Node": "LimitFlashCurrent",
"Duration": 0,
"Value": "1500"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "PowerHALRenderingState",
@@ -2112,25 +2125,19 @@
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,
"Duration": 500,
"Value": "9999999"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_MID_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
"Node": "CPUBigClusterMinFreq",
"Duration": 500,
"Value": "1826000"
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_BIG_TSKIN_BYPASS",
"Duration": 1000,
"Duration": 500,
"Value": "1"
},
{
@@ -2202,16 +2209,28 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 232,
"UclampMin_LoadUp": 480,
"UclampMin_LoadReset": 480,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 83333330,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0
"StaleTimeFactor": 15.0,
"HeuristicBoost_On": true,
"HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgDurRatio": 4.0,
"HBoostSevereJankPidPu": 0.5,
"HBoostSevereJankThreshold": 8,
"HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
},
{
"Name": "REFRESH_90FPS",
@@ -2226,16 +2245,28 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 162,
"UclampMin_LoadUp": 480,
"UclampMin_LoadReset": 480,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 111111110,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0
"StaleTimeFactor": 15.0,
"HeuristicBoost_On": true,
"HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgDurRatio": 4.0,
"HBoostSevereJankPidPu": 0.5,
"HBoostSevereJankThreshold": 8,
"HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
},
{
"Name": "REFRESH_60FPS",
@@ -2250,16 +2281,28 @@
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 162,
"UclampMin_LoadUp": 480,
"UclampMin_LoadReset": 480,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"ReportingRateLimitNs": 166666660,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 15.0
"StaleTimeFactor": 15.0,
"HeuristicBoost_On": true,
"HBoostModerateJankThreshold": 2,
"HBoostOffMaxAvgDurRatio": 4.0,
"HBoostSevereJankPidPu": 0.5,
"HBoostSevereJankThreshold": 8,
"HBoostUclampMinCeilingRange": [480, 722],
"HBoostUclampMinFloorRange": [230, 410],
"JankCheckTimeFactor": 1.2,
"LowFrameRateThreshold": 25,
"MaxRecordsNum": 300
},
{
"Name": "UiHighBoostWithoutPid",
@@ -2279,9 +2322,9 @@
"UclampMin_Init": 250,
"UclampMin_High": 197,
"UclampMin_Low": 197,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
},
@@ -2303,9 +2346,9 @@
"UclampMin_Init": 250,
"UclampMin_High": 53,
"UclampMin_Low": 53,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
},
@@ -2327,9 +2370,9 @@
"UclampMin_Init": 250,
"UclampMin_High": 0,
"UclampMin_Low": 0,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
}

File diff suppressed because it is too large Load Diff

View File

@@ -29,8 +29,8 @@
<item>30</item>
</integer-array>
<integer-array name="antenna_y">
<item>103</item>
<item>103</item>
<item>44</item>
<item>44</item>
</integer-array>
<bool name="nfc_observe_mode_supported">true</bool>
</resources>

View File

@@ -169,4 +169,12 @@
If equals to 0, it means there's no limit on the max number of channels to include per network.-->
<integer translatable="false" name="config_wifiInitialPartialScanMaxNewChannelsPerNetwork">3</integer>
<!-- Boolean indicating whether to disable firmware roaming when the device goes into idle mode.
true: firmware roaming will be disabled when the device goes into idle mode, and then
re-activated when the device exits idle mode.
false: firmware roaming will not be affected. -->
<bool translatable="false" name ="config_wifiDisableFirmwareRoamingInIdleMode">true</bool>
<!-- Boolean indicating whether to trigger bugreport for WiFi subsystem restart issue -->
<bool translatable="false" name ="config_wifi_subsystem_restart_bugreport_enabled">false</bool>
</resources>

View File

@@ -4,3 +4,6 @@ BOARD_SEPOLICY_DIRS += device/google/felix/sepolicy/tracking_denials
# Fingerprint
BOARD_SEPOLICY_DIRS += device/google/felix/sepolicy/fingerprint_capacitance
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/vibrator/common
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/vibrator/cs40l26

View File

@@ -21,3 +21,6 @@
/dev/logbuffer_dual_batt u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_secondary u:object_r:logbuffer_device:s0
/dev/logbuffer_maxfg_secondary_monitor u:object_r:logbuffer_device:s0
# Touch
/dev/touch_offload_fts_ext u:object_r:touch_offload_device:s0

View File

@@ -18,6 +18,7 @@ genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/panel_idle
genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/panel_need_handle_idle_exit u:object_r:sysfs_display:s0
genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/osc2_clk_khz u:object_r:sysfs_display:s0
genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/time_in_state u:object_r:sysfs_display:s0
genfscon sysfs /devices/platform/1c2d0000.drmdsim/1c2d0000.drmdsim.0/power_mode u:object_r:sysfs_display:s0
genfscon sysfs /devices/platform/1c2d0000.drmdsim/hs_clock u:object_r:sysfs_display:s0
genfscon sysfs /devices/platform/1c241000.drmdecon/early_wakeup u:object_r:sysfs_display:s0
@@ -34,4 +35,6 @@ genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0036/power_supply/maxf
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0036/power_supply/maxfg_secondary/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0061/power_supply/wireless/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0061/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0036/wakeup u:object_r:sysfs_wakeup:s0
genfscon sysfs /devices/platform/google,dual_batt_gauge/power_supply/dualbatt/wakeup u:object_r:sysfs_wakeup:s0

13
setup-makefiles.py Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)"
pushd "${MY_DIR}/felix"
./setup-makefiles.py
popd

View File

@@ -1,82 +0,0 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
DEVICE=felix
VENDOR=google
# Load extract_utils and do some sanity checks
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}"
exit 1
fi
source "${HELPER}"
function vendor_imports() {
cat <<EOF >>"$1"
"device/google/felix",
"hardware/google/av",
"hardware/google/gchips",
"hardware/google/graphics/common",
"hardware/google/interfaces",
"hardware/google/pixel",
EOF
}
function lib_to_package_fixup_vendor_variants() {
if [ "$2" != "vendor" ]; then
return 1
fi
case "$1" in
com.google.edgetpu_app_service-V3-ndk | \
com.google.edgetpu_vendor_service-V2-ndk)
echo "$1-vendor"
;;
libprotobuf-cpp-full-21.12)
echo "libprotobuf-cpp-full"
;;
libprotobuf-cpp-lite-21.12)
echo "libprotobuf-cpp-lite"
;;
libacryl | \
libexynosv4l2) ;;
*)
return 1
;;
esac
}
function lib_to_package_fixup() {
lib_to_package_fixup_clang_rt_ubsan_standalone "$1" ||
lib_to_package_fixup_proto_3_9_1 "$1" ||
lib_to_package_fixup_vendor_variants "$@"
}
# Initialize the helper
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"
# Warning headers and guards
write_headers
write_makefiles "${MY_DIR}/proprietary-files.txt"
write_makefiles "${MY_DIR}/proprietary-files-carriersettings.txt"
write_makefiles "${MY_DIR}/proprietary-files-vendor.txt"
append_firmware_calls_to_makefiles "${MY_DIR}/proprietary-firmware.txt"
# Finish
write_footers

View File

@@ -3,20 +3,17 @@
{
"Name":"neutral_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"quiet_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"skin_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", 32.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/skin_therm/tz_temp",
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000
@@ -24,14 +21,12 @@
{
"Name":"usb_pwr_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"usb_pwr_therm2",
"Type":"UNKNOWN",
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000
@@ -39,19 +34,16 @@
{
"Name":"inner_disp_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/inner_disp_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"outer_disp_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/outer_disp_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"gnss_tcxo_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
"Multiplier":0.001
},
{

View File

@@ -9,20 +9,17 @@
{
"Name":"neutral_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"quiet_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"skin_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", 32.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/skin_therm/tz_temp",
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000
@@ -30,14 +27,12 @@
{
"Name":"usb_pwr_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"usb_pwr_therm2",
"Type":"UNKNOWN",
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000
@@ -45,19 +40,16 @@
{
"Name":"inner_disp_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/inner_disp_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"outer_disp_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/outer_disp_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"gnss_tcxo_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
"Multiplier":0.001
},
{
@@ -550,348 +542,28 @@
"Type":"NPU",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", "NAN", "NAN"],
"Multiplier":0.001
},
{
"Name":"battery_cycle",
"Type":"BCL_VOLTAGE",
"Multiplier":1,
"SendCallback":false
},
{
"Name":"critical-battery-cell",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", "NAN", 3.00, "NAN"],
"Multiplier":1,
"SendCallback":true
},
{
"Name":"FLASH_LED_REDUCE",
"Type":"UNKNOWN",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "vdroop1",
"Combination":["battery", "battery_cycle", "vdroop1"],
"Coefficient":[-10000, 400, 1000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.00, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"SendPowerHint":true
},
{
"Name":"soc",
"Type":"BCL_PERCENTAGE",
"HotThreshold":["NAN", "NAN", 80, "NAN", "NAN", "NAN", "NAN"],
"Multiplier":1
},
{
"Name":"BCL_TPU_LOW_TEMP",
"Type":"BCL_CURRENT",
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"TriggerSensor": "ocp_tpu",
"Combination":["ocp_tpu", "battery"],
"Coefficient":[1, -10],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
}
]
},
{
"Name":"BCL_GPU_LOW_TEMP",
"Type":"BCL_CURRENT",
"VirtualSensor":true,
"Formula":"WEIGHTED_AVG",
"TriggerSensor": "ocp_gpu",
"Combination":["ocp_gpu", "battery"],
"Coefficient":[1, -10],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 13000, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
}
]
},
{
"Name":"BCL_BATOILO_GPU_LOW_TEMP",
"Type":"BCL_CURRENT",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "batoilo",
"Combination":["batoilo", "ocp_gpu", "battery"],
"Coefficient":[5000, 12000, -1000 ],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 9, 9, 9]
}
]
},
{
"Name":"BCL_BATOILO_TPU_LOW_TEMP",
"Type":"BCL_CURRENT",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "batoilo",
"Combination":["batoilo", "ocp_tpu", "battery"],
"Coefficient":[5000, 12000, -1000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 3.0, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
}
]
},
{
"Name":"BCL_BATOILO_GPU",
"Type":"BCL_CURRENT",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "batoilo",
"Combination":["batoilo", "ocp_gpu"],
"Coefficient":[5000, 12000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
}
]
},
{
"Name":"BCL_BATOILO_TPU",
"Type":"BCL_CURRENT",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "batoilo",
"Combination":[
"batoilo",
"ocp_tpu"
],
"Coefficient":[5000, 12000],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 6, 6, 6]
}
]
},
{
"Name":"batoilo",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 5000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":60000,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
},
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 5, 5, 5]
}
]
},
{
"Name":"BCL_AUDIO_BAACL",
"Type":"BCL_VOLTAGE",
"VirtualSensor":true,
"Formula":"COUNT_THRESHOLD",
"TriggerSensor": "soc",
"Combination":["battery", "soc"],
"Coefficient":[-10000, 80],
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 2.0, "NAN", "NAN"],
"Multiplier":1,
"SendCallback":true
},
{
"Name":"vdroop1",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":60000,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
},
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 2, 2, 2]
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"vdroop2",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1200, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":60000,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
},
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 4, 4, 4]
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"smpl_gm",
"Type":"BCL_VOLTAGE",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 1100, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"SendCallback":true,
"PollingDelay":0,
"PassiveDelay":60000,
"BindedCdevInfo": [
{
"CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7]
},
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
},
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"ocp_cpu1",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"Hidden":true
},
{
"Name":"ocp_cpu2",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"Hidden":true
},
{
"Name":"ocp_tpu",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1
},
{
"Name":"ocp_gpu",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1
},
{
"Name":"soft_ocp_cpu2",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 12000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1
},
{
"Name":"soft_ocp_cpu1",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 8000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1
},
{
"Name":"soft_ocp_tpu",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 8500, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"Hidden":true
},
{
"Name":"soft_ocp_gpu",
"Type":"BCL_CURRENT",
"HotThreshold":["NAN", "NAN", "NAN", "NAN", 9000, "NAN", "NAN"],
"HotHysteresis":[0.0, 0.0, 0.0, 0.0, 100, 0.0, 0.0],
"Multiplier":1,
"Hidden":true
}
],
"CoolingDevices":[
{
"Name":"thermal-cpufreq-0",
"Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
"State2Power":[516, 456, 392, 296, 264, 216, 184, 140, 100, 68, 28]
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
},
{
"Name":"thermal-cpufreq-1",
"Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
"State2Power":[2466, 2166, 1840, 1544, 1260, 1024, 816, 642, 538, 410, 342, 276, 224, 162, 104]
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
},
{
"Name":"thermal-cpufreq-2",
"Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
"State2Power":[4920, 4614, 4092, 3684, 3198, 2820, 2354, 2184, 1862, 1476, 1338, 1110, 928, 738, 552, 450, 362, 188]
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
},
{
"Name":"thermal-gpufreq-0",
"Type":"GPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
"State2Power":[1925, 1528, 1258, 928, 795, 703, 573, 481, 396, 314, 236]
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
},
{
"Name":"chg_mdis",

View File

@@ -9,20 +9,17 @@
{
"Name":"neutral_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/neutral_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"quiet_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/quiet_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"skin_therm",
"Type":"UNKNOWN",
"HotThreshold":["NAN", 32.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/skin_therm/tz_temp",
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000
@@ -30,14 +27,12 @@
{
"Name":"usb_pwr_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"usb_pwr_therm2",
"Type":"UNKNOWN",
"HotThreshold":["NAN", 40.0, "NAN", "NAN", "NAN", "NAN", "NAN"],
"TempPath":"/dev/thermal/tz-by-name/usb_pwr_therm2/tz_temp",
"Multiplier":0.001,
"PollingDelay":300000,
"PassiveDelay":7000
@@ -45,19 +40,16 @@
{
"Name":"inner_disp_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/inner_disp_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"outer_disp_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/outer_disp_therm/tz_temp",
"Multiplier":0.001
},
{
"Name":"gnss_tcxo_therm",
"Type":"UNKNOWN",
"TempPath":"/dev/thermal/tz-by-name/gnss_tcxo_therm/tz_temp",
"Multiplier":0.001
},
{
@@ -872,26 +864,22 @@
{
"Name":"thermal-cpufreq-0",
"Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote",
"State2Power":[516, 456, 392, 296, 264, 216, 184, 140, 100, 68, 28]
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote"
},
{
"Name":"thermal-cpufreq-1",
"Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote",
"State2Power":[2466, 2166, 1840, 1544, 1260, 1024, 816, 642, 538, 410, 342, 276, 224, 162, 104]
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote"
},
{
"Name":"thermal-cpufreq-2",
"Type":"CPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote",
"State2Power":[4920, 4614, 4092, 3684, 3198, 2820, 2354, 2184, 1862, 1476, 1338, 1110, 928, 738, 552, 450, 362, 188]
"WritePath":"/dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote"
},
{
"Name":"thermal-gpufreq-0",
"Type":"GPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
"State2Power":[1925, 1528, 1258, 928, 795, 703, 573, 481, 396, 314, 236]
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote"
},
{
"Name":"chg_mdis",

View File

@@ -1,4 +1,3 @@
chrispaulo@google.com
michaelwr@google.com
nathankulczak@google.com
taikuo@google.com

View File

@@ -40,10 +40,6 @@ void HwApiBase::saveName(const std::string &name, const std::ios *stream) {
mNames[stream] = name;
}
bool HwApiBase::has(const std::ios &stream) {
return !!stream;
}
void HwApiBase::debug(int fd) {
dprintf(fd, "Kernel:\n");
@@ -73,6 +69,7 @@ HwCalBase::HwCalBase() {
std::ifstream calfile;
std::ifstream calfile_dual;
auto propertyPrefix = std::getenv("PROPERTY_PREFIX");
auto calPath = std::getenv("CALIBRATION_FILEPATH");
if (propertyPrefix != NULL) {
mPropertyPrefix = std::string(propertyPrefix);
@@ -80,6 +77,14 @@ HwCalBase::HwCalBase() {
ALOGE("Failed get property prefix!");
}
// Keep the cal file path for the current HwCalBase instance.
if (calPath != NULL) {
mCalPath = std::string(calPath);
} else {
ALOGE("Failed get the calibration file path!");
}
// Read the cal data for the current instance.
utils::fileFromEnv("CALIBRATION_FILEPATH", &calfile);
for (std::string line; std::getline(calfile, line);) {
@@ -93,6 +98,7 @@ HwCalBase::HwCalBase() {
}
}
// Read the cal data for the other instance.
utils::fileFromEnv("CALIBRATION_FILEPATH_DUAL", &calfile_dual);
for (std::string line; std::getline(calfile_dual, line);) {
@@ -110,7 +116,6 @@ HwCalBase::HwCalBase() {
void HwCalBase::debug(int fd) {
std::ifstream stream;
std::string path;
std::string line;
struct context {
HwCalBase *obj;
@@ -137,9 +142,8 @@ void HwCalBase::debug(int fd) {
dprintf(fd, "Persist:\n");
utils::fileFromEnv("CALIBRATION_FILEPATH", &stream, &path);
dprintf(fd, " %s:\n", path.c_str());
utils::openNoCreate(mCalPath, &stream);
dprintf(fd, " %s:\n", mCalPath.c_str());
while (std::getline(stream, line)) {
dprintf(fd, " %s\n", line.c_str());
}

View File

@@ -20,10 +20,12 @@
#include <sys/epoll.h>
#include <utils/Trace.h>
#include <chrono>
#include <list>
#include <map>
#include <sstream>
#include <string>
#include <type_traits>
#include "utils.h"
@@ -47,17 +49,19 @@ class HwApiBase {
class Record : public RecordInterface {
public:
Record(const char *func, const T &value, const std::ios *stream)
: mFunc(func), mValue(value), mStream(stream) {}
: mFunc(func), mValue(value), mStream(stream),
mTp(std::chrono::system_clock::system_clock::now()) {}
std::string toString(const NamesMap &names) override;
private:
const char *mFunc;
const T mValue;
const std::ios *mStream;
const std::chrono::system_clock::time_point mTp;
};
using Records = std::list<std::unique_ptr<RecordInterface>>;
static constexpr uint32_t RECORDS_SIZE = 32;
static constexpr uint32_t RECORDS_SIZE = 2048;
public:
HwApiBase();
@@ -67,7 +71,8 @@ class HwApiBase {
void saveName(const std::string &name, const std::ios *stream);
template <typename T>
void open(const std::string &name, T *stream);
bool has(const std::ios &stream);
template <typename T>
bool has(const T &stream);
template <typename T>
bool get(T *value, std::istream *stream);
template <typename T>
@@ -93,6 +98,16 @@ void HwApiBase::open(const std::string &name, T *stream) {
utils::openNoCreate(mPathPrefix + name, stream);
}
template <typename T>
bool HwApiBase::has(const T &stream) {
if constexpr (std::is_same<T, std::fstream>::value || std::is_same<T, std::ofstream>::value ||
std::is_same<T, std::ifstream>::value)
return stream.is_open() && !stream.fail();
ALOGE("File stream is not of the correct type");
return false;
}
template <typename T>
bool HwApiBase::get(T *value, std::istream *stream) {
ATRACE_NAME("HwApi::get");
@@ -169,9 +184,14 @@ template <typename T>
std::string HwApiBase::Record<T>::toString(const NamesMap &names) {
using utils::operator<<;
std::stringstream ret;
auto lTp = std::chrono::system_clock::to_time_t(mTp);
struct tm buf;
auto lTime = localtime_r(&lTp, &buf);
ret << mFunc << " '" << names.at(mStream) << "' = '" << mValue << "'";
ret << std::put_time(lTime, "%Y-%m-%d %H:%M:%S.") << std::setfill('0') << std::setw(3)
<< (std::chrono::duration_cast<std::chrono::milliseconds>(mTp.time_since_epoch()) % 1000)
.count()
<< " " << mFunc << " '" << names.at(mStream) << "' = '" << mValue << "'";
return ret.str();
}
@@ -188,6 +208,7 @@ class HwCalBase {
private:
std::string mPropertyPrefix;
std::string mCalPath;
std::map<std::string, std::string> mCalData;
};

View File

@@ -103,6 +103,19 @@ inline Enable_If_Unsigned<T, T> getProperty(const std::string &key, const T def)
return ::android::base::GetUintProperty(key, def);
}
template <typename T, size_t N>
inline std::array<T, N> getProperty(const std::string &key, const std::array<T, N> &def) {
std::string value = ::android::base::GetProperty(key, "");
if (!value.empty()) {
std::array<T, N> result{0};
std::stringstream stream{value};
utils::unpack(stream, &result);
if (stream && stream.eof())
return result;
}
return def;
}
template <>
inline bool getProperty<bool>(const std::string &key, const bool def) {
return ::android::base::GetBoolProperty(key, def);
@@ -110,10 +123,12 @@ inline bool getProperty<bool>(const std::string &key, const bool def) {
template <typename T>
static void openNoCreate(const std::string &file, T *outStream) {
auto mode = std::is_base_of_v<std::ostream, T> ? std::ios_base::out : std::ios_base::in;
if (!std::filesystem::exists(file)) {
ALOGE("File does not exist: %s", file.c_str());
return;
}
// Force 'in' mode to prevent file creation
outStream->open(file, mode | std::ios_base::in);
outStream->open(file);
if (!*outStream) {
ALOGE("Failed to open %s (%d): %s", file.c_str(), errno, strerror(errno));
}

View File

@@ -60,6 +60,7 @@ cc_library {
srcs: [
"Vibrator.cpp",
],
shared_libs: ["//device/google/gs-common:PixelVibratorFlagsL26Private"],
export_include_dirs: ["."],
vendor_available: true,
visibility: [":__subpackages__"],

View File

@@ -78,6 +78,9 @@ class HwApi : public Vibrator::HwApi, private HwApiBase {
open("calibration/q_stored", &mQ);
open("default/vibe_state", &mVibeState);
open("default/num_waves", &mEffectCount);
open("default/braking_time_bank", &mEffectBrakingTimeBank);
open("default/braking_time_index", &mEffectBrakingTimeIndex);
open("default/braking_time_ms", &mEffectBrakingTimeMs);
open("default/owt_free_space", &mOwtFreeSpace);
open("default/f0_comp_enable", &mF0CompEnable);
open("default/redc_comp_enable", &mRedcCompEnable);
@@ -89,6 +92,16 @@ class HwApi : public Vibrator::HwApi, private HwApiBase {
bool setRedc(std::string value) override { return set(value, &mRedc); }
bool setQ(std::string value) override { return set(value, &mQ); }
bool getEffectCount(uint32_t *value) override { return get(value, &mEffectCount); }
bool hasEffectBrakingTimeBank() override { return has(mEffectBrakingTimeBank); }
bool setEffectBrakingTimeBank(uint32_t value) override {
return set(value, &mEffectBrakingTimeBank);
}
bool setEffectBrakingTimeIndex(uint32_t value) override {
return set(value, &mEffectBrakingTimeIndex);
}
bool getEffectBrakingTimeMs(uint32_t *value) override {
return get(value, &mEffectBrakingTimeMs);
}
bool pollVibeState(uint32_t value, int32_t timeoutMs) override {
return poll(value, &mVibeState, timeoutMs);
}
@@ -282,6 +295,9 @@ class HwApi : public Vibrator::HwApi, private HwApiBase {
std::ofstream mRedc;
std::ofstream mQ;
std::ifstream mEffectCount;
std::ofstream mEffectBrakingTimeBank;
std::ofstream mEffectBrakingTimeIndex;
std::ifstream mEffectBrakingTimeMs;
std::ifstream mVibeState;
std::ifstream mOwtFreeSpace;
std::ofstream mF0CompEnable;
@@ -302,9 +318,9 @@ class HwCal : public Vibrator::HwCal, private HwCalBase {
static constexpr uint32_t VERSION_DEFAULT = 2;
static constexpr int32_t DEFAULT_FREQUENCY_SHIFT = 0;
static constexpr std::array<uint32_t, 2> V_TICK_DEFAULT = {1, 100};
static constexpr std::array<uint32_t, 2> V_CLICK_DEFAULT = {1, 100};
static constexpr std::array<uint32_t, 2> V_LONG_DEFAULT = {1, 100};
static constexpr std::array<uint32_t, 2> V_TICK_DEFAULT = {5, 95};
static constexpr std::array<uint32_t, 2> V_CLICK_DEFAULT = {5, 95};
static constexpr std::array<uint32_t, 2> V_LONG_DEFAULT = {5, 95};
public:
HwCal() {}
@@ -354,22 +370,19 @@ class HwCal : public Vibrator::HwCal, private HwCalBase {
if (getPersist(TICK_VOLTAGES_CONFIG, value)) {
return true;
}
*value = V_TICK_DEFAULT;
return true;
return getProperty(TICK_VOLTAGES_CONFIG, value, V_TICK_DEFAULT);
}
bool getClickVolLevels(std::array<uint32_t, 2> *value) override {
if (getPersist(CLICK_VOLTAGES_CONFIG, value)) {
return true;
}
*value = V_CLICK_DEFAULT;
return true;
return getProperty(CLICK_VOLTAGES_CONFIG, value, V_CLICK_DEFAULT);
}
bool getLongVolLevels(std::array<uint32_t, 2> *value) override {
if (getPersist(LONG_VOLTAGES_CONFIG, value)) {
return true;
}
*value = V_LONG_DEFAULT;
return true;
return getProperty(LONG_VOLTAGES_CONFIG, value, V_LONG_DEFAULT);
}
bool isChirpEnabled() override {
return utils::getProperty("persist.vendor.vibrator.hal.chirp.enabled", false);

View File

@@ -19,6 +19,7 @@
#include <glob.h>
#include <hardware/hardware.h>
#include <hardware/vibrator.h>
#include <linux/version.h>
#include <log/log.h>
#include <stdio.h>
#include <utils/Trace.h>
@@ -58,7 +59,7 @@ static constexpr int8_t MAX_PAUSE_TIMING_ERROR_MS = 1; // ALERT Irq Handling
static constexpr uint32_t MAX_TIME_MS = UINT16_MAX;
static constexpr auto ASYNC_COMPLETION_TIMEOUT = std::chrono::milliseconds(100);
static constexpr auto POLLING_TIMEOUT = 20;
static constexpr auto POLLING_TIMEOUT = 50;
static constexpr int32_t COMPOSE_DELAY_MAX_MS = 10000;
/* nsections is 8 bits. Need to preserve 1 section for the first delay before the first effect. */
@@ -71,6 +72,14 @@ static constexpr int32_t COMPOSE_PWLE_SIZE_MAX_DEFAULT = 127;
// See the LRA Calibration Support documentation for more details.
static constexpr int32_t Q14_BIT_SHIFT = 14;
// Measured ReDC. The LRA series resistance (ReDC), expressed as follows
// redc(ohms) = redc_measured / 2^Q15_BIT_SHIFT.
// This value represents the unit-specific ReDC input to the click compensation
// algorithm. It can be overwritten at a later time by writing to the redc_stored
// sysfs control.
// See the LRA Calibration Support documentation for more details.
static constexpr int32_t Q15_BIT_SHIFT = 15;
// Measured Q factor, q_measured, is represented by Q8.16 fixed
// point format on cs40l26 devices. The expression to calculate q is:
// q = q_measured / 2^Q16_BIT_SHIFT
@@ -84,6 +93,30 @@ static constexpr uint8_t PWLE_CHIRP_BIT = 0x8; // Dynamic/static frequency and
static constexpr uint8_t PWLE_BRAKE_BIT = 0x4;
static constexpr uint8_t PWLE_AMP_REG_BIT = 0x2;
static constexpr uint8_t PWLE_WT_TYPE = 12;
static constexpr uint8_t PWLE_HEADER_WORD_COUNT = 3;
static constexpr uint8_t PWLE_HEADER_FTR_SHIFT = 8;
static constexpr uint8_t PWLE_SVC_METADATA_WORD_COUNT = 3;
static constexpr uint32_t PWLE_SVC_METADATA_TERMINATOR = 0xFFFFFF;
static constexpr uint8_t PWLE_SEGMENT_WORD_COUNT = 2;
static constexpr uint8_t PWLE_HEADER_WCOUNT_WORD_OFFSET = 2;
static constexpr uint8_t PWLE_WORD_SIZE = sizeof(uint32_t);
static constexpr uint8_t PWLE_SVC_NO_BRAKING = -1;
static constexpr uint8_t PWLE_SVC_CAT_BRAKING = 0;
static constexpr uint8_t PWLE_SVC_OPEN_BRAKING = 1;
static constexpr uint8_t PWLE_SVC_CLOSED_BRAKING = 2;
static constexpr uint8_t PWLE_SVC_MIXED_BRAKING = 3;
static constexpr uint32_t PWLE_SVC_MAX_BRAKING_TIME_MS = 1000;
static constexpr uint8_t PWLE_FTR_BUZZ_BIT = 0x80;
static constexpr uint8_t PWLE_FTR_CLICK_BIT = 0x00;
static constexpr uint8_t PWLE_FTR_DYNAMIC_F0_BIT = 0x10;
static constexpr uint8_t PWLE_FTR_SVC_METADATA_BIT = 0x04;
static constexpr uint8_t PWLE_FTR_DVL_BIT = 0x02;
static constexpr uint8_t PWLE_FTR_LF0T_BIT = 0x01;
static constexpr float PWLE_LEVEL_MIN = 0.0;
static constexpr float PWLE_LEVEL_MAX = 1.0;
static constexpr float CS40L26_PWLE_LEVEL_MIN = -1.0;
@@ -115,6 +148,10 @@ static uint16_t amplitudeToScale(float amplitude, float maximum) {
return std::round(ratio);
}
static float redcToFloat(std::string *caldata) {
return static_cast<float>(std::stoul(*caldata, nullptr, 16)) / (1 << Q15_BIT_SHIFT);
}
enum WaveformBankID : uint8_t {
RAM_WVFRM_BANK,
ROM_WVFRM_BANK,
@@ -158,6 +195,8 @@ enum vibe_state {
VIBE_STATE_ASP,
};
std::mutex mActiveId_mutex; // protects mActiveId
class DspMemChunk {
private:
std::unique_ptr<uint8_t[]> head;
@@ -233,10 +272,18 @@ class DspMemChunk {
write(8, 0); /* nsections placeholder */
write(8, 0); /* repeat */
} else if (waveformType == WAVEFORM_PWLE) {
write(16, (PWLE_FTR_BUZZ_BIT | PWLE_FTR_DVL_BIT)
<< PWLE_HEADER_FTR_SHIFT); /* Feature flag */
write(8, PWLE_WT_TYPE); /* type12 */
write(24, PWLE_HEADER_WORD_COUNT); /* Header word count */
write(24, 0); /* Body word count placeholder */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
write(24, 0); /* Waveform length placeholder */
write(8, 0); /* Repeat */
write(12, 0); /* Wait time between repeats */
write(8, 0); /* nsections placeholder */
#endif
} else {
ALOGE("%s: Invalid type: %u", __func__, waveformType);
}
@@ -324,6 +371,9 @@ class DspMemChunk {
ALOGE("%s: Invalid argument: %u", __func__, totalDuration);
return -EINVAL;
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
f += PWLE_HEADER_WORD_COUNT * PWLE_WORD_SIZE;
#endif
totalDuration *= 8; /* Unit: 0.125 ms (since wlength played @ 8kHz). */
totalDuration |=
WT_LEN_CALCD; /* Bit 23 is for WT_LEN_CALCD; Bit 22 is for WT_INDEFINITE. */
@@ -352,6 +402,9 @@ class DspMemChunk {
ALOGE("%s: Invalid argument: %d", __func__, segmentIdx);
return -EINVAL;
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
f += PWLE_HEADER_WORD_COUNT * PWLE_WORD_SIZE;
#endif
*(f + 7) |= (0xF0 & segmentIdx) >> 4; /* Bit 4 to 7 */
*(f + 9) |= (0x0F & segmentIdx) << 4; /* Bit 3 to 0 */
} else {
@@ -361,6 +414,34 @@ class DspMemChunk {
return 0;
}
int updateWCount(int segmentCount) {
uint8_t *f = front();
if (segmentCount > COMPOSE_SIZE_MAX + 1 /*1st effect may have a delay*/) {
ALOGE("%s: Invalid argument: %d", __func__, segmentCount);
return -EINVAL;
}
if (f == nullptr) {
ALOGE("%s: head does not exist!", __func__);
return -ENOMEM;
}
if (waveformType != WAVEFORM_PWLE) {
ALOGE("%s: Invalid type: %d", __func__, waveformType);
return -EDOM;
}
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0)
f += PWLE_HEADER_WORD_COUNT * PWLE_WORD_SIZE;
#endif
uint32_t dataSize = segmentCount * PWLE_SEGMENT_WORD_COUNT + PWLE_HEADER_WORD_COUNT;
*(f + 0) = (dataSize >> 24) & 0xFF;
*(f + 1) = (dataSize >> 16) & 0xFF;
*(f + 2) = (dataSize >> 8) & 0xFF;
*(f + 3) = dataSize & 0xFF;
return 0;
}
};
Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> hwCalDefault,
@@ -485,8 +566,9 @@ Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> h
mFfEffects.resize(WAVEFORM_MAX_INDEX);
mEffectDurations.resize(WAVEFORM_MAX_INDEX);
mEffectDurations = {
1000, 100, 12, 1000, 300, 130, 150, 500, 100, 5, 12, 1000, 1000, 1000,
1000, 100, 9, 1000, 300, 130, 150, 500, 100, 5, 12, 1000, 1000, 1000,
}; /* 11+3 waveforms. The duration must < UINT16_MAX */
mEffectBrakingDurations.resize(WAVEFORM_MAX_INDEX);
mEffectCustomData.reserve(WAVEFORM_MAX_INDEX);
uint8_t effectIndex;
@@ -519,6 +601,11 @@ Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> h
if (mFfEffects[effectIndex].id != effectIndex) {
ALOGW("Unexpected effect index: %d -> %d", effectIndex, mFfEffects[effectIndex].id);
}
if (mHwApiDef->hasEffectBrakingTimeBank()) {
mHwApiDef->setEffectBrakingTimeIndex(effectIndex);
mHwApiDef->getEffectBrakingTimeMs(&mEffectBrakingDurations[effectIndex]);
}
} else {
/* Initiate placeholders for OWT effects. */
numBytes = effectIndex == WAVEFORM_COMPOSE ? FF_CUSTOM_DATA_LEN_MAX_COMP
@@ -592,9 +679,12 @@ Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> h
if (mHwCalDef->getF0(&caldata)) {
mHwApiDef->setF0(caldata);
mResonantFrequency =
static_cast<float>(std::stoul(caldata, nullptr, 16)) / (1 << Q14_BIT_SHIFT);
}
if (mHwCalDef->getRedc(&caldata)) {
mHwApiDef->setRedc(caldata);
mRedc = redcToFloat(&caldata);
}
if (mHwCalDef->getQ(&caldata)) {
mHwApiDef->setQ(caldata);
@@ -677,8 +767,21 @@ Vibrator::Vibrator(std::unique_ptr<HwApi> hwApiDefault, std::unique_ptr<HwCal> h
mSupportedPrimitives = defaultSupportedPrimitives;
}
mPrimitiveMaxScale = {1.0f, 0.95f, 0.75f, 0.9f, 1.0f, 1.0f, 1.0f, 0.75f, 0.75f};
mPrimitiveMinScale = {0.0f, 0.01f, 0.11f, 0.23f, 0.0f, 0.25f, 0.02f, 0.03f, 0.16f};
mPrimitiveMaxScale.resize(WAVEFORM_MAX_INDEX, 100);
mPrimitiveMaxScale[WAVEFORM_CLICK_INDEX] = 95;
mPrimitiveMaxScale[WAVEFORM_THUD_INDEX] = 75;
mPrimitiveMaxScale[WAVEFORM_SPIN_INDEX] = 90;
mPrimitiveMaxScale[WAVEFORM_LIGHT_TICK_INDEX] = 75;
mPrimitiveMaxScale[WAVEFORM_LOW_TICK_INDEX] = 75;
mPrimitiveMinScale.resize(WAVEFORM_MAX_INDEX, 0);
mPrimitiveMinScale[WAVEFORM_CLICK_INDEX] = 1;
mPrimitiveMinScale[WAVEFORM_THUD_INDEX] = 11;
mPrimitiveMinScale[WAVEFORM_SPIN_INDEX] = 23;
mPrimitiveMinScale[WAVEFORM_SLOW_RISE_INDEX] = 25;
mPrimitiveMinScale[WAVEFORM_QUICK_FALL_INDEX] = 2;
mPrimitiveMinScale[WAVEFORM_LIGHT_TICK_INDEX] = 3;
mPrimitiveMinScale[WAVEFORM_LOW_TICK_INDEX] = 16;
// ====== Get GPIO status and init it ================
mGPIOStatus = mHwGPIO->getGPIO();
@@ -850,7 +953,7 @@ ndk::ScopedAStatus Vibrator::getPrimitiveDuration(CompositePrimitive primitive,
return status;
}
*durationMs = mEffectDurations[effectIndex];
*durationMs = mEffectDurations[effectIndex] + mEffectBrakingDurations[effectIndex];
} else {
*durationMs = 0;
}
@@ -863,7 +966,6 @@ ndk::ScopedAStatus Vibrator::compose(const std::vector<CompositeEffect> &composi
ALOGD("Vibrator::compose");
uint16_t size;
uint16_t nextEffectDelay;
uint16_t totalDuration = 0;
if (composite.size() > COMPOSE_SIZE_MAX || composite.empty()) {
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
@@ -871,7 +973,6 @@ ndk::ScopedAStatus Vibrator::compose(const std::vector<CompositeEffect> &composi
/* Check if there is a wait before the first effect. */
nextEffectDelay = composite.front().delayMs;
totalDuration += nextEffectDelay;
if (nextEffectDelay > COMPOSE_DELAY_MAX_MS || nextEffectDelay < 0) {
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
} else if (nextEffectDelay > 0) {
@@ -904,16 +1005,7 @@ ndk::ScopedAStatus Vibrator::compose(const std::vector<CompositeEffect> &composi
if (!status.isOk()) {
return status;
}
// Add a max and min threshold to prevent the device crash(overcurrent) or no
// feeling
if (effectScale > mPrimitiveMaxScale[static_cast<uint32_t>(e_curr.primitive)]) {
effectScale = mPrimitiveMaxScale[static_cast<uint32_t>(e_curr.primitive)];
}
if (effectScale < mPrimitiveMinScale[static_cast<uint32_t>(e_curr.primitive)]) {
effectScale = mPrimitiveMinScale[static_cast<uint32_t>(e_curr.primitive)];
}
effectVolLevel = intensityToVolLevel(effectScale, effectIndex);
totalDuration += mEffectDurations[effectIndex];
}
/* Fetch the next composite effect delay and fill into the current section */
@@ -926,13 +1018,14 @@ ndk::ScopedAStatus Vibrator::compose(const std::vector<CompositeEffect> &composi
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
}
nextEffectDelay = delay;
totalDuration += delay;
}
if (effectIndex == 0 && nextEffectDelay == 0) {
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
}
nextEffectDelay += mEffectBrakingDurations[effectIndex];
ch.constructComposeSegment(effectVolLevel, effectIndex, 0 /*repeat*/, 0 /*flags*/,
nextEffectDelay /*delay*/);
}
@@ -990,7 +1083,7 @@ ndk::ScopedAStatus Vibrator::on(uint32_t timeoutMs, uint32_t effectIndex, const
if (mIsDual) {
mHwApiDual->getOwtFreeSpace(&freeBytes);
if (ch-> size() > freeBytes) {
ALOGE("Invalid OWT length in flip: Effect %d: %d > %d!", effectIndex,
ALOGE("Invalid OWT length in flip: Effect %d: %zu > %d!", effectIndex,
ch-> size(), freeBytes);
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
}
@@ -1129,12 +1222,7 @@ ndk::ScopedAStatus Vibrator::alwaysOnDisable(int32_t /*id*/) {
}
ndk::ScopedAStatus Vibrator::getResonantFrequency(float *resonantFreqHz) {
std::string caldata{8, '0'};
if (!mHwCalDef->getF0(&caldata)) {
ALOGE("Failed to get resonant frequency (%d): %s", errno, strerror(errno));
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_STATE);
}
*resonantFreqHz = static_cast<float>(std::stoul(caldata, nullptr, 16)) / (1 << Q14_BIT_SHIFT);
*resonantFreqHz = mResonantFrequency;
return ndk::ScopedAStatus::ok();
}
@@ -1351,6 +1439,13 @@ ndk::ScopedAStatus Vibrator::composePwle(const std::vector<PrimitivePwle> &compo
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
}
/* Update word count */
if (ch.updateWCount(segmentIdx) < 0) {
ALOGE("%s: Failed to update the waveform word count", __func__);
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
}
/* Update waveform length */
if (ch.updateWLength(totalDuration) < 0) {
ALOGE("%s: Failed to update the waveform length length", __func__);
return ndk::ScopedAStatus::fromExceptionCode(EX_ILLEGAL_ARGUMENT);
@@ -1383,36 +1478,37 @@ binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) {
dprintf(fd, "AIDL:\n");
dprintf(fd, " Active Effect ID: %" PRId32 "\n", mActiveId);
dprintf(fd, " F0: %.02f\n", mResonantFrequency);
dprintf(fd, " F0 Offset: base: %" PRIu32 " flip: %" PRIu32 "\n", mF0Offset, mF0OffsetDual);
dprintf(fd, " Redc: %.02f\n", mRedc);
dprintf(fd, " Voltage Levels:\n");
dprintf(fd, " Tick Effect Min: %" PRIu32 " Max: %" PRIu32 "\n", mTickEffectVol[0],
dprintf(fd, " Tick Effect Min: %" PRIu32 " Max: %" PRIu32 "\n", mTickEffectVol[0],
mTickEffectVol[1]);
dprintf(fd, " Click Effect Min: %" PRIu32 " Max: %" PRIu32 "\n", mClickEffectVol[0],
dprintf(fd, " Click Effect Min: %" PRIu32 " Max: %" PRIu32 "\n", mClickEffectVol[0],
mClickEffectVol[1]);
dprintf(fd, " Long Effect Min: %" PRIu32 " Max: %" PRIu32 "\n", mLongEffectVol[0],
dprintf(fd, " Long Effect Min: %" PRIu32 " Max: %" PRIu32 "\n", mLongEffectVol[0],
mLongEffectVol[1]);
dprintf(fd, " FF effect:\n");
dprintf(fd, " Physical waveform:\n");
dprintf(fd, "==== Base ====\n\tId\tIndex\tt ->\tt'\ttrigger button\n");
uint8_t effectId;
dprintf(fd, " Scales\n");
dprintf(fd, "\tId\tMinScale\tMaxScale\n");
for (effectId = 0; effectId < WAVEFORM_MAX_PHYSICAL_INDEX; effectId++) {
dprintf(fd, "\t%d\t%d\t%d\t%d\t%X\n", mFfEffects[effectId].id,
mFfEffects[effectId].u.periodic.custom_data[1], mEffectDurations[effectId],
mFfEffects[effectId].replay.length, mFfEffects[effectId].trigger.button);
}
if (mIsDual) {
dprintf(fd, "==== Flip ====\n\tId\tIndex\tt ->\tt'\ttrigger button\n");
for (effectId = 0; effectId < WAVEFORM_MAX_PHYSICAL_INDEX; effectId++) {
dprintf(fd, "\t%d\t%d\t%d\t%d\t%X\n", mFfEffectsDual[effectId].id,
mFfEffectsDual[effectId].u.periodic.custom_data[1], mEffectDurations[effectId],
mFfEffectsDual[effectId].replay.length,
mFfEffectsDual[effectId].trigger.button);
}
dprintf(fd, "\t%d\t%d\t\t%d\n", effectId, mPrimitiveMinScale[effectId],
mPrimitiveMaxScale[effectId]);
}
dprintf(fd, "Base: OWT waveform:\n");
dprintf(fd, " Base FF effect:\n");
dprintf(fd, " Physical waveform:\n");
dprintf(fd, "\tId\tIndex\tt ->\tt'\tBrake\ttrigger button\n");
for (effectId = 0; effectId < WAVEFORM_MAX_PHYSICAL_INDEX; effectId++) {
dprintf(fd, "\t%d\t%d\t%d\t%d\t%d\t%X\n", mFfEffects[effectId].id,
mFfEffects[effectId].u.periodic.custom_data[1], mEffectDurations[effectId],
mFfEffects[effectId].replay.length, mEffectBrakingDurations[effectId],
mFfEffects[effectId].trigger.button);
}
dprintf(fd, " OWT waveform:\n");
dprintf(fd, "\tId\tBytes\tData\tt\ttrigger button\n");
for (effectId = WAVEFORM_MAX_PHYSICAL_INDEX; effectId < WAVEFORM_MAX_INDEX; effectId++) {
uint32_t numBytes = mFfEffects[effectId].u.periodic.custom_len * 2;
@@ -1428,8 +1524,18 @@ binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) {
dprintf(fd, "\t%d\t%d\t{%s}\t%u\t%X\n", mFfEffects[effectId].id, numBytes, ss.str().c_str(),
mFfEffectsDual[effectId].replay.length, mFfEffects[effectId].trigger.button);
}
if (mIsDual) {
dprintf(fd, "Flip: OWT waveform:\n");
dprintf(fd, " Flip FF effect:\n");
dprintf(fd, " Physical waveform:\n");
dprintf(fd, "\tId\tIndex\tt ->\tt'\tBrake\ttrigger button\n");
for (effectId = 0; effectId < WAVEFORM_MAX_PHYSICAL_INDEX; effectId++) {
dprintf(fd, "\t%d\t%d\t%d\t%d\t%d\t%X\n", mFfEffectsDual[effectId].id,
mFfEffectsDual[effectId].u.periodic.custom_data[1], mEffectDurations[effectId],
mFfEffectsDual[effectId].replay.length, mEffectBrakingDurations[effectId],
mFfEffectsDual[effectId].trigger.button);
}
dprintf(fd, " OWT waveform:\n");
dprintf(fd, "\tId\tBytes\tData\tt\ttrigger button\n");
for (effectId = WAVEFORM_MAX_PHYSICAL_INDEX; effectId < WAVEFORM_MAX_INDEX; effectId++) {
uint32_t numBytes = mFfEffectsDual[effectId].u.periodic.custom_len * 2;
@@ -1448,6 +1554,59 @@ binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) {
}
}
dprintf(fd, "\n");
dprintf(fd, "Versions:\n");
const std::vector<std::pair<std::string, std::string>> moduleFolderNames = {
{"cs40l26_core", "Haptics"}, {"cl_dsp_core", "DSP"}};
const std::string firmwareFolder = "/vendor/firmware/";
const std::string waveformName = "cs40l26.bin";
const std::array<std::string, 2> firmwareFileNames = {"cs40l26.wmfw", "cs40l26-calib.wmfw"};
const std::array<std::string, 4> tuningFileNames = {"cs40l26-svc.bin", "cs40l26-calib.bin",
"cs40l26-dvl.bin", "cs40l26-dbc.bin"};
std::ifstream verFile;
const auto verBinFileMode = std::ifstream::in | std::ifstream::binary;
std::string ver;
for (const auto &[folder, logTag] : moduleFolderNames) {
verFile.open("/sys/module/" + folder + "/version");
if (verFile.is_open()) {
getline(verFile, ver);
dprintf(fd, " %s Driver: %s\n", logTag.c_str(), ver.c_str());
verFile.close();
}
}
for (auto &name : firmwareFileNames) {
verFile.open(firmwareFolder + name, verBinFileMode);
if (verFile.is_open()) {
verFile.seekg(113);
dprintf(fd, " %s: %d.%d.%d\n", name.c_str(), verFile.get(), verFile.get(),
verFile.get());
verFile.close();
}
}
verFile.open(firmwareFolder + waveformName, verBinFileMode);
if (verFile.is_open()) {
while (getline(verFile, ver)) {
auto pos = ver.find("Date: ");
if (pos != std::string::npos) {
ver = ver.substr(pos + 6, pos + 15);
dprintf(fd, " %s: %s\n", waveformName.c_str(), ver.c_str());
break;
}
}
verFile.close();
}
for (auto &name : tuningFileNames) {
verFile.open(firmwareFolder + name, verBinFileMode);
if (verFile.is_open()) {
verFile.seekg(36);
getline(verFile, ver);
ver = ver.substr(0, ver.find(".bin") + 4);
ver = ver.substr(ver.rfind('\\') + 1);
dprintf(fd, " %s: %s\n", name.c_str(), ver.c_str());
verFile.close();
}
}
dprintf(fd, "\n");
mHwApiDef->debug(fd);
@@ -1456,6 +1615,8 @@ binder_status_t Vibrator::dump(int fd, const char **args, uint32_t numArgs) {
mHwCalDef->debug(fd);
dprintf(fd, "\n");
if (mIsDual) {
mHwApiDual->debug(fd);
dprintf(fd, "\n");
@@ -1520,10 +1681,6 @@ ndk::ScopedAStatus Vibrator::getSimpleDetails(Effect effect, EffectStrength stre
case Effect::HEAVY_CLICK:
effectIndex = WAVEFORM_CLICK_INDEX;
intensity *= 1.0f;
// WAVEFORM_CLICK_INDEX is 2, but the primitive CLICK index is 1.
if (intensity > mPrimitiveMaxScale[WAVEFORM_CLICK_INDEX - 1]) {
intensity = mPrimitiveMaxScale[WAVEFORM_CLICK_INDEX - 1];
}
break;
default:
return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);
@@ -1765,6 +1922,16 @@ uint32_t Vibrator::intensityToVolLevel(float intensity, uint32_t effectIndex) {
volLevel = calc(intensity, mClickEffectVol);
break;
}
// The waveform being played must fall within the allowable scale range
if (effectIndex < WAVEFORM_MAX_INDEX) {
if (volLevel > mPrimitiveMaxScale[effectIndex]) {
volLevel = mPrimitiveMaxScale[effectIndex];
}
if (volLevel < mPrimitiveMinScale[effectIndex]) {
volLevel = mPrimitiveMinScale[effectIndex];
}
}
return volLevel;
}

View File

@@ -62,6 +62,15 @@ class Vibrator : public BnVibrator {
virtual bool setQ(std::string value) = 0;
// Reports the number of effect waveforms loaded in firmware.
virtual bool getEffectCount(uint32_t *value) = 0;
// Checks whether braking time bank is supported.
virtual bool hasEffectBrakingTimeBank() = 0;
// Specifies the bank of the effect for querying braking time.
// 0: RAM bank, 2: OWT bank
virtual bool setEffectBrakingTimeBank(uint32_t value) = 0;
// Specifies the index of an effect whose braking time is to be read.
virtual bool setEffectBrakingTimeIndex(uint32_t value) = 0;
// Gets the braking time duration of SVC effects (returns 0 if not SVC).
virtual bool getEffectBrakingTimeMs(uint32_t *value) = 0;
// Blocks until timeout or vibrator reaches desired state
// (2 = ASP enabled, 1 = haptic enabled, 0 = disabled).
virtual bool pollVibeState(uint32_t value, int32_t timeoutMs = -1) = 0;
@@ -218,6 +227,7 @@ class Vibrator : public BnVibrator {
std::vector<ff_effect> mFfEffects;
std::vector<ff_effect> mFfEffectsDual;
std::vector<uint32_t> mEffectDurations;
std::vector<uint32_t> mEffectBrakingDurations;
std::vector<std::vector<int16_t>> mEffectCustomData;
std::vector<std::vector<int16_t>> mEffectCustomDataDual;
std::future<void> mAsyncHandle;
@@ -232,13 +242,14 @@ class Vibrator : public BnVibrator {
float mLongEffectScale{1.0};
bool mIsChirpEnabled;
uint32_t mSupportedPrimitivesBits = 0x0;
float mRedc{0.0f};
float mResonantFrequency{0.0f};
std::vector<CompositePrimitive> mSupportedPrimitives;
std::vector<float> mPrimitiveMaxScale;
std::vector<float> mPrimitiveMinScale;
std::vector<uint32_t> mPrimitiveMaxScale;
std::vector<uint32_t> mPrimitiveMinScale;
bool mConfigHapticAlsaDeviceDone{false};
bool mGPIOStatus;
bool mIsDual{false};
std::mutex mActiveId_mutex; // protects mActiveId
};
} // namespace vibrator

View File

@@ -14,6 +14,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/15-0043/calibration/redc_stored
chown system system /sys/bus/i2c/devices/15-0043/default/vibe_state
chown system system /sys/bus/i2c/devices/15-0043/default/num_waves
chown system system /sys/bus/i2c/devices/15-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/15-0043/default/braking_time_index
chown system system /sys/bus/i2c/devices/15-0043/default/braking_time_ms
chown system system /sys/bus/i2c/devices/15-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/15-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/15-0043/default/f0_comp_enable
@@ -25,6 +28,9 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/15-0042/calibration/redc_stored
chown system system /sys/bus/i2c/devices/15-0042/default/vibe_state
chown system system /sys/bus/i2c/devices/15-0042/default/num_waves
chown system system /sys/bus/i2c/devices/15-0042/default/braking_time_bank
chown system system /sys/bus/i2c/devices/15-0042/default/braking_time_index
chown system system /sys/bus/i2c/devices/15-0042/default/braking_time_ms
chown system system /sys/bus/i2c/devices/15-0042/default/f0_offset
chown system system /sys/bus/i2c/devices/15-0042/default/owt_free_space
chown system system /sys/bus/i2c/devices/15-0042/default/f0_comp_enable
@@ -56,6 +62,9 @@ service vendor.vibrator.cs40l26 /vendor/bin/hw/android.hardware.vibrator-service
calibration/q_stored
default/vibe_state
default/num_waves
default/braking_time_bank
default/braking_time_index
default/braking_time_ms
default/f0_offset
default/owt_free_space
default/f0_comp_enable

View File

@@ -26,7 +26,6 @@ cc_test {
"test-vibrator.cpp",
],
static_libs: [
"libc++fs",
"libgmock",
],
shared_libs: [

View File

@@ -39,6 +39,10 @@ class MockApi : public ::aidl::android::hardware::vibrator::Vibrator::HwApi {
MOCK_METHOD1(setRedc, bool(std::string value));
MOCK_METHOD1(setQ, bool(std::string value));
MOCK_METHOD1(getEffectCount, bool(uint32_t *value));
MOCK_METHOD0(hasEffectBrakingTimeBank, bool());
MOCK_METHOD1(setEffectBrakingTimeBank, bool(uint32_t value));
MOCK_METHOD1(setEffectBrakingTimeIndex, bool(uint32_t value));
MOCK_METHOD1(getEffectBrakingTimeMs, bool(uint32_t *value));
MOCK_METHOD2(pollVibeState, bool(uint32_t value, int32_t timeoutMs));
MOCK_METHOD0(hasOwtFreeSpace, bool());
MOCK_METHOD1(getOwtFreeSpace, bool(uint32_t *value));

View File

@@ -30,9 +30,9 @@ using ::testing::Test;
class HwCalTest : public Test {
protected:
static constexpr std::array<uint32_t, 2> V_TICK_DEFAULT = {1, 100};
static constexpr std::array<uint32_t, 2> V_CLICK_DEFAULT = {1, 100};
static constexpr std::array<uint32_t, 2> V_LONG_DEFAULT = {1, 100};
static constexpr std::array<uint32_t, 2> V_TICK_DEFAULT = {5, 95};
static constexpr std::array<uint32_t, 2> V_CLICK_DEFAULT = {5, 95};
static constexpr std::array<uint32_t, 2> V_LONG_DEFAULT = {5, 95};
public:
void SetUp() override { setenv("CALIBRATION_FILEPATH", mCalFile.path, true); }

View File

@@ -74,7 +74,7 @@ static constexpr std::array<EffectLevel, 2> V_TICK_DEFAULT = {1, 100};
static constexpr std::array<EffectLevel, 2> V_CLICK_DEFAULT{1, 100};
static constexpr std::array<EffectLevel, 2> V_LONG_DEFAULT{1, 100};
static constexpr std::array<EffectDuration, 14> EFFECT_DURATIONS{
0, 100, 30, 1000, 300, 130, 150, 500, 100, 15, 20, 1000, 1000, 1000};
1000, 100, 9, 1000, 300, 130, 150, 500, 100, 5, 12, 1000, 1000, 1000};
// Constants With Prescribed Values
@@ -87,7 +87,7 @@ static const std::map<Effect, EffectIndex> EFFECT_INDEX{
static constexpr uint32_t MIN_ON_OFF_INTERVAL_US = 8500;
static constexpr uint8_t VOLTAGE_SCALE_MAX = 100;
static constexpr int8_t MAX_COLD_START_LATENCY_MS = 6; // I2C Transaction + DSP Return-From-Standby
static constexpr auto POLLING_TIMEOUT = 20;
static constexpr auto POLLING_TIMEOUT = 50;
enum WaveformIndex : uint16_t {
/* Physical waveform */
WAVEFORM_LONG_VIBRATION_EFFECT_INDEX = 0,
@@ -375,6 +375,11 @@ TEST_F(VibratorTest, Constructor) {
.WillOnce(DoAll(SetArgPointee<0>(supportedPrimitivesBits), Return(true)));
EXPECT_CALL(*mMockApi, setMinOnOffInterval(MIN_ON_OFF_INTERVAL_US)).WillOnce(Return(true));
EXPECT_CALL(*mMockApi, setEffectBrakingTimeBank(0)).WillRepeatedly(Return(true));
for (uint32_t i = 0; i < WAVEFORM_MAX_PHYSICAL_INDEX; i++) {
EXPECT_CALL(*mMockApi, setEffectBrakingTimeIndex(i)).WillRepeatedly(Return(true));
EXPECT_CALL(*mMockApi, getEffectBrakingTimeMs(_)).WillRepeatedly(Return(true));
}
createVibrator(std::move(mockapi), std::move(mockcal), std::move(mockgpio), false);
}
@@ -501,6 +506,23 @@ TEST_P(EffectsTest, perform) {
promise.set_value();
return ndk::ScopedAStatus::ok();
};
std::vector<uint32_t> primitiveMaxScale;
std::vector<uint32_t> primitiveMinScale;
primitiveMaxScale.resize(WAVEFORM_MAX_INDEX, 100);
primitiveMaxScale[WAVEFORM_CLICK_INDEX] = 95;
primitiveMaxScale[WAVEFORM_THUD_INDEX] = 75;
primitiveMaxScale[WAVEFORM_SPIN_INDEX] = 90;
primitiveMaxScale[WAVEFORM_LIGHT_TICK_INDEX] = 75;
primitiveMaxScale[WAVEFORM_LOW_TICK_INDEX] = 75;
primitiveMinScale.resize(WAVEFORM_MAX_INDEX, 0);
primitiveMinScale[WAVEFORM_CLICK_INDEX] = 1;
primitiveMinScale[WAVEFORM_THUD_INDEX] = 11;
primitiveMinScale[WAVEFORM_SPIN_INDEX] = 23;
primitiveMinScale[WAVEFORM_SLOW_RISE_INDEX] = 25;
primitiveMinScale[WAVEFORM_QUICK_FALL_INDEX] = 2;
primitiveMinScale[WAVEFORM_LIGHT_TICK_INDEX] = 3;
primitiveMinScale[WAVEFORM_LOW_TICK_INDEX] = 16;
bool composeEffect;
ExpectationSet eSetup;
@@ -510,7 +532,18 @@ TEST_P(EffectsTest, perform) {
EffectIndex index = EFFECT_INDEX.at(effect);
duration = EFFECT_DURATIONS[index];
eSetup += EXPECT_CALL(*mMockApi, setFFGain(_, levelToScale(scale->second)))
auto updatedScale = levelToScale(scale->second);
if (index < WAVEFORM_MAX_INDEX) {
if (updatedScale > primitiveMaxScale[index]) {
updatedScale = primitiveMaxScale[index];
}
if (updatedScale < primitiveMinScale[index]) {
updatedScale = primitiveMinScale[index];
}
}
eSetup += EXPECT_CALL(*mMockApi, setFFGain(_, updatedScale))
.WillOnce(DoDefault());
eActivate = EXPECT_CALL(*mMockApi, setFFPlay(_, index, true))
.After(eSetup)