453 Commits
udc ... bka

Author SHA1 Message Date
213c55ed51 lynx: Initialize for Evolution X 11.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-09-26 04:54:41 +00:00
LuK1337
c630d31a8e lynx: We don't support udfps touch handler
This commit fixes broken UDFPS on gs101/gs201/zuma. The breakage is a
combination of two changes: The A16 UDFPS HAL fallback switching from
false to true, and the introduction of
`topic:fingerprint-halHandlesDisplayTouches`.

When HAL sets halHandlesDisplayTouches to true, its onPointerDown() /
onPointerUp() methods won't be called, which in this case will simply
break it.

This went unnoticed on Android 15 because the HAL defaulted to false and
the fps_touch_handler_supported property was not set.

Change-Id: If24475b5f14b7f02b90774be6acf20865285f1ab
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-08-28 21:09:13 +00:00
Michael Bestas
0c93c1d18f lynx: Drop prebuilt kernel dependency
Change-Id: I594f5963b1ad51f529b5e1562fa36f8d4f22a553
2025-08-28 16:16:16 +03:00
Michael Bestas
855e8514fd Update fingerprint/build description from BP2A.250805.005
Change-Id: If49fe065558bd2d6375c2806db5841e3c2bb7dbe
2025-08-13 02:22:25 +00:00
Michael Bestas
72702d48d3 Update fingerprint/build description from BP2A.250705.008
Change-Id: Iea1208791bd34355aac6006ea94dbdc05a4fa11e
2025-07-09 16:02:42 +03:00
Michael Bestas
c17e0724d8 lynx: Include additional wlan soong namespace
Change-Id: I1614960d2ca7a15f1646185986e2eae055e4b51d
2025-07-06 12:59:16 +03:00
Michael Bestas
8bdec3db96 lynx: Drop flood control HAL
We are missing the sepolicy for it and it's disabled

Change-Id: I22f2055e74ecfd3115cd035e685245ca0d6202e2
2025-06-26 10:19:15 +03:00
Michael Bestas
1fc5312b16 lynx: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 10:19:15 +03:00
Michael Bestas
333e2441b7 lynx: Remove userdebug/eng configuration
Change-Id: I3739e6e099681c667c80723f0f6e3197923ff762
2025-06-26 10:19:15 +03:00
Michael Bestas
fa55734a39 lynx: Remove factory scripts & self-extractors
Change-Id: I64f34481d9d3a41f5c01b5a9a3cd27db2cd10866
2025-06-26 10:19:14 +03:00
Michael Bestas
f406f92da4 lynx: Remove all boards except lynx
Change-Id: Ib34dd38d55f39e9a61c0f61d9c659e07494177a1
2025-06-26 10:19:14 +03:00
Michael Bestas
ec02c5aac3 lynx: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-26 10:19:14 +03:00
Michael Bestas
0f1c4fd59a Update fingerprint/build description from BP2A.250605.031.A2
Change-Id: I67068778abe46a0f72e1bdd0ee8aeac14969f58b
2025-06-26 10:19:14 +03:00
Michael Bestas
e79333d08f lynx: Update powerhint.json from BP2A
Change-Id: I3aa8cb97c1bc2fdbedb6783a11b99e6c759caa41
2025-06-23 22:03:28 +03:00
Michael Bestas
eff9bd4396 lynx: Update gps configuration from BP2A
Change-Id: If17af64c96227a9655a0e6e287cc311bd62b4c4f
2025-06-23 22:03:23 +03:00
Michael Bestas
12f2a23684 lynx: Update proprietary files setup for 16
Change-Id: I915a8192f5694d03ddbd2a6d4c6ea5033669500a
2025-06-23 22:02:28 +03:00
Michael Bestas
29141871b0 Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eEqyAJ9Kmfr0cNp1qDtoU4iFZ8YB4C52MQCfUCgDuwG23mbyi2dCdLv3bIRLVc0=
# =vcHV
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By guibing (2) and others
# Via Android Build Coastguard Worker (9) and others
* tag 'aml_tz6_351400020':
  Remove old unused VINTF manifest file
  ADPF:lynx: use tagged ADPF profile for SYSTEM_UI.
  ADPF:lynx: remove unused adpf profiles.
  powerhint: Mask hints in AA and DISPLAY_IDLE
  Add a soong config variable "USES_DEVICE_GOOGLE_LYNX" for prebuilt wlan
  remove unused hint
  Vibrator: Add permissions for owt_lib_compat

Change-Id: I0af62d6cb753cfd4d555574f5e61c83ba5a33370
2025-06-23 05:20:28 +03:00
Michael Bestas
9092a7114b Update fingerprint/build description from BP1A.250505.005.B1
Change-Id: Ia30f1779c873fc954445ee7d3384b76f3c77db14
2025-05-07 06:18:39 +03:00
Michael Bestas
6354f02ed5 Update fingerprint/build description from BP1A.250405.007.B1
Change-Id: I8d32ab25a62dabd6a8ab465a51009a2ea28f4d0f
2025-04-11 19:34:52 +03:00
Michael Bestas
f0736ea19c lynx: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-03-12 07:20:06 +02:00
Michael Bestas
75448ac702 Update fingerprint/build description from BP1A.250305.019
Change-Id: I535390949cbea7e3f3e635eb7a0daf873c66fadd
2025-03-11 16:08:33 +02:00
Michael Bestas
5277cb5990 Update lineage.dependencies
Change-Id: I44b527aa9ef1f7c4747344306b9c8c011328fdc3
2025-03-10 18:56:30 +02:00
Michael Bestas
edd86de987 Include missing vibrator sepolicy
Change-Id: Iac3a36e884dc1747d4fd0a60b418ffbf3779ffdb
2025-03-09 12:10:40 +02:00
Michael Bestas
a0e97fecd3 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:09:58 +02:00
Michael Bestas
217d0b6178 proprietary-files: BP1A.250305.019
Change-Id: Id59a6317f4909b8f1e4ee4f1f7e23ac7194c3b48
2025-03-09 12:09:58 +02:00
Michael Bestas
af79b8648b 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+BmrEOeAUCZ8eo7wAKCRDorT+BmrEO
# eN4YAJ9AUGcc2hDl+YufoLF5gYdwazAx1QCfbBMyXJ9iYYuAshuSUKkmG6GWUGw=
# =3s8S
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:19 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Eileen Lai (2) and others
# Via Android Build Coastguard Worker (13) and others
* tag 'android-15.0.0_r20':
  modem_svc: use modem_svc_sit version sepolicy
  Disable Wifi BugReport for subsystem restart
  Update ISODEP routing setting
  [lynx] Define CAMERA_MULTICAM_BOOST
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  lynx: Pull init.insmod.*.cfg from vendor_dlkm
  Move modem_svc_sit from gs201 to lynx
  Remove vibrator HAL service
  dumpstate: touch: Init using touch_predump
  gps: set default SUPL SSL method to SSLv23

Change-Id: Ia80b4efb74ba65444f99827fa79b4559dc7c8991
2025-03-09 11:05:51 +02:00
Android Build Coastguard Worker
3a40707759 Snap for 13025264 from f21ec8bdd8 to mainline-tzdata6-release
Change-Id: I7c36d4c10cbd2090c7529653623022bbc2abcb8a
2025-02-06 14:21:12 -08:00
Devin Moore
f21ec8bdd8 Remove old unused VINTF manifest file am: acec26c709 am: 859a6868cd
Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3478218

Change-Id: Ic453be887c790b508f5787a0ca7d20c9a3f85bdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 03:31:08 -08:00
Devin Moore
859a6868cd Remove old unused VINTF manifest file am: acec26c709
Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3478218

Change-Id: I2e52b83e134c6e29e0db68b60a6c6a760dac393d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 03:05:00 -08:00
Devin Moore
acec26c709 Remove old unused VINTF manifest file
This file is out of date and unused, so remove it.
It's targeting Android R FCM and declaring old HIDL versions of HALs
that these devices do not use.

Test: m
Bug: 388074589
Change-Id: I8e53bfc3171de8afcedc6adc678d5f29c826a1bb
2025-02-05 21:42:15 +00:00
Michael Bestas
a45372031d Update fingerprint/build description from AP4A.250205.002
Change-Id: I2b38c67ae504c91e53d7a1bfd3c0fd55639ef4ef
2025-02-05 18:02:42 +02:00
guibing
49d83d292f ADPF:lynx: use tagged ADPF profile for SYSTEM_UI.
- Add a event node for SYSTEM_UI;
- Add a separate SYSTEM_UI profile.

Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I763e2a7c715ce537e0eaa778e142fd3614b49505
2025-02-03 19:37:30 +00:00
guibing
d7d636190b ADPF:lynx: remove unused adpf profiles.
Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I5f3957af34720499191331bf6bdc31819864fbf0
2025-02-03 19:35:43 +00:00
Michael Bestas
ba019a6278 lynx: Add more Pixel camera prebuilts
These are present on stock since QPR1

Change-Id: I58ba2d30d28d4c9cd525f1e1d4ddb353eaaf9db0
2025-01-24 13:50:15 +02:00
Paulsu Su
c98ea56c0a powerhint: Mask hints in AA and DISPLAY_IDLE
This CL adds a powerhint for AA mode to mask storming hint. DISPLAY_IDLE masks DISPLAY_UPDATE_IMMINENT and CPU_LOAD_RESET when Android Auto property is set. When navigation in Android Auto, the two hint with action to boost memlat is costly.

Bug: 380188115   
Change-Id: I825a56ac32a0ecdc8b441af9cb64e81b1d04f9a6
Test: Local test with desktop_head_unit_internal
Flag: EXEMPT powerhint change
2025-01-15 00:46:11 -08:00
Michael Bestas
51e2f3a746 Add missing IWLAN packages
Change-Id: I671e4f057eb3fbe94f63dc16bf697867278e3eb2
2025-01-14 00:39:11 +02:00
kellyhung
c206d40f87 Add a soong config variable "USES_DEVICE_GOOGLE_LYNX" for prebuilt wlan
Flag: EXEMPT bugfix
Bug: 387923588
Test: Presubmits
Change-Id: I53991fc016b53c1e366e4fdf010f0ac2a7499836
2025-01-13 06:42:07 +00:00
Michael Bestas
668e846ee5 Update fingerprint/build description from AP4A.250105.002
Change-Id: I44071acad05943386f721ca1b9a58a216b81ed02
2025-01-08 12:11:02 +02:00
Android Build Coastguard Worker
073ca6a6e8 Snap for 12872597 from 38fc365a68 to mainline-tzdata6-release
Change-Id: Ia746d6e1599de41c26a0c301d54d4efa6af53b72
2025-01-06 04:35:25 -08:00
Chungkai Mei
38fc365a68 remove unused hint
As we already migrated kernel to 6.1, NewlyIdleBalancer is not used
anymore.

Flag: NONE just remove unused hint
Bug: 379810138
Change-Id: I320983d36c2cc8edae99e5c132ca63f4d2237046
Signed-off-by: Chungkai Mei <chungkai@google.com>
2024-12-17 02:09:20 -08:00
Xin Li
85b3a71025 [automerger skipped] Merge 24Q4 into AOSP main am: 3560d785f9 -s ours am: c841358352 -s ours
am skip reason: Merged-In I24ba47dafb991c395fa27ba7585c907e7b9f1920 with SHA-1 f495da19f7 is already in history

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

Change-Id: I70f281340d081dde0763753c4cbf4905e7dfcc7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 21:55:47 -08:00
Xin Li
c841358352 [automerger skipped] Merge 24Q4 into AOSP main am: 3560d785f9 -s ours
am skip reason: Merged-In I24ba47dafb991c395fa27ba7585c907e7b9f1920 with SHA-1 f495da19f7 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3413722

Change-Id: I06021130d64bde1a862ad998f88061fdf0e8a981
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:14:33 -08:00
Xin Li
3560d785f9 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I24ba47dafb991c395fa27ba7585c907e7b9f1920
Change-Id: Ibfe0bea72a7e42ebf8550ea0e934214dc665ee68
2024-12-13 11:15:09 -08:00
Michael Bestas
0a960fcf1d proprietary-files: AP4A.241205.013
Change-Id: Ia0d253867c9fafa277404610923457b1056c035f
2024-12-11 15:40:07 +02:00
Michael Bestas
18bca12b24 Update fingerprint/build description from AP4A.241205.013
Change-Id: If0bf45849f592e0edaea387dffd2ce49e33d132e
2024-12-11 04:12:23 +02:00
Michael Bestas
11e121e5c5 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
# ePuOAJ4uV4LeDXC0ruknaAcKgWbW+8gvSwCgkAIPnkb+WJx+Lfv+FFT0HJzmWnw=
# =ZyaA
# -----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 Wilson Sung (3) and others
# Via Android Build Coastguard Worker (8) and others
* tag 'android-15.0.0_r6':
  sepolicy: Allow vendor_init to set vendor_bluetooth_prop
  Add sepolicy for property persist.vendor.service.bdroid.
  Update SELinux error
  Update SELinux error
  Add sepolicy for property persist.vendor.service.bdroid.
  Update SELinux error

Change-Id: Ie4e2ed46b866f9775a7eea02db562fa3ff94569e
2024-12-11 03:53:02 +02:00
Michael Bestas
80a7dc3e9e 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
# eP8+AJ4nsmxLYOmgrW3bZcjYxgNveSoW5gCbBAAVXf/tI5wFYAUBQKFs2HdD/cU=
# =qKeT
# -----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
  gps: Enable Beidou measurements only in the US for L10.
  Symlink current prebuilt folder to android root
  Update product id for lynx
  lynx: add etm modules in userdebug/eng builds
  Delete mapper4 manifest
  gps: Re-enable GLO & QZSS in US
  gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
  thermal: read thermistor temp from sysfs
  thermal:remove unused state2power value
  Update lynx SVN to 46
  thermal: Remove bcl related tzones
  update OWNERS to include Android.bp
  lynx: Add build_flags based properties for SMR/EMR build
  haptics: Update output distortion gain
  Adpf:lynx: switch to multitier heuristic boost.
  Update lynx SVN to 45
  Update antenna position coordinates
  audio: Phase in L10 fortemedia tuning tables
  lynx: Use build_flags for SVN
  ...

 Conflicts:
	device-lynx.mk
	lynx/BoardConfig.mk

Change-Id: I50549219de5d81d0ada093bebdf0a9238d51840a
2024-12-11 03:52:54 +02:00
Nathan Kulczak
63f1518c06 Vibrator: Add permissions for owt_lib_compat
Add permissions to access owt_lib_compat sysfs attribute

Bug: 346570576
Flag: vendor.vibrator.hal.flags.enable_pwle_v2
Test: Flash to device and use access sysfs
Change-Id: I73105a29b067d31951d137a02909335402388385
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2024-12-10 17:44:21 +00:00
Android Build Coastguard Worker
6128daa6fa Snap for 12770256 from b7fb9e1e8d to 25Q1-release
Change-Id: I7df73f9fd2abd76762809361c54b64007ea9f7d8
2024-12-10 00:32:32 +00:00
Eileen Lai
b7fb9e1e8d 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: I9e371028b1848b4ddbefa924f91dc84949817df1
Flag: NONE local testing only
2024-12-08 07:39:17 +00:00
Alexander Koskovich
6e2fc639ed 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:49:29 +02:00
Android Build Coastguard Worker
9be644f036 Snap for 12710726 from d1eb8a58df to 25Q1-release
Change-Id: I0fc38267b646987c38c407e31872e84562475a9d
2024-11-26 02:03:33 +00:00
Xin Li
d1eb8a58df [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: cd9a8e284a -s ours
am skip reason: Merged-In I24ba47dafb991c395fa27ba7585c907e7b9f1920 with SHA-1 cd8d3c9819 is already in history

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

Change-Id: I9be27218e2963b9505cbd183084bb868f150ddcf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:18:46 +00:00
Xin Li
cd9a8e284a Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: I24ba47dafb991c395fa27ba7585c907e7b9f1920
Change-Id: I8135d9fc864491b767991a8f25fd71928b1367f8
2024-11-21 15:09:58 -08:00
Android Build Coastguard Worker
926d027682 Snap for 12687986 from b7ac236d48 to 25Q1-release
Change-Id: I7ab61df3a99bf84fa3b10041915e61566681c73c
2024-11-21 00:03:37 +00:00
Isaac Chiou
b7ac236d48 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: I35b73b9287463456d6a3376afb76fd2c3ce3115f
2024-11-20 12:58:23 +00:00
Android Build Coastguard Worker
b18af7985d Snap for 12658558 from 2d0030ee85 to 25Q1-release
Change-Id: I040c0618df1f127fe3c855bddc8af818bcee8f51
2024-11-15 00:03:29 +00:00
Xin Li
2d0030ee85 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: 0bff154ce8 -s ours
am skip reason: Merged-In I017d67a0832ab2039613aa32cd4c79821ffb8fcc with SHA-1 c778395dfe is already in history

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

Change-Id: I68380b6cb9447672c6a30e6f69443023d7432a58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-13 22:56:40 +00:00
Michael Bestas
f5bf9b99de Update fingerprint/build description from AP3A.241105.007
Change-Id: I187039ec78e86369004d624628789c683cde0ed3
2024-11-07 15:17:12 +02:00
Xin Li
0bff154ce8 Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I017d67a0832ab2039613aa32cd4c79821ffb8fcc
Change-Id: I8c72dbdde45d0c9bea42267d015cc9c5a3276d66
2024-11-06 10:31:20 -08:00
Cosmin Tanislav
0c68737899 lynx: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
2024-11-06 13:07:01 +02:00
Android Build Coastguard Worker
555d43dd57 Snap for 12609205 from ae2ed690b9 to 25Q1-release
Change-Id: I1e543cb6f4d22f589908ba02812704edcbdbde04
2024-11-06 00:04:00 +00:00
Android Build Coastguard Worker
fc7ef059c5 Snap for 12605939 from ae2ed690b9 to mainline-tzdata6-release
Change-Id: Ia899a53b271e8398db071b08f635a6bef0b8fda8
2024-11-05 10:09:45 +00:00
Kyle Hsiao
ae2ed690b9 Update ISODEP routing setting
Bug: 323953256
Test: manual
Flag: EXEMPT bugfix
Change-Id: Ic809f837493ea92b47545dde7b5cf7c52831326f
2024-11-05 03:06:46 +00:00
Michael Bestas
47b30e7b1f lynx: Enable ELF checks for c2 codec libs
Change-Id: I7702c3104fde477e27a18998982605673de29aee
2024-11-01 05:14:37 +02:00
Naman Sood
fca9154c0a lynx: 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 the landscape top padding is correct.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I10c3f495b7627200b05a24f5b259f789e62ada13
2024-10-27 13:16:29 +02:00
Michael Bestas
07fe9a95e2 lynx: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery
goodix_brl_touch requires 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:16:29 +02:00
Ethan Chen
d2c9bfca8e lynx: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 00:59:08 +03:00
Michael Bestas
59ed619c7c lynx: Add lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-10-20 00:59:08 +03:00
jabashque
a7c5ab4d8b lynx: 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 00:59:08 +03:00
Beverly
3d068d5f97 overlay: Remove unused dimen auth_ripple_alpha_in_duration
Bug: 274785453
Test: device builds
Change-Id: I16995427297c5d11ee5448fb8be53682ab36e5d7
2024-10-20 00:59:08 +03:00
Beverly
10fa03b1e4 overlay: Update udfps burn in vertical translation
So that the mm conversion is less than 1.

Also update missing config auth_ripple_alpha_in_duration
which should have been migrated to be 0 since the device
supports UDFPS.

Test: manual
Bug: 237311757
Change-Id: Ia0ba3145250ea16e58803651d77471f9c701b444
2024-10-20 00:59:08 +03:00
Tommy Webb
c7a1145e1d overlay: 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 00:59:08 +03:00
Jesse Chan
294a4110ae lynx: overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-10-20 00:59:08 +03:00
Michael Bestas
afd73c4951 lynx: overlay: Configure aux cameras for Aperture
Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Change-Id: I3d1c93057b5c2a1ba09c06a945d538d2043f30fd
2024-10-20 00:59:08 +03:00
Tommy Webb
087c2ffb1d overlay: Limit max fingerprints to 4 per user
Trying to add more than 4 fingerprints per user causes the Udfps
overlay to not appear and shows the following message in logs:
`E Biometrics/EnrollClient: Reached enrollment limit`.

Change-Id: I26707d5b50b28d032b117e22ba703c5fc0dfe3a2
2024-10-20 00:59:07 +03:00
Bruno Martins
d387fac862 overlay: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-10-20 00:59:07 +03:00
Danny Lin
b4078754e2 overlay: Settings: Enable Smooth Display setting
lynx 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 00:59:07 +03:00
Michael Bestas
6e496151ea lynx: Add HbmSVManager RRO overlay
* Based on redfin

Change-Id: I54d885c233151498372e1b510284d6a297ac3e94
2024-10-20 00:59:07 +03:00
Chirayu Desai
fca2a3e77d Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2024-10-20 00:59:07 +03:00
Michael Bestas
7c59dd6175 Include wireless_charger makefile
This includes the required sepolicy and compatibility matrix
in the build.

Change-Id: I3096357c5f45e664a7b39870fdc053e48d1361ad
2024-10-20 00:59:07 +03:00
Chirayu Desai
51a27fabd9 lynx: 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 00:59:07 +03:00
Ethan Chen
b03269604b Declare EUICC permission
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2024-10-20 00:58:52 +03:00
Chirayu Desai
d74f0f605f Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mikeioannina@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 00:58:51 +03:00
Android Build Coastguard Worker
87282c7fcc Snap for 12508860 from d5101697fb to 25Q1-release
Change-Id: Ie32c1a0a0105eaba474232d189329cfb7c1fa25d
2024-10-16 23:03:07 +00:00
Ali K. Zadeh
d5101697fb [lynx] 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: I0a72375b98f93fd8a09f116bed983e24644ecbfa
2024-10-15 23:10:50 +00:00
Android Build Coastguard Worker
1d09811e26 Snap for 12496712 from b01091a241 to 25Q1-release
Change-Id: I725e315453ac3539e4e4a0f274d1fb8742ebabfa
2024-10-14 23:03:26 +00:00
Android Build Coastguard Worker
48a0d8e59d Snap for 12477291 from 22dd220a6c to 25Q1-release
Change-Id: I38ea523751287e0f1032480837c16a53337d0ea6
2024-10-09 21:02:57 +00:00
Eileen Lai
b01091a241 modem_svc: use shared_modem_platform to replace all modem_svc_sit
Bug: 368257019

Flag: EXEMPT resource only update
Change-Id: I94847284c1795fea9f12f2506d86251b08453267
2024-10-09 08:00:33 +00:00
Brian Norris
22dd220a6c lynx: 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: Ife4ea982c73a1e91db075dc4798603fca1ca521f
2024-10-08 22:15:17 +00:00
Android Build Coastguard Worker
df487cea69 Snap for 12465365 from 473d21970c to 25Q1-release
Change-Id: I02b84b96bcfca33ad48599261d91bd64a319dfa6
2024-10-07 23:03:21 +00:00
Android Build Coastguard Worker
1d1c9f155a Snap for 12462067 from 117b1153bc to mainline-tzdata6-release
Change-Id: Icef02695be2d4b7e4d6661b3d07cfe788d715f8e
2024-10-07 08:57:41 +00:00
Jim Tang
473d21970c Move modem_svc_sit from gs201 to lynx
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-lynx.mk in this case.

Flag: EXEMPT refactor
Bug: 358485346
Test: m modem_svc_sit
Change-Id: Idd5dba13db6ee259df507d94ce7a83d5b27af29c
2024-10-07 08:45:10 +00:00
Michael Bestas
56ebe101f9 lynx: Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-06 23:12:38 +03:00
Michael Bestas
6b9c1a349a Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2024-10-06 23:12:20 +03:00
Michael Bestas
86c57cf612 Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 02d0587cdd
git-subtree-split: f0aabb085a
Change-Id: I34e37568728d8ef0ad8a4bf39194e60e1e28daad
2024-10-06 23:12:06 +03:00
Android Build Coastguard Worker
fdcb92ae66 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29485451'] into 24Q4-release.
Change-Id: I875e239ffea6a6534cddb6970b668ea76fcf5520
2024-10-03 23:33:38 +00:00
Wayne Lin
f495da19f7 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:cd8d3c9819f3850573d7bad81fd49b49c7b4c2d0)
Merged-In: I24ba47dafb991c395fa27ba7585c907e7b9f1920
Change-Id: I24ba47dafb991c395fa27ba7585c907e7b9f1920
2024-10-03 23:24:36 +00:00
Android Build Coastguard Worker
773c40a758 Snap for 12445464 from 1019f75bfd to 25Q1-release
Change-Id: Id2936cadf65f6bffd92895e61efa32baf0903762
2024-10-02 23:03:38 +00:00
Ravi Jain
117b1153bc Remove vibrator HAL service
Remove from device mk files due to relocation to vendor directory.

Bug: 362659323
Test: Build Pass
Flag: EXEMPT refactor
Change-Id: I672c827aad9a4e096fa5d653d0e7b20ff96b6425
2024-10-02 09:49:35 +00:00
Ravi Jain
1019f75bfd 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: I35dbbf95aa586874b8f594eb09f964f4e7a84df6
2024-10-02 08:56:54 +00:00
Android Build Coastguard Worker
e344007401 Snap for 12426030 from cd8d3c9819 to 25Q1-release
Change-Id: Ia67c675c961f3ce529757a720099e51618d7c77e
2024-09-28 01:03:19 +00:00
Wayne Lin
cd8d3c9819 gps: set default SUPL SSL method to SSLv23
Bug: 363886476
Test: verify SUPL NI test pass
Change-Id: I24ba47dafb991c395fa27ba7585c907e7b9f1920
2024-09-24 05:45:16 +00:00
Android Build Coastguard Worker
6282215c69 Snap for 12378824 from ba31cb9d42 to 24Q4-release
Change-Id: I1a2e3b88007f5426bc56181d3f7d2aedfee60d39
2024-09-17 23:02:21 +00:00
Andrew Chant
ba31cb9d42 sepolicy: Allow vendor_init to set vendor_bluetooth_prop
Per DeviceBootTest.SELinuxUncheckedDenialBootTest:

09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.soclog pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'
09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:5): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.fwsnoop pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'
09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.soclog pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'
09-17 16:22:22.968     1     1 I auditd  : type=1107 audit(0.0:5): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.service.bdroid.fwsnoop pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_bluetooth_prop:s0 tclass=property_service permissive=0'

Test: SELinuxUncheckedDenialBootTest
Bug: 366314934
Flag: EXEMPT bugFix
Change-Id: I1710044f4f79a73818fcb55a97ea6b3d826aea1f
2024-09-17 10:20:19 -07:00
Android Build Coastguard Worker
31a689286a Snap for 12370120 from c778395dfe to 25Q1-release
Change-Id: I7f57ea70d0b682c6374ecca1814a5e50655009a7
2024-09-14 23:01:30 +00:00
Android Build Coastguard Worker
56e6955009 Snap for 12354992 from c778395dfe to 24Q4-release
Change-Id: Id78c19d5e2d0d157d3ab15ac1b4d60bb8b757ce3
2024-09-11 23:01:49 +00:00
James Huang
c778395dfe gps: Enable Beidou measurements only in the US for L10.
Bug: 354884462
Test: Field test in the US
Change-Id: I017d67a0832ab2039613aa32cd4c79821ffb8fcc
2024-09-11 08:36:07 +00:00
Android Build Coastguard Worker
7f9b8145ea Snap for 12342105 from d7525ba274 to 24Q4-release
Change-Id: I88104677f5d0572acdd521fbef5794d3a77a3074
2024-09-09 23:02:08 +00:00
Android Build Coastguard Worker
42af0f8203 Snap for 12337407 from 8b1863ada0 to 25Q1-release
Change-Id: Ifcc65dcdb260f972d38846c8a5fcc9b729f34812
2024-09-07 23:01:54 +00:00
Android Build Coastguard Worker
01e3bde38e Snap for 12337246 from 8b1863ada0 to 24Q4-release
Change-Id: Ieb054221e3f88a7c4dc21c2c2f9525e3921495d2
2024-09-07 21:01:51 +00:00
Xin Li
8b1863ada0 [automerger skipped] Merge 24Q3 to AOSP main am: 7f1a5a7385 -s ours am: 00d5e4faf2 -s ours
am skip reason: Merged-In I9ae3af899655057a07488fee2e085cd1884fcca0 with SHA-1 4e54c82f40 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3255687

Change-Id: I22f98b3a69de0a0aaa1da6d575c4059f07735d66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:47:40 +00:00
Xin Li
00d5e4faf2 [automerger skipped] Merge 24Q3 to AOSP main am: 7f1a5a7385 -s ours
am skip reason: Merged-In I9ae3af899655057a07488fee2e085cd1884fcca0 with SHA-1 4e54c82f40 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3255687

Change-Id: I97fb98d4d36cafa2a24775a5a195d3d6fad75a30
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:16:58 +00:00
Android Build Coastguard Worker
d00004bfc9 Snap for 12335440 from ae1689beae to 24Q4-release
Change-Id: I97801a054def26dba1789d2bc89b97f35448b3c0
2024-09-07 02:32:14 +00:00
Robin Peng
ae1689beae 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: Ibf76c45b14c9b5064e372f9c3febede823423bef
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 10:35:59 +00:00
Koli Lin
de2199aefe Update product id for lynx
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: Iab04bd0b3598a5b2532f0f527a77451db416f0dd
2024-09-06 07:47:04 +00:00
Xin Li
7f1a5a7385 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I9ae3af899655057a07488fee2e085cd1884fcca0
Change-Id: I22eaba758765edcf2e0b8bd425907560b7e83658
2024-09-05 17:02:37 -07:00
Android Build Coastguard Worker
5d2e2f96df Snap for 12327203 from 98621fdd5f to 24Q4-release
Change-Id: I9e42a4f986eaf8dfa1adabb6b2facbbadb02a072
2024-09-05 23:01:55 +00:00
Vic Huang
d7525ba274 Add sepolicy for property persist.vendor.service.bdroid.
avc:  denied  { set } for property=persist.vendor.service.bdroid.bdaddr pid=860 uid=1002 gid=1002 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0

Bug: 359428216
Test: Forest build
Flag: EXEMPT N/A
Change-Id: Iee12fc870810c0919593745487f57eb5fb8fde9c
2024-09-05 07:43:01 +00:00
Yabin Cui
98621fdd5f lynx: add etm modules in userdebug/eng builds
ETM modules are removed in kernel prebuilts.
So add them manually.

Bug: 364652655
Bug: 364309766
Test: build lynx
Flag: build.RELEASE_ETM_IN_USERDEBUG_ENG
Change-Id: I7faa1701445e477a7521e67d5274ccbf30d19fd0
2024-09-04 13:14:51 -07:00
Android Build Coastguard Worker
e3b041e426 Snap for 12304452 from 2695d16fe2 to 24Q4-release
Change-Id: I695704ef2b4d8e2bba54137edca4ffafbbe47c9d
2024-08-31 01:02:06 +00:00
Ankit Goyal
2695d16fe2 Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: I2ee823a19315d8bfb079594d83e3a4f818ef504b
2024-08-28 22:54:42 -07:00
Android Build Coastguard Worker
be1b87dae8 Snap for 12289667 from 1e4a6925d9 to 24Q4-release
Change-Id: I747dfd43f978cb053e5b4739a65718b730b5bc2f
2024-08-28 23:02:22 +00:00
Shinru Han
1e4a6925d9 gps: Re-enable GLO & QZSS in US
Change-Id: Ibc607508aeaba14b54876d0ce13ea493e6d76795
Test: on-device
Bug: 353579502
2024-08-27 07:21:40 +00:00
Android Build Coastguard Worker
d50ccd7a28 Snap for 12272146 from a006f1b9b2 to 24Q4-release
Change-Id: I80333ac3888aade1ff9c8e7166380da6195d531a
2024-08-24 01:01:56 +00:00
Wilson Sung
a006f1b9b2 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 361726059
Test: scanBugreport
Bug: 361725767
Bug: 359428463
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428463
Flag: EXEMPT bugFix
Change-Id: I1bb0f8713a0a8d44564363f4774f3c893824bc82
2024-08-23 09:46:23 +00:00
Android Build Coastguard Worker
47d1e94d53 Snap for 12253386 from 086d2cea04 to 24Q4-release
Change-Id: If592447868d7bbc718cd526076799291eaacac3e
2024-08-20 23:02:06 +00:00
Wayne Lin
086d2cea04 gps: add CpEarlyFixGuardTimeSec to prevent earlyfix response delay
Bug: 358041425
Test: verify pass
Change-Id: I26703b29e53e033d6bc978a4e6ac667953d2f282
2024-08-20 02:41:24 +00:00
Android Build Coastguard Worker
76aefc271e Snap for 12247339 from 5a677a1c72 to 24Q4-release
Change-Id: I93c75f8fae0e308b8d4eaed64d70c4d41bb86d55
2024-08-19 23:02:23 +00:00
Peter (YM)
5a677a1c72 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: Id1e70c4afe4b4637e0208b142540ae0117bb6d2f
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-19 04:09:57 +00:00
Android Build Coastguard Worker
a0e4c1c726 Snap for 12238800 from c518352914 to mainline-tzdata6-release
Change-Id: Ied506244a7f81a6289ffd7b21bf941f17db17cfe
2024-08-16 12:57:09 +00:00
Android Build Coastguard Worker
3043857b67 Snap for 12235414 from c518352914 to 24Q4-release
Change-Id: Iacc88e7ac9cd9ca4231a526ee0157d9dfb70a6e7
2024-08-15 23:02:08 +00:00
Peter (YM)
c518352914 thermal:remove unused state2power value
Bug: 355566259
Test: Build test
Flag: EXEMPT NDK
Change-Id: Ib92c4f0c9474a43a8e0e181b3ddd58d14bd8cea3
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-15 07:19:11 +00:00
Ankur Bakshi
2b25b1e02e Update lynx SVN to 46
Bug: 352170103
Change-Id: Ib31e9c68c0849c7affc5b4410ea2226e9ff9126b
Flag: EXEMPT bugfix
2024-08-15 00:48:39 +00:00
Android Build Coastguard Worker
7f996d384a Snap for 12224018 from 5b3ea20991 to 24Q4-release
Change-Id: Ie1aff181c4308d3dca642a256257c8b18026779a
2024-08-13 23:02:34 +00:00
Android Build Coastguard Worker
bad42fec4f Snap for 12224018 from e07c627f25 to 24Q4-release
Change-Id: Ia2f092c53ebfc3d602a6f1be22b9e9a8c22267ce
2024-08-13 23:02:34 +00:00
Wilson Sung
5b3ea20991 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 359428216
Test: scanBugreport
Bug: 359428463
Test: scanAvcDeniedLogRightAfterReboot
Bug: 359428217
Flag: EXEMPT bugFix
Change-Id: I1ebbc37e75df1348f57e5c4aaad67b28babc2461
2024-08-13 08:52:02 +00:00
Android Build Coastguard Worker
a5e529056f Snap for 12217053 from e79b7cdacc to 24Q4-release
Change-Id: Id1e95126c90dc3fddfbe72c4fd2abe60947fa7ba
2024-08-12 23:06:48 +00:00
Xin Li
e07c627f25 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 31e5fe9c9c -s ours
am skip reason: Merged-In I9ae3af899655057a07488fee2e085cd1884fcca0 with SHA-1 89ddd0be83 is already in history

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

Change-Id: I920bf486af5ed60a8ad4b7093c9208b9d97e447e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:28 +00:00
Xin Li
31e5fe9c9c Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I9ae3af899655057a07488fee2e085cd1884fcca0
Change-Id: I6899d6ea16d21fbc9fc0e5a4c38a5c167bcfa9ce
2024-08-12 17:11:55 +00:00
samou
e79b7cdacc thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: I613fbb3d170f6befeaf8c884bce4b5455729ba2e
Signed-off-by: samou <samou@google.com>
2024-08-12 12:32:21 +00:00
Android Build Coastguard Worker
97b9e746f3 Snap for 12210778 from 99530a19d3 to 24Q4-release
Change-Id: I353c3070953910250f37abdec6ec6f2a45929e4b
2024-08-10 01:06:49 +00:00
Cyan_Hsieh
99530a19d3 update OWNERS to include Android.bp am: a738769119 am: d66a50a541
Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3214125

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

Change-Id: Ib82fab86c73d9ee1d609da534fbd54db1a5c0717
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:01 +00:00
Cyan_Hsieh
a738769119 update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3cfbc79e7334559e92e8a84efeb887bfa4db8507)
Merged-In: I17ef95789dd4b53738e47424f38ff74f335fa4eb
Change-Id: I17ef95789dd4b53738e47424f38ff74f335fa4eb
2024-08-09 08:33:46 +00:00
Android Build Coastguard Worker
e463a4fbd5 Snap for 12205827 from 29c8930e79 to 24Q4-release
Change-Id: I84214bd294b24439eb86bda8b6a01d211dcba5d0
2024-08-09 01:01:50 +00:00
Vic Huang
29c8930e79 Add sepolicy for property persist.vendor.service.bdroid.
avc:  denied  { set } for property=persist.vendor.service.bdroid.bdaddr pid=860 uid=1002 gid=1002 scontext=u:r:hal_bluetooth_default:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0

Bug: 357483837
Test: Forest build
Flag: EXEMPT N/A
Change-Id: I18e092be0e352071fc1d3a68796d458a0bb4b704
2024-08-07 06:29:02 +00:00
Android Build Coastguard Worker
a746e9cfeb Snap for 12190349 from 77bda630a9 to 24Q4-release
Change-Id: I836a2f849a896452658583e8f61572d0e1557859
2024-08-06 23:02:27 +00:00
Lokesh Kumar Goel
77bda630a9 lynx: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_LYNX
Bug: 155105803
Change-Id: I3c2d4586accdab96292d2a45b9835b3f49f4255b
2024-08-06 02:13:35 +00:00
Android Build Coastguard Worker
975a1a3dba Snap for 12185670 from 86598718d8 to 24Q4-release
Change-Id: I866028a1144fb606bd478576c69537401fade2e2
2024-08-05 23:02:05 +00:00
Wilson Sung
86598718d8 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 357483837
Flag: EXEMPT N/A
Change-Id: I709d2f212ad6328a045ee4472c3a7d4e855ff034
2024-08-05 06:07:28 +00:00
Android Build Coastguard Worker
e8be84f263 Snap for 12180713 from ed80b9345a to 24Q4-release
Change-Id: I3f35c24b922806b91b813ed3687fbeee62860c73
2024-08-03 23:01:46 +00:00
Chris Paulo
ed80b9345a haptics: Update output distortion gain
Recommended output distortion gain is 0.29.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: I784c7933e63fce0dfe84ab76400e913e5b0567e1
2024-08-03 01:59:49 +00:00
Android Build Coastguard Worker
55d659d45c Snap for 12148957 from 415a0f80b5 to 24Q4-release
Change-Id: I9251f80ecd24de653bdd1e91ddf91b4a55983766
2024-07-27 21:01:59 +00:00
guibing
415a0f80b5 Adpf:lynx: 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: I8f21008a15f1805d6b193e56cdd8ba5146270e90
2024-07-26 23:20:09 +00:00
Android Build Coastguard Worker
02d0587cdd Merge cherrypicks of ['googleplex-android-review.googlesource.com/27586565', 'googleplex-android-review.googlesource.com/26824327', 'googleplex-android-review.googlesource.com/28319740'] into 24Q3-release.
Change-Id: I77bc9ca4e35a5e448570c5de0e83ea05f4774702
2024-07-25 04:16:28 +00:00
Ankur Bakshi
4e54c82f40 Update lynx SVN to 45
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:89ddd0be8396f992edc0305e71ba087bb8d91a7f)
Merged-In: I9ae3af899655057a07488fee2e085cd1884fcca0
Change-Id: I9ae3af899655057a07488fee2e085cd1884fcca0
2024-07-25 04:05:33 +00:00
Lokesh Kumar Goel
21b611d4ce lynx: Use build_flags for SVN
Flag: build.RELEASE_SVN_LYNX
Bug: 332726030
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a6d2650cbf619521a78364321a84489ec7acdae4)
Merged-In: Id2c31d9b6b8db9d7948a7a1174be141e3b913171
Change-Id: Id2c31d9b6b8db9d7948a7a1174be141e3b913171
2024-07-25 04:05:22 +00:00
Ankur Bakshi
81bbf6f29c Update lynx SVN to 44
Bug: 342381152
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f24e16e5fb1e9bb0b62903081fe3498ac257f823)
Merged-In: I6be0c030e892e41624d6ca3cdaf2f1d8b505711b
Change-Id: I6be0c030e892e41624d6ca3cdaf2f1d8b505711b
2024-07-25 04:05:09 +00:00
Android Build Coastguard Worker
66c5782877 Snap for 12116631 from 89ddd0be83 to 24Q4-release
Change-Id: I118321d2ccc08efb0ef6683484111ffd57f2ed5d
2024-07-20 01:02:09 +00:00
Android Build Coastguard Worker
02ba757cb4 Snap for 12110738 from a9cd113e98 to 24Q4-release
Change-Id: Ia1a89c7742640defbaca8685c26ce64e1811a3c8
2024-07-18 23:02:08 +00:00
Ankur Bakshi
89ddd0be83 Update lynx SVN to 45
Bug: 352170103
Change-Id: I9ae3af899655057a07488fee2e085cd1884fcca0
Flag: EXEMPT bugfix
2024-07-18 21:43:32 +00:00
Kyle Hsiao
a9cd113e98 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I1f2b151dc5d9bfae976ea0e8501f6f7159e6b805
2024-07-18 12:57:40 +00:00
Android Build Coastguard Worker
0030a60925 Snap for 12091711 from 9fccabdd08 to 24Q4-release
Change-Id: I7a6b331e37465406118131aec26e74e59cb8a70e
2024-07-15 23:02:06 +00:00
Rios Kao
9fccabdd08 audio: Phase in L10 fortemedia tuning tables
Change List :

Fortemedia:

Enable kid voice detection for voice call.

Files from the latest attachment on b/352640073

Bug: 352640073
Test: verified by ntkuo@
Flag: EXEMPT update audio table only.
Change-Id: I301a5052a90495b09eb8d8b2624fa4d60f1b5d03
2024-07-15 02:42:36 +00:00
Android Build Coastguard Worker
c8f524b861 Snap for 12085179 from a6d2650cbf to 24Q4-release
Change-Id: I1b4f3c16ef5fb7f729e75916ba050364981f89e7
2024-07-13 01:02:16 +00:00
Lokesh Kumar Goel
a6d2650cbf lynx: Use build_flags for SVN
Flag: build.RELEASE_SVN_LYNX
Bug: 332726030
Change-Id: Id2c31d9b6b8db9d7948a7a1174be141e3b913171
2024-07-12 18:00:30 +00:00
Vic Huang
22efb793b7 Disable LE audio switcher in develop option
Test: manually test pass
Bug: 352241698
Flag: NONE Modify property to disable LE audio switcher
Change-Id: I666ea8e21070eeda761263957db767eaa970a1b3
2024-07-12 10:37:57 +00:00
Android Build Coastguard Worker
d04b7051cc Snap for 12065372 from 55450c3eb5 to 24Q4-release
Change-Id: Id4043be10ddff0e55a001a539671e4fd02ba1b68
2024-07-09 23:07:19 +00:00
Koli Lin
55450c3eb5 add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I05d65e301ac34abab623784c9e9ed2a773c29a0c
2024-07-09 08:56:39 +00:00
Android Build Coastguard Worker
c231e93fa0 Snap for 12042346 from 7fe5d80237 to 24Q4-release
Change-Id: Ieef80fa530105cfff52c7a001afbb0eed7155c5e
2024-07-02 23:03:00 +00:00
Cheng Chang
7fe5d80237 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: I4dfdc8d65a3a407db3b66aae1a5f05fc0cd226c5
2024-07-02 06:51:43 +00:00
Android Build Coastguard Worker
cf7e9c8e5a Snap for 12034474 from 6177fcd458 to mainline-tzdata6-release
Change-Id: Idc8c9b2adea6d07ff5ff1be156b2bf9a49435a8c
2024-07-01 08:34:02 +00:00
Android Build Coastguard Worker
e3857201f7 Snap for 12014005 from 6177fcd458 to 24Q4-release
Change-Id: I254337e56e535f9d084e06e08de1c48becdcc360
2024-06-25 23:02:39 +00:00
chenkris
6177fcd458 Revert "Build g7_trusty_next for “next” configuration"
This reverts commit 282198036a.

Bug: 348542941
Test: build
Change-Id: Id51002513811f009354ba9fdbc4561ec7b286473
2024-06-24 11:22:08 +00:00
Android Build Coastguard Worker
e3a6411d4b Snap for 12002618 from 282198036a to 24Q4-release
Change-Id: I6b49be661ed323ebea88ec4bdddd578520460d2d
2024-06-22 01:02:19 +00:00
chenkris
282198036a Build g7_trusty_next for “next” configuration
Bug: 348542941
Test: build
Change-Id: I51ad9bfbfafe168f401ddb6f19efe45d3b33ba7d
2024-06-21 07:16:48 +00:00
Android Build Coastguard Worker
446544ad6b Snap for 11996894 from b540ed81f0 to 24Q4-release
Change-Id: I0544a9bf92325e814e834c97615b7d3977b5f94a
2024-06-20 23:02:24 +00:00
Xin Li
b540ed81f0 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 648c0345b8 -s ours
am skip reason: Merged-In I6eaf2b19d5af8e929988ac469637e9e20af594d5 with SHA-1 b35a112338 is already in history

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

Change-Id: I1519a167a4f8cf3036934d708e174302ab000d55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:09:02 +00:00
leonardian
5c8a282c25 conf: Enable access for braking time sysfs nodes
Sysfs nodes:
- braking_time_bank
- braking_time_index
- braking_time_ms

Bug: 325121485
Test: Open sysfs nodes successfully during HAL init
Change-Id: I00ffb65d2fc51f5cceb2292383ecc23164542c4f
Signed-off-by: leonardian <leonardian@google.com>
2024-06-20 06:22:45 +00:00
leonardian
25c03bda4b Enable all primitive effects
- Remove ro.vendor.vibrator.hal.supported_primitives to support all
  primitive effects
- Set ACTUATOR_MODEL to legacy_zlra_actuator

Bug: 342062469
Test: idlcli commands
Test: atest PTS, VTS, CTS
Test: Checked HAL dumpsys for durations
Change-Id: I7b6d8d9669fa0d671c0867401583c6073c5588ca
2024-06-20 05:11:12 +00:00
Android Build Coastguard Worker
b875c7530f Snap for 11987757 from b55914819e to 24Q4-release
Change-Id: I645f4a355ef4ed7264340470bc38b148a75da625
2024-06-18 23:02:26 +00:00
Android Build Coastguard Worker
6257790c3e Snap for 11987757 from bf575b9d7c to 24Q4-release
Change-Id: I8c6edb27a72cf18bf02f3cf8604868a0c605e6d1
2024-06-18 23:02:25 +00:00
Xin Li
b55914819e [automerger skipped] Mark ab/11976889 as merged in aosp-main-future am: 732976fdcb -s ours
am skip reason: Merged-In If475169f02542c00285b99eda7feb27e2863597b with SHA-1 4f4cb10b69 is already in history

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

Change-Id: Ia0294a9b5e5c8c21ee182f8341ecd40c42948fe2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 21:26:00 +00:00
Xin Li
648c0345b8 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: I6eaf2b19d5af8e929988ac469637e9e20af594d5
Change-Id: I39735e50c527fb1a339d06655be865b063cb0290
2024-06-18 14:13:23 -07:00
Xin Li
732976fdcb Mark ab/11976889 as merged in aosp-main-future
Bug: 347831320
Merged-In: If475169f02542c00285b99eda7feb27e2863597b
Change-Id: I837a9d845cf5fb1ac2f9327a7b7c0f908b185075
2024-06-18 11:43:22 -07:00
Xin Li
dc647c97fd [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 21a8e729e2 -s ours am: 4f4cb10b69 -s ours
am skip reason: Merged-In I43a6fd2663279ba9e17825f341b230e6033e49b6 with SHA-1 dca29d91ee is already in history

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

Change-Id: I3f1cab5f51cdb2fb8b184b2f09b7c602ccc6369a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:58 +00:00
Xin Li
bf575b9d7c [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 48dfdebfd5 -s ours am: c6212f9b13 -s ours
am skip reason: Merged-In I26415dd5ec8ac8f57aa6b45f14dd0fd1bfbd28c8 with SHA-1 08f21857f9 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3131717

Change-Id: Ifa188bc5edca902096e74c5a44ea08d1b4d8f6fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-18 05:55:27 +00:00
Android Build Coastguard Worker
4458db499a Snap for 11981331 from f24e16e5fb to 24Q4-release
Change-Id: I8031144bd4c845c5e2e7c61db36cad1a47f8244e
2024-06-17 23:02:02 +00:00
Xin Li
4f4cb10b69 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 21a8e729e2 -s ours
am skip reason: Merged-In I43a6fd2663279ba9e17825f341b230e6033e49b6 with SHA-1 dca29d91ee is already in history

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

Change-Id: If475169f02542c00285b99eda7feb27e2863597b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:42:06 +00:00
Xin Li
c6212f9b13 [automerger skipped] Merge Android 14 QPR3 to AOSP main am: 48dfdebfd5 -s ours
am skip reason: Merged-In I26415dd5ec8ac8f57aa6b45f14dd0fd1bfbd28c8 with SHA-1 08f21857f9 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3131717

Change-Id: I2bc1c35863780ea282791f751b9aa666ceca6033
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-17 20:41:17 +00:00
Ankur Bakshi
f24e16e5fb Update lynx SVN to 44
Bug: 342381152
Change-Id: I6be0c030e892e41624d6ca3cdaf2f1d8b505711b
2024-06-17 05:04:13 +00:00
Xin Li
21a8e729e2 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: I43a6fd2663279ba9e17825f341b230e6033e49b6
Change-Id: I6f1776f76c9915f3a6839399ae9964346217a610
2024-06-13 10:48:32 -07:00
Xin Li
48dfdebfd5 Merge Android 14 QPR3 to AOSP main
Bug: 346855327
Merged-In: I26415dd5ec8ac8f57aa6b45f14dd0fd1bfbd28c8
Change-Id: I35045d153844e8a784e0b90c0681d39fb0d174d9
2024-06-13 10:48:23 -07:00
Android Build Coastguard Worker
a95714a899 Snap for 11947112 from 689ffcd4ea to mainline-tzdata6-release
Change-Id: I7a9fe2a31a4a364daa6798e8ef1cf6e9feb77017
2024-06-10 10:12:51 +00:00
Android Build Coastguard Worker
2ee06f8858 Snap for 11944020 from 689ffcd4ea to 24Q3-release
Change-Id: Ie78a3d62bfa09ff5c57aaa5c10cce8da36cb4edc
2024-06-08 01:02:40 +00:00
Xin Li
689ffcd4ea [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 08f21857f9 -s ours
am skip reason: Merged-In I278e2814a41b1d42b337de06d1eb50911455f2a3 with SHA-1 ed912e19ba is already in history

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

Change-Id: I8376465eb374f2cd1a4c9751f2c2527cb20547b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:08 +00:00
Xin Li
08f21857f9 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I278e2814a41b1d42b337de06d1eb50911455f2a3
Change-Id: I26415dd5ec8ac8f57aa6b45f14dd0fd1bfbd28c8
2024-06-05 14:12:12 -07:00
Android Build Coastguard Worker
2650427807 Snap for 11919022 from b35a112338 to mainline-tzdata6-release
Change-Id: If059a148d2ea61647bf65980e0d1c0ab0e36e149
2024-06-03 15:30:50 +00:00
Android Build Coastguard Worker
b40cbc9dfd Snap for 11915075 from 51768b048d to 24Q4-release
Change-Id: I5e802bf16a351abc612bf94c4ca2b9d9711e4518
2024-06-01 01:02:20 +00:00
Android Build Coastguard Worker
43f5069629 Snap for 11915075 from b35a112338 to 24Q4-release
Change-Id: I702a03e287e77fbfc76f4954f36f8b4c17bcc039
2024-06-01 01:02:18 +00:00
Android Build Coastguard Worker
f0aabb085a Snap for 11908474 from 51768b048d to 24Q3-release
Change-Id: I5b3e198a7ad6b6645edf711ec786c96f660f2015
2024-05-30 23:02:30 +00:00
Android Build Coastguard Worker
197f0942ec Snap for 11908474 from b35a112338 to 24Q3-release
Change-Id: I4a322f4644f54c2481d0a774c95c071aef95b3a7
2024-05-30 23:02:29 +00:00
Jason Hsu
b35a112338 audio: update fortemedia table on 5/23
Bug: 325559120
Test: verified by Acoustic team

Change-Id: I6eaf2b19d5af8e929988ac469637e9e20af594d5
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-05-30 12:24:40 +00:00
Cyan_Hsieh
cc5123a311 Switch makefile owners to MK_OWNERS am: c5e5680b5f am: dc8fff09d4
Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3107857

Change-Id: I96cce659f7501f5ef9b416309b6bb0ae4eebd95d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 22:00:00 +00:00
Xin Li
bfc66d1546 [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: ccfe30d014 -s ours
am skip reason: Merged-In Idb5d29f30cc2a59d283133df9d79634ee027fb3b with SHA-1 63de307483 is already in history

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

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

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

Change-Id: I292760cd6b217472c8343c70c136efbea25e76bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 20:49:13 +00:00
Cyan_Hsieh
dc8fff09d4 Switch makefile owners to MK_OWNERS am: c5e5680b5f
Original change: https://android-review.googlesource.com/c/device/google/lynx/+/3107857

Change-Id: Ia1771b5a2966a770572e0152ec90ace9c3036bb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-29 14:29:13 +00:00
Cyan_Hsieh
c5e5680b5f Switch makefile owners to MK_OWNERS
Bug: 278167548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f7ac0c78286f5a93d0a894963fdb466fc225e438)
Merged-In: Iff0ba2691a738407a3bbb86a221b20314457db24
Change-Id: Iff0ba2691a738407a3bbb86a221b20314457db24
2024-05-29 10:00:24 +00:00
Android Build Coastguard Worker
5695f27e9a Snap for 11881322 from b291562d4c to 24Q3-release
Change-Id: I42784a9bcf5061cc5e25f656ea995d682627772d
2024-05-23 23:02:29 +00:00
Carter Hsu
b291562d4c audio: remove unused device
Bug: 337191827
Test: build pass
Change-Id: I31b44b3772b6e4bce7993781f663510ee40d7d68
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-23 07:51:14 +00:00
Android Build Coastguard Worker
f785328bbe Snap for 11869550 from ecc1aea422 to 24Q3-release
Change-Id: I5594b133ff29f1dfaaa967cf5979d768b145011d
2024-05-21 23:03:08 +00:00
samou
ecc1aea422 thermal: Remove SOFT_OCP related tzones
Bug: 337976702
Test: Confirm boot
Change-Id: Ib3c4f4f6f4d0c6fb6215601c96efb61585052b2e
Signed-off-by: samou <samou@google.com>
2024-05-21 12:28:50 +00:00
Android Build Coastguard Worker
363f84c532 Snap for 11865526 from 15b00fc5f2 to 24Q3-release
Change-Id: Ifdaefa8a51c3754620d936cb62d80d715a9d7b94
2024-05-21 01:02:24 +00:00
Ravi Jain
15b00fc5f2 Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: I64e5a50302920d63f358946a8ea840df3e1da98b
2024-05-20 11:00:19 +00:00
Android Build Coastguard Worker
7e96f95c68 Snap for 11859356 from 35869b9660 to 24Q3-release
Change-Id: I6610b6f60eccde1238ddb5f9f450068a6cf706c4
2024-05-18 03:02:17 +00:00
guibing
35869b9660 Adpf:lynx: 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: I191ed6f479a8f49082d64e9fb1723884634133c7
2024-05-17 07:07:34 +00:00
Android Build Coastguard Worker
73cd404f1b Snap for 11847214 from a7e439e0e7 to 24Q3-release
Change-Id: I1f1a35c857f1ba5a93e5020d6bd7518cd0b6a6f8
2024-05-16 01:02:48 +00:00
Cyan_Hsieh
a7e439e0e7 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: Ia517cbe8ac5fae85428904ca9c7d7c1bc5c38098
2024-05-15 14:01:17 +00:00
Android Build Coastguard Worker
dc10dd722e Snap for 11834877 from f787c2237f to 24Q3-release
Change-Id: I15bc4eef6cdae5dfcf36ed20e6fa703dbc9d4fa5
2024-05-13 23:02:36 +00:00
Cheng Chang
f787c2237f gps: Reduce logging mask
Bug: 267729515
Bug: 312716075
Test: Verification for logging system.
Test: Verification at b/267729515#comment152.
Change-Id: I09bd61490fb94ad7914f52a6d8c90fcd9693643e
2024-05-13 01:50:53 +00:00
Xin Li
dca29d91ee Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I8d204e099f7a37422259c0ccac2bf25a082c2fcf
Change-Id: I43a6fd2663279ba9e17825f341b230e6033e49b6
2024-05-06 12:09:16 -07:00
Xin Li
ccfe30d014 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: Idb5d29f30cc2a59d283133df9d79634ee027fb3b
Change-Id: Id73db3546b85c72876cdf910b93b2f14c2ce0d90
2024-05-06 12:09:15 -07:00
Android Build Coastguard Worker
3a183246a8 Snap for 11800966 from ec7559cdc8 to 24Q3-release
Change-Id: Iaed5d5d5b06e40e1fdb0182c69792eb4ec7c48d0
2024-05-04 01:02:40 +00:00
Qian-Hao Huang
ec7559cdc8 Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: Ibb6b512358b43952378b2f479cfb5972b0064311
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:16:57 +00:00
Android Build Coastguard Worker
93f0fdb32a Snap for 11784291 from d0fd806ba8 to 24Q3-release
Change-Id: If41cb0696f22c674202d0a91b9b3e75a0ee0869d
2024-04-30 23:03:15 +00:00
Matt Buckley
d0fd806ba8 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: I694eed1342c5becbd3161b88342cd66868ddb78b
2024-04-29 19:42:06 +00:00
Android Build Coastguard Worker
c029667801 Snap for 11772614 from e344195f79 to 24Q3-release
Change-Id: If04a74bfbe082fb7902f9e1571e768045bd73f51
2024-04-27 01:02:25 +00:00
Thomas Girardier
e344195f79 Revert "[L10] BT: Set system property for Bluetooth Auto On to false"
This reverts commit 6e20ea17c9.

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

Change-Id: I15e43b5f697b689888de7184431aad250fad200d
2024-04-26 04:02:50 +00:00
Ankur Bakshi
3a7dfa5338 Update lynx SVN to 43
Bug: 336526332
Change-Id: I04e92d25ba10b7ddcb3e343af63b7ca80c25931a
2024-04-26 00:19:06 +00:00
Ankur Bakshi
9964e69ea8 Update lynx SVN to 42
Bug: 336526332
Change-Id: I156bc0b08e2a53d2b2ac0f5ff14f4505db8c13d8
2024-04-26 00:18:54 +00:00
Android Build Coastguard Worker
6039a3d11a Snap for 11753769 from ed912e19ba to 24Q3-release
Change-Id: I05fbf9bed2ac44886e515c609be0c53baf6f0bfa
2024-04-23 23:02:51 +00:00
Peter Lin
ed912e19ba update educeBrightColorsStrengt setting
Bug: 312329951
Test: dumpsys color_display
Change-Id: I278e2814a41b1d42b337de06d1eb50911455f2a3
2024-04-23 09:07:32 +00:00
Android Build Coastguard Worker
e48b78efc9 Snap for 11740859 from 9586c78a2e to 24Q3-release
Change-Id: I68eeff6655c42f0f4b33dfd5637da93868197d82
2024-04-20 01:02:18 +00:00
Android Build Coastguard Worker
8144fc83b5 Snap for 11728787 from 5bd83498a2 to 24Q3-release
Change-Id: Idaffe1975b7f7df962af6159c884a99616f94b47
2024-04-17 23:03:44 +00:00
Cyan_Hsieh
9586c78a2e Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I2c7d8d9f0714d1144a0b57692dad727783a80e51
2024-04-17 13:40:32 +00:00
Poomarin Phloyphisut
5bd83498a2 [USB Audio AIDL] Add mixer path for "usb-device-microphones"
Bug: 329147872
Test: Local test
Change-Id: Idb1179a6f927187a16f2200d75497b549995f072
2024-04-17 04:16:24 +00:00
Android Build Coastguard Worker
4d0167aa4b Snap for 11722130 from b997e9090c to 24Q3-release
Change-Id: I1d5a9ccd0462314d346dba104af13525a8e9e74e
2024-04-16 23:02:36 +00:00
Cyan_Hsieh
b997e9090c Switch default kernel directory and change build flag naming
Bug: 309749142
Change-Id: Ifaeab036656e0a5aac391fa18a495deb5b686fec
2024-04-16 01:34:13 +00:00
Android Build Coastguard Worker
c1c58c6141 Snap for 11704135 from 6e20ea17c9 to 24Q3-release
Change-Id: I484a21e326fab758faeaaed2444af8eb12f7329a
2024-04-11 23:02:24 +00:00
Vic Huang
6e20ea17c9 [L10] BT: Set system property for Bluetooth Auto On to false
Set property bluetooth.server.automatic_turn_on default to false for
Bluetooth Auto On feature.

Bug: 333830111
Test: check system property value
Change-Id: I5d086d88652d5c083755071d35d4670748377792
2024-04-11 08:53:10 +00:00
Android Build Coastguard Worker
fe03b8ad1d Snap for 11697857 from b70ebe09ff to 24Q3-release
Change-Id: Ia3069aea914d88d7a43d0c6ca269ac41ff16806c
2024-04-10 23:02:22 +00:00
Jimmy Shiu
b70ebe09ff powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values am: 3773cd4163
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/26899083

Change-Id: Ie49b2fa0211c0d36ea16ffd759e0c8b668b287ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-10 16:37:21 +00:00
Jimmy Shiu
3773cd4163 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I1001f1f81839e9bd696785269d72d0e30bfd7da8
2024-04-10 11:45:08 +00:00
Android Build Coastguard Worker
a19dd1406b Snap for 11679388 from 5ab5eb3f42 to 24Q3-release
Change-Id: I5b27f196838879ec1de2ce75c0a10676f16b93a1
2024-04-06 01:02:13 +00:00
Ankur Bakshi
5ab5eb3f42 Update lynx SVN to 41
Bug: 330382848
Change-Id: Ibf4ddca313b26e8e86831bfb251fa2909957ebb3
2024-04-05 02:13:13 +00:00
Ankur Bakshi
a5c102e29a Update lynx SVN to 40
Bug: 330382848
Change-Id: If141e1b3fbd821eaa20337d5c92b1f1dc394d601
2024-04-05 02:13:13 +00:00
Android Build Coastguard Worker
c0ebbf8695 Snap for 11666018 from 01a31f6333 to 24Q3-release
Change-Id: I76ac9583b8ffcb6b4b16598df2465e2600fe4bbb
2024-04-03 23:02:15 +00:00
Jimmy Shiu
01a31f6333 powerhint: set uclampmin_init value for applying CPU Load boost am: b4234a4d1a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/26809468

Change-Id: I7d4760d8b46eaf574c6516d3f5b0e670da83d4ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-03 04:19:41 +00:00
Jimmy Shiu
b4234a4d1a powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Test: Manual Test
Change-Id: Icd31a2abfdb724ee83a34125bb7f49e320acd947
2024-04-03 01:04:46 +00:00
Android Build Coastguard Worker
9c0bd6331f Snap for 11654651 from 34fbf67b4e to 24Q3-release
Change-Id: Idd9abc0235477ee4a194c2f60252c26f656eceb2
2024-04-01 23:02:07 +00:00
vincenttew
34fbf67b4e audio: remove non-supported analog headset
Bug: 329470379
Change-Id: If029663a0973f701178aa236f327798c7e8dda0a
Signed-off-by: vincenttew <vincenttew@google.com>
2024-04-01 08:54:50 +00:00
Ted Wang
8fce66d51f Fix incorrect property
Bug: 331752132
Test: Manually
Change-Id: I78a89e834e5a04470cc405e4f4ae6ec2530f64e2
2024-03-29 01:45:24 +00:00
Android Build Coastguard Worker
96f9b97bfe Snap for 11635697 from a9cb7d8123 to 24Q3-release
Change-Id: I32cad81f3a2e00b76c5b35d49ed2e9d32f8f7a07
2024-03-27 23:02:37 +00:00
Ankur Bakshi
a9cb7d8123 Update lynx SVN to 39
Bug: 325156176
Change-Id: I2a7d1e94068fff910a2d970def9a5aed105fff31
2024-03-26 22:20:35 +00:00
Android Build Coastguard Worker
7c43aa4a18 Snap for 11623990 from f5e15e8af3 to 24Q3-release
Change-Id: I6bc860d403938bd8493c2ecf31cfde8c927c4f90
2024-03-25 23:02:28 +00:00
Android Build Coastguard Worker
6701bc89a0 Snap for 11607654 from 6275a87edb to mainline-tzdata6-release
Change-Id: Id9b97a1d29ffce6ccc4b2907615833eb24f881f9
2024-03-21 12:27:23 +00:00
Cyan_Hsieh
f5e15e8af3 Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I3ccb68a52a9c547ed8931fee560e0571d2a93020
2024-03-21 18:29:18 +08:00
Android Build Coastguard Worker
404002883c Snap for 11603317 from 6275a87edb to 24Q3-release
Change-Id: I272498378d9690afd562bd66dfc09e1ddcc7e9c7
2024-03-20 23:02:35 +00:00
Ankur Bakshi
6275a87edb Update lynx SVN to 38
Bug: 325156176
Change-Id: I337a8128a53772cca01fc9da375a0226b2f16ed4
2024-03-20 05:01:16 +00:00
Android Build Coastguard Worker
0a0fcb9f84 Snap for 11591048 from d6f19ab44f to 24Q3-release
Change-Id: I1cc3e36148ade3cd67cd230798796075c1b4cb6e
2024-03-18 23:02:28 +00:00
Nina Chen
d6f19ab44f Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: I59afb864e215176b74835b0c9b7c38bab2ecbb04
Signed-off-by: Nina Chen <sheaunic@google.com>
2024-03-18 03:47:30 +00:00
Android Build Coastguard Worker
bd6d34f6e1 Snap for 11578433 from 4b3cdd15f9 to 24Q3-release
Change-Id: I06bc3c3b45a3cc28eaad6f29ee1c8126bcb5bd9e
2024-03-14 23:06:50 +00:00
Ankur Bakshi
4b3cdd15f9 Update lynx SVN to 37
Bug: 325156176
Change-Id: I19739180c3e5722f8e64094018f10c3511300541
2024-03-14 01:35:00 +00:00
Sam Paradis
313d4f832a Change FACE_UNLOCK_BOOST to Maximize CPU Frequency am: dfea7bf269
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/26567352

Change-Id: Ib508a5d368ddf0bcf13ff5606168cb611d6fd5be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-13 23:29:13 +00:00
Sam Paradis
dfea7bf269 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: I0dac04d30e623a869be89ac6a5cfe002a64da48e
2024-03-13 17:12:21 +00:00
Android Build Coastguard Worker
0c6ab8b027 Snap for 11565217 from bf58e83ad8 to 24Q3-release
Change-Id: I53265b6a5c693c3e5806ebad8d67e4a44aca80db
2024-03-12 23:02:28 +00:00
Sam Paradis
bf58e83ad8 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: I0dac04d30e623a869be89ac6a5cfe002a64da48e
2024-03-09 01:56:22 +00:00
Android Build Coastguard Worker
0dd7345cd6 Snap for 11545716 from 0c46aa581e to 24Q3-release
Change-Id: Iaa1f9fb4027f74990c462f4b68cb60f987ba0a43
2024-03-08 00:02:04 +00:00
Android Build Coastguard Worker
ff9aab4941 Snap for 11545716 from 44ba59d6a5 to 24Q3-release
Change-Id: I6a3a628a6bdca5aed6f4d5c6e56d729381fc5a1b
2024-03-08 00:02:03 +00:00
Xin Li
0c46aa581e [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 701f79f70a -s ours am: 1f77b24e68 -s ours
am skip reason: Merged-In I52ab29bee9421643fca69cb423f577452487089b with SHA-1 0aae9b9770 is already in history

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

Change-Id: I1870d30dbc09b40a4c260848dce814b9f75c2345
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:46 +00:00
Xin Li
44ba59d6a5 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 0920ad99f2 -s ours am: 6d580d83b7 -s ours
am skip reason: Merged-In I494f20227bf8aa75904ede4676eb2d5abf1d296f with SHA-1 ccca7db766 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/2990678

Change-Id: Ibb56cd7befcf6eaa6301d2087374c16a4229a41a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:25 +00:00
Xin Li
1f77b24e68 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 701f79f70a -s ours
am skip reason: Merged-In I52ab29bee9421643fca69cb423f577452487089b with SHA-1 0aae9b9770 is already in history

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

Change-Id: Id518115715a4be9e01c54b1388ca30e30317af7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:21 +00:00
Xin Li
6d580d83b7 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 0920ad99f2 -s ours
am skip reason: Merged-In I494f20227bf8aa75904ede4676eb2d5abf1d296f with SHA-1 ccca7db766 is already in history

Original change: https://android-review.googlesource.com/c/device/google/lynx/+/2990678

Change-Id: I34c76824f596463d17060f4a6182db187e37443f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:00 +00:00
Android Build Coastguard Worker
65efa3c5f8 Snap for 11540345 from 760d0ae689 to 24Q3-release
Change-Id: I15b8014146f77812c7f2e2f8d6fb13751efb458e
2024-03-07 01:51:55 +00:00
Xin Li
701f79f70a Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I52ab29bee9421643fca69cb423f577452487089b
Change-Id: Ie7fe5498663a1ca97adc34c2fb22240e13d22e57
2024-03-06 09:29:49 -08:00
Xin Li
0920ad99f2 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I494f20227bf8aa75904ede4676eb2d5abf1d296f
Change-Id: I83eb7ba2497581b48d96ff524fd3f8d05ceb61e6
2024-03-06 09:29:48 -08:00
Ted Wang
760d0ae689 Set system property for Bluetooth Auto On feature
Bug: 328168955
Test: make
Change-Id: I10b628b4eef0b1cba178a859080753e8300cd5b3
2024-03-06 05:04:48 +00:00
Ankur Bakshi
df4a1ef1d0 Update lynx SVN to 36
Bug: 325156176
Change-Id: I77899d8e0fd2d125b0fec47e84d0e1f55de2ab0d
2024-03-06 02:53:06 +00:00
Android Build Coastguard Worker
8006ef0416 Snap for 11520864 from 63de307483 to 24Q3-release
Change-Id: I4cd60dd8f2694dae8d7be95ac831efca9b48ea60
2024-03-02 02:02:35 +00:00
Android Build Coastguard Worker
f1f152e590 Snap for 11517216 from ca5611e5ba to 24Q3-release
Change-Id: I8fb91286c29282420b09a97fb7fb9fdd35208e41
2024-03-01 00:02:54 +00:00
Android Build Coastguard Worker
0d7df14026 Snap for 11498354 from 28ed21734f to 24Q3-release
Change-Id: I25b0a4d28eea8b8bad530ba049543ebc8678d5e9
2024-02-27 00:02:23 +00:00
Android Build Coastguard Worker
8e41b77cf4 Snap for 11469542 from 01b80bf1e0 to 24Q3-release
Change-Id: I7063a65e8cbfe7e6defa3178420bc23d25020e03
2024-02-20 00:02:43 +00:00
Android Build Coastguard Worker
0c9e2573b7 Merge "Snap for 11455877 from 5b6dd28590 to 24Q3-release" into 24Q3-release 2024-02-16 01:24:28 +00:00
Android Build Coastguard Worker
9f554078e9 Snap for 11455877 from 5b6dd28590 to 24Q3-release
Change-Id: Id212585ea9485e18fd14a9c381582dbf433418fb
2024-02-16 00:23:25 +00:00
Android Build Coastguard Worker
cf9f86d395 Snap for 11455651 from 5b6dd28590 to 24Q3-release
Change-Id: I0813f0b8d662c0deb0d679900fe1de9792b6c057
2024-02-16 00:14:18 +00:00
Jacky Liu
1cce81f773 Update i2c device paths
Update i2c device paths with static bus numbers.
Remove entries which are already in gs201-sepolicy.

Bug: 323447554
Test: Boot to home
Change-Id: I8d204e099f7a37422259c0ccac2bf25a082c2fcf
2024-02-06 16:16:19 +00:00
Xin Li
75d49c4e50 [automerger skipped] Merge Android 24Q1 Release (ab/11220357) am: 0aae9b9770 -s ours
am skip reason: Merged-In I0d94aa3c766c2d98748f53223e45fdb32caa38ba with SHA-1 cadc3a71b6 is already in history

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

Change-Id: Ie06d124dd51d04dae4d977cd3756a88640728349
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-31 02:03:35 +00:00
Xin Li
0aae9b9770 Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I0d94aa3c766c2d98748f53223e45fdb32caa38ba
Change-Id: I52ab29bee9421643fca69cb423f577452487089b
2024-01-17 22:12:43 -08:00
Jenny Ho
fe3d38fe37 sepolicy: lynx: add wireless path permission
I auditd  : type=1400 audit(0.0:4402): avc:  denied  { read } for  comm="UeventThread" name="voltage_now" dev="sysfs" ino=66900 scontext=u:r:hal_wireless_charger:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
I auditd  : type=1400 audit(0.0:3924): avc:  denied  { read } for  comm="binder:531_2" name="wakeup82" dev="sysfs" ino=83487 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=dir permissive=0

Bug: 320193504
Change-Id: I98e3c48f9c6eaaab2d303721bdb473fc72884738
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-01-16 13:44:37 +08:00
Limon Mia
8e6298f772 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 318453067
Change-Id: Ifd636317f28da1b2ca12a417de7443780eba7b2d
2024-01-04 04:40:48 +00:00
Xin Li
b687697ad7 [automerger skipped] Merge Android 14 QPR1 am: c6b1b5c842 -s ours am: 2cfa970d9a -s ours am: 787ab9e582 -s ours
am skip reason: Merged-In Ia650fa0488bceb92c65c22278da30c2cc046e74c with SHA-1 26ba2b8247 is already in history

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

Change-Id: I3ed6c0e8622d117762c01c0f1794185124b257c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:57:54 +00:00
Xin Li
787ab9e582 [automerger skipped] Merge Android 14 QPR1 am: c6b1b5c842 -s ours am: 2cfa970d9a -s ours
am skip reason: Merged-In Ia650fa0488bceb92c65c22278da30c2cc046e74c with SHA-1 26ba2b8247 is already in history

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

Change-Id: I2c4142e6668537ce68f064cd76b8be11b04cd485
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 22:02:41 +00:00
Xin Li
2cfa970d9a [automerger skipped] Merge Android 14 QPR1 am: c6b1b5c842 -s ours
am skip reason: Merged-In Ia650fa0488bceb92c65c22278da30c2cc046e74c with SHA-1 26ba2b8247 is already in history

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

Change-Id: I507e8a8ff38ba6a9f18882fa0f0360401116c7b5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-11 21:16:51 +00:00
Xin Li
c6b1b5c842 Merge Android 14 QPR1
Merged-In: Ia650fa0488bceb92c65c22278da30c2cc046e74c
Bug: 315507370
Change-Id: I5cbe1a4bb0ba5a3305716eace524c75cf393f9bf
2023-12-08 13:13:32 -08:00
Hsiu-Chang Chen
cadc3a71b6 wifi: genfs_contexts: fix path for wifi device
Bug: 313754855
Test: without avc denial when booting
Change-Id: I0d94aa3c766c2d98748f53223e45fdb32caa38ba
2023-12-04 15:37:05 +08:00
Xin Li
f10b2a6a41 [automerger skipped] Merge 10952656 am: 26ba2b8247 -s ours am: 9391249b9e -s ours
am skip reason: Merged-In Idcbaa090acede3f76d10ae93a29c035285e1f9f4 with SHA-1 1469be0c68 is already in history

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

Change-Id: I6995e7876c686e73ca60bb44a50150666714bbb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 23:54:55 +00:00
Xin Li
9391249b9e [automerger skipped] Merge 10952656 am: 26ba2b8247 -s ours
am skip reason: Merged-In Idcbaa090acede3f76d10ae93a29c035285e1f9f4 with SHA-1 1469be0c68 is already in history

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

Change-Id: Iaa11dffc9c536237163cad7ea493f4c277953ef6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-19 18:48:09 +00:00
Xin Li
26ba2b8247 Merge 10952656
Merged-In: Idcbaa090acede3f76d10ae93a29c035285e1f9f4
Change-Id: Ia650fa0488bceb92c65c22278da30c2cc046e74c
2023-10-17 10:06:41 -07:00
Wilson Sung
fe5397ebc7 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 305600996
Bug: 305600635
Bug: 305600791
Change-Id: I0ec67adb8fab1f8121313a47d47667dea1ff83b7
2023-10-16 06:01:18 +00:00
Xin Li
2eee63a4db [automerger skipped] Merge Android 14 am: d056d3bad8 -s ours am: f4c66c7adc -s ours am: 01481beac4 -s ours am: ff02510f63 -s ours am: 1469be0c68 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: I53bf5073acae37d0816c2d06654fdbda9f03d33b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-07 00:20:36 +00:00
Xin Li
1469be0c68 [automerger skipped] Merge Android 14 am: d056d3bad8 -s ours am: f4c66c7adc -s ours am: 01481beac4 -s ours am: ff02510f63 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: Idcbaa090acede3f76d10ae93a29c035285e1f9f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 11:01:06 +00:00
Xin Li
ff02510f63 [automerger skipped] Merge Android 14 am: d056d3bad8 -s ours am: f4c66c7adc -s ours am: 01481beac4 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: I86c4de393c77ca8f5cfa5f7956ed6e788184f7bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 09:51:15 +00:00
Xin Li
01481beac4 [automerger skipped] Merge Android 14 am: d056d3bad8 -s ours am: f4c66c7adc -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: I25dfa5694a087c404dbb2b72a584169661693d56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 08:59:36 +00:00
Xin Li
f4c66c7adc [automerger skipped] Merge Android 14 am: d056d3bad8 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: I09a3c4960de9a2d56de59f46a4f4be5acf2bdb2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-06 07:52:35 +00:00
Xin Li
d056d3bad8 Merge Android 14
Bug: 298295554
Merged-In: I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a
Change-Id: I276b153bbf5f86e9b9add8ed2fa2596a5d99e064
2023-10-05 15:34:03 -07:00
Xin Li
918ef34b5a [automerger skipped] Merge Android U (ab/10368041) am: c113fdf791 -s ours am: 69a5aaa440 -s ours am: a3f5e16590 -s ours am: 67564b940b -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: Ifb0fd263955e2d97322ccef37b9633a27376917e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 20:38:30 +00:00
Xin Li
67564b940b [automerger skipped] Merge Android U (ab/10368041) am: c113fdf791 -s ours am: 69a5aaa440 -s ours am: a3f5e16590 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: Id76e94794080cc2f7f11c1d512fa1926dfac5a8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 01:11:24 +00:00
Xin Li
a3f5e16590 [automerger skipped] Merge Android U (ab/10368041) am: c113fdf791 -s ours am: 69a5aaa440 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: If1a4ed70ed9ad67d097bfd9cac68c32ff1049e56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-29 00:35:41 +00:00
Xin Li
69a5aaa440 [automerger skipped] Merge Android U (ab/10368041) am: c113fdf791 -s ours
am skip reason: Merged-In I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a with SHA-1 c1c6e069f6 is already in history

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

Change-Id: Iffc17cca35d9570c24ea6a18bcf511c22826ce34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-28 23:59:41 +00:00
Xin Li
c113fdf791 Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a
Change-Id: I753ecee6f15989eb1199dbca03fc9aa8d66fecc7
2023-08-14 15:34:09 -07:00
Vic Huang
61794b4246 L10 sepolicy update for ssr coredump am: 378e0dc8e3 am: 244bc957ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/24194244

Change-Id: Ib1796372e95175bbbc886c9b6e4353ecbff22a9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 13:06:52 +00:00
Vic Huang
244bc957ed L10 sepolicy update for ssr coredump am: 378e0dc8e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/24194244

Change-Id: I6444c9f9843d6e5a2821c4c301f183b50f45e255
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-31 12:27:21 +00:00
Vic Huang
378e0dc8e3 L10 sepolicy update for ssr coredump
Update hal_bluetooth_default sepolicy to dump crash info to Android
Subsystem Coredump collection directory

Bug: 279858654
Test: Manual
Change-Id: I14095753c1305f2d6e473adb5ff4ac1e20597902
2023-07-26 02:25:57 +00:00
Wilson Sung
1ec8a5c75d Remove obsolete bug_map
Fix: 281814849
Change-Id: I21c76488e184213d3e1df4a3a9843d57fc6a64b8
2023-06-21 14:37:14 +08:00
Wilson Sung
96a8203633 Supress kernel avc log before SELinux initialized am: 3e3f8080aa am: a00096a43f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/23728169

Change-Id: I69429b4602829d46e54a622105422f73c51f77d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 02:58:40 +00:00
Wilson Sung
a00096a43f Supress kernel avc log before SELinux initialized am: 3e3f8080aa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/23728169

Change-Id: Id469333a39c8e851dd5951795d4df066e3dc0c18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 02:12:44 +00:00
Wilson Sung
3e3f8080aa Supress kernel avc log before SELinux initialized
Fix: 281814849
Change-Id: Ie83557668ded8ab17bf77e60ed21db33e9f4f580
2023-06-19 11:40:12 +08:00
DesmondH
6598f659e6 Remove fixed or obsolete entries
Bug: 277155327
Fix: 277300226
Change-Id: If846fee353fd4f28fdfeda4a2e61e22b84c90e08
2023-06-15 04:14:11 +00:00
changyan
677f144d53 Remove the tracking_denials entry as the issue
Bug: 282626814
Change-Id: Iccaca867eaef5dc615d1e0e2d79a69503c36ca01
2023-06-15 03:31:36 +00:00
Ted Wang
6fb37b914c Add sepolicy for grilservice am: 72e0e7fa38 am: b70be65e99
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/23509321

Change-Id: I6b2f9aa48af5ddc178f3bf13a770271dd23bf37e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 15:53:03 +00:00
Ted Wang
b70be65e99 Add sepolicy for grilservice am: 72e0e7fa38
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/23509321

Change-Id: I32bfd766f5411fb751de55ec22083c8a04c0da21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-06 15:11:55 +00:00
DesmondH
776b24d44b Remove obsolete entries
Fix: 238837168
Change-Id: I405a6fa33c57189bf94d21428b081f3422564eb1
2023-06-02 03:25:02 +00:00
Ted Wang
72e0e7fa38 Add sepolicy for grilservice
Bug: 282685427
Test: make; manual
Change-Id: Idcdc23d21a383e37541f346434c237c6dc9e366f
2023-06-01 07:59:29 +00:00
feiyuchen
d66388d676 Remove two hal_camera_default errors from tracking_denials/bug_map
Bug: 275002086
Test: mm
Change-Id: I53ee15bbb2bbb19f5b62cdae5994ce1605683568
2023-05-26 15:59:18 +00:00
Wilson Sung
493713ddf6 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 282626814
Bug: 281814849
Change-Id: I8c7dc143a15caa0f815620aacb6099830fea43e1
2023-05-15 15:32:40 +08:00
Adam Shih
8215756c51 introduce a new sepolicy owner
Bug: 281631102
Test: N/A
Change-Id: Id22629dfca9559bb82d1953a41a40c723244e9de
2023-05-15 02:11:10 +00:00
JohnnLee
2f42af0095 Remove obsolete entries
Test: adb bugreport
Bug: 238143398
Bug: 239887174
Change-Id: I4d9d3f82be1d7a9b28d4476f4f7c4c3bc745f98e
2023-05-10 16:12:48 +08:00
Automerger Merge Worker
6d0d4ffda8 Merge "Update error on ROM 9892479 am: c1c6e069f6 am: 6ce29d087a" 2023-04-10 02:14:54 +00:00
Wilson Sung
03efa43f01 Update error on ROM 9892479 am: c1c6e069f6 am: 6ce29d087a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22525983

Change-Id: I7edf58b87e8c0beb16a6bfddf43b0d8bb74cd120
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 02:14:51 +00:00
Wilson Sung
365292d73d Update error on ROM 9892479 am: c1c6e069f6 am: 073237da5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22525983

Change-Id: Id9bb7eb623b9400f56a3a920576cc93caa5d2c01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 02:14:48 +00:00
Wilson Sung
6ce29d087a Update error on ROM 9892479 am: c1c6e069f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22525983

Change-Id: I741c9eac7ae7a8abbf87c18c017e70a9d2d3866e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 01:46:49 +00:00
Wilson Sung
073237da5b Update error on ROM 9892479 am: c1c6e069f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22525983

Change-Id: I7a4d5a503422f960295fb30f1c093f0f35426ca9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-10 01:46:42 +00:00
Wilson Sung
c1c6e069f6 Update error on ROM 9892479
Bug: 277155327
Bug: 277300226
Test: pts-tradefed run pts -m PtsSELinuxTest
Change-Id: I2690bcd7b3ae0d869f39851d5fb692378cbb6e9a
2023-04-07 15:09:26 +08:00
Wilson Sung
bd16083802 Update SELinux error am: 90d58d2553 am: d63e4c068b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22244483

Change-Id: I9ec610c2ce00f0fd77816c6edb6d2dc75d55a0e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 06:06:19 +00:00
Wilson Sung
e4ce2b33d4 Update SELinux error am: 90d58d2553 am: 6fefb96a12
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22244483

Change-Id: I1099eff60b5dbfac7be39b3d6c346945821c5cde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 06:05:41 +00:00
Wilson Sung
6fefb96a12 Update SELinux error am: 90d58d2553
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22244483

Change-Id: I9cbc2d9c0e1bbb6cf54ae7811c7fa2ac3207b39a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:39:22 +00:00
Wilson Sung
d63e4c068b Update SELinux error am: 90d58d2553
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/22244483

Change-Id: I2576354c63391db88cad856bef3c4a464962463d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 05:39:20 +00:00
Wilson Sung
90d58d2553 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 275002086
Test: scanBugreport
Bug: 239887174
Test: scanAvcDeniedLogRightAfterReboot
Bug: 239887174
Change-Id: I9a0a1b3ef0642700a4555258c9e8aff7ec82e084
2023-03-24 11:11:28 +08:00
Yen-Chao Chen
cb063cf6ce Suppress avc denials of sysfs am: f446026014 am: c03d408bb4 am: cf61d5959d am: 86f85bd033
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21570169

Change-Id: I66d1d8fe205e09a71e2879bfd7b408de37c80c0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 05:07:20 +00:00
Yen-Chao Chen
706a39f268 Suppress avc denials of sysfs am: f446026014 am: c03d408bb4 am: cf61d5959d am: bf9c406fbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21570169

Change-Id: I97c5ee4133a3822a33f71e686f944eef2b546db5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 05:06:14 +00:00
Yen-Chao Chen
86f85bd033 Suppress avc denials of sysfs am: f446026014 am: c03d408bb4 am: cf61d5959d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21570169

Change-Id: I7c194edda3b7ef6e93f0a05bb03963d64df64dc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 04:30:54 +00:00
Yen-Chao Chen
bf9c406fbe Suppress avc denials of sysfs am: f446026014 am: c03d408bb4 am: cf61d5959d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21570169

Change-Id: Ia0c8b12c75da13ee44cfbc9d96fb033c35ec42da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 04:30:02 +00:00
Yen-Chao Chen
cf61d5959d Suppress avc denials of sysfs am: f446026014 am: c03d408bb4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21570169

Change-Id: I64cc0d6b9cfd5945a6ccf7f927450c2ad9be838e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 03:51:30 +00:00
Yen-Chao Chen
c03d408bb4 Suppress avc denials of sysfs am: f446026014
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21570169

Change-Id: I478ce949320bcf89047a6bb62103b0c4a9f572e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 03:15:26 +00:00
Yen-Chao Chen
f446026014 Suppress avc denials of sysfs
Bug: 267839070
Test: adb bugreport

Change-Id: I8d4aed4aba15efa0cc38574565e4a66bc3049321
Signed-off-by: Yen-Chao Chen <davidycchen@google.com>
2023-03-01 15:10:16 +08:00
Tai Kuo
8026d60db6 Revert "device-sepolicy: Add sepolicy for vibrator hal" am: 02be088bc5 am: 5925557552 am: 2d2a78c148
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21455936

Change-Id: I1d571368e7eaf7064ef613e6d25fb13052abd1e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 09:01:36 +00:00
Tai Kuo
b58cf03402 Revert "device-sepolicy: Add sepolicy for vibrator hal" am: 02be088bc5 am: 5925557552
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21455936

Change-Id: I0054a5f9b19edff784ae55c0acfb9fec79bc8153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 07:57:48 +00:00
Tai Kuo
2d2a78c148 Revert "device-sepolicy: Add sepolicy for vibrator hal" am: 02be088bc5 am: 5925557552
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21455936

Change-Id: Ia68280abd245bd8bc7e1e939f82156b44919b355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 07:47:47 +00:00
Tai Kuo
5925557552 Revert "device-sepolicy: Add sepolicy for vibrator hal" am: 02be088bc5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21455936

Change-Id: Ie2e3086bf535add2e1ede16e374f8a78e2780216
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 06:23:10 +00:00
Tai Kuo
1bf6ebb51e Revert "device-sepolicy: Add sepolicy for vibrator hal" am: 02be088bc5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21455936

Change-Id: Iff67682598df71a00bf5c5eeabd0c682c9c427fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-17 01:45:33 +00:00
Tai Kuo
02be088bc5 Revert "device-sepolicy: Add sepolicy for vibrator hal"
This reverts commit b5eec482fd.

Bug: 198239103
Test: build pass on git_tm-qpr-dev-plus-aosp
Change-Id: Iee9305e6ba5abbc8df9b353ed5bbfeaa64f0b43b
2023-02-16 22:11:32 +08:00
Hsiu-Chang Chen
ae260626bc wlan: add cnss-daemon and related libraries am: 53746d9546 am: cc2eda58a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21257900

Change-Id: Ifa5b92a131372c681371a48bb8c6fec715a20b34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 10:08:06 +00:00
Hsiu-Chang Chen
cc2eda58a1 wlan: add cnss-daemon and related libraries am: 53746d9546
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/21257900

Change-Id: I8d0b0e4ec2218b6b569e282163749c77e1c7e627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15 09:16:10 +00:00
Hsiu-Chang Chen
53746d9546 wlan: add cnss-daemon and related libraries
cnss-daemon is necessary for CHRE function

Bug: 264524963
Test: Regression Test
Change-Id: Ic7b63617e30a9e6427b0ac280bf4763f9cc19f6e
2023-02-15 01:47:13 +00:00
Ken Yang
fa9c88aef8 WLC: Cleanup the sysfs_wlc policies
Bug: 263830018
Change-Id: I6b31c6127e01b946c51200683b511853f2d304b4
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-13 14:41:12 +00:00
Myles Watson
942a2a63f4 [automerger skipped] Lynx: Use common sepolicy for bt_device am: 966927efa3 -s ours
am skip reason: Merged-In Ic1b7469d64c79285d9d7993befbe173c9bca34aa with SHA-1 e5a1cde5d4 is already in history

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

Change-Id: Ic9d77aa8d816734a5f65882270eb9efa95017805
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 23:35:11 +00:00
Myles Watson
966927efa3 Lynx: Use common sepolicy for bt_device
Bug: 205758693
Test: build
Ignore-AOSP-First: Some devices in internal define bt_device
Change-Id: Ic1b7469d64c79285d9d7993befbe173c9bca34aa
(cherry picked from commit e5a1cde5d4)
Merged-In: Ic1b7469d64c79285d9d7993befbe173c9bca34aa
2023-01-12 21:30:13 +00:00
Myles Watson
e5a1cde5d4 Lynx: Use common sepolicy for bt_device
Bug: 205758693
Test: build
Ignore-AOSP-First: Some devices in internal define bt_device
Change-Id: Ic1b7469d64c79285d9d7993befbe173c9bca34aa
2023-01-10 06:44:54 -08:00
Ken Yang
c70f56e2df WLC: Add device specific sepolicy for wireless_charger
Bug: 237600973
Change-Id: I9d219c3abf02266cc8200c70840a65aedb17ee7b
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-20 00:59:17 +00:00
Vic Huang
35d63da2f6 No avc denied in SELinuxUncheckedDenialBootTest am: 5b9f54e76d am: c4f1017469
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/20615132

Change-Id: Ie45f778807057fbfb3632a92169366636f7fd5d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 17:08:12 +00:00
Vic Huang
c4f1017469 No avc denied in SELinuxUncheckedDenialBootTest am: 5b9f54e76d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/20615132

Change-Id: I68e23620268af291bcd94c0bf8d71bcbc7bdc127
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 16:34:02 +00:00
Vic Huang
5b9f54e76d No avc denied in SELinuxUncheckedDenialBootTest
DeviceBootTest.DeviceBootTest.SELinuxUncheckedDenialBootTest

avc: denied { call } for comm="oid.grilservice" scontext=u:r:grilservice_app:s0:c227,c256,c512,c768 tcontext=u:r:hal_bluetooth_default:s0 tclass=binder permissive=0 app=com.google.android.grilservice

Bug: 259198345
Change-Id: Ie3800e3197f04b83ba8789c82518cbb721e1fe37
2022-12-02 15:52:36 +00:00
Chris Paulo
50b8efd9eb device-sepolicy: Add sepolicy for vibrator hal am: b5eec482fd am: 2c6be03c0d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19981337

Change-Id: I81c821acf7f0e94f91dc32d259da8635aedb7ced
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 21:20:50 +00:00
Chris Paulo
2c6be03c0d device-sepolicy: Add sepolicy for vibrator hal am: b5eec482fd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19981337

Change-Id: I379f4a0ee8e457202e70ba5cadd4a6e97c7b2e8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 20:52:07 +00:00
Chris Paulo
b5eec482fd device-sepolicy: Add sepolicy for vibrator hal
Added sepolicy for vibrator hal specific to device

uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { read } for property=vibrator.adaptive_haptics.enabled pid=0 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1'
avc: denied { open } for comm="odrefresh" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:odrefresh:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1
avc: denied { getattr } for comm="odrefresh" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:odrefresh:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1
avc: denied { map } for comm="odrefresh" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:odrefresh:s0 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1
avc: denied { write } for comm="android.hardwar" name="chre" dev="tmpfs" ino=1094 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:chre_socket:s0 tclass=sock_file permissive=1
avc: denied { connectto } for comm="android.hardwar" path="/dev/socket/chre" scontext=u:r:hal_vibrator_default:s0 tcontext=u:r:chre:s0 tclass=unix_stream_socket permissive=1
avc: denied { open } for comm="binder:8084_3" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1 app=com.google.android.gms
avc: denied { getattr } for comm="binder:8084_3" path="/dev/__properties__/u:object_r:adaptive_haptics_prop:s0" dev="tmpfs" ino=80 scontext=u:r:gmscore_app:s0:c512,c768 tcontext=u:object_r:adaptive_haptics_prop:s0 tclass=file permissive=1 app=com.google.android.gms

Bug: 198239103
Test: Verified functionality
Signed-off-by: Chris Paulo <chrispaulo@google.com>
Change-Id: Ib118b553eab1db6f9fadaebeae0d57eb329294e3
2022-11-15 05:27:55 +00:00
Hsiu-Chang Chen
07be62d1ab Fix avc denied for init-insmod-sh am: cf6ebcdd6f am: 679626004d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/20302372

Change-Id: I0d29948c32050fc893b3fc34ed46ae6810847d6b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-30 04:56:35 +00:00
Hsiu-Chang Chen
679626004d Fix avc denied for init-insmod-sh am: cf6ebcdd6f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/20302372

Change-Id: If04d86a030a328552c5b3b805a0576f5296f0df3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-30 04:20:58 +00:00
Hsiu-Chang Chen
cf6ebcdd6f Fix avc denied for init-insmod-sh
qrtr.ko doesn't request net_admin permission now
05-30 05:12:58.524   492   492 I auditd  : type=1400 audit(0.0:4):
avc: denied { net_admin } for comm="modprobe" capability=12
scontext=u:r:init-insmod-sh:s0 tcontext=u:r:init-insmod-sh:s0
tclass=capability permissive=0

Bug: 234311675
Test: verified with the forrest ROM and error log gone
Change-Id: I72fb5441b977b6ba67d19416049a2776c3aebd12
2022-10-28 12:35:02 +08:00
Hsiu-Chang Chen
63b5468da9 Add sepolicy rules for hal_wifi_default am: b2c724f0ed am: 32cd0dbba0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/20194047

Change-Id: I492d79005fcd85fb84f29baec08d6a95d766ea01
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 09:31:44 +00:00
Hsiu-Chang Chen
32cd0dbba0 Add sepolicy rules for hal_wifi_default am: b2c724f0ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/20194047

Change-Id: Ic9d33b41d0c656219248274c43799fd96c179730
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-17 08:45:12 +00:00
Hsiu-Chang Chen
b2c724f0ed Add sepolicy rules for hal_wifi_default
In PDK build, it uses default wifi hal instead
wifi_ext hal. Need to add rules for hal_wifi_default
as well as we added for hal_wifi_ext

Bug: 253544307
Test: Wifi can be enabled in PDK builds
Change-Id: I57ad330c2467ae99b9c5190fbdc2f02e998b2fc1
2022-10-15 02:50:33 +00:00
Hsiu-Chang Chen
852dfa55f8 Add sepolicy for tcpdump_logger am: ea80cb5016 am: f068419777
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19739489

Change-Id: Ib7a73b5066d30e2d039abae54de1368741e043fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-26 03:18:07 +00:00
Hsiu-Chang Chen
f068419777 Add sepolicy for tcpdump_logger am: ea80cb5016
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19739489

Change-Id: I8e3b4edee868db2bc3bdd1e3f1589bc26f061fcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-26 02:39:01 +00:00
Hsiu-Chang Chen
674508eccc Add sepolicy for wifi_sniffer and wifi_perf_diag am: e465f1a856 am: 6122c700d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19738530

Change-Id: I30803fd319b090e50fbce8688825d4902d979699
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 09:25:11 +00:00
Hsiu-Chang Chen
ea80cb5016 Add sepolicy for tcpdump_logger
avc: denied { search } for name="wifi" dev="dm-44" ino=329 scontext=u:r:tcpdump_logger:s0 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir

Bug: 243764714
Test: PixelLogger works normally
Change-Id: I4ee93dbe10bae08e01053656a8429c57bb3651c8
2022-08-25 16:56:44 +08:00
Hsiu-Chang Chen
6122c700d7 Add sepolicy for wifi_sniffer and wifi_perf_diag am: e465f1a856
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19738530

Change-Id: I84dc888428a7ce086b342b4f91c8300b001bc964
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-25 08:56:12 +00:00
Hsiu-Chang Chen
e465f1a856 Add sepolicy for wifi_sniffer and wifi_perf_diag
avc: denied { search } for name="wifi" dev="dm-38" ino=329 scontext=u:r:wifi_sniffer:s0 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir
avc: denied { setuid } for capability=7 scontext=u:r:wifi_sniffer:s0 tcontext=u:r:wifi_sniffer:s0 tclass=capability
avc: denied { setgid } for capability=6 scontext=u:r:wifi_sniffer:s0 tcontext=u:r:wifi_sniffer:s0 tclass=capability
avc: denied { search } for comm="wifi_perf_diag" name="wifi" dev="dm-38" ino=329 scontext=u:r:wifi_perf_diag:s0 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir

Bug: 243727673
Test: PixelLogger works normally
Change-Id: Idd0bb1ffeb198eea855b717a745fd93fecfe2251
2022-08-25 08:21:16 +00:00
Aaron Tsai
867fb0a6d8 Fix avc denied for hal_radioext_default am: 11348d7e76 am: 282e204a94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19515072

Change-Id: Ideea35242707bee69695b03c8f2db22aa171953e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-15 04:46:02 +00:00
Aaron Tsai
282e204a94 Fix avc denied for hal_radioext_default am: 11348d7e76
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19515072

Change-Id: I5dcb726d8e8bf6cdb5d86d5485f3a48555490657
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-15 03:48:37 +00:00
Aaron Tsai
11348d7e76 Fix avc denied for hal_radioext_default
05-30 13:13:30.868   867   867 I auditd  : type=1400 audit(0.0:21): avc: denied { call } for comm="HwBinder:867_1" scontext=u:r:hal_radioext_default:s0 tcontext=u:r:hal_bluetooth_default:s0 tclass=binder permissive=0

Bug: 234311798
Test: verified with the forrest ROM and error log gone
Change-Id: I0195fe2d8e81ea0149255524cfc047540159281b
2022-08-04 07:19:10 +08:00
Hsiu-Chang Chen
412d4909c5 wifi: correct label wlan0/p2p0/wifi-aware0 device as sysfs_net am: 9ac637312b am: ccea61be5a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19493414

Change-Id: Id224eb65a530ba1cd6a4b5896b67e55e0b434c07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-03 00:09:17 +00:00
Hsiu-Chang Chen
ccea61be5a wifi: correct label wlan0/p2p0/wifi-aware0 device as sysfs_net am: 9ac637312b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19493414

Change-Id: Ib49c753a7f85a1f49ae5f8641fe39f0cfd6ade98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-02 23:43:15 +00:00
Hsiu-Chang Chen
9ac637312b wifi: correct label wlan0/p2p0/wifi-aware0 device as sysfs_net
Bug: 239657967
Test: NetdSELinuxTest#CheckProperMTULabels
Change-Id: I31db1d2110b2c18cf12a5cfa9b13e8c6dff09d59
2022-08-02 08:54:18 +00:00
chungkai
f2a7632106 genfs_contexts: fix path for i2c peripheral device
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.

Test: without avc denial on L10 when booting
Bug: 240641235
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I411ceaa02cb6fb36fc767937a62f945685c4a019
2022-08-02 08:51:28 +00:00
Darren Hsu
4deea18f30 sepolicy: allow hal_power_stats to read wifi sysfs and property am: 4e2b651fdc am: 73723cd920
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19453449

Change-Id: I14108fb80af8e3502c91a9ffd31c54c46031e18a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 04:27:38 +00:00
Darren Hsu
73723cd920 sepolicy: allow hal_power_stats to read wifi sysfs and property am: 4e2b651fdc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19453449

Change-Id: I7d57b3c5a4e0db4b87f135b114fd29489b84c7f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 04:01:22 +00:00
Darren Hsu
4e2b651fdc sepolicy: allow hal_power_stats to read wifi sysfs and property
avc: denied { read } for name="power_stats" dev="sysfs"
ino=114517 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

avc: denied { read } for name="u:object_r:wifi_hal_prop:s0"
dev="tmpfs" ino=371 scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:wifi_hal_prop:s0 tclass=file permissive=0

Bug: 240391946
Test: get bugreport and make sure no avc denials related to
Test: hal_power_stats
Change-Id: I3be32eb4e61926c3abd24c67e7dab9b4056bf00a
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-07-28 15:48:41 +08:00
Hsiu-Chang Chen
840fdf2d5f Add sepolicy for hal_wifi_ext am: 0c59021e58 am: 0e5e41f7cd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19429449

Change-Id: Ib3a82241f866de668880393e4a17e54ac4d07829
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-27 09:20:52 +00:00
Hsiu-Chang Chen
0e5e41f7cd Add sepolicy for hal_wifi_ext am: 0c59021e58
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19429449

Change-Id: I408de5e4f42976fadc6c7bc2418e21e6ccc51564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-27 08:56:27 +00:00
Hsiu-Chang Chen
0c59021e58 Add sepolicy for hal_wifi_ext
07-27 11:58:09.569   869   869 I auditd  : type=1400 audit(0.0:2682598):
avc: denied { read } for comm="wifi_ext@1.0-se" name="driverdump" dev="proc"
ino=4026535980 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:proc:s0
tclass=file permissive=0

Bug: 239656339
Test: avc error is gone
Change-Id: Icf816897780fecc1bb35696e492e6fa2661abc20
2022-07-27 08:27:21 +00:00
Adam Shih
8181c4b5a8 Update SELinux error am: 20deb31861 am: 9d6f14ddee
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19378710

Change-Id: I5cd7eb7d38c74564c1ed14187364def665cb1417
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 04:40:32 +00:00
Adam Shih
9d6f14ddee Update SELinux error am: 20deb31861
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19378710

Change-Id: I68d81a43a344c43bd725b95f0fc15dda8e90b842
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-22 04:13:00 +00:00
Adam Shih
20deb31861 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 239887174
Change-Id: I4034d5ae64004142e312fd534d436014bfc0fe5b
2022-07-22 10:34:53 +08:00
Cheney Ni
50589bd0fb Bluetooth: Allow QTI HAL service to access its logbuffer am: 49a3cfae3a am: 749b8b461c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19321140

Change-Id: I207e3dc337055c3d1834426eba94032ea7d94ef9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 03:30:28 +00:00
Cheney Ni
749b8b461c Bluetooth: Allow QTI HAL service to access its logbuffer am: 49a3cfae3a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19321140

Change-Id: I9eee87934ce2db6b5a05098f977a83b2f5deb209
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-21 02:43:00 +00:00
Cheney Ni
49a3cfae3a Bluetooth: Allow QTI HAL service to access its logbuffer
Bug: 229691092
Test: Pass file permission check
Change-Id: Ic97bf3b23c452d20e5e32f3bafe2f6b2c5d2be3b
2022-07-20 19:05:20 +00:00
Robin Peng
02d993c00f Revert "Update SELinux error" am: b51016a53f am: b0cce19f45
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19321139

Change-Id: I4fc6cc0e54cb66fbd2b15edc63cd92b3ca3b284a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-19 01:55:14 +00:00
Robin Peng
b0cce19f45 Revert "Update SELinux error" am: b51016a53f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19321139

Change-Id: Idb65cad0d77e120d560d295d192ff18f9a7a9ede
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-19 01:36:08 +00:00
Robin Peng
b51016a53f Revert "Update SELinux error"
This reverts commit 74af0fe9e6.

Reason to revert: issue has been fixed
Bug: 239364576
Bug: 239364745
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: Iaef3454b376a7d5266b72f242b0ca94c77e1c1fe
2022-07-18 22:28:45 +08:00
Adam Shih
c8cb1782e0 Update SELinux error am: 74af0fe9e6 am: 0d7906333b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19320248

Change-Id: If1871a5348c14123d549535c74fd7c2a985eef87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 08:04:42 +00:00
Adam Shih
0d7906333b Update SELinux error am: 74af0fe9e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19320248

Change-Id: I670ce952cb2a6afeadad4d03899d2381be8ef32f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-18 07:45:48 +00:00
Adam Shih
74af0fe9e6 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 239364745
Change-Id: I65e5ac420fe7c94cfb08d4a9e1f1191152b49754
2022-07-18 10:55:40 +08:00
Adam Shih
41e929eb7b Update SELinux error am: c6daa1aa2e am: 7d65c8faf0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19279864

Change-Id: Idccc95df63bcb37661ff53ad5021b7be7235dd42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 01:20:48 +00:00
Adam Shih
7d65c8faf0 Update SELinux error am: c6daa1aa2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19279864

Change-Id: I6c68684be7ab31b5621c32ddabc3cc1b33ea68f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 01:01:45 +00:00
Adam Shih
c6daa1aa2e Update SELinux error
Bug: 234547283
Change-Id: I9caeeee12b5c8f29d9962cfc93d4902115c99b90
2022-07-15 00:30:34 +00:00
Adam Shih
bdf96fa6ad Update SELinux error am: 683104a6a8 am: 4aa0579e61
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19266001

Change-Id: I0c0c5f6adc9ab9b8e5163be70d31f7d5f49ac7a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 12:16:46 +00:00
Adam Shih
4aa0579e61 Update SELinux error am: 683104a6a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19266001

Change-Id: I6b6f39a51d34f43698db1ce68de357ff3b3eec23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-13 11:53:39 +00:00
Adam Shih
683104a6a8 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 238837168
Change-Id: Ic852fa8e8c1a8832699bc7f001abc7769ba67394
2022-07-13 14:37:17 +08:00
Adam Shih
01ed337d75 Update SELinux error am: d734865c1b am: c048370daa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19180811

Change-Id: Ice952c496648cda65ee604e4771c2c8bd79e9707
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 09:52:54 +00:00
Adam Shih
c048370daa Update SELinux error am: d734865c1b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19180811

Change-Id: I41655f2b3ceb341aa7c9d4a25283c99ace9f7da3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-06 09:34:02 +00:00
Adam Shih
d734865c1b Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 238143398
Change-Id: Ic30fa2201c37296a031d0e9ddc518c47c49ccaa2
2022-07-06 02:58:26 +00:00
Hsiu-Chang Chen
3689b206c9 Add sepolicy for vendor_location am: 4d4fd451a6 am: cf74d79ff1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19114548

Change-Id: I890219f232706b613a6ef8924605b2f9db341d5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 02:53:44 +00:00
Hsiu-Chang Chen
cf74d79ff1 Add sepolicy for vendor_location am: 4d4fd451a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19114548

Change-Id: Ib403808d56903d1468be780537c671cd9f6cfa36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-30 02:35:05 +00:00
Adam Shih
4d3aba4ef1 update error on ROM 8769316 am: b9be0516dc am: d971b50566
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19114547

Change-Id: I4aad0ddaf30b2ccd6a36a6160cefb4051c3f7718
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 07:42:02 +00:00
Adam Shih
d971b50566 update error on ROM 8769316 am: b9be0516dc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19114547

Change-Id: I17fcaeb5444ba24b6d83f7b5c3c43646c8ee6664
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-29 07:22:38 +00:00
Hsiu-Chang Chen
4d4fd451a6 Add sepolicy for vendor_location
06-25 21:59:57.532  3922  3922 I auditd  : type=1400 audit(0.0:11):
avc: denied { sendto } for comm="loc_mq_clnt"
path="/dev/socket/location/mq/LOWI-SERVER"
scontext=u:r:vendor_location:s0 tcontext=u:r:lowi_server:s0
tclass=unix_dgram_socket permissive=0
06-29 04:30:11.188  8182  8182 I auditd  : type=1400 audit(0.0:1517):
avc: denied { sendto } for comm="loc_mq_clnt"
path="/dev/socket/location/mq/7b2e9924f8-LC"
scontext=u:r:vendor_location:s0 tcontext=u:r:hal_wifi_ext:s0
tclass=unix_dgram_socket permissive=0

Bug: 237467750
Test: avc error is gone
Change-Id: Ic4ff2bdf30b042c08c38b134c6af086d7033511f
2022-06-29 15:01:15 +08:00
Adam Shih
b9be0516dc update error on ROM 8769316
Bug: 237467750
Test: SELinuxUncheckedDenialBootTest
Change-Id: I0ad1b8cc2f0d298143de177f49e45418dfd857ac
2022-06-29 09:50:58 +08:00
Hsiu-Chang Chen
8a7986278e Add sepolicy for lowi-server am: 101db9756d am: 7b4068ae7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19035012

Change-Id: Ief36ae3ac70083b0502a2b56435a52488d6e7210
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 02:20:36 +00:00
Hsiu-Chang Chen
7b4068ae7f Add sepolicy for lowi-server am: 101db9756d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/19035012

Change-Id: I246208d36558ff5c1e18f3d635d0e9b2ce8294d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-28 01:46:49 +00:00
Hsiu-Chang Chen
101db9756d Add sepolicy for lowi-server
06-24 16:58:55.724  9519  9519 I lowi-server: type=1400 audit(0.0:1980):
avc: denied { read write } for path="socket:[69473]" dev="sockfs" ino=69473
scontext=u:r:lowi_server:s0 tcontext=u:r:vendor_location:s0
tclass=unix_dgram_socket permissive=1

Bug: 235281415
Test: avc error is gone
Change-Id: I93615b98c08f6e6e5c3cc182bddcff30e452e103
2022-06-24 17:07:25 +08:00
timothywang
09693514fd Add sepolicy to enable camera vendor property am: 9a67905169 am: 08847036fe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18880808

Change-Id: I57838fd103ab8a2910453c248a025ac3788f7c9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 05:35:30 +00:00
timothywang
08847036fe Add sepolicy to enable camera vendor property am: 9a67905169
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18880808

Change-Id: Ib5edd089f801cd56b4686ef0dc5d1d23354dc38e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 05:07:05 +00:00
timothywang
9a67905169 Add sepolicy to enable camera vendor property
Bug: 234324271
Test: adb shell getprop
Change-Id: I6a0b344880deeb767df97136c42b2fb86668f39d
2022-06-14 10:30:10 +08:00
Adam Shih
5ab177e482 Update error on ROM 8693966 am: d4e9442a2e am: 1a1922dad5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18771008

Change-Id: I37cc94ccd8216eabb8140648205a20087fee061c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 02:42:18 +00:00
Adam Shih
1a1922dad5 Update error on ROM 8693966 am: d4e9442a2e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18771008

Change-Id: I6aa4ef97fa8f9aed1a0774747e9be02bcbe110fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-08 02:15:26 +00:00
Adam Shih
d4e9442a2e Update error on ROM 8693966
bug: 234311798
bug: 235281134
bug: 235281415
Test: SELinuxUncheckedDenialBootTest
Change-Id: Ib6da45ce6d0c8d0d2668fcc2b3b41cf450c953d2
2022-06-08 08:33:43 +08:00
Darren Hsu
50c530ee74 sepolicy: label more paths for sysfs_wakeup am: 07f8ea39a1 am: 05241d9245
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18752890

Change-Id: Ib271510b379cf84760623098cd2b4fbee236903b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 02:31:30 +00:00
Darren Hsu
05241d9245 sepolicy: label more paths for sysfs_wakeup am: 07f8ea39a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18752890

Change-Id: I436110dabfab635dd65d4214bb6a2e0e71db401b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 02:13:02 +00:00
Darren Hsu
07f8ea39a1 sepolicy: label more paths for sysfs_wakeup
Bug: 234311758
Test: forrest apct/device_boot_health_check_extra
Change-Id: I6dab109733062b32e09cfddcbf43cbdc515c07ba
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-06-06 11:13:06 +08:00
Jack Wu
15e2e79ae3 Add sepolicy for P9222 WLC power_supply am: 2d50edbc64 am: 4fadc88a01
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18664951

Change-Id: Idb194084e0e9158eb06d73ffcee7bc197b091e90
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 02:58:38 +00:00
Jack Wu
4fadc88a01 Add sepolicy for P9222 WLC power_supply am: 2d50edbc64
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18664951

Change-Id: Ic8e18081f462dd021a78606e691ca3ef9eac6f38
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-01 02:27:43 +00:00
Jack Wu
2d50edbc64 Add sepolicy for P9222 WLC power_supply
05-30 05:13:03.096   836   836 I auditd  : type=1400 audit(0.0:6): avc: denied { getattr } for comm="android.hardwar" path="/sys/devices/platform/10da0000.hsi2c/i2c-6/i2c-p9222/power_supply/wireless/capacity" dev="sysfs" ino=71270 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
05-30 05:13:03.100   836   836 I auditd  : type=1400 audit(0.0:7): avc: denied { read } for comm="android.hardwar" name="type" dev="sysfs" ino=71272 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

Bug: 234311757
Test: build ok, no avc denied
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I0fb296a9472eda7ff5f2babfea1c769caea525e1
2022-05-31 13:08:07 +08:00
sukiliu
628c5f5ba1 Update avc error on ROM 8659812 am: 7a86c2d697 am: 43f242aeae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18658830

Change-Id: If8b7a651c072bf232297ac97fb4f0db0cc09adce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 03:54:55 +00:00
sukiliu
43f242aeae Update avc error on ROM 8659812 am: 7a86c2d697
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/18658830

Change-Id: I89564d89609ffc316c42b228edd2a54f1248a568
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-31 03:25:09 +00:00
sukiliu
7a86c2d697 Update avc error on ROM 8659812
Bug: 234311757
Bug: 234311798
Bug: 234311675
Bug: 234311758
Test: forrest with boot test w/ SELinux check
Change-Id: I809cd16ca133fcbe5dbac6c7b8f089897fab300c
2022-05-30 14:10:42 +08:00
Hsiu-Chang Chen
daa5fb35ed Add sepolicy for pixellogger am: 63cd5c6143 am: 4adec5414b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17906605

Change-Id: Ie61d116edd293eb7ca1fedfc1d5ae13ae8578c4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-05 05:27:41 +00:00
Hsiu-Chang Chen
4adec5414b Add sepolicy for pixellogger am: 63cd5c6143
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17906605

Change-Id: I813c35c619d4a7d4d6d674f00ab723dc4b955995
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-05 05:08:19 +00:00
Hsiu-Chang Chen
63cd5c6143 Add sepolicy for pixellogger
04-25 11:36:17.795  4101  4101 I auditd  : type=1400 audit(0.0:6339): avc: denied { search } for comm="LoggingService" name="wifi" dev="dm-40" ino=338 scontext=u:r:logger_app:s0:c229,c256,c512,c768 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir permissive=1 app=com.android.pixellogger
04-25 11:36:17.799   863   863 I auditd  : type=1400 audit(0.0:6340): avc: denied { search } for comm="wifi_ext@1.0-se" name="wifi" dev="dm-40" ino=338 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:vendor_wifi_vendor_data_file:s0 tclass=dir permissive=1

Bug: 230280450
Test: Pixelloger can collect WLAN logs
Change-Id: Id95e4132f2814deb1fbfb307568a4ece87a28611
2022-04-25 11:49:43 +08:00
Hsiu-Chang Chen
1d6c4e7b53 wifi: Add sepolicy for LOWI tools am: 374602a559 am: ea39396cd5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17055632

Change-Id: Ibd3610a573b1f79494786cb0d9423ac0a6a1cec4
2022-03-16 07:05:17 +00:00
Hsiu-Chang Chen
ee665ec077 wifi: Add sepolicy for LOWI tools am: 374602a559
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17055632

Change-Id: I9a99310824a2d72e4f3e55881f6fa9bb630133b6
2022-03-16 06:42:07 +00:00
Hsiu-Chang Chen
ea39396cd5 wifi: Add sepolicy for LOWI tools am: 374602a559
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17055632

Change-Id: Ida6ded1365a507b07eb92f7eeabf619cc501e932
2022-03-16 06:42:05 +00:00
Hsiu-Chang Chen
374602a559 wifi: Add sepolicy for LOWI tools
Add sepolicy rules for LOWI tools including loc_launcher and
lowi-server which are necessary for NAN and RTT

Bug: 223296149
Test: loc_launcher and lowi-server start automatically
Change-Id: I915be13fa715de85de91c30e0605f1e8e9d578f4
2022-03-15 09:37:05 +00:00
Tai Kuo
a5c9d59c72 Setup sysfs_vibrator am: 1663eff382 am: cb1d5fab40
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17102924

Change-Id: If45117de87836932565373905acd648bb6fe4e47
2022-03-07 06:40:41 +00:00
Tai Kuo
cb1d5fab40 Setup sysfs_vibrator am: 1663eff382
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17102924

Change-Id: Icf1ed59f349ddc66b12dc194f41f0c7e9f8e8b0c
2022-03-07 06:18:25 +00:00
Tai Kuo
edd5f25866 Setup sysfs_vibrator am: 1663eff382
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx-sepolicy/+/17102924

Change-Id: Ic0d704da854ac050a915abae125711a688e9655d
2022-03-07 06:18:09 +00:00
Tai Kuo
1663eff382 Setup sysfs_vibrator
Bug: 220068530
Test: dumpsys android.hardware.vibrator.IVibrator/default
Change-Id: Icd8a7d5db2277c72be9a72723434145db4eecb02
2022-03-07 11:27:09 +08:00
Hsiu-Chang Chen
069de3333d wifi: Add sepolicy for qcom driver control interface
01-06 11:55:38.816   796   796 I auditd  : type=1400 audit(0.0:281): avc: denied { write } for comm="wifi_ext@1.0-se" name="wlan" dev="tmpfs" ino=984 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
01-06 11:55:38.820   796   796 I auditd  : type=1400 audit(0.0:282): avc: denied { open } for comm="wifi_ext@1.0-se" path="/dev/wlan" dev="tmpfs" ino=984 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

Bug: 209934729
Test: Basic function tests, SSR tests
Change-Id: Id6afd0580f8792eeb7ef8a25d42724ec79696875
2022-01-10 14:45:30 +08:00
horngchuang
a069c07972 Add l10 specific camera component sepolicy settings
Also, move those settings from whitechapel_pro common folder

Bug: 210598444
Test: build okay
Change-Id: Ie96dd9e6da5bdddd62d2ed9f920cb49daa1d74eb
2022-01-10 10:52:06 +08:00
Joel Galenson
99f01b584d Include core policy OWNERS
Test: None
Change-Id: I75f26e14abc35f1bc5fb143491ce9419d4cd13f4
2021-12-21 07:38:55 -08:00
Cheney Ni
45b906133f Bluetooth: Add Sepolicy for QTI default HAL (1/2)
Bug: 202113218
Test: manually
Change-Id: I589b5c1df9fad6541799c1ba370fe2359cc31831
2021-12-16 09:48:33 +08:00
Cyan_Hsieh
401c431fcd Initial device lynx sepolicy
Bug: 202250383
Change-Id: I7b096bdb87ea45760bbcf929cd5757e159952e75
2021-11-01 15:28:54 +08:00
Bill Rassieur
f60a67678a Initial empty repository 2021-10-13 10:14:46 -07:00
138 changed files with 5261 additions and 273762 deletions

1
.gitupstream Normal file
View File

@@ -0,0 +1 @@
https://android.googlesource.com/device/google/lynx

View File

@@ -16,8 +16,4 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_lynx.mk \
$(LOCAL_DIR)/aosp_lynx_hwasan.mk \
$(LOCAL_DIR)/factory_lynx.mk
COMMON_LUNCH_CHOICES := \
aosp_lynx-trunk_staging-userdebug
$(LOCAL_DIR)/lineage_lynx.mk

4
BoardConfigEvolution.mk Normal file
View File

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

11
BoardConfigLineage.mk Normal file
View File

@@ -0,0 +1,11 @@
#
# 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)))

4
OWNERS
View File

@@ -1,4 +0,0 @@
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

View File

@@ -1,2 +0,0 @@
[Builtin Hooks]
jsonlint = true

View File

@@ -28,6 +28,3 @@ PRODUCT_DEVICE := lynx
PRODUCT_MODEL := AOSP on Lynx
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE := \
device/google/lynx/manifest.xml

View File

@@ -1,23 +0,0 @@
#
# Copyright 2023 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.
#
$(call inherit-product, device/google/lynx/aosp_lynx.mk)
PRODUCT_NAME := aosp_lynx_hwasan
# Add "hwaddress" as a global sanitizer if it's missing.
ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),)
SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress)
endif

View File

@@ -1312,7 +1312,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" />
@@ -1322,6 +1322,14 @@
<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

@@ -62,21 +62,3 @@ PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/mcps.dat:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/mcps.dat \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
# userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
#Bluenote files
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
endif

View File

@@ -131,10 +131,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -145,8 +141,6 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -154,8 +148,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"

View File

@@ -131,10 +131,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -145,8 +141,6 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -154,8 +148,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">

View File

@@ -131,10 +131,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -145,8 +141,6 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -154,8 +148,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">

View File

@@ -135,10 +135,6 @@
</devicePort>
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
@@ -149,8 +145,6 @@
</devicePort>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
</devicePort>
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
@@ -158,8 +152,6 @@
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
</devicePort>
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"

View File

@@ -1,389 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<mixer>
<ctl name="TDM_0_RX Mixer EP3" value="0" />
<ctl name="TDM_0_RX Mixer EP6" value="0" />
<ctl name="I2S_0_RX Mixer EP3" value="0" />
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
<ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
<ctl name="DEFAULT_MIC_ID" value="0" />
<ctl name="MIC0" value="0" />
<ctl name="MIC1" value="0" />
<ctl name="MIC2" value="0" />
<ctl name="MIC3" value="0" />
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
<ctl name="TDM_0_RX Mixer US" value="0" />
<ctl name="US Record Enable" value="0" />
<path name="mfg-playback">
</path>
<path name="deep-buffer-playback speaker">
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
<ctl name="TDM_0_RX Mixer EP6" value="1" />
<path name="mfg-playback" />
</path>
<path name="deep-buffer-playback headphones">
<ctl name="I2S_0_RX Mixer EP6" value="1" />
<path name="mfg-playback" />
</path>
<path name="mfg-record">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="us-mfg-record">
<ctl name="US Record Enable" value="1" />
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="mic1-status">
<ctl name="MIC0" value="1" />
</path>
<path name="mic2-status">
<ctl name="MIC1" value="1" />
</path>
<path name="mic3-status">
<ctl name="MIC2" value="1" />
</path>
<path name="mic4-status">
<ctl name="MIC3" value="0" />
</path>
<path name="mic1-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic2-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic3-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic4-gain">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
<ctl name="MIC HW Gain At High Power Mode (cB)" />
</path>
<path name="mic1-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic2-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic3-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="mic4-sw-gain">
<ctl name="MIC Record Soft Gain (dB)" />
</path>
<path name="usb-capture-gain">
<ctl name="Headset Capture Volume" />
</path>
<path name="mic1-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC0" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic2-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic3-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic4-only">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC3" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="mic-all">
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="2" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="3" />
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
<ctl name="MIC0" value="1" />
<ctl name="MIC1" value="1" />
<ctl name="MIC2" value="1" />
<ctl name="MIC3" value="0" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="amp_iv-only">
<ctl name="R ASPTX1 Slot Position" value="2" />
<ctl name="R ASPTX2 Slot Position" value="3" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="0" />
<ctl name="ASPTX2 Slot Position" value="1" />
<ctl name="ASPTX3 Slot Position" value="4" />
<ctl name="ASPTX4 Slot Position" value="5" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX2 Source" value="ASPRX1" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="ASPRX1" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv1-only">
<ctl name="R ASPTX1 Slot Position" value="4" />
<ctl name="R ASPTX2 Slot Position" value="5" />
<ctl name="R ASPTX3 Slot Position" value="6" />
<ctl name="R ASPTX4 Slot Position" value="7" />
<ctl name="ASPTX1 Slot Position" value="0" />
<ctl name="ASPTX2 Slot Position" value="1" />
<ctl name="ASPTX3 Slot Position" value="2" />
<ctl name="ASPTX4 Slot Position" value="3" />
<ctl name="R ASP TX1 Source" value="Zero" />
<ctl name="R ASP TX2 Source" value="Zero" />
<ctl name="R ASP TX3 Source" value="Zero" />
<ctl name="R ASP TX4 Source" value="Zero" />
<ctl name="ASP TX1 Source" value="VMON" />
<ctl name="ASP TX2 Source" value="IMON" />
<ctl name="ASP TX3 Source" value="VPMON" />
<ctl name="ASP TX4 Source" value="ASPRX1" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="amp_iv2-only">
<ctl name="R ASPTX1 Slot Position" value="0" />
<ctl name="R ASPTX2 Slot Position" value="1" />
<ctl name="R ASPTX3 Slot Position" value="2" />
<ctl name="R ASPTX4 Slot Position" value="3" />
<ctl name="ASPTX1 Slot Position" value="4" />
<ctl name="ASPTX2 Slot Position" value="5" />
<ctl name="ASPTX3 Slot Position" value="6" />
<ctl name="ASPTX4 Slot Position" value="7" />
<ctl name="R ASP TX1 Source" value="VMON" />
<ctl name="R ASP TX2 Source" value="IMON" />
<ctl name="R ASP TX3 Source" value="VPMON" />
<ctl name="R ASP TX4 Source" value="ASPRX1" />
<ctl name="ASP TX1 Source" value="Zero" />
<ctl name="ASP TX2 Source" value="Zero" />
<ctl name="ASP TX3 Source" value="Zero" />
<ctl name="ASP TX4 Source" value="Zero" />
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="us-amp_iv-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv-only" />
</path>
<path name="us-amp_iv1-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv1-only" />
</path>
<path name="us-amp_iv2-only">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<path name="amp_iv2-only" />
</path>
<path name="speaker1-status">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="speaker2-status">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="speaker1-gain">
<ctl name="AMP PCM Gain" />
</path>
<path name="speaker2-gain">
<ctl name="R AMP PCM Gain" />
</path>
<path name="usb-playback-gain">
<ctl name="Headset Playback Volume" />
</path>
<path name="mfg-playback speaker">
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
<ctl name="TDM_0_RX Mixer EP3" value="1" />
<ctl name="ASPRX1 Slot Position" value="0" />
<ctl name="R ASPRX1 Slot Position" value="1" />
<ctl name="SINK_IDS" id="0" value="0" />
<ctl name="SINK_IDS" id="1" value="-1" />
</path>
<path name="mfg-playback headphones">
<ctl name="I2S_0_RX Chan" value="Two" />
<ctl name="I2S_0_RX Format" value="S32_LE" />
<ctl name="I2S_0_RX Mixer EP3" value="1" />
<ctl name="SINK_IDS" id="0" value="1" />
<ctl name="SINK_IDS" id="1" value="-1" />
</path>
<path name="mfg-playback usb-headphones">
<ctl name="USB Dev ID v2" value="2" />
<ctl name="USB Playback EP ID v2" value="1" />
<ctl name="USB Capture EP ID v2" value="0" />
<ctl name="USB Playback FORMAT v2" value="6" />
<ctl name="USB Playback SR v2" value="48000" />
<ctl name="USB Playback CH v2" value="2" />
<ctl name="USB Playback BW v2" value="16" />
<ctl name="USB Config To AoC v2" value="1" />
<ctl name="USB_RX Mixer EP3" value="1" />
</path>
<path name="mfg-record usb-headset-mic">
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
<ctl name="USB Playback EP ID v2" value="0" />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="USB Config To AoC v2" value="1"/>
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
</path>
<path name="us-mfg-playback speaker">
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
<ctl name="TDM_0_RX Mixer US" value="1" />
</path>
<path name="speaker1-only">
<ctl name="Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="AMP PCM Gain" value="17" />
<ctl name="PCM Source" value="ASP" />
</path>
<path name="speaker2-only">
<ctl name="R Main AMP Enable Switch" value="1" />
<path name="mfg-playback speaker" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R PCM Source" value="ASP" />
</path>
<path name="us-speaker1-only">
<path name="us-mfg-playback speaker" />
<ctl name="PCM Source" value="ASP" />
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="us-speaker2-only">
<path name="us-mfg-playback speaker" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="headphones">
<ctl name="DAC1 MIXL DAC1 Switch" value="1" />
<ctl name="DAC1 MIXR DAC1 Switch" value="1" />
<ctl name="Stereo1 DAC MIXL DAC L1 Switch" value="1" />
<ctl name="Stereo1 DAC MIXR DAC R1 Switch" value="1" />
<ctl name="DAC L1 Source" value="Stereo1 DAC Mixer" />
<ctl name="DAC R1 Source" value="Stereo1 DAC Mixer" />
<ctl name="HPOL Playback Switch" value="1" />
<ctl name="HPOR Playback Switch" value="1" />
<path name="mfg-playback headphones" />
</path>
<path name="speaker-all">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<path name="mfg-playback speaker" />
</path>
<path name="us-speaker-all">
<path name="us-mfg-playback speaker" />
<ctl name="PCM Source" value="ASP" />
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R PCM Source" value="ASP" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="loopback-mic-speaker">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
<ctl name="SINK_IDS" id="0" value="0" />
<ctl name="SINK_IDS" id="1" value="-1" />
<path name="mfg-playback" />
</path>
<path name="loopback-mic-headphones">
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
<ctl name="SINK_IDS" id="0" value="1" />
<ctl name="SINK_IDS" id="1" value="-1" />
<path name="mfg-playback" />
</path>
<path name="loopback-mic-usb-headphones">
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
<ctl name="TDM_0_TX Format" value="S32_LE" />
<ctl name="TDM_0_TX Chan" value="One" />
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
</path>
<path name="loopback-usb-mic-speaker">
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<path name="loopback-usb-mic-usb-headphone">
<ctl name="Audio Capture Mic Source" value='USB_MIC' />
<ctl name="USB Capture FORMAT v2" value="1" />
<ctl name="MIC Record Soft Gain (dB)" value="0" />
</path>
<pcm_id name="loopback-mic1" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic2" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic3" value="EP1 capture (*)"/>
<pcm_id name="loopback-mic4" value="EP1 capture (*)"/>
<pcm_id name="loopback-speaker1" value="EP3 playback (*)"/>
<pcm_id name="loopback-speaker2" value="EP3 playback (*)"/>
<pcm_id name="loopback-speaker3" value="EP3 playback (*)"/>
<pcm_id name="loopback-headphones" value="EP3 playback (*)"/>
<pcm_id name="loopback-usb-headphones" value="EP3 playback (*)"/>
<pcm_id name="loopback-usb-mic" value="EP1 capture (*)"/>
<pcm_id name="loopback-amp_iv" value="nohost1 capture (*)"/>
</mixer>

View File

@@ -1,307 +0,0 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
<!-- -->
<!-- Redistribution and use in source and binary forms, with or without -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met: -->
<!-- * Redistributions of source code must retain the above copyright -->
<!-- notice, this list of conditions and the following disclaimer. -->
<!-- * Redistributions in binary form must reproduce the above -->
<!-- copyright notice, this list of conditions and the following -->
<!-- disclaimer in the documentation and/or other materials provided -->
<!-- with the distribution. -->
<!-- * Neither the name of The Linux Foundation nor the names of its -->
<!-- contributors may be used to endorse or promote products derived -->
<!-- from this software without specific prior written permission. -->
<!-- -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
<mixer>
<!-- Initial Values -->
<!-- Preload Stage -->
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
<!-- Clock-trigger Stage -->
<ctl name="SINK_IDS" id="0" value="-1"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="PCM Playback Volume" value="10"/>
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
<!-- Preparation Stage -->
<path name="crus-switch-fw-prepare">
<ctl name="DRE DRE Switch" value="1" />
<ctl name="VBSTMON Output Switch" value="1" />
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
<ctl name="R DRE DRE Switch" value="1" />
<ctl name="R VBSTMON Output Switch" value="1" />
<ctl name="R DSP Booted" value="0" />
<ctl name="R DSP1 Preload Switch" value="0" />
</path>
<!-- Preload Stage -->
<path name="crus-fw-preload">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="R DSP1 Preload Switch" value="1" />
</path>
<!-- Firmware-switching Stage -->
<path name="crus-switch-fw-Calibration">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Calibration" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Calibration" />
</path>
<path name="crus-switch-fw-Diagnostic">
<ctl name="AMP PCM Gain" value="17" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diagnostic" />
<ctl name="R AMP PCM Gain" value="17" />
<ctl name="R Digital PCM Volume" value="817" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Diagnostic" />
</path>
<path name="crus-switch-fw-Protection">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="R PCM Source" value="DSP" />
<ctl name="R DSP1 Firmware" value="Protection" />
</path>
<!-- DSP-initialization Stage -->
<path name="crus-dsp-pre-calibration-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-calibration">
<path name="crus-dsp-pre-calibration-amp1" />
<path name="crus-dsp-pre-calibration-amp2" />
</path>
<path name="crus-dsp-pre-diagnostic-amp1">
<ctl name="Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic-amp2">
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<path name="crus-dsp-pre-diagnostic">
<path name="crus-dsp-pre-diagnostic-amp1" />
<path name="crus-dsp-pre-diagnostic-amp2" />
</path>
<path name="crus-dsp-pre-protection">
<ctl name="Main AMP Enable Switch" value="1" />
<ctl name="R Main AMP Enable Switch" value="1" />
</path>
<!-- Clock-trigger Stage -->
<path name="platform-controls">
<ctl name="PCM Playback Volume" value="1000"/>
<ctl name="SINK_IDS" id="0" value="0"/>
<ctl name="SINK_IDS" id="1" value="-1"/>
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
</path>
<!-- Post loaded firmware -->
<path name="crus-dsp-post-loading-fw">
<ctl name="Main AMP Enable Switch" value="0" />
<ctl name="R Main AMP Enable Switch" value="0" />
</path>
<!-- Value & Information Fetch Stage -->
<path name="platform-values">
<ctl name="TDM_0_RX Format" />
<ctl name="TDM_0_RX Chan" />
<ctl name="TDM_0_RX Sample Rate" />
<ctl name="PCM Playback Volume" />
<ctl name="TDM_0_RX Mixer EP6" />
</path>
<path name="cs35l41-values">
<ctl name="DRE DRE Switch" />
<ctl name="R DRE DRE Switch" />
<ctl name="VBSTMON Output Switch" />
<ctl name="R VBSTMON Output Switch" />
<ctl name="AMP PCM Gain" />
<ctl name="R AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<ctl name="R Digital PCM Volume" />
<ctl name="PCM Source" />
<ctl name="R PCM Source" />
<ctl name="DSP Booted" />
<ctl name="R DSP Booted" />
<ctl name="Main AMP Enable Switch" />
<ctl name="R Main AMP Enable Switch" />
<ctl name="DSP1 Preload Switch" />
<ctl name="R DSP1 Preload Switch" />
<ctl name="DSP1 Firmware" />
<ctl name="R DSP1 Firmware" />
</path>
<!-- Note that the order of controls does matter because
it should be matched to the structure defined in
sp_cal_common.h -->
<!--
struct calibration_data {
unsigned int cal_r;
unsigned int cal_status;
unsigned int cal_checksum;
unsigned int cal_ambient;
unsigned int amp_pcm_gain;
unsigned int digital_pcm_gain;
};
-->
<path name="cs35l41-dsp-amp1-calibration-values">
<ctl name="DSP1 Calibration cd CAL_R" />
<ctl name="DSP1 Calibration cd CAL_STATUS" />
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-values">
<ctl name="R DSP1 Calibration cd CAL_R" />
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- Only for debug print -->
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
</path>
<!--
struct diagnostic_data {
struct calibration_data calibration_data;
unsigned int z_low_diff;
unsigned int diag_f0;
unsigned int diag_f0_status;
};
-->
<path name="cs35l41-dsp-amp1-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Diagnostic cd CAL_R" />
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Diagnostic cd CAL_R" />
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
<!-- struct calibration_data END -->
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
<!-- Only for debug print -->
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-values">
<!-- struct calibration_data START -->
<ctl name="DSP1 Protection cd CAL_R" />
<ctl name="DSP1 Protection cd CAL_STATUS" />
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="AMP PCM Gain" />
<ctl name="Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp2-protection-values">
<!-- struct calibration_data START -->
<ctl name="R DSP1 Protection cd CAL_R" />
<ctl name="R DSP1 Protection cd CAL_STATUS" />
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
<!-- These controls are unrelated so we can simply
skip them
<ctl name="R AMP PCM Gain" />
<ctl name="R Digital PCM Volume" />
-->
<!-- struct calibration_data END -->
</path>
<path name="cs35l41-dsp-amp1-calibration-completion">
<ctl name="DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-calibration-completion">
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-protection-completion">
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-protection-completion">
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-diagnostic-completion">
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp2-diagnostic-completion">
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
</path>
<path name="cs35l41-dsp-amp1-enable-status">
<ctl name="Main AMP Enable Switch" />
</path>
<path name="cs35l41-dsp-amp2-enable-status">
<ctl name="R Main AMP Enable Switch" />
</path>
</mixer>

View File

@@ -1,22 +0,0 @@
#
# Copyright (C) 2021 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.
#
AUDIO_FACTORY_TABLE_FOLDER := lynx
# Mixer Path Configuration for Audio Factory
PRODUCT_COPY_FILES += \
device/google/lynx/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml

View File

@@ -1,287 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<template>
<modules>
<module id="2" name="Waves">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="3" name="Forte">
<param id="0" max="3" name="opMode_" type="uint32"/>
</module>
<module id="5" name="Auto Gain Control">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="GainApplied" type="float"/>
<param id="17" name="idealRMS" type="float"/>
<param id="18" name="noiseGate" type="float"/>
<param id="19" name="minGain" type="float"/>
<param id="20" name="maxGain" type="float"/>
<param id="21" name="longGainAtRt" type="uint32"/>
<param id="22" name="GainAtRt" type="uint32"/>
<param id="23" name="rmsTav" type="uint32"/>
</module>
<module id="6" name="Surround Record">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="7" id="3" name="chMask_" type="uint32"/>
<param id="16" max="1" min="0" name="alpha" type="float"/>
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
<struct id="26">
<param default="1" name="ch_gain" type="float"/>
<param default="1" name="zoom_gain" type="float"/>
</struct>
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
</module>
<module id="7" name="Multi Channel IIR 2">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="3" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="8" name="Multi Band DRC">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param default="1" max="3" min="1" name="numBand" type="uint32"/>
<param name="IIR_LowPass1" size="5" type="float"/>
<param name="IIR_HighPass1" size="5" type="float"/>
<param name="IIR_LowPass2" size="5" type="float"/>
<param name="IIR_HighPass2" size="5" type="float"/>
</struct>
<struct id="17">
<param max="20" min="0" name="band0_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band0_rms_ms" type="float"/>
<param max="30" min="0" name="band0_gain_dB" type="float"/>
<param max="30" min="-30" name="band0_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band0_numOfKnee" type="uint32"/>
<param name="band0_threadhold_dB" size="3" type="float"/>
<param name="band0_compressRatio" size="4" type="float"/>
<param name="band0_kneeWidth" size="3" type="float"/>
<param name="band0_attackTime_ms" size="4" type="float"/>
<param name="band0_releaseTime_ms" size="4" type="float"/>
<param name="band0_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band1_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band1_rms_ms" type="float"/>
<param max="30" min="0" name="band1_gain_dB" type="float"/>
<param max="30" min="-30" name="band1_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band1_numOfKnee" type="uint32"/>
<param name="band1_threadhold_dB" size="3" type="float"/>
<param name="band1_compressRatio" size="4" type="float"/>
<param name="band1_kneeWidth" size="3" type="float"/>
<param name="band1_attackTime_ms" size="4" type="float"/>
<param name="band1_releaseTime_ms" size="4" type="float"/>
<param name="band1_hysteresis" size="4" type="float"/>
<param max="20" min="0" name="band2_delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="band2_rms_ms" type="float"/>
<param max="30" min="0" name="band2_gain_dB" type="float"/>
<param max="30" min="-30" name="band2_Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="band2_numOfKnee" type="uint32"/>
<param name="band2_threadhold_dB" size="3" type="float"/>
<param name="band2_compressRatio" size="4" type="float"/>
<param name="band2_kneeWidth" size="3" type="float"/>
<param name="band2_attackTime_ms" size="4" type="float"/>
<param name="band2_releaseTime_ms" size="4" type="float"/>
<param name="band2_hysteresis" size="4" type="float"/>
</struct>
<struct id="18">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="float"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="float"/>
</struct>
<struct id="19">
<param name="frequency0" type="uint32"/>
<param name="frequency1" type="uint32"/>
</struct>
</module>
<module id="11" name="Stationary Noise Suppression">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="1" id="16" name="strength level" type="uint32"/>
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
<param id="19" name="LOWER_BAND_THRESHOLD" size="129" type="float"/>
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
<param id="21" name="ATTACK_TIME" type="float"/>
<param id="22" name="RELEASE_TIME" type="float"/>
</module>
<module id="14" name="Linear Gain">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="1" id="2" name="numCh_" type="uint32"/>
<param default="1" id="3" name="chMask_" type="uint32"/>
<param id="16" name="Simple_gain" type="float"/>
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
</module>
<module id="17" name="Wind Noise Reduction">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
</module>
<module id="18" name="Multi Channel IIR 1">
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
<param id="17" name="coeff" size="300" type="float"/>
<struct id="18">
<param max="18" min="-96" name="gain" size="60" type="float"/>
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
<param max="200" min="0" name="qfactor" size="60" type="float"/>
<param default="4" name="type" size="60" type="int32"/>
</struct>
</module>
<module id="32" name="Single Band DRC">
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
<param default="48000" id="1" name="fs_" type="uint32"/>
<param default="2" id="2" name="numCh_" type="uint32"/>
<param default="3" id="3" name="chMask_" type="uint32"/>
<struct id="16">
<param max="20" min="0" name="delay_ms" type="float"/>
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
<param max="30" min="0" name="gain_dB" type="float"/>
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
<param name="threadhold_dB" size="3" type="float"/>
<param name="compressRatio" size="4" type="float"/>
<param name="kneeWidth" size="3" type="float"/>
<param name="attackTime_ms" size="4" type="float"/>
<param name="releaseTime_ms" size="4" type="float"/>
<param name="hysteresis" size="4" type="float"/>
</struct>
<struct id="17">
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
</struct>
</module>
<module id="10000" name="Eraser">
<param id="275" name="eraser_pre_gain" type="uint32"/>
<param id="277" name="eraser_post_gain" type="uint32"/>
<param id="279" name="non_eraser_gain" type="uint32"/>
</module>
<module id="10001" name="Cleaner">
<param id="299" name="cleaner_post_gain" type="uint32"/>
</module>
<module id="10002" name="CHRE">
<param id="297" name="chre_gain" type="uint32"/>
</module>
</modules>
<signalflows>
<signalflow id="1" name="Spatial Audio">
<block id="128">
<moduleRef id="18"/>
<moduleRef id="17"/>
</block>
<block id="134">
<moduleRef id="14"/>
<moduleRef id="11"/>
<moduleRef id="6"/>
<moduleRef id="7"/>
<moduleRef id="5"/>
<moduleRef id="8"/>
</block>
</signalflow>
<signalflow id="2" name="General Mic Recording">
<block id="137">
<moduleRef id="14"/>
<moduleRef id="7"/>
<moduleRef id="8"/>
</block>
</signalflow>
<signalflow id="1000" name="Smart Feature">
<block id="0">
<moduleRef id="10000"/>
<moduleRef id="10001"/>
<moduleRef id="10002"/>
</block>
</signalflow>
</signalflows>
</template>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -23,45 +23,24 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio_switcher.supported=true \
ro.bluetooth.leaudio_offload.supported=true \
persist.bluetooth.leaudio_offload.disabled=false \
ro.vendor.audio_hal.ble_use_stream_id=true \
bluetooth.profile.bap.unicast.client.enabled?=true \
bluetooth.profile.csip.set_coordinator.enabled?=true \
bluetooth.profile.hap.client.enabled?=true \
bluetooth.profile.mcp.server.enabled?=true \
bluetooth.profile.ccp.server.enabled?=true \
bluetooth.profile.vcp.controller.enabled?=true \
ro.bluetooth.leaudio_switcher.supported=false \
bluetooth.profile.bap.unicast.client.enabled?=false \
bluetooth.profile.csip.set_coordinator.enabled?=false \
bluetooth.profile.hap.client.enabled?=false \
bluetooth.profile.mcp.server.enabled?=false \
bluetooth.profile.ccp.server.enabled?=false \
bluetooth.profile.vcp.controller.enabled?=false \
# Bluetooth LE Audio CIS handover to SCO
# Set the property only if the controller doesn't support CIS and SCO
# simultaneously. More details in b/242908683.
# Bluetotoh Auto On feature
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.notify.idle.during.call=true
# Not support LE Audio dual mic SWB call based on the current launch strategy
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.leaudio.dual_bidirection_swb.supported=false
# LE Audio Lunch Config for Phase 1 (LE audio toggle hidden by default)
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.toggle_visible=false
# LE Auido Offload Capabilities setting
PRODUCT_COPY_FILES += \
device/google/lynx/bluetooth/le_audio_codec_capabilities.xml:$(TARGET_COPY_OUT_VENDOR)/etc/le_audio_codec_capabilities.xml
# LE Audio use classic connection by default
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio.le_audio_connection_by_default=false
bluetooth.server.automatic_turn_on=true
# Bluetooth HAL and Pixel extension
DEVICE_MANIFEST_FILE += \
device/google/lynx/bluetooth/manifest_bluetooth.xml
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/lynx/bluetooth/device_framework_matrix_product.xml
BOARD_SEPOLICY_DIRS += device/google/lynx-sepolicy/bluetooth
BOARD_SEPOLICY_DIRS += device/google/lynx/sepolicy/bluetooth
BOARD_HAVE_BLUETOOTH_QCOM = true
BOARD_USES_COMMON_BLUETOOTH_HAL = true
@@ -105,11 +84,6 @@ PRODUCT_COPY_FILES += \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G0DZQ_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G0DZQ_JP.csv \
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G82U8_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G82U8_JP.csv
# Bluetooth SAR test tools
ifneq (,$(filter true, $(TARGET_USE_QTI_BT_SAR_V1_1) $(TARGET_USE_QTI_BT_SAR)))
PRODUCT_PACKAGES_DEBUG += bluetooth_sar_test
endif
# Bluetooth (Vendor) SoC, BDA in device tree, and WiPower
PRODUCT_PROPERTY_OVERRIDES += \
vendor.qcom.bluetooth.soc=hastings \
@@ -117,12 +91,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.emb_wp_mode=false \
ro.vendor.bluetooth.wipower=false
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=true \
persist.vendor.service.bdroid.fwsnoop=true
else
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.service.bdroid.soclog=false \
persist.vendor.service.bdroid.fwsnoop=false
endif

View File

@@ -16,7 +16,7 @@ on early-boot
wait_for_prop vendor.common.modules.ready 1
start insmod_sh_lynx
service insmod_sh_lynx /vendor/bin/insmod.sh /vendor/etc/init.insmod.lynx.cfg
service insmod_sh_lynx /vendor/bin/insmod.sh /vendor_dlkm/etc/init.insmod.lynx.cfg
class main
user root
group root system
@@ -102,8 +102,12 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/8-0043/calibration/redc_stored
chown system system /sys/bus/i2c/devices/8-0043/default/vibe_state
chown system system /sys/bus/i2c/devices/8-0043/default/num_waves
chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_index
chown system system /sys/bus/i2c/devices/8-0043/default/braking_time_ms
chown system system /sys/bus/i2c/devices/8-0043/default/f0_offset
chown system system /sys/bus/i2c/devices/8-0043/default/owt_free_space
chown system system /sys/bus/i2c/devices/8-0043/default/owt_lib_compat
chown system system /sys/bus/i2c/devices/8-0043/default/f0_comp_enable
chown system system /sys/bus/i2c/devices/8-0043/default/redc_comp_enable
chown system system /sys/bus/i2c/devices/8-0043/default/delay_before_stop_playback_us

9
device-evolution.mk Normal file
View File

@@ -0,0 +1,9 @@
#
# Copyright (C) 2024 The Evolution X Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution
TARGET_HAS_UDFPS += true

57
device-lineage.mk Normal file
View File

@@ -0,0 +1,57 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
ANGLE
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
PRODUCT_PACKAGES += \
EuiccSupportPixelOverlay
# HBM
PRODUCT_PACKAGES += \
HbmSVManagerOverlayLynx
# IWLAN
PRODUCT_PACKAGES += \
Iwlan
# wireless_charger HAL service
include device/google/gs-common/wireless_charger/wireless_charger.mk
# Build necessary packages for vendor
# Dumpstate
PRODUCT_PACKAGES += \
dump_gsc.sh
# Fingerprint
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
# GNSS
PRODUCT_PACKAGES += \
android.hardware.sensors-V2-ndk.vendor:64
# Graphics
PRODUCT_PACKAGES += \
libEGL_angle \
libGLESv1_CM_angle \
libGLESv2_angle
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal
# Wi-Fi
PRODUCT_PACKAGES += \
libwifi-hal-ctrl:64

View File

@@ -14,31 +14,15 @@
# limitations under the License.
#
TARGET_KERNEL_DIR ?= device/google/lynx-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/lynx-kernel/kernel-headers
ifdef RELEASE_GOOGLE_LYNX_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_LYNX_KERNEL_VERSION)
endif
ifdef RELEASE_GOOGLE_LYNX_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_LYNX_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_LYNX_KERNEL_DIR)/kernel-headers
endif
$(call inherit-product-if-exists, vendor/google_devices/lynx/prebuilts/device-vendor-lynx.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/lynx/device-vendor-lynx.mk)
$(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/WallpapersLynx.mk)
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_LYNX_VERSION)
TARGET_KERNEL_DIR := device/google/lynx-kernels/evolution
TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
DEVICE_PACKAGE_OVERLAYS += device/google/lynx/lynx/overlay
include device/google/lynx/audio/lynx/audio-tables.mk
include device/google/gs201/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/gti/predump_gti.mk
include device/google/gs-common/wlan/dump.mk
# go/lyric-soong-variables
@@ -54,10 +38,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/lynx/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.lynx.rc
# insmod files
PRODUCT_COPY_FILES += \
device/google/lynx/init.insmod.lynx.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.lynx.cfg
# Camera
PRODUCT_COPY_FILES += \
device/google/lynx/media_profiles_lynx.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml
@@ -94,6 +74,12 @@ PRODUCT_PACKAGES += \
android.hardware.nfc-service.st \
NfcOverlayLynx
# 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 \
@@ -155,26 +141,11 @@ include device/google/lynx/bluetooth/qti_default.mk
# ro.hardware.keystore=software \
# ro.hardware.gatekeeper=software
# Fingerprint HAL
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/firmware/fingerprint/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/firmware/fingerprint/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/firmware/fingerprint/trunk
endif
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk)
ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)
else
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk)
endif
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
ACTUATOR_MODEL := legacy_zlra_actuator
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.supported_primitives=243 \
ro.vendor.vibrator.hal.f0.comp.enabled=1 \
ro.vendor.vibrator.hal.redc.comp.enabled=0 \
persist.vendor.vibrator.hal.context.enable=false \
@@ -183,31 +154,26 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/trunk
endif
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
vendor.audio.hapticgenerator.distortion.output.gain=0.29
# GPS xml
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/lynx/location/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/lynx/location/lhd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/lynx/location/scd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
# Location
PRODUCT_COPY_FILES += \
device/google/lynx/location/lhd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/lynx/location/scd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
ifneq (,$(filter 6.1, $(TARGET_LINUX_KERNEL_VERSION)))
PRODUCT_COPY_FILES += \
device/google/lynx/location/gps_user.6.1.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
else
PRODUCT_COPY_FILES += \
device/google/lynx/location/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
device/google/lynx/location/lhd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
device/google/lynx/location/scd_user.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf
PRODUCT_COPY_FILES += \
device/google/lynx/location/gps_user.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
endif
# Wifi HAL
PRODUCT_SOONG_NAMESPACES += hardware/qcom/wlan/wcn6740
PRODUCT_SOONG_NAMESPACES += \
hardware/qcom/wlan \
hardware/qcom/wlan/wcn6740
# DCK properties based on target
PRODUCT_PROPERTY_OVERRIDES += \
@@ -231,9 +197,34 @@ PRODUCT_VENDOR_PROPERTIES += \
vendor.zram.size=3g
# Increment the SVN for any official public releases
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=42
ifdef RELEASE_SVN_LYNX
TARGET_SVN ?= $(RELEASE_SVN_LYNX)
else
# Set this for older releases that don't use build flag
TARGET_SVN ?= 46
endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=P10C10L10
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_LYNX))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_LYNX)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_LYNX))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_LYNX)
endif
endif
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_hide_display_cutout=true
@@ -245,6 +236,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
# Fingerprint als feed forward
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.als_feed_forward_supported=true \
persist.vendor.udfps.fps_touch_handler_supported=false \
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
# Hide cutout overlays
@@ -296,12 +288,6 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false
# userdebug specific
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_COPY_FILES += \
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
endif
# SKU specific RROs
PRODUCT_PACKAGES += \
SettingsOverlayG82U8 \
@@ -317,3 +303,8 @@ PRODUCT_VENDOR_PROPERTIES += \
PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.oem_id=00e0 \
ro.quick_start.device_id=lynx
# Bluetooth device id
# Raven: 0x410B
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16651

16
evolution.dependencies Normal file
View File

@@ -0,0 +1,16 @@
[
{
"repository": "device_google_gs201",
"target_path": "device/google/gs201"
},
{
"remote": "evo-tensor",
"repository": "device_google_lynx-kernels_evolution",
"target_path": "device/google/lynx-kernels/evolution"
},
{
"remote": "evo-tensor",
"repository": "vendor_google_lynx",
"target_path": "vendor/google/lynx"
}
]

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}/lynx"
./extract-files.py $@
popd

View File

@@ -1,25 +0,0 @@
#!/bin/sh
# Copyright 2023 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.
source ../../../common/clear-factory-images-variables.sh
BUILD=9456232
DEVICE=lynx
PRODUCT=lynx
VERSION=td4a.221205.017
SRCPREFIX=signed-
BOOTLOADER=lynx-1.0-9450676
RADIO=g5300n-221222-221226-b-9437664
source ../../../common/generate-factory-images-common.sh

View File

@@ -1,40 +0,0 @@
#
# Copyright 2021 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.
#
TARGET_LINUX_KERNEL_VERSION := 5.10
$(call inherit-product, device/google/gs201/factory_common.mk)
$(call inherit-product, device/google/lynx/device-lynx.mk)
include device/google/lynx/audio/lynx/factory-audio-tables.mk
PRODUCT_NAME := factory_lynx
PRODUCT_DEVICE := lynx
PRODUCT_MODEL := Factory build on Lynx
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
# default BDADDR for EVB only
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Factory binaries of camera
PRODUCT_PACKAGES += fatp_imx787_hat_tool
# Factory binaries of wifi
PRODUCT_PACKAGES += athdiag
PRODUCT_PACKAGES += libdiag
PRODUCT_PACKAGES += libtime_genoff
PRODUCT_PACKAGES += cnss_diag

View File

@@ -1,18 +0,0 @@
##########################################################
# init.insmod.lynx.cfg #
# This file contains lynx specific kernel modules #
# to load at init time by init.insmod.sh script #
##########################################################
# Load device specific kernel modules
# Modules here will be loaded *after* all common modules
modprobe|snd-soc-cs35l41-spi.ko
modprobe|goodix_brl_touch.ko
modprobe|focal_touch.ko
modprobe|cs40l26-i2c.ko
modprobe|snd-soc-cs40l26.ko
# All device specific modules loaded
setprop|vendor.device.modules.ready
setprop|vendor.all.modules.ready
setprop|vendor.all.devices.ready

35
lineage_lynx.mk Normal file
View File

@@ -0,0 +1,35 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# Inherit some common stuff
TARGET_DISABLE_EPPE := true
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
# Inherit device configuration
DEVICE_CODENAME := lynx
DEVICE_PATH := device/google/lynx
VENDOR_PATH := vendor/google/lynx
$(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_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 7a
PRODUCT_NAME := lineage_$(DEVICE_CODENAME)
# Boot animation
TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="lynx-user 16 BP2A.250805.005 13691446 release-keys" \
BuildFingerprint=google/lynx/lynx:16/BP2A.250805.005/13691446:user/release-keys \
DeviceProduct=$(DEVICE_CODENAME)
$(call inherit-product, $(VENDOR_PATH)/$(DEVICE_CODENAME)-vendor.mk)

View File

@@ -5,20 +5,19 @@
BaudRate="921600"
GpioNStdbyPath="/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby"
CustGpioDelayMs="250"
LogEnabled="true"
LogEnabled="false"
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"
SuplLogEnable="false"
SuplLogFullName="/data/vendor/gps/suplflow.txt"
tlsEnable="true"
SuplSslMethod="SSLv23_NO_TLSv1_2"
SuplSslMethod="SSLv23"
SuplEnable="true"
SuplUseApn="false"
SuplUseApnNI="true"
@@ -35,7 +34,7 @@
SuplVersion="2"
SuplMinorVersion="0"
SuplOtdoaCapable="true"
SuplOtdoaCapable2="false"
SuplOtdoaCapable2="true"
SuplGlonassCapable = "true"
SuplGalileoCapable = "true"
SuplBdsCapable = "true"
@@ -49,20 +48,24 @@
LtoSyncThresholdDays="1"
GnssYearOfHardware="2020"
CpEarlyFixGuardTimeSec="1"
CpGuardTimeSec="1"
CpLppGuardTimeSec="1"
IgnoreInjectedSystemTime="true"
AttributionAppPkgName="com.google.android.carrierlocation"
AssertEnabled="true"
AssertEnabled="false"
CpLppeCancelDbhOnAgnssProvideLoc="true"
CpLppeUseAgnssLocForEmptyDbh="true"
CpLppHighAccuracyShapeMode="1"
CpLppDisableUEAInLTE="true"
CpLppGalileoCapable="true"
CpLppGalileoIE="true"
ReAidingOnHotStart="false"
ReAidingIntervalSec="3600"
RuntimeSwLteFilterEnable="true"
PpsDevice="/sys/class/pps/pps0/assert_elapsed"
PpsDevice="/sys/devices/platform/bbd_pps/pps_assert"
SensorsMask="0x244"
MaxThreadNum="13"
/>
@@ -70,7 +73,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"
MultiCarrLnaMask="L1_EXT_ON"
@@ -85,7 +88,7 @@
RfPathLossDb_Cp="4"
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"
EnableOnChipStopNotification="false"
PowerMode="3"
MinGpsWeekNumber="2216"
OnChipAccMask="50"
@@ -95,8 +98,11 @@
/>
<gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="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"
@@ -94,7 +95,10 @@
/>
<gll_features
EnableQzsAutoSwitch="false"
EnableGloAutoSwitch="false"
EnableNicAutoSwitch="true"
ConstellationAutoSwitchOffNavOnly="true"
/>
</glgps>

View File

@@ -1,34 +0,0 @@
LheName=bbd
LheRsmResetTimeoutMS=10000
GpioNStdbyPath=/sys/devices/platform/10940000.spi/spi_master/spi5/spi5.0/nstandby
LhePatch=/vendor/firmware/SensorHub.patch
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
LheConsole=/data/vendor/gps/LheConsole
LogEnabled=true
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
LheBbdPacket=/dev/ttyBCM
LheBbdControl=/dev/bbd_control
# LheBbdSensor=/dev/bbd_sensor
LheFailSafe=/data/vendor/gps/logs/esw-crash-dump.txt
LogLevel=*:I
NvStorageDir=/data/vendor/gps/
# Enable BBD debugging at these stages:
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
LheAutoBaudDelayMS=10
TrafficLogEnabled=false
SecondaryConfigPath=/data/vendor/gps/overlay/lhd_overlay.conf
SkipSensorWakeLock=true
LoggerWakeLockEnable=false
PpsEnable=true

View File

@@ -1,6 +0,0 @@
LogEnabled=true
Log=JAVA
LogDirectory=/sdcard/gps/broadcom/storage
NvStorageDir=/data/vendor/gps/
TcpConnectionTimeout=20
SecondaryConfigPath=/data/vendor/gps/overlay/scd_overlay.conf

11
lynx/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.lynx.touch.rc",
src: "init.recovery.touch.rc",
sub_dir: "init",
recovery: true,
}

View File

@@ -18,13 +18,9 @@ TARGET_BOARD_INFO_FILE := device/google/lynx/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := lynx
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_LYNX_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_LYNX_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_LYNX_DIR)
$(call soong_config_set,lynx_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_LYNX_DIR))
ifdef PHONE_CAR_BOARD_PRODUCT
include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
@@ -34,15 +30,21 @@ endif
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_LYNX := true
$(call soong_config_set_bool,prebuilts_wlan,USES_DEVICE_GOOGLE_LYNX,$(USES_DEVICE_GOOGLE_LYNX))
# 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
include device/google/gs201/BoardConfig-common.mk
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
include device/google/lynx-sepolicy/lynx-sepolicy.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/lynx/sepolicy/lynx-sepolicy.mk
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
DEVICE_PATH := device/google/lynx
VENDOR_PATH := vendor/google/lynx
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

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

8
lynx/device-evolution.mk Normal file
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
lynx/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.lynx.touch.rc

106
lynx/extract-files.py Executable file
View File

@@ -0,0 +1,106 @@
#!/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/lynx',
'hardware/google/av',
'hardware/google/interfaces',
'hardware/google/pixel',
'hardware/qcom/wlan/wcn6740',
]
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(
'lynx',
'google',
device_rel_path='device/google/lynx/lynx',
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/focal_touch.ko
insmod /lib/modules/goodix_brl_touch.ko

24
lynx/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

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Android version screen, build maintainer -->
<string name="build_maintainer_summary" translatable="false">Anierin Bliss</string>
<string name="build_maintainer_donate_url" translatable="false">https://PayPal.me/AnierinB</string>
</resources>

View File

@@ -23,8 +23,8 @@
<dimen name="rounded_corner_radius_top">47px</dimen>
<dimen name="rounded_corner_radius_bottom">48px</dimen>
<!-- for 20dp of padding at 3.5px/dp at default density -->
<dimen name="rounded_corner_content_padding">47px</dimen>
<!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">14dp</dimen>
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.

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>
<!-- 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) -->
@@ -25,15 +25,11 @@
<!-- 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</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>
<!-- Margin on the left side of the carrier text on Keyguard -->
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
<!-- Multi user switch has some intrinsic padding to it -->
<dimen name="multi_user_switch_keyguard_margin">6dp</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">47px</dimen>
<dimen name="config_rounded_mask_size_top">47px</dimen>
@@ -46,6 +42,9 @@
<dimen name="physical_volume_up_button_center_screen_location_y">1064px</dimen>
<dimen name="physical_volume_down_button_center_screen_location_y">1232px</dimen>
<!-- Movement should not be more than 1mm -->
<dimen name="udfps_burn_in_offset_y">16px</dimen>
<!-- Pixel pitch of the device. um/px -->
<item name="pixel_pitch" format="float" type="dimen">59.2</item>
</resources>

View File

@@ -0,0 +1,463 @@
# 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
product/etc/CarrierSettings/a1_hr.pb
product/etc/CarrierSettings/a1_mk.pb
product/etc/CarrierSettings/a1_si.pb
product/etc/CarrierSettings/a1mpn_at.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/alestra_mx.pb
product/etc/CarrierSettings/aliv_bs.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
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/att4g_mx.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_mx.pb
product/etc/CarrierSettings/attmvnos_us.pb
product/etc/CarrierSettings/axis_id.pb
product/etc/CarrierSettings/bait_mx.pb
product/etc/CarrierSettings/bark_us.pb
product/etc/CarrierSettings/base_be.pb
product/etc/CarrierSettings/batelco_bh.pb
product/etc/CarrierSettings/bell_ca.pb
product/etc/CarrierSettings/bite_lt.pb
product/etc/CarrierSettings/bite_lv.pb
product/etc/CarrierSettings/bluegrass_us.pb
product/etc/CarrierSettings/bob_at.pb
product/etc/CarrierSettings/boost_us.pb
product/etc/CarrierSettings/boosttmo_us.pb
product/etc/CarrierSettings/bouygues_fr.pb
product/etc/CarrierSettings/bsnl_in.pb
product/etc/CarrierSettings/btb_gb.pb
product/etc/CarrierSettings/btc_gb.pb
product/etc/CarrierSettings/cablemovil_es.pb
product/etc/CarrierSettings/carolinawest_us.pb
product/etc/CarrierSettings/carrier_list.pb
product/etc/CarrierSettings/celcom_my.pb
product/etc/CarrierSettings/cellcom_il.pb
product/etc/CarrierSettings/cellcom_us.pb
product/etc/CarrierSettings/cellcommno_us.pb
product/etc/CarrierSettings/cellfie_ge.pb
product/etc/CarrierSettings/celluarone_us.pb
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
product/etc/CarrierSettings/coopvoce_it.pb
product/etc/CarrierSettings/coppervalley_us.pb
product/etc/CarrierSettings/coriolis_fr.pb
product/etc/CarrierSettings/cox_us.pb
product/etc/CarrierSettings/cricket5g_us.pb
product/etc/CarrierSettings/cricket_us.pb
product/etc/CarrierSettings/cspire_nl.pb
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
product/etc/CarrierSettings/dishatt_us.pb
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/esimgo_gb.pb
product/etc/CarrierSettings/esn_gb.pb
product/etc/CarrierSettings/etisalat_ae.pb
product/etc/CarrierSettings/euskaltel_es.pb
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_tmo_us.pb
product/etc/CarrierSettings/fido_ca.pb
product/etc/CarrierSettings/finetwork_es.pb
product/etc/CarrierSettings/firstnet_us.pb
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/fliggsmobile_us.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
product/etc/CarrierSettings/gci_us.pb
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/gta_us.pb
product/etc/CarrierSettings/guuk_es.pb
product/etc/CarrierSettings/h3_at.pb
product/etc/CarrierSettings/h3_gb.pb
product/etc/CarrierSettings/h3_ie.pb
product/etc/CarrierSettings/h3_lk.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
product/etc/CarrierSettings/humane_us.pb
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/izziatt_mx.pb
product/etc/CarrierSettings/jazz_pk.pb
product/etc/CarrierSettings/jazztel_es.pb
product/etc/CarrierSettings/jcommobile_jp.pb
product/etc/CarrierSettings/joonto_us.pb
product/etc/CarrierSettings/kajeetmvno_us.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
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
product/etc/CarrierSettings/llamaya_es.pb
product/etc/CarrierSettings/lmt_lv.pb
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/megamovil_mx.pb
product/etc/CarrierSettings/melita_mt.pb
product/etc/CarrierSettings/meo_pt.pb
product/etc/CarrierSettings/metropcs_us.pb
product/etc/CarrierSettings/mettel_us.pb
product/etc/CarrierSettings/mobifone_vn.pb
product/etc/CarrierSettings/mobily_sa.pb
product/etc/CarrierSettings/monacotelecom_mc.pb
product/etc/CarrierSettings/movistar_cl.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/newww_mx.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
product/etc/CarrierSettings/nymobile_us.pb
product/etc/CarrierSettings/o2_cz.pb
product/etc/CarrierSettings/o2_de.pb
product/etc/CarrierSettings/o2_sk.pb
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
product/etc/CarrierSettings/orange_fr.pb
product/etc/CarrierSettings/orange_gp.pb
product/etc/CarrierSettings/orange_lu.pb
product/etc/CarrierSettings/orange_pl.pb
product/etc/CarrierSettings/orange_re.pb
product/etc/CarrierSettings/orange_ro.pb
product/etc/CarrierSettings/orange_sk.pb
product/etc/CarrierSettings/others.pb
product/etc/CarrierSettings/oxio_us.pb
product/etc/CarrierSettings/paradisemobile_bm.pb
product/etc/CarrierSettings/partner_il.pb
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/reach_us.pb
product/etc/CarrierSettings/reallycommunications_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/roccstar_us.pb
product/etc/CarrierSettings/rockisland_us.pb
product/etc/CarrierSettings/rogers5g_ca.pb
product/etc/CarrierSettings/rogers_ca.pb
product/etc/CarrierSettings/rogerswpn_ca.pb
product/etc/CarrierSettings/salt_ch.pb
product/etc/CarrierSettings/salt_li.pb
product/etc/CarrierSettings/sasktel_ca.pb
product/etc/CarrierSettings/sfr_fr.pb
product/etc/CarrierSettings/shaw_ca.pb
product/etc/CarrierSettings/simba_sg.pb
product/etc/CarrierSettings/siminn_is.pb
product/etc/CarrierSettings/simple_us.pb
product/etc/CarrierSettings/simyo_es.pb
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/sky_mx.pb
product/etc/CarrierSettings/skylo_zz.pb
product/etc/CarrierSettings/smart_ph.pb
product/etc/CarrierSettings/smartfren_id.pb
product/etc/CarrierSettings/smartless_us.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
product/etc/CarrierSettings/tele2_lt.pb
product/etc/CarrierSettings/tele2_lv.pb
product/etc/CarrierSettings/tele2_se.pb
product/etc/CarrierSettings/telecable2_es.pb
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
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
product/etc/CarrierSettings/tracfonetmo_us.pb
product/etc/CarrierSettings/tracfoneverizon_us.pb
product/etc/CarrierSettings/truemove_th.pb
product/etc/CarrierSettings/truphone_us.pb
product/etc/CarrierSettings/truphone_zz.pb
product/etc/CarrierSettings/tstar_tw.pb
product/etc/CarrierSettings/turkcell_tr.pb
product/etc/CarrierSettings/turktelekom_tr.pb
product/etc/CarrierSettings/tusass_gl.pb
product/etc/CarrierSettings/twm_tw.pb
product/etc/CarrierSettings/u264a_ca.pb
product/etc/CarrierSettings/u264a_us.pb
product/etc/CarrierSettings/u264ab_ca.pb
product/etc/CarrierSettings/u264ao_at.pb
product/etc/CarrierSettings/u264ap_at.pb
product/etc/CarrierSettings/ubixatt_mx.pb
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
product/etc/CarrierSettings/verizon_us.pb
product/etc/CarrierSettings/verizononsitelte_us.pb
product/etc/CarrierSettings/verymobile_it.pb
product/etc/CarrierSettings/viaero_us.pb
product/etc/CarrierSettings/vianova_it.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
product/etc/CarrierSettings/virgin_gb.pb
product/etc/CarrierSettings/virgin_us.pb
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
product/etc/CarrierSettings/vodafone_es.pb
product/etc/CarrierSettings/vodafone_gb.pb
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
product/etc/CarrierSettings/vodafone_om.pb
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/wim_mx.pb
product/etc/CarrierSettings/windtre_it.pb
product/etc/CarrierSettings/wom_cl.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
product/etc/CarrierSettings/yettel_hu.pb
product/etc/CarrierSettings/yoigo_es.pb
product/etc/CarrierSettings/yomobile_mx.pb
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

179
lynx/proprietary-files.txt Normal file
View File

@@ -0,0 +1,179 @@
# All blobs are extracted from Google factory images for each new ASB
# product partition
# AiAi
product/priv-app/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02.apk;PRESIGNED
product/priv-app/DevicePersonalizationPrebuiltPixel2022-bfinal_aiai_20250217.00_RC08/DevicePersonalizationPrebuiltPixel2022-bfinal_aiai_20250217.00_RC08.apk;PRESIGNED
# Audio
product/etc/ambient/matcher_tah.leveldb
product/etc/firmware/music_detector.descriptor
product/etc/firmware/music_detector.sound_model
product/etc/firmware/music_detector.sound_model_2
product/etc/firmware/music_detector.sound_model_tflite
# Camera
product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIGNED
# Camera extensions
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
product/etc/felica/mfs.cfg
# Hardware info
product/etc/permissions/com.google.android.hardwareinfo.xml
product/framework/libhwinfo.jar
product/priv-app/HardwareInfo/HardwareInfo.apk;PRESIGNED
# Hotword
product/priv-app/HotwordEnrollmentOKGoogleFUSIONPro/HotwordEnrollmentOKGoogleFUSIONPro.apk;PRESIGNED
product/priv-app/HotwordEnrollmentXGoogleFUSIONPro/HotwordEnrollmentXGoogleFUSIONPro.apk;PRESIGNED
# IMS
product/etc/sysconfig/allowlist_com.shannon.imsservice.xml
# Permissions
product/etc/permissions/privapp-permissions-google-p.xml:product/etc/permissions/privapp-permissions-google-p-evolution.xml
product/etc/sysconfig/GoogleCamera_6gb_or_more_ram.xml
product/etc/sysconfig/google-hiddenapi-package-whitelist.xml
product/etc/sysconfig/nexus.xml
product/etc/sysconfig/pixel_experience_2017.xml
product/etc/sysconfig/pixel_experience_2018.xml
product/etc/sysconfig/pixel_experience_2019.xml
product/etc/sysconfig/pixel_experience_2019_midyear.xml
product/etc/sysconfig/pixel_experience_2020.xml
product/etc/sysconfig/pixel_experience_2020_midyear.xml
product/etc/sysconfig/pixel_experience_2021.xml
product/etc/sysconfig/pixel_experience_2021_midyear.xml
product/etc/sysconfig/pixel_experience_2022.xml
product/etc/sysconfig/pixel_experience_2022_midyear.xml
product/etc/sysconfig/pixel_experience_2023_midyear.xml
# Radio
product/etc/permissions/com.android.sdm.plugins.connmo.xml
product/etc/permissions/com.android.sdm.plugins.dcmo.xml
product/etc/permissions/com.android.sdm.plugins.diagmon.xml
product/lib/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmengine.so
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_53.0.733201674/CarrierSettings_signed_53.0.733201674.apk;PRESIGNED
product/priv-app/CarrierWifi/CarrierWifi.apk;PRESIGNED
product/priv-app/ConnMO/ConnMO.apk
product/priv-app/DCMO/DCMO.apk
product/priv-app/DMService/DMService.apk
product/priv-app/DiagMon/DiagMon.apk
product/priv-app/EuiccGoogle/EuiccGoogle.apk;PRESIGNED
product/priv-app/TetheringEntitlement/TetheringEntitlement.apk
# VZW
product/app/VZWAPNLib/VZWAPNLib.apk;PRESIGNED
product/etc/permissions/com.android.omadm.service.xml
product/etc/permissions/com.google.omadm.trigger.xml
product/etc/permissions/com.verizon.apn.xml
product/etc/permissions/com.verizon.services.xml
product/etc/permissions/features-verizon.xml
product/etc/sysconfig/allowlist_com.android.omadm.service.xml
product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
product/priv-app/OemDmTrigger/OemDmTrigger.apk
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
# system_ext partition
# Camera extensions
system_ext/etc/permissions/com.google.android.camera.extensions.xml
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/lib64/com.google.edgetpu_app_service-V3-ndk.so
system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
# HBM
system_ext/lib64/libhbmsvmanager_jni.so;SYMLINK=system_ext/priv-app/HbmSVManager/lib/arm64/libhbmsvmanager_jni.so
system_ext/priv-app/HbmSVManager/HbmSVManager.apk
# Hotword
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
system_ext/framework/com.android.hotwordenrollment.common.util.jar
# IMS
system_ext/etc/permissions/com.android.qns.xml
system_ext/etc/permissions/com.shannon.imsservice.xml
system_ext/etc/permissions/com.shannon.rcsservice.xml
system_ext/lib/libmediaadaptor.so
system_ext/lib64/libmediaadaptor.so
system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# Permissions
system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml
# Radio
system_ext/etc/default-permissions/default-permissions-euiccpixel.xml
system_ext/etc/permissions/com.android.omadm.radioconfig.xml
system_ext/etc/permissions/com.google.euiccpixel.permissions.xml
system_ext/etc/permissions/com.google.euiccpixel.xml
system_ext/etc/permissions/google-ril.xml
system_ext/framework/RadioConfigLib.jar
system_ext/framework/google-ril.jar
system_ext/priv-app/CarrierSetup/CarrierSetup.apk;PRESIGNED
system_ext/priv-app/ConnectivityThermalPowerManager/ConnectivityThermalPowerManager.apk
system_ext/priv-app/EuiccGoogleOverlay/EuiccGoogleOverlay.apk
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_DVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_EVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_0105_P22_EVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_0109_P22_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_DVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_DVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_EVT.up
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_DVT.in
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_DVT.up
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
system_ext/priv-app/RilConfigService/RilConfigService.apk
system_ext/priv-app/grilservice/grilservice.apk;PRESIGNED
# RIL
system_ext/app/OemRilHookService/OemRilHookService.apk
system_ext/etc/permissions/com.samsung.slsi.telephony.oemril.xml
system_ext/etc/permissions/oemrilhook.xml
system_ext/framework/oemrilhook.jar
system_ext/priv-app/OemRilService/OemRilService.apk;PRESIGNED
# VZW
system_ext/etc/permissions/vzw_mvs_permissions.xml
system_ext/priv-app/MyVerizonServices/MyVerizonServices.apk;PRESIGNED

View File

@@ -0,0 +1,11 @@
# All firmware images are extracted from Google factory images for each new ASB
abl.img;AB
bl1.img;AB
bl2.img;AB
bl31.img;AB
gsa.img;AB
ldfw.img;AB
modem.img;AB
pbl.img;AB
tzsw.img;AB

View File

@@ -0,0 +1,8 @@
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
runtime_resource_overlay {
name: "HbmSVManagerOverlayLynx",
vendor: true
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.hbmsvmanager.overlay">
<overlay
android:isStatic="true"
android:priority="0"
android:targetPackage="com.android.hbmsvmanager" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2020, 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>
<string-array name="config_calibrated_compensation_images">
<item>SCI_0_cal0.png</item>
<item>SCI_1_cal0.png</item>
<item>SCI_2_cal0.png</item>
<item>SCI_3_cal0.png</item>
<item>SCI_4_cal0.png</item>
<item>SCI_5_cal0.png</item>
</string-array>
<array name="config_compensation_images">
<item>@drawable/SCI_0_cal0</item>
<item>@drawable/SCI_1_cal0</item>
<item>@drawable/SCI_2_cal0</item>
<item>@drawable/SCI_3_cal0</item>
<item>@drawable/SCI_4_cal0</item>
<item>@drawable/SCI_5_cal0</item>
</array>
<integer name="config_compensation_filter_horizon">1500</integer>
<dimen name="config_compensation_filter_intercept">10.0</dimen>
<dimen name="config_compensation_lux_enter_threshold">7000.0</dimen>
<array name="config_compensation_thresholds">
<item>7000.0</item>
<item>10000.0</item>
<item>35000.0</item>
<item>50000.0</item>
<item>80000.0</item>
<item>100000.0</item>
</array>
</resources>

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

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

1497
lynx/skip-files-vendor.txt Normal file

File diff suppressed because it is too large Load Diff

13
lynx/vendor.prop Normal file
View File

@@ -0,0 +1,13 @@
# DRM
drm.service.enabled=true
media.mediadrmservice.enable=true
# Fingerprint
ro.vendor.fingerprint.ta.name=g7.app
# Radio
persist.vendor.ril.ecc.use.xml=1
persist.vendor.ril.support_nr_ds=1
persist.vendor.ril.use_radio_hal=2.0
ro.vendor.config.build_carrier=europen
vendor.rild.libpath=libsitril.so

View File

@@ -1,116 +0,0 @@
<manifest version="1.0" type="device" target-level="5">
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>7.0</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<version>7.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.soundtrigger</name>
<transport>hwbinder</transport>
<version>2.3</version>
<interface>
<name>ISoundTriggerHw</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.media.omx</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IOmx</name>
<instance>default</instance>
</interface>
<interface>
<name>IOmxStore</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.graphics.allocator</name>
<transport>hwbinder</transport>
<version>4.0</version>
<interface>
<name>IAllocator</name>
<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>
<version>2.4</version>
<interface>
<name>IComposer</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.renderscript</name>
<transport arch="32+64">passthrough</transport>
<version>1.0</version>
<interface>
<name>IDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format = "hidl">
<name>android.hardware.dumpstate</name>
<transport>hwbinder</transport>
<version>1.1</version>
<interface>
<name>IDumpstateDevice</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.boot</name>
<transport>hwbinder</transport>
<fqname>@1.2::IBootControl/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>
<transport>hwbinder</transport>
<fqname>@1.3::IDevice/google-edgetpu</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.health</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IHealth</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.google.whitechapel.audio.audioext</name>
<transport>hwbinder</transport>
<version>4.0</version>
<interface>
<name>IAudioExt</name>
<instance>default</instance>
</interface>
</hal>
<kernel target-level="6"/>
</manifest>

View File

@@ -0,0 +1,3 @@
blocklist focal_touch.ko
blocklist goodix_brl_touch.ko
blocklist goog_touch_interface.ko

View File

@@ -0,0 +1,3 @@
extra/focal_touch.ko
extra/goodix_brl_touch.ko
extra/goog_touch_interface.ko

View File

@@ -1,152 +0,0 @@
########################### Start of libnf-hal-st_aosp.conf ###########################
###############################################################################
###############################################################################
# ST HAL trace log level
STNFC_HAL_LOGLEVEL=4
NFC_DEBUG_ENABLED=1
###############################################################################
# Vendor specific mode to enable FW (RF & SWP) traces.
STNFC_FW_DEBUG_ENABLED=0
###############################################################################
# File used for NFA storage
NFA_STORAGE="/data/nfc"
###############################################################################
# Dev Node used for ST HAL
ST_NFC_DEV_NODE="/dev/st_no_such_device"
###############################################################################
# Keep the nfa storage file.
PRESERVE_STORAGE=1
###############################################################################
# In Switch OFF mode (phone switched-off), specify the desired CE mode to
# the controller.
# 0: No card-emulation; DEFAULT
# 1: Switch-off card-emulation enabled
CE_ON_SWITCH_OFF_STATE=1
###############################################################################
# Vendor specific mode to support the USB charging mode if VPSIO=1 in switch off.
STNFC_USB_CHARGING_MODE=1
###############################################################################
# Vendor Specific Proprietary Protocol & Discovery Configuration
# Set to 0xFF if unsupported
# byte[0] NCI_PROTOCOL_18092_ACTIVE
# byte[1] NCI_PROTOCOL_B_PRIME
# byte[2] NCI_PROTOCOL_DUAL
# byte[3] NCI_PROTOCOL_15693
# byte[4] NCI_PROTOCOL_KOVIO
# byte[5] NCI_PROTOCOL_MIFARE
# byte[6] NCI_DISCOVERY_TYPE_POLL_KOVIO
# byte[7] NCI_DISCOVERY_TYPE_POLL_B_PRIME
# byte[8] NCI_DISCOVERY_TYPE_LISTEN_B_PRIME
NFA_PROPRIETARY_CFG={05:FF:FF:06:8A:90:77:FF:FF}
###############################################################################
# Choose the presence-check algorithm for type-4 tag. If not defined,
# the default value is 1.
# 0 NFA_RW_PRES_CHK_DEFAULT; Let stack selects an algorithm
# 1 NFA_RW_PRES_CHK_I_BLOCK; ISO-DEP protocol's empty I-block
# 2 NFA_RW_PRES_CHK_RESET; Deactivate to Sleep, then re-activate
# 3 NFA_RW_PRES_CHK_RB_CH0; Type-4 tag protocol's ReadBinary command on channel 0
# 4 NFA_RW_PRES_CHK_RB_CH3; Type-4 tag protocol's ReadBinary command on channel 3
# 5 NFA_RW_PRES_CHK_ISO_DEP_NAK; presence check command ISO-DEP NAK as per NCI2.0
PRESENCE_CHECK_ALGORITHM=5
###############################################################################
# Name of the NCI HAL module to use
# If unset, falls back to nfc_nci.bcm2079x
NCI_HAL_MODULE="nfc_nci.st21nfc"
###############################################################################
# White list to be set at startup.
DEVICE_HOST_WHITE_LIST={02:C0}
###############################################################################
# BAIL OUT value for P2P
# Implements algorithm for NFC-DEP protocol priority over ISO-DEP protocol.
POLL_BAIL_OUT_MODE=1
###############################################################################
# Extended APDU length for ISO_DEP
ISO_DEP_MAX_TRANSCEIVE=0xFEFF
###############################################################################
# Configure the NFC Extras to open and use a static pipe. If the value is
# not set or set to 0, then the default is use a dynamic pipe based on a
# destination gate (see NFA_HCI_DEFAULT_DEST_GATE). Note there is a value
# for each EE (ESE/SIM)
OFF_HOST_ESE_PIPE_ID=0x5E
OFF_HOST_SIM_PIPE_ID=0x3E
###############################################################################
#Set the default Felica T3T System Code OffHost route Location :
#This settings will be used when application does not set this parameter
# host 0x00
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_SYS_CODE_ROUTE=0x86
###############################################################################
#Set the Felica T3T System Code supported power state:
DEFAULT_SYS_CODE_PWR_STATE=0x3B
###############################################################################
# Path and Files used for FW update binaries storage
STNFC_FW_PATH_STORAGE="/vendor/firmware"
STNFC_FW_BIN_NAME="/st54j_fw.bin"
STNFC_FW_CONF_NAME="/st54j_conf.bin"
###############################################################################
# Default off-host route for Felica.
# This settings will be used when application does not set this parameter
# host 0x00
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_NFCF_ROUTE=0x86
###############################################################################
# Configure the default off-host route.
# used for technology A and B routing
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_OFFHOST_ROUTE=0x81
###############################################################################
# Configure the default AID route.
# host 0x00
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_ROUTE=0x00
###############################################################################
# Configure the NFCEEIDs of offhost UICC.
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
OFFHOST_ROUTE_UICC={81}
###############################################################################
# Configure the NFCEEIDs of offhost eSEs.
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
OFFHOST_ROUTE_ESE={86}
###############################################################################
# Configure the list of NFCEE for the ISO-DEP routing.
# host 0x00
# eSE 0x82 (eSE), 0x86 (eUICC/SPI-SE)
# UICC 0x81 (UICC_1), 0x85 (UICC_2)
DEFAULT_ISODEP_ROUTE=0x81
###############################################################################
# Core configuration settings
CORE_CONF_PROP={ 20, 02, 0a, 03,
a1, 01, 1e,
a2, 01, 19,
80, 01, 01
}

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

@@ -1,121 +0,0 @@
###############################################################################
# Application options
NFC_DEBUG_ENABLED=0
###############################################################################
# File used for NFA storage
NFA_STORAGE="/data/nfc"
###############################################################################
# Force UICC to only listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
UICC_LISTEN_TECH_MASK=0x00
###############################################################################
# Set HOST default listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F
# 0x07 = A + B + F
HOST_LISTEN_TECH_MASK=0x07
###############################################################################
# AID for Empty Select command
# If specified, this AID will be substituted when an Empty SELECT command is
# detected. The first byte is the length of the AID. Maximum length is 16.
AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00}
###############################################################################
# When screen is turned off, specify the desired power state of the controller.
# 0: power-off-sleep state; DEFAULT
# 1: full-power state
# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
SCREEN_OFF_POWER_STATE=1
###############################################################################
# Force tag polling for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
# NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
# NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_KOVIO |
# NFA_TECHNOLOGY_MASK_ACTIVE
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_ACTIVE 0x40 /* NFC Technology Active */
POLLING_TECH_MASK=0x2F
###############################################################################
# Force P2P to only listen for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F |
# NFA_TECHNOLOGY_MASK_ACTIVE
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_ACTIVE 0x40 /* NFC Technology Active */
P2P_LISTEN_TECH_MASK=0x00
PRESERVE_STORAGE=0x01
###############################################################################
# Override the stack default for NFA_EE_MAX_EE_SUPPORTED set in nfc_target.h.
# The value is set to 3 by default as it assumes we will discover 0xF2,
# 0xF3, and 0xF4. If a platform will exclude and SE, this value can be reduced
# so that the stack will not wait any longer than necessary.
# Maximum EE supported number
# NXP PN547C2 0x02
# NXP PN65T 0x03
# NXP PN548C2 0x02
# NXP PN66T 0x03
NFA_MAX_EE_SUPPORTED=0x01
###############################################################################
# AID_MATCHING constants
# AID_MATCHING_EXACT_ONLY 0x00
# AID_MATCHING_EXACT_OR_PREFIX 0x01
# AID_MATCHING_PREFIX_ONLY 0x02
# AID_MATCHING_EXACT_OR_SUBSET_OR_PREFIX 0x03
AID_MATCHING_MODE=0x03
###############################################################################
#Set the default Felica T3T System Code :
#This settings will be used when application does not set this parameter
DEFAULT_SYS_CODE={FE:FE}
###############################################################################
# Value of NIC parameter NFCC_COFNIG_CONTROL
# 0x00 NFCC is not allowed to manage RF configuration
# 0x01 NFCC is allowed to manage RF configuration
NFCC_CONFIG_CONTROL=0x01
###############################################################################
#Set if the AID routing should be blocked for the power modes not supported.
NFA_AID_BLOCK_ROUTE=1
###############################################################################
#Set the OffHost AID supported power state:
OFFHOST_AID_ROUTE_PWR_STATE=0x3B
###############################################################################
# Mifare Tag implementation
# 0: General implementation
# 1: Legacy implementation
LEGACY_MIFARE_READER=0
###############################################################################
# Nfc recovery implementation
# 0: Crash Nfc Service
# 1: Toggle Nfc state
RECOVERY_OPTION=1
###############################################################################
# NFCEE Power Supply and Communication Link Control Configuration
# Set when SetAlwaysOn enabled
# Default 0x00 when SetAlways on disabled
ALWAYS_ON_SET_EE_POWER_AND_LINK_CONF=0x03

View File

@@ -1,121 +0,0 @@
###############################################################################
# Application options
NFC_DEBUG_ENABLED=0
###############################################################################
# File used for NFA storage
NFA_STORAGE="/data/nfc"
###############################################################################
# Force UICC to only listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B | NFA_TECHNOLOGY_MASK_F
UICC_LISTEN_TECH_MASK=0x07
###############################################################################
# Set HOST default listen to the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F
# 0x07 = A + B + F
HOST_LISTEN_TECH_MASK=0x07
###############################################################################
# AID for Empty Select command
# If specified, this AID will be substituted when an Empty SELECT command is
# detected. The first byte is the length of the AID. Maximum length is 16.
AID_FOR_EMPTY_SELECT={08:A0:00:00:01:51:00:00:00}
###############################################################################
# When screen is turned off, specify the desired power state of the controller.
# 0: power-off-sleep state; DEFAULT
# 1: full-power state
# 2: screen-off card-emulation (CE4/CE3/CE1 modes are used)
SCREEN_OFF_POWER_STATE=1
###############################################################################
# Force tag polling for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_B |
# NFA_TECHNOLOGY_MASK_F | NFA_TECHNOLOGY_MASK_ISO15693 |
# NFA_TECHNOLOGY_MASK_B_PRIME | NFA_TECHNOLOGY_MASK_KOVIO |
# NFA_TECHNOLOGY_MASK_ACTIVE
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_B 0x02 /* NFC Technology B */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_ISO15693 0x08 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_KOVIO 0x20 /* Proprietary Technology */
# NFA_TECHNOLOGY_MASK_ACTIVE 0x40 /* NFC Technology Active */
POLLING_TECH_MASK=0x2F
###############################################################################
# Force P2P to only listen for the following technology(s).
# The bits are defined as tNFA_TECHNOLOGY_MASK in nfa_api.h.
# Default is NFA_TECHNOLOGY_MASK_A | NFA_TECHNOLOGY_MASK_F |
# NFA_TECHNOLOGY_MASK_ACTIVE
#
# Notable bits:
# NFA_TECHNOLOGY_MASK_A 0x01 /* NFC Technology A */
# NFA_TECHNOLOGY_MASK_F 0x04 /* NFC Technology F */
# NFA_TECHNOLOGY_MASK_ACTIVE 0x40 /* NFC Technology Active */
P2P_LISTEN_TECH_MASK=0x00
PRESERVE_STORAGE=0x01
###############################################################################
# Override the stack default for NFA_EE_MAX_EE_SUPPORTED set in nfc_target.h.
# The value is set to 3 by default as it assumes we will discover 0xF2,
# 0xF3, and 0xF4. If a platform will exclude and SE, this value can be reduced
# so that the stack will not wait any longer than necessary.
# Maximum EE supported number
# NXP PN547C2 0x02
# NXP PN65T 0x03
# NXP PN548C2 0x02
# NXP PN66T 0x03
NFA_MAX_EE_SUPPORTED=0x02
###############################################################################
# AID_MATCHING constants
# AID_MATCHING_EXACT_ONLY 0x00
# AID_MATCHING_EXACT_OR_PREFIX 0x01
# AID_MATCHING_PREFIX_ONLY 0x02
# AID_MATCHING_EXACT_OR_SUBSET_OR_PREFIX 0x03
AID_MATCHING_MODE=0x03
###############################################################################
#Set the default Felica T3T System Code :
#This settings will be used when application does not set this parameter
DEFAULT_SYS_CODE={FE:FE}
###############################################################################
# Value of NIC parameter NFCC_COFNIG_CONTROL
# 0x00 NFCC is not allowed to manage RF configuration
# 0x01 NFCC is allowed to manage RF configuration
NFCC_CONFIG_CONTROL=0x01
###############################################################################
#Set if the AID routing should be blocked for the power modes not supported.
NFA_AID_BLOCK_ROUTE=1
###############################################################################
#Set the OffHost AID supported power state:
OFFHOST_AID_ROUTE_PWR_STATE=0x3B
###############################################################################
# Mifare Tag implementation
# 0: General implementation
# 1: Legacy implementation
LEGACY_MIFARE_READER=0
###############################################################################
# Nfc recovery implementation
# 0: Crash Nfc Service
# 1: Toggle Nfc state
RECOVERY_OPTION=1
###############################################################################
# NFCEE Power Supply and Communication Link Control Configuration
# Set when SetAlwaysOn enabled
# Default 0x00 when SetAlways on disabled
ALWAYS_ON_SET_EE_POWER_AND_LINK_CONF=0x03

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2021 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>
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
<!-- IWLAN-->
<string name="config_qualified_networks_service_package">com.android.qns</string>
</resources>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2019, 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether device has screen with higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
<!-- Whether the device supports wireless charging or not -->
<bool name="config_deviceSupportsWirelessCharging">true</bool>
</resources>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- An array of triplets made of (camera ID, approximate zoom ratio, exact zoom ratio).
These values will be added to the lens selector if one or more cameras uses the
multi-camera API to let the user select which lens to use.
It's highly recommended to leave config_enableAuxCameras to false, since with
multi-camera API you only use a single camera device for all sensors.
You may enable it if you need auxiliary camera devices for a set of cameras on one
of the device's side (e.g. logical main back camera but multiple physical camera
devices on front), in that case if a main device side's lens is referenced here
all the auxiliary camera devices of that side will be ignored.
You may be able to get the exact zoom ratio needed to trigger the lens switch from
your stock camera app and observing the zoom ratio it sets with the following command:
adb shell dumpsys media.camera | grep 'android.control.zoomRatio' -1
Example for Google Pixel 7 Pro's back camera configuration:
<string-array name="config_logicalZoomRatios">
<item>0</item> <item>0.5</item> <item>0.55632502</item>
<item>0</item> <item>2.0</item> <item>2.0</item>
<item>0</item> <item>5.0</item> <item>5.0</item>
</string-array>
-->
<string-array name="config_logicalZoomRatios">
<item>0</item> <item>0.5</item> <item>0.53060198</item>
<item>0</item> <item>2.0</item> <item>2.0</item>
</string-array>
</resources>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2021 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>
<!-- Whether to show Smooth Display feature in Settings Options -->
<bool name="config_show_smooth_display">true</bool>
</resources>

View File

@@ -215,6 +215,54 @@
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceEnable",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_enable",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_value",
"Values": [
"765",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidValue",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_value",
"Values": [
"600",
"590",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceHighPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_high_prio",
"Values": [
"110",
"119",
"120"
],
"ResetOnInit": true
},
{
"Name": "TAUclampMinOnNiceMidPrio",
"Path": "/proc/vendor_sched/groups/ta/uclamp_min_on_nice_mid_prio",
"Values": [
"128",
"139",
"130"
],
"ResetOnInit": true
},
{
"Name": "FGUClampBoost",
"Path": "/proc/vendor_sched/groups/fg/uclamp_min",
@@ -307,6 +355,35 @@
],
"ResetOnInit": true
},
{
"Name": "TAAutoPreferFit",
"Path": "/proc/vendor_sched/groups/ta/auto_prefer_fit",
"Values": [
"1",
"0"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskMid",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_mid",
"Values": [
"0x3f",
"0xf0",
"0xff"
],
"ResetOnInit": true
},
{
"Name": "TAPreferredIdleMaskLow",
"Path": "/proc/vendor_sched/groups/ta/preferred_idle_mask_low",
"Values": [
"0x3f",
"0xf0",
"0xff"
],
"ResetOnInit": true
},
{
"Name": "FGPreferIdle",
"Path": "/proc/vendor_sched/groups/fg/prefer_idle",
@@ -335,14 +412,6 @@
],
"ResetOnInit": true
},
{
"Name": "NewlyIdleBalancer",
"Path": "/proc/vendor_sched/idle_balancer",
"Values": [
"0",
"1"
]
},
{
"Name": "DisplayWakeup",
"Path": "/sys/devices/platform/1c240000.drmdecon/early_wakeup",
@@ -662,6 +731,26 @@
],
"DefaultIndex": 0,
"ResetOnInit": true
},
{
"Name": "AAModeProperty",
"Path": "vendor.powerhal.mode.aa",
"Values": [
"1",
"0"
],
"ResetOnInit": true,
"Type": "Property"
},
{
"Name": "SYSTEM_UI_ADPF_PROFILES",
"Path": "<AdpfConfig>:SYSTEM_UI",
"Values": [
"SYSTEM_UI_PROFILE"
],
"DefaultIndex": 0,
"ResetOnInit": true,
"Type": "Event"
}
],
"Actions": [
@@ -773,6 +862,54 @@
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0x3f"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskLow",
"Duration": 5000,
"Value": "0x3f"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "590"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
},
{
"PowerHint": "LAUNCH",
"Type": "DoHint",
@@ -1048,6 +1185,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",
"Node": "TAPreferHighCap",
@@ -1204,12 +1353,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "PMU_POLL",
@@ -1318,12 +1461,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PowerHALCameraRunning",
@@ -1378,12 +1515,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "PowerHALCameraRunning",
@@ -1444,12 +1575,6 @@
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "NewlyIdleBalancer",
"Duration": 0,
"Value": "0"
},
{
"PowerHint": "CAMERA_VIDEO_RECORDING",
"Type": "MaskHint",
@@ -1698,6 +1823,12 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "AUTOMOTIVE_PROJECTION",
"Node": "AAModeProperty",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "DISPLAY_IDLE",
"Node": "FGPreferIdle",
@@ -1715,24 +1846,24 @@
"Type": "EndHint",
"Value": "DISPLAY_UPDATE_IMMINENT"
},
{
"PowerHint": "DISPLAY_IDLE",
"Type": "MaskHint",
"Value":"DISPLAY_UPDATE_IMMINENT",
"EnableProperty": "vendor.powerhal.mode.aa"
},
{
"PowerHint": "DISPLAY_IDLE",
"Type": "MaskHint",
"Value":"CPU_LOAD_RESET",
"EnableProperty": "vendor.powerhal.mode.aa"
},
{
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
"Node": "DisplayWakeup",
"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",
@@ -1891,20 +2022,20 @@
},
{
"PowerHint": "FACE_UNLOCK_BOOST",
"Node": "CPU_LITTLE_TSKIN_BYPASS",
"Duration": 1000,
"Value": "1"
"Node": "CPUBigClusterMaxFreq",
"Duration": 500,
"Value": "9999999"
},
{
"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"
},
{
@@ -1976,16 +2107,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",
@@ -2000,16 +2143,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",
@@ -2024,88 +2179,64 @@
"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",
"PID_On": false,
"PID_Po": 0,
"PID_Pu": 0,
"PID_I": 0,
"PID_I_Init": 0,
"PID_I_High": 0,
"PID_I_Low": 0,
"PID_Do": 0,
"PID_Du": 0,
"SamplingWindow_P": 1,
"SamplingWindow_I": 1,
"SamplingWindow_D": 1,
"Name": "SYSTEM_UI_PROFILE",
"PID_On": true,
"PID_Po": 2.0,
"PID_Pu": 1.0,
"PID_I": 0.0,
"PID_I_Init": 200,
"PID_I_High": 512,
"PID_I_Low": -30,
"PID_Do": 500.0,
"PID_Du": 0.0,
"UclampMin_On": true,
"UclampMin_Init": 250,
"UclampMin_High": 197,
"UclampMin_Low": 197,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
},
{
"Name": "UiLowBoostWithoutPid",
"PID_On": false,
"PID_Po": 0,
"PID_Pu": 0,
"PID_I": 0,
"PID_I_Init": 0,
"PID_I_High": 0,
"PID_I_Low": 0,
"PID_Do": 0,
"PID_Du": 0,
"UclampMin_Init": 232,
"UclampMin_LoadUp": 730,
"UclampMin_LoadReset": 730,
"UclampMin_High": 480,
"UclampMin_Low": 2,
"UclampMax_EfficientBase": 500,
"UclampMax_EfficientOffset": 200,
"SamplingWindow_P": 1,
"SamplingWindow_I": 1,
"SamplingWindow_I": 0,
"SamplingWindow_D": 1,
"UclampMin_On": true,
"UclampMin_Init": 250,
"UclampMin_High": 53,
"UclampMin_Low": 53,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"ReportingRateLimitNs": 166666660,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.0
},
{
"Name": "UiLowNoneBoost",
"PID_On": false,
"PID_Po": 0,
"PID_Pu": 0,
"PID_I": 0,
"PID_I_Init": 0,
"PID_I_High": 0,
"PID_I_Low": 0,
"PID_Do": 0,
"PID_Du": 0,
"SamplingWindow_P": 1,
"SamplingWindow_I": 1,
"SamplingWindow_D": 1,
"UclampMin_On": true,
"UclampMin_Init": 250,
"UclampMin_High": 0,
"UclampMin_Low": 0,
"ReportingRateLimitNs": 1,
"EarlyBoost_On": false,
"EarlyBoost_TimeFactor": 0.0,
"TargetTimeFactor": 1.0,
"StaleTimeFactor": 5.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
}
]
}

View File

@@ -1,2 +0,0 @@
# Bug component: 48448
include platform/packages/apps/Nfc:/OWNERS

View File

@@ -30,7 +30,7 @@
<item>36</item>
</integer-array>
<integer-array name="antenna_y">
<item>102</item>
<item>48</item>
</integer-array>
<bool name="nfc_observe_mode_supported">true</bool>
</resources>

View File

@@ -1,3 +0,0 @@
# People who can approve changes for submission
kumachang@google.com
hsuvictor@google.com

View File

@@ -157,4 +157,7 @@
<!-- Configure the max number of new channels to add into the initial partial scan list per network.
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 trigger bugreport for WiFi subsystem restart issue -->
<bool translatable="false" name ="config_wifi_subsystem_restart_bugreport_enabled">false</bool>
</resources>

View File

@@ -1,3 +0,0 @@
third_party {
license_type: NOTICE
}

View File

@@ -1,12 +0,0 @@
#
# Usage is subject to the enclosed license agreement
echo
echo The license for this software will now be displayed.
echo You must agree to this license before using this software.
echo
echo -n Press Enter to view the license
read dummy
echo
more << __EOF__

View File

@@ -1,22 +0,0 @@
__EOF__
if test $? != 0
then
echo ERROR: Couldn\'t display license file 1>&2
exit 1
fi
echo
echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
read typed
if test "$typed" != I\ ACCEPT
then
echo
echo You didn\'t accept the license. Extraction aborted.
exit 2
fi
echo

View File

@@ -1,12 +0,0 @@
if test $? != 0
then
echo
echo ERROR: Couldn\'t extract files. 1>&2
exit 3
else
echo
echo Files extracted successfully.
fi
exit 0

View File

@@ -1,2 +0,0 @@
#!/bin/bash
#

View File

@@ -1,15 +0,0 @@
google_devices)
TO_EXTRACT="\
IMAGES/vbmeta_vendor.img \
IMAGES/vendor.img \
IMAGES/vendor_dlkm.img \
RADIO/bootloader.img \
RADIO/radio.img \
system_ext/etc/permissions/com.shannon.imsservice.xml \
system_ext/etc/permissions/com.shannon.rcsservice.xml \
system_ext/lib64/libmediaadaptor.so \
system_ext/priv-app/ShannonRcs/ShannonRcs.apk \
system_ext/priv-app/ShannonIms/ShannonIms.apk \
"
;;

View File

@@ -1 +0,0 @@
# (C) Google Inc.

View File

@@ -1,264 +0,0 @@
THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
BINDING AGREEMENT BETWEEN Google Inc. ("LICENSOR") AND
YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
IF YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION
PROCESS AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE
SOFTWARE OR DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS
SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE
SOFTWARE IS INSTALLED ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL
ENTITY, THEN YOU REPRESENT AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND
SUCH ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
1. Special Definitions
a. The term "Android" means the open source mobile platform, software
stack, operating system, middleware, application programming
interfaces and mobile applications under the trade-name "Android"
distributed at Android.com.
b. The term "Android Applications" means a software application or
open-source contribution developed by You, designed to operate with
Android that does not contain or incorporate any of the Software.
c. The term "Authorized Android Enabled Device" means only the device
identified on the site from which You downloaded the Software.
The term "Software" means the Licensor's proprietary software and
libraries in object code form, designed for use on the Authorized
Android Enabled Device.
d. The term "Authorized Android Enabled Device Software" means a
packaged build for Authorized Android Enabled Devices, consisting
of files suitable for installation on an Authorized Android Enabled
Device using a mechanism such as fastboot mode or recovery mode.
2. License Grant
a. Subject to the terms of this Agreement, Licensor hereby grants to
You, free of charge, a non-exclusive, non-sublicensable,
non-transferable, limited copyright license, during the term of
this Agreement, to download, install and use the Software
internally in machine-readable (i.e., object code) form and the
Documentation for non-commercial use on an Authorized Android
Enabled Device and non-commercial redistribution for academic
purposes only of a reasonable number of copies of the Authorized
Android Enabled Device Software (the "Limited Purpose"). You may
grant your end users the right to use the Software for
non-commercial purposes on an Authorized Android Enabled Device.
The license to the Software granted to You hereunder is solely for
the Limited Purpose set forth in this section, and the Software
shall not be used for any other purpose.
3. Restrictions
a. Retention of Rights. The entire right, title and interest in the
Software shall remain with Licensor and, unless specified in
writing hereunder, no rights are granted to any of the Software.
Except for the right to use the Software for the Limited Purpose,
the delivery of the Software to You does not convey to You any
intellectual property rights in the Software, including, but not
limited to any rights under any patent, trademark, copyright, or
trade secret. Neither the delivery of the Software to You nor any
terms set forth herein shall be construed to grant to You, either
expressly, by implication or by way of estoppel, any license under
any patents or other intellectual property rights covering or
relating to any other product or invention or any combination of
the Software with any other product. Any rights not expressly
granted to You herein are reserved by Licensor.
b. No Commercialization or Distribution of the Software and
Documentation. Except as expressly provided in Section 2 of this
Agreement, You shall have no right to (i) copy, disclose,
distribute, publically perform, publically display, transfer,
alter, modify, translate, disassemble, decompile, reverse engineer,
or adapt the Software and Documentation, or any portion thereof, or
create any derivative works based thereon; (ii) rent, lease,
assign, sublicense, resell, disclose or otherwise transfer the
Software and Documentation in whole or in part to any third party
(iii) use the Software and Documentation except for the Limited
Purpose, (iv) remove or alter any of the copyright or proprietary
notices contained in any of the Software and Documentation. For the
purposes of clarity, nothing in this Agreement prohibits You from
making and distributing Android Applications under commercial or
non-commercial terms, provided that You shall not contain,
incorporate, and/or compile the Software or any of its derivative
works, in whole or in part, into Your Android Applications and/or
any software/devices created by You or by third parties acting on
Your behalf. You and any such third party shall comply with all of
the terms and conditions of this Agreement.
c. No Reverse Engineering. Except for any portions of the Software
provided to You in source code format and except for any third
party code distributed with the Software that is licensed under
contrary terms, You will not reverse engineer, disassemble,
decompile, or translate the Software, or otherwise attempt to
derive the source code version of the Software, except if and to
the extent expressly permitted under any applicable law.
d. Third Party Software. You agree that Android may contain third
party software. You agree that you may not distribute such third
party software for any purpose without appropriate licenses from
the applicable third party or parties.
e. No Transfer or Assignment. You shall not assign any of its rights
or obligations under this Agreement. Any attempted assignment in
contravention of this Section shall be void.
f. Licensor shall retain all title, ownership and Intellectual
Property Rights in and to the Software and any derivative thereof.
"Intellectual Property Rights" shall mean all patent, copyright,
trade secret, trademark and other proprietary and intellectual
property rights, including moral rights.
g. Neither this Agreement, nor any act by Licensor or its Affiliates
persuant to this Agreement or relating to the Software (including,
without limitation, the provision by Licensor or its Affiliates of
the Software) shall provide to You any license or any other rights
whatsoever under any patents, trademarks, trade secrets, copyrights
or any other intellectual property rights of Licensor or its
Affiliates, except for the copyrights expressly set forth in this
Agreement. You understand and agree that:
h. Neither this Agreement, nor delivery of the Software alone or in
combination with any Licensor ASIC grants you any right to
practice, or any other right at all with respect to, any patent of
Licensor or its Affiliates, and
i. A separating license agreement from Motorola Incorporated is needed
to use or practice any patent of Licensor or its Affiliates.
j. You agree not to contend in any context that, as a result of the
provision or use of this software, either Licensor or Affiliate has
any obligation to extend, or Licensor or any other party has
obtained any right to, any license, whether express or implied,
with respect to any patent of Licensor or its Affiliates for any
purpose. For the purposes of this agreement, "Affiliate" means
(i) any corporation or any other legal entity that owns, directly
or indirectly, more than fifty percent (50%) of the shares, equity
interest or other securities of any entity entitled to vote for
election of directors (or other managing authority), or (ii) any
corporation or any other legal entity fifty percent (50%) or more
of whose shares, equity interest, or other securities entitled to
vote for election of directors (or other managing authority) is
owned or controlled by an entity, either directly or indirectly.
4. Indemnity
a. You agree to indemnify and hold harmless Licensor, Google, and
their officers, directors, customers, employees and successors and
assigns (each an "Indemnified Party") against any and all claims,
demands, causes of action, losses, liabilities, damages, costs and
expenses, incurred by the Indemnified Party (including but not
limited to costs of defense, investigation and reasonable
attorney's fees) arising out of, resulting from or related to
(i) any software, products, documentation, content, materials or
derivative works created or developed by You using the Software
which causes an infringement of any patent, copyright, trademark,
trade secret, or other property, publicity or privacy rights of any
third parties arising in any jurisdiction anywhere in the world,
(ii) the download, distribution, installation, storage, execution,
use or transfer of such software, products, documentation, content,
materials or derivative works by any person or entity, and/or
(iii) any breach of this Agreement by You. If requested by an
Indemnified Party, You agree to defend such Indemnified Party in
connection with any third party claims, demands, or causes of
action resulting from, arising out of or in connection with any of
the foregoing.
5. Limitation of Liability
a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
LICENSOR, GOOGLE, THEIR AFFILIATES AND/OR ITS DIRECTORS, OFFICERS,
EMPLOYEES OR AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
LIMITED TO DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS
INTERRUPTION, LOSS OF BUSINESS INFORMATION AND THE LIKE) ARISING
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ANY DOWNLOAD,
INSTALLATION OR USE OF, OR INABILITY TO USE, THE SOFTWARE, EVEN IF
LICENSOR OR GOOGLE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR
EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO
THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE LIMITED.
IN NO EVENT SHALL LICENSOR'S OR GOOGLE'S TOTAL AGGREGATE LIABILITY
TO YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF
ACTIONS (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE,
INDEMNIFICATION OR OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS
(US$100). THE LIMITATIONS SET FORTH IN THIS PARAGRAPH SHALL BE
DEEMED TO APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
THE PARTIES HAVE FULLY CONSIDERED THE FOREGOING ALLOCATION OF RISK
AND FIND IT REASONABLE, AND THAT THE FOREGOING LIMITATIONS IN THIS
PARAGRAPH ARE AN ESSENTIAL BASIS OF THE BARGAIN BETWEEN THE
PARTIES.
6. No Warranty
a. LICENSOR AND GOOGLE MAKE NO WARRANTIES, EXPRESS OR IMPLIED, WITH
RESPECT TO THE SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS
AGREEMENT, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR AGAINST
INFRINGEMENT, OR ANY EXPRESS OR IMPLIED WARRANTY ARISING OUT OF
TRADE USAGE OR OUT OF A COURSE OF DEALING OR COURSE OF PERFORMANCE.
NOTHING CONTAINED IN THIS AGREEMENT SHALL BE CONSTRUED AS A
WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE VALIDITY OR
SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT
AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM INFRINGEMENT
OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY RIGHTS OF
OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO MAKE SUCH
DETERMINATION AS IS NECESSARY WITH RESPECT TO THE ACQUISITION OF
LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY OF THIRD
PARTIES. LICENSOR AND GOOGLE SHALL NOT HAVE ANY OBLIGATION TO
PROVIDE ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
7. Term and Termination
a. This Agreement shall be effective on the date You accept this
Agreement and shall remain in effect until terminated as provided
herein. You may terminate the Agreement at any time by deleting and
destroying all copies of the Software and all related information
in Your possession or control. This Agreement terminates
immediately and automatically, with or without notice, if You fail
to comply with any provision hereof. Additionally, Licensor may at
any time terminate this Agreement, without cause, upon notice to
You. Upon termination You must delete or destroy all copies of the
Software in Your possession, and the license granted to You in this
Agreement shall terminate. Sections 3, 4, 5, 6 and 8 shall survive
the termination of this Agreement.
8. Miscellaneous
a. Governing Law. This Agreement is governed and interpreted in
accordance with the laws of the State of California without giving
effect to its conflict of laws provisions. The United Nations
Convention on Contracts for the International Sale of Goods is
expressly disclaimed and shall not apply. Any claim arising out of
or related to this Agreement must be brought exclusively in a
federal or state court located in Santa Clara County, California
and You consent to the jurisdiction and venue of such courts.
b. Waiver and Severability. The failure of either party to require
performance by the other party of any provision of this Agreement
shall not affect the full right to require such performance at any
time thereafter; nor shall the waiver by either party of a breach
of any provision of this Agreement be taken or held to be a waiver
of the provision itself. Severability. If any provision of this
Agreement is unenforceable or invalid under any applicable law or
is so held by applicable court decision, such unenforceability or
invalidity shall not render this Agreement unenforceable or invalid
as a whole, and such provision shall be changed and interpreted so
as to best accomplish the objectives of such unenforceable or
invalid provision within the limits of applicable law or
applicable court decisions.
c. Amendment and Modification. This Agreement and any of its terms and
provisions may only be amended, modified, supplemented or waived in
a writing signed by both parties hereto.
d. Compliance with Laws. You shall comply with all applicable laws,
rules, and regulations in connection with its activities under this
Agreement.
e. Entire Agreement. This Agreement completely and exclusively states
the agreement between You and Licensor regarding this subject
matter.

View File

@@ -1,41 +0,0 @@
// Copyright (C) 2023 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.
soong_namespace {
}
cc_prebuilt_library_shared {
name: "libmediaadaptor",
arch: {
arm64: {
srcs: ["lib64/libmediaadaptor.so"],
shared_libs: [
"libandroid_runtime",
"libbinder",
"libc++",
"liblog",
"libmedia",
"libnativehelper",
"libstagefright",
"libutils",
],
},
},
compile_multilib: "both",
system_ext_specific: true,
strip: {
none: true,
},
}

View File

@@ -1,57 +0,0 @@
#
# Copyright (C) 2023 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.
#
LOCAL_PATH := $(call my-dir)
ifneq ($(filter lynx,$(TARGET_DEVICE)),)
$(call add-radio-file,bootloader.img)
$(call add-radio-file,radio.img)
endif
ifneq ($(filter lynx,$(TARGET_DEVICE)),)
include $(CLEAR_VARS)
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_MODULE := ShannonIms
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MODULE_OWNER := samsung
LOCAL_MODULE_CLASS := APPS
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_CERTIFICATE := platform
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_MODULE := ShannonRcs
LOCAL_MODULE_TAGS := optional
LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_SYSTEM_EXT_MODULE := true
LOCAL_PRIVILEGED_MODULE := true
LOCAL_MODULE_OWNER := samsung
LOCAL_MODULE_CLASS := APPS
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
include $(BUILD_PREBUILT)
endif

View File

@@ -1,37 +0,0 @@
# Copyright 2023 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.
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/lynx/proprietary/vendor.img
BOARD_PREBUILT_VENDOR_DLKMIMAGE := vendor/google_devices/lynx/proprietary/vendor_dlkm.img
TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
BOARD_AVB_VBMETA_VENDOR := vendor
BOARD_AVB_VBMETA_VENDOR_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
BOARD_AVB_VBMETA_VENDOR_ALGORITHM := SHA256_RSA2048
BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
AB_OTA_PARTITIONS += \
vbmeta_vendor \
vendor \
vendor_dlkm \
-include vendor/google/tools/android-info.mk
ifdef USE_ANDROID_INFO
TARGET_BOARD_INFO_FILE := vendor/google_devices/lynx/android-info.txt
endif
VENDOR_BLOBS_LICENSE := vendor/google_devices/lynx/LICENSE

View File

@@ -1,30 +0,0 @@
# Copyright 2023 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.
PRODUCT_SOONG_NAMESPACES += \
vendor/google_devices/lynx/proprietary \
# AOSP packages required by the blobs
PRODUCT_PACKAGES := \
ShannonIms \
ShannonRcs \
PRODUCT_PACKAGES += \
libmediaadaptor \
# blob(s) necessary for lynx hardware
PRODUCT_COPY_FILES := \
vendor/google_devices/lynx/proprietary/com.shannon.imsservice.xml:system_ext/etc/permissions/com.shannon.imsservice.xml:samsung \
vendor/google_devices/lynx/proprietary/com.shannon.rcsservice.xml:system_ext/etc/permissions/com.shannon.rcsservice.xml:samsung \

View File

@@ -1,8 +0,0 @@
require board=lynx
require partition-exists=vendor_kernel_boot
require version-bootloader=lynx-1.0-9450676
require version-baseband=g5300n-221222-221226-B-9437664

Some files were not shown because too many files have changed in this diff Show More