Commit graph

11605 commits

Author SHA1 Message Date
Michael Bestas
39ce582e31
gs101: Remove factory configuration
Change-Id: Ib46639b684db8f0bbd42be9ffd518e62277d63f0
2025-06-26 10:13:12 +03:00
Michael Bestas
bfb257ca9a
gs101: Remove SystemUI dexpreopt speed compile flags
They are already defined in vendor

Change-Id: I27097e32091d0066fc3da1a1b786e5a6ae11bc86
2025-06-26 10:13:12 +03:00
Michael Bestas
9e4f6f83b6
gs101: Include missing NFC sepolicy
Change-Id: Ic93f74e25694f19cfc23a86203c17e6f1d9be0ea
2025-06-26 10:13:12 +03:00
Michael Bestas
664fd462d1
gs101: Include missing bt dump sepolicy
Change-Id: I7e16eba76b87db4c8fc45d9401ce4f2c143b6478
2025-06-26 10:13:11 +03:00
Michael Bestas
61f97072ca
gs101: Move wfc-pkt-router to gs-common
Change-Id: I922b28e1bd8dc0baece89428c0032eabde5c13dc
2025-06-26 10:13:11 +03:00
Michael Bestas
635eee8532
gs101: Remove unused fingerprint configuration
Change-Id: Ifd79557c81280f9e93076bc1e6824c650ea12ed7
2025-06-26 10:13:11 +03:00
Maciej Żenczykowski
6e0b710b3c
oem-iptables-init.sh not used any more
Specifically due to netd change:
  http://go/aog/3530692
  Add support for new oem_in hook.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ibec85ae1303789018a8d4a95f48ca429fe49acda
2025-06-26 10:13:11 +03:00
Michael Bestas
23c4b461c1
gs101: Remove userdebug/eng configuration
Change-Id: Ie1e8b6bbebdfac97f8bc382e41c70cc8a32caf07
2025-06-26 10:13:11 +03:00
Michael Bestas
b619bb97bc
gs101: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-23 06:18:59 +03:00
Michael Bestas
bc0bcb3e34
gs101: Remove CleanSpec.mk
Change-Id: I6af355cfbfd5fc388ca25cd25cea9df9e74c41c3
2025-06-23 06:18:47 +03:00
Michael Bestas
9ab8c53f67
gs101: Bump SPL to 2025-06-05
Change-Id: I8d3f5a9479d0fddd6fa79baa3e573f00ad125e9c
2025-06-23 06:18:39 +03:00
Michael Bestas
9f02944989
gs101: Update task_profiles.json from BP2A
Change-Id: I5303433e19e6e53afc0635d9a00b7467e00391cd
2025-06-23 06:18:10 +03:00
Michael Bestas
d35ae071e7
gs101: Update init scripts from BP2A
Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
2025-06-23 06:18:04 +03:00
Michael Bestas
896c06b264
gs101: Update FCM for 16
Change-Id: If85ec83e37e9d983903aed4c6f809664fd2b293e
2025-06-23 06:17:59 +03:00
Michael Bestas
fde11dd697
gs101: Remove pixelstats-vendor
This does not build with the current hardware/google/pixel dependencies
so make it prebuilt.

Change-Id: Ifcbf49fb482164bd72ad0e1f05fa2d48ca2fbc98
2025-06-23 06:17:54 +03:00
Michael Bestas
2909c91023 aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
 eFcxAJ9FjuwU+gpMXe30sSxhISfEmxN2owCeLtsSixLCQo0oS2uAROPj1Ss1KYw=
 =RGaz
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQC7FLLvbTyY+Y0GgJwfye1ptLJo2ym+en0NNcqdLYFxdLEwpT6vJHXfoQ8Bhe9m5jb
 jbgV599CsKeg7Lho0yJgg=
 -----END SSH SIGNATURE-----

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
# eFcxAJ9FjuwU+gpMXe30sSxhISfEmxN2owCeLtsSixLCQo0oS2uAROPj1Ss1KYw=
# =RGaz
# -----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 Nina Chen (3) and others
# Via Android Build Coastguard Worker (8) and others
* tag 'aml_tz6_351400020':
  Add udc sysfs to udc_sysfs fs context
  Update SELinux error
  Remove chre vendor_data_file from tracking denials bug map
  RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
  init-display-sh: Don't audit writing to kmsg
  gs101: update selinux to allow UMI on user build
  Remove sced sepolicy rule
  whi: Add selinux permission for fth
  sepolicy: gs101: add genfscon wireless into sysfs_batteryinfo
  Update SELinux error
  Update SELinux error
  Revert "Remove hal_camera_default aconfig_storage_metadata_file ..."
  Remove hal_camera_default aconfig_storage_metadata_file from bugmap
  Update SELinux error

Change-Id: Idee2829022f41f42017aab5ab99e5043767fd8e0
2025-06-23 05:21:13 +03:00
Michael Bestas
a7ada3bcea aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
 eE0jAJ9LUlDeVJV2JVbzsyWRdWRRhpFGkwCfbEbrFRYUgH7HHshxtjQlrRTLJ/U=
 =bAod
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQKbZFn9A2+Vqax//krl8KOKH948OcStI/TNfz2IkyoLz1xzEZcssWL38FiuVK0dTdk
 J+X3VntP2QgehBQFDvQgY=
 -----END SSH SIGNATURE-----

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
# eE0jAJ9LUlDeVJV2JVbzsyWRdWRRhpFGkwCfbEbrFRYUgH7HHshxtjQlrRTLJ/U=
# =bAod
# -----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 Piotr Klasa (4) and others
# Via Android Build Coastguard Worker (9) and others
* tag 'aml_tz6_351400020': (21 commits)
  Enable usb state update via udc sysfs
  usb: fix usb state path in host mode
  usb: migrate UsbDataSessionMonitor to libpixelusb
  Use 2025-03-01 deqp level for GLES
  Use 2025-03-01 deqp levels for Vulkan
  Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
  Use 2025-03-01 deqp levels for GLES and Vulkan
  move common init perf settings to gs_common
  Revert "move common init perf settings to gs_common"
  move common init perf settings to gs_common
  Enable open source multi akm for specific Broadcom project
  pixelstats: gs101: remove firmware update path
  init-display-sh: Allow writing to kmsg
  Remove ResetUclamp profiles
  Update IDisplay to V13-V14
  display-dump: make display dump project-specific
  Refactor: Use googleDeviceConfig namespace in gs101 BoardConfig
  dump_power: add battery caretaker dump into bugreport
  Set initial value for foreground_window group
  Move all vendor_sched parameters and permissions to init.pixel.perf.rc
  ...

Change-Id: I296bc05a0b9bc48ee3ca478f305e7ab76f5941ee
2025-06-23 05:21:04 +03:00
Chirayu Desai
04140bb2f4 Freeze SPL to 2025-05-05
Change-Id: I3dfa3c342582d14c1b5b89061c8a58a72dc6cbcd
2025-06-03 19:57:53 +00:00
Bruno Martins
4694eb0385
gs101: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-05-07 07:08:31 +03:00
Oliver Scott
9a08b8d207 Implement charge limit mode
Change-Id: I61d317756ae1b985a47c23c9611396428a39045b
2025-03-31 11:58:34 +00:00
Michael Bestas
8d9efe4b06
Include missing vibrator sepolicy
Change-Id: Iac3a36e884dc1747d4fd0a60b418ffbf3779ffdb
2025-03-09 12:02:40 +02:00
Michael Bestas
433218f59d Android 15.0.0 Release 20 (BP1A.250305.019)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo6wAKCRDorT+BmrEO
 eD0rAJ9SRD7zzUKLmewavtzFbwp+MZWfUACbBJG1dCQKBV9xPOSSb7zem7FrJSo=
 =B9Fi
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQFEHb0TMYShFb2DXEj4QrA8cnv6eGKNtkouF/Vn9dmP39cdn7w63GMtZxwdv+/2vBM
 eMWE2L1TBgl0EKahZ18Qw=
 -----END SSH SIGNATURE-----

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+BmrEOeAUCZ8eo6wAKCRDorT+BmrEO
# eD0rAJ9SRD7zzUKLmewavtzFbwp+MZWfUACbBJG1dCQKBV9xPOSSb7zem7FrJSo=
# =B9Fi
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:15 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Nina Chen (8) and others
# Via Android Build Coastguard Worker (20) and others
* tag 'android-15.0.0_r20':
  Update SELinux error
  modem_svc: move shared_modem_platform related sepolicy to gs-common
  Update SELinux error
  Revert "modem_svc: move shared_modem_platform related sepolicy t..."
  modem_svc: move shared_modem_platform related sepolicy to gs-common
  Update SELinux error
  Update SELinux error
  Update SELinux error
  Update ldaf sensor device filename
  sepolicy: allow dump_power to read debugfs
  Remove cgroup_desc_file bugs.
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  Update SELinux error
  Update SELinux error
  sepolicy: allow dumpstate to execute dump_power
  Remove duplicate service entries
  Update SELinux error
  Update SELinux error

 Conflicts:
	sepolicy/gs101-sepolicy.mk

Change-Id: I3ea518841f39386f17433e0a2cf48a9438166fd4
2025-03-09 11:07:04 +02:00
Michael Bestas
1382844ae3 Android 15.0.0 Release 20 (BP1A.250305.019)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo6wAKCRDorT+BmrEO
 eAiMAJwKoTVsPgds031Rdi11ZDZR0sHrUwCfQiM0q3/561pqrsmmLP9YPULFyzc=
 =YB0/
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQNuEaggqmmDVT3BZ2H+rws+V6I7yxcdLQgEHNCxkO+mTy5pdke7GXeL/liuaiDYVOF
 /P6D6ymiRzH14f8J6JEgc=
 -----END SSH SIGNATURE-----

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+BmrEOeAUCZ8eo6wAKCRDorT+BmrEO
# eAiMAJwKoTVsPgds031Rdi11ZDZR0sHrUwCfQiM0q3/561pqrsmmLP9YPULFyzc=
# =YB0/
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:15 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Herbert Xue (3) and others
# Via Android Build Coastguard Worker (30) and others
* tag 'android-15.0.0_r20': (30 commits)
  dump_power: add battery caretaker dump into bugreport
  update health HAL dependency
  Add sched qos support
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs101
  Clean up unnecessary data_connection_5g_plus overlay
  init: gs101: move sched rate limit to late init
  Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
  Disable Wifi BugReport for subsystem restart
  init: make pmu_poll_enable node readable
  Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
  Switch to using gs101 instead of valhall for GPU UMD
  Update ldaf sensor device filename
  dump_power: gs101: correct dump path
  Move video_codec soong config variables into board config
  dumpstate: gs101: fix dump path
  Revert "Add IGoodixFingerprintDaemon aidl interface"
  Add IGoodixFingerprintDaemon aidl interface
  Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
  Add a soong config variable for CitadelProvision
  ...

Change-Id: Id9e92997364278af84bc79ca08631451f93c2123
2025-03-09 11:06:40 +02:00
Android Build Coastguard Worker
4f22836dba Snap for 13025264 from bc8263d2ff to mainline-tzdata6-release
Change-Id: I24969d1f96f5749b1c73d0630e8b7156d5cce328
2025-02-06 14:21:01 -08:00
Android Build Coastguard Worker
ad0f4eaa6b Snap for 13025264 from 73ea462096 to mainline-tzdata6-release
Change-Id: I955a1a6da4dded86654108e666f23189cc76f626
2025-02-06 14:21:00 -08:00
Roy Luo
bc8263d2ff Merge "Add udc sysfs to udc_sysfs fs context" into main 2025-02-06 10:27:37 -08:00
Roy Luo
73ea462096 Enable usb state update via udc sysfs
Bug: 339241080
Test: tested on Oriole
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: Iab39cbc7d51f5598b70fb836b9c8863fa188f63f
2025-02-06 10:27:35 -08:00
Roy Luo
7fb2864005 usb: fix usb state path in host mode
USB_DUMMY_HCD is disabled in kernel 6.1, modify the usb state path in
host mode accordingly.

Bug: 388367091
Test: test on oriole
Flag: EXEMPT trivial bug fix
Change-Id: If85077fddcadd25d15777d4b1ff5be2a0528c253
2025-02-05 20:25:29 -08:00
Roy Luo
e61b680408 usb: migrate UsbDataSessionMonitor to libpixelusb
Use the libpixelusb version of UsbDataSessionMonitor.

Bug: 388367091
Test: test on oriole
Flag: EXEMPT CP
Change-Id: I93b74fc9bb63c260e900ee5af73e66fb1559142d
2025-02-05 20:25:29 -08:00
Roy Luo
5a75cda76d Add udc sysfs to udc_sysfs fs context
Meeded for system server to monitor usb gadget state.
Grant hal_usb_impl read access as it's needed by UsbDataSessionMonitor.
Starting at board level api 202504 due to its dependency on aosp/3337514

10956 10956 W android.hardwar: type=1400 audit(0.0:327): avc:  denied  { read } for  name="state" dev="sysfs" ino=84394 scontext=u:r:hal_usb_impl:s0 tcontext=u:object_r:sysfs_udc:s0 tclass=file permissive=0

Bug: 339241080
Test: tested on Oriole
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: Iac9384cc81090d71e0cda8a6ba83476af865fe33
2025-02-05 11:32:57 -08:00
Nina Chen
2f510558b1 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 394433509
FLag: EXEMPT bugfix
Change-Id: If192082b7d675bb41d91bf4eaf727d43b8df54a7
2025-02-04 18:56:53 -08:00
Masha Chizhova
b70d478bfb Use 2025-03-01 deqp level for GLES
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: I474efd47391012424cba1e3e3549da00b23a4753
2025-02-03 11:24:38 +00:00
Masha Chizhova
9b7a38fb7b Use 2025-03-01 deqp levels for Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: Ib63b918fd1c67d4bfd751624f435d8a02798c2ac
2025-01-31 10:54:31 +00:00
Priyanka Advani (xWF)
2306f2cd7f Revert "Use 2025-03-01 deqp levels for GLES and Vulkan"
Revert submission 31488081-deqp-2025-03-01

Reason for revert: Droidmonitor created revert due to b/393355394. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:31488081-deqp-2025-03-01

Change-Id: I054aaf0583ab9d4976514ac46917b661a494e186
2025-01-30 10:53:08 -08:00
Masha Chizhova
ada24418c9 Use 2025-03-01 deqp levels for GLES and Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: Ib67709eee81a5519c3f0c0b42b4625472f54a881
2025-01-29 18:21:09 +00:00
yixuanwang
503ffc6d56 Remove chre vendor_data_file from tracking denials bug map
Flag: EXEMPT remove bug map only
Bug: 301948771
Test: presubmit
Change-Id: I1a41fc646cb337c28d100af31138e5cdf7726cf7
2025-01-28 23:15:27 +00:00
Piotr Klasa
b2592019c9 move common init perf settings to gs_common
compared to ag/31352563 I did not transfer the settings for "write /sys/devices/system/cpu/cpuidle/current_governor teo", which caused the problem

Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default, verified all metrics that caused power regression in the previous commit on abtd

Bug: 335874870

Flag: EXEMPT not supported by this component yet

Change-Id: I7ad8dbd7fd2783017c5bae8181008db32b95e9b7
2025-01-23 03:36:14 -08:00
Piotr Klasa
b60a6a9f89 Revert "move common init perf settings to gs_common"
Revert submission 31215196-move_common_init_perf_settings_to_gscommon

Reason for revert: Power Regression

Reverted changes: /q/submissionid:31215196-move_common_init_perf_settings_to_gscommon
Bug: 390502171
Change-Id: I9e88aecf6ed56d1d2171d379f16f215b4a135547
2025-01-21 01:27:04 -08:00
Enzo Liao
249369ecab RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
Fix it by ag/31334770 and remove the tracking bug number.

Bug: 386149238
Flag: EXEMPT bugfix
Change-Id: Icbf1745ced50ce2a2fa8ae48598c126580aa82eb
2025-01-21 14:13:18 +08:00
Yi-Yo Chiang
210d42804b init-display-sh: Allow writing to kmsg am: 6864f9f43b am: 7ff9bca803
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3442471

Change-Id: I97ba2eaa1e1d68b3b2bfb5ea593eae57491c18e6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:43:41 -08:00
Yi-Yo Chiang
e1c9a3383e init-display-sh: Don't audit writing to kmsg am: 829c6fb863 am: 70df5492b9
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/3444579

Change-Id: I0f84fe4430931119f095c0ff6e3133855a5b2575
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:43:41 -08:00
Yi-Yo Chiang
7ff9bca803 init-display-sh: Allow writing to kmsg am: 6864f9f43b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3442471

Change-Id: I19231856243852a688eccb8a1b277e4c3fc39cda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:19:12 -08:00
Yi-Yo Chiang
70df5492b9 init-display-sh: Don't audit writing to kmsg am: 829c6fb863
Original change: https://android-review.googlesource.com/c/device/google/gs101-sepolicy/+/3444579

Change-Id: I6b7f5d20252648e8e35b85d803ae834bc5a39f74
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:19:12 -08:00
Yi-Yo Chiang
829c6fb863 init-display-sh: Don't audit writing to kmsg
modprobe would log errors to /dev/kmsg, need to explicit allow this.

```
avc:  denied  { write } for  comm="modprobe" name="kmsg" dev="tmpfs" ino=5 scontext=u:r:init-display-sh:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0
```

Bug: 388717752
Test: DeviceBootTest#SELinuxUncheckedDenialBootTest
Change-Id: I62a43416291d4d79164765004f156f2bdb69b0b5
2025-01-20 01:38:19 -08:00
Piotr Klasa
992d32e318 move common init perf settings to gs_common
Test: Verified if all values ​​of transferred settings are as they should be after rebooting the device, and and checked that there are no new selinux errors for hal_power_default
Bug: 335874870
Flag: EXEMPT not supported by this component yet

Change-Id: I7054fb3ab6f8fce9cf06c7691e8e1aea2453ca88
2025-01-16 01:38:28 -08:00
Treehugger Robot
ccf51fc02b Merge "Remove sced sepolicy rule" into main 2025-01-14 23:40:47 -08:00
Isaac Chiou
470aae4369 Enable open source multi akm for specific Broadcom project
For cross akm roaming function, we have two ways in supplicant :
1. Open source way.
2. Broadcom specific way.

Originally, Broadcom projects follow way 2 due to the limitation of the driver.
For now, we plan to move all Broadcom projects to follow way 1 to make supplicant code clean and downsteam without conflict.

For those projects which is ready for way 1, we control it to follow way 1 with WIFI_BRCM_OPEN_SOURCE_MULTI_AKM config.
For the rest of Broadcom projects, we still follow way 2 until the multiple AKMs is fully supported by driver and verified.

For ongoing Broadcom project, we also need to exercise the open source path in supplicant to do multiple AKM configuration to comply with WFA Wifi 7 AKM24 specification (b/331896542 ).

Bug: 246871098
Test: AU drop test
Test: Cross AKM roaming test
Flag: EXEMPT enable control flag for aosp akms
Change-Id: I2594e3741d5be1c055d364104639b3d55336a5a7
2025-01-14 18:42:41 -08:00
Xiaofan Jiang
e521ebbc45 gs101: update selinux to allow UMI on user build
Bug: 375335464

[   68.189198] type=1400 audit(1722986580.568:59): avc:  denied  { unlink } for  comm="binder:892_2" name="modem_svc_socket" dev="dm-52" ino=20239 scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1
[   68.189448] type=1400 audit(1722986580.568:60): avc:  denied  { create } for  comm="binder:892_2" name="modem_svc_socket" scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1
[   68.189448] type=1400 audit(1722986580.568:60): avc:  denied  { write } for  comm="binder:892_2" name="modem_svc_socket" scontext=u:r:modem_svc_sit:s0 tcontext=u:object_r:radio_vendor_data_file:s0 tclass=sock_file permissive=1


Flag: EXEMPT Critical modem system service
Change-Id: Iedda88ebf6d03ea8218ae7843a226be8021491c0
2025-01-09 19:13:05 -08:00
Spade Lee
2c0ef869df pixelstats: gs101: remove firmware update path
Bug: 386187651
Test: local test pass
Flag: EXEMPT refactor
Change-Id: I2886e26186b12ffe34df6aa559bdf66e3e8f059d
Signed-off-by: Spade Lee <spadelee@google.com>
2025-01-09 12:16:07 -08:00
Android Build Coastguard Worker
24bb9bdbea Merge cherrypicks of ['googleplex-android-review.googlesource.com/31035549'] into 25Q1-release.
Change-Id: I86eea9508a50a27fefb0346cd271e64a49836e0a
2025-01-09 11:37:51 -08:00