Commit graph

7920 commits

Author SHA1 Message Date
86a105cac1 gs201: Initialize for Evolution X 11.x
Change-Id: Iffb170290bb1742a5dc0d2809a61543d9230443f
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-07-24 04:25:04 +00:00
Michael Bestas
44b1f00e56
gs201: Remove dependency to gs101
Change-Id: Ib7613419cbfd0afa51b46fe6c7466b376c419884
2025-06-26 10:18:16 +03:00
Michael Bestas
6c7ba3f3b4
gs201: Selectively update overlays from BP2A
Change-Id: Icfa723318c46e0674772b7138e2e83b387908a29
2025-06-26 10:18:16 +03:00
Michael Bestas
240bca8703
gs201: sepolicy: Remove duplicate service label
This is defined in gs-common

Change-Id: Ib90caea46da6cc9e191efe8f04b783bba9e2691a
2025-06-26 10:18:16 +03:00
Michael Bestas
0b2a55a753
gs201: sepolicy: Update tracking denials bug map from BP2A
Change-Id: Ibdfb2fa34bc43399f944ef73f6687d8e5051a2ef
2025-06-26 10:18:16 +03:00
Michael Bestas
91d9ef719c
gs201: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 10:18:16 +03:00
Michael Bestas
ae655b64ad
gs201: Remove factory configuration
Change-Id: Ib46639b684db8f0bbd42be9ffd518e62277d63f0
2025-06-26 10:18:16 +03:00
Michael Bestas
7f5ee2c2bd
gs201: Remove SystemUI dexpreopt speed compile flags
They are already defined in vendor

Change-Id: I27097e32091d0066fc3da1a1b786e5a6ae11bc86
2025-06-26 10:18:16 +03:00
Michael Bestas
66cd589315
gs201: Include missing NFC sepolicy
Change-Id: Ic93f74e25694f19cfc23a86203c17e6f1d9be0ea
2025-06-26 10:18:16 +03:00
Michael Bestas
7c08fc8f4a
gs201: Include missing bt dump sepolicy
Change-Id: I7e16eba76b87db4c8fc45d9401ce4f2c143b6478
2025-06-26 10:18:16 +03:00
Michael Bestas
90b28f3220
gs201: Move wfc-pkt-router to gs-common
Change-Id: I922b28e1bd8dc0baece89428c0032eabde5c13dc
2025-06-26 10:18:16 +03:00
Michael Bestas
fc4584b3c0
gs201: Remove unused fingerprint configuration
Change-Id: Ifd79557c81280f9e93076bc1e6824c650ea12ed7
2025-06-26 10:18:16 +03:00
Michael Bestas
d51e6c4d8e
gs201: Remove userdebug/eng configuration
Change-Id: Ie1e8b6bbebdfac97f8bc382e41c70cc8a32caf07
2025-06-26 10:18:16 +03:00
Michael Bestas
1f8a183293
gs201: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-23 20:13:20 +03:00
Michael Bestas
3bb2507ba1
gs201: Remove CleanSpec.mk
Change-Id: I6af355cfbfd5fc388ca25cd25cea9df9e74c41c3
2025-06-23 20:07:25 +03:00
Michael Bestas
753a2de323
gs201: Bump SPL to 2025-06-05
Change-Id: I8d3f5a9479d0fddd6fa79baa3e573f00ad125e9c
2025-06-23 20:07:08 +03:00
Michael Bestas
524d623907
gs201: Update task_profiles.json from BP2A
Change-Id: I5303433e19e6e53afc0635d9a00b7467e00391cd
2025-06-23 20:06:42 +03:00
Michael Bestas
eeba278d9d
gs201: Update init scripts from BP2A
Change-Id: I9e36e0faec4860fe714c0151b3cb7f373cbcf0ea
2025-06-23 20:06:37 +03:00
Michael Bestas
6fa5514f8e
gs201: Update FCM for 16
Change-Id: If85ec83e37e9d983903aed4c6f809664fd2b293e
2025-06-23 20:06:32 +03:00
Michael Bestas
fa40a12ed9
gs201: Remove pixelstats-vendor
This does not build with the current hardware/google/pixel dependencies
so make it prebuilt.

Change-Id: Ifcbf49fb482164bd72ad0e1f05fa2d48ca2fbc98
2025-06-23 20:06:25 +03:00
Michael Bestas
59ea5d1657 aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
 eA9fAKCEH6U0VsfJnZu7EsJrm3Jf2R/79QCfS2R7cLBCbgZRnRF9NdZFLFSCmag=
 =LJEp
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQAYiKBVct1aIguY8rrkYnrpAuHwlbQCQQK+84wJW0o1CMIj5LZ7AHuGYnlweaKSRn1
 MyYXYmaRM30E8SYdiP5AA=
 -----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
# eA9fAKCEH6U0VsfJnZu7EsJrm3Jf2R/79QCfS2R7cLBCbgZRnRF9NdZFLFSCmag=
# =LJEp
# -----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 (7) and others
# Via Android Build Coastguard Worker (8) and others
* tag 'aml_tz6_351400020':
  Add udc sysfs to udc_sysfs fs context
  Remove unnecessary dontaudit rule
  Update SELinux error
  Update SELinux error
  RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
  init-display-sh: Don't audit writing to kmsg
  Remove sced sepolicy rule
  gs201: update selinux to allow UMI on user build
  Update SELinux error
  sepolicy: gs201: add genfscon wireless into sysfs_batteryinfo
  Update SELinux error
  Update SELinux error
  Update SELinux error.
  Revert "Remove hal_camera_default aconfig_storage_metadata_file ..."
  Remove hal_camera_default aconfig_storage_metadata_file bugmap
  Update SELinux error
  gs201: Add selinux permission for fth
  Update SELinux error

Change-Id: I5e1ace4f2a3d2cde00d9d851f943f679cc12906a
2025-06-23 05:20:37 +03:00
Michael Bestas
dfc9c90494 aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
 eEq+AJ9f00+1KaHwE68DPPHxM3RV+ULPOgCfVHXxoRqjXdLP0Jqjgh7m6pJw8zc=
 =Zpxs
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQG/Je+QZYsqurO8amcVIBg+a18viFE9WSjnaFBd14lrljcqYyu8S/p3MQORniJY+m/
 EoJg3yxI43e2qIVe31og8=
 -----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
# eEq+AJ9f00+1KaHwE68DPPHxM3RV+ULPOgCfVHXxoRqjXdLP0Jqjgh7m6pJw8zc=
# =Zpxs
# -----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 (10) and others
* tag 'aml_tz6_351400020': (25 commits)
  Enable usb state update via udc sysfs
  usb: support device state monitoring with internal hub enabled
  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 WIFI_FEATURE_HOSTAPD_11AX
  pixelstats: gs201: remove firmware update path
  init-display-sh: Allow writing to kmsg
  To ensure that gs201's init_dpm.sh is only built for gs201 devices.
  Revert "Disable memcg"
  Remove ResetUclamp profiles
  Update IDisplay to V13-V14
  display-dump: make display dump project-specific
  Refactor: Use googleDeviceConfig namespace in gs201 BoardConfig
  ...

Change-Id: Ib75db71bade3a1fb0a8b2b8914b34f900b9aa8fd
2025-06-23 05:20:34 +03:00
Chirayu Desai
1c6f22d547
Freeze SPL to 2025-05-05
Change-Id: I3dfa3c342582d14c1b5b89061c8a58a72dc6cbcd
2025-06-03 22:55:51 +03:00
Bruno Martins
134179699f
gs201: Migrate Lineage Health to soong_config_set
Change-Id: I2eff39e83b9673aa2989d05de65c646241ba61da
2025-05-06 09:54:30 +03:00
Oliver Scott
4f9c60dffd Implement charge limit mode
Change-Id: I61d317756ae1b985a47c23c9611396428a39045b
2025-03-31 11:58:41 +00:00
Michael Bestas
a770b611a1 Android 15.0.0 Release 20 (BP1A.250305.019)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo7QAKCRDorT+BmrEO
 eN4GAJ4zBTRmknJtiHTlKaXFFCxh6RaE0QCfVZMelWDtp9SyAoTrojuN1flREII=
 =d0db
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQNxmO/S26+jdPwxFLrSja++YIz1gQ4cw91J1RkN6PLIHlkKO/NDOnwjLZ5GsotRtiN
 T7BuuJw+LlTK/yei9/Egk=
 -----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+BmrEOeAUCZ8eo7QAKCRDorT+BmrEO
# eN4GAJ4zBTRmknJtiHTlKaXFFCxh6RaE0QCfVZMelWDtp9SyAoTrojuN1flREII=
# =d0db
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:17 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Nina Chen (9) and others
# Via Android Build Coastguard Worker (22) and others
* tag 'android-15.0.0_r20': (22 commits)
  modem_svc: move shared_modem_platform related sepolicy to gs-common
  Update SELinux error
  Allow tachyon service to make binder calls to GCA
  Update SELinux error
  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 ldaf sensor device filename
  Update SELinux error
  Update SELinux error
  sepolicy: allow dump_power to read battery_history_device
  Update SELinux error
  sepolicy: allow dump_power to read debugfs
  Remove duplicate service entries
  Revert "Update SELinux error"
  Update SELinux error
  convert-to-ext4-sh.te: use su domain instead
  modem_svc: use shared_modem_platform to replace all modem_svc_sit
  Update SELinux error
  sepolicy: allow dumpstate to execute dump_power
  ...

 Conflicts:
	sepolicy/gs201-sepolicy.mk

Change-Id: Ie0faabb66c73c2e4da10f9f8f0a65fa49e68a7dc
2025-03-09 11:06:21 +02:00
Michael Bestas
29d946776c Android 15.0.0 Release 20 (BP1A.250305.019)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo7QAKCRDorT+BmrEO
 eL2HAJ9GJqXQ084waJriZMG+pKW+8L7hAgCeLGKh/diCM8fFbNP6nFkjxriBLTQ=
 =zXv6
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQORceteeIyBdxvcJWIK/oycyapBYr5lWfd9211NCnQrRQ7c3svxenPoZdoLVtsRLXY
 q/7oUUYD4pQfpBB2PF9wA=
 -----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+BmrEOeAUCZ8eo7QAKCRDorT+BmrEO
# eL2HAJ9GJqXQ084waJriZMG+pKW+8L7hAgCeLGKh/diCM8fFbNP6nFkjxriBLTQ=
# =zXv6
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:17 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 (32) and others
* tag 'android-15.0.0_r20': (36 commits)
  Enable WIFI_FEATURE_HOSTAPD_11AX
  dump_power: add battery caretaker dump into bugreport
  [Pixel VPN] Apply reviewed default permissions
  update health HAL dependency
  Add sched qos support
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
  Change TARGET_RECOVERY_UI_LIB to use fully qualified names in gs201
  Clean up unnecessary data_connection_5g_plus overlay
  init: gs201: move sched rate limit to late init
  Add soong config use_google_qns to device/google/gs201/device.mk
  Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
  init: make pmu_poll_enable node readable
  Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
  Update ldaf sensor device filename
  dump_power: gs201: correct dump path
  Move video_codec soong config variables into board config
  Use full namespace path for BOARD_WPA_SUPPLICANT_PRIVATE_LIB
  dumpstate: gs201: fix dump path
  Revert "Add IGoodixFingerprintDaemon aidl interface"
  Add IGoodixFingerprintDaemon aidl interface
  ...

Change-Id: I10f7876808a08741e1f15c8182f82ce6fb8af513
2025-03-09 11:05:56 +02:00
Android Build Coastguard Worker
dca6e8d7af Snap for 13025264 from 427a3262f1 to mainline-tzdata6-release
Change-Id: Id849352971342e311dde27b992a0c216fa16358a
2025-02-06 14:21:02 -08:00
Android Build Coastguard Worker
195dfe09b7 Snap for 13025264 from bf70a639cd to mainline-tzdata6-release
Change-Id: I230c9284a7316cbe1ba2af8ee08448c345d68857
2025-02-06 14:21:01 -08:00
Roy Luo
427a3262f1 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 Cheetah
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I0eac6b46677c786b505a4bd1c4f63385062bc132
2025-02-06 10:27:37 -08:00
Roy Luo
bf70a639cd Enable usb state update via udc sysfs
Bug: 339241080
Test: tested on Cheetah
Flag: android.hardware.usb.flags.enable_udc_sysfs_usb_state_update
Change-Id: I59f3409791ea1d3ded1e8a3bdd2fcafeaa7f9a43
2025-02-06 10:27:37 -08:00
Roy Luo
a65353e33b usb: support device state monitoring with internal hub enabled
When internal hub is enabled, monitor the downstream ports of the
internal hub. Switch back to the root hub once the hub is disabled.

Bug: 388367091
Bug: 377782468
Test: test on t6pro
Flag: EXEMPT bug fix
Change-Id: I6ac7f411d5d58d719e05402a7d7e5f2543fe2062
2025-02-05 20:25:53 -08:00
Roy Luo
c9aaa3a747 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 cheetah
Flag: EXEMPT trivial bug fix
Change-Id: Iaf87b2698a52656790b839f4090d69fcc226053a
2025-02-05 20:25:53 -08:00
Roy Luo
3073fb95af usb: migrate UsbDataSessionMonitor to libpixelusb
Use the libpixelusb version of UsbDataSessionMonitor.

Bug: 388367091
Test: test on cheetah
Flag: EXEMPT CP
Change-Id: I93b74fc9bb63c260e900ee5af73e66fb1559142d
2025-02-05 20:25:53 -08:00
Nina Chen
768c29c450 Remove unnecessary dontaudit rule
Bug: 393978045
Flag: EXEMPT bugfix
Change-Id: I183b9ddd7ed94b9094ae5b2e662d3725185d36dd
2025-02-03 19:30:32 +08:00
Masha Chizhova
27d2945360 Use 2025-03-01 deqp level for GLES
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: I08f0af75ac8b57222deff8ef88960082e6b6631e
2025-02-03 11:03:45 +00:00
Nina Chen
aea9d5c165 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 393978045
Flag: EXEMPT bugfix
Change-Id: Ia4d6c8c4bed73a687e7d1f0e35ead3b457810dea
2025-02-02 23:31:44 -08:00
Nina Chen
fee2572957 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 393956479
Flag: EXEMPT bugfix
Change-Id: I4c6257c1e1816f992053654f29c55ddecdbadb4c
2025-02-02 19:32:08 -08:00
Masha Chizhova
de3388502d Use 2025-03-01 deqp levels for Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: I2363141207673fb6f3a245f40065ab2938cc38c8
2025-01-31 11:39:43 +00:00
Priyanka Advani (xWF)
effb0f85b2 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: I4d09a125db5b5fdcdb1c22d27da510f8d8945870
2025-01-30 10:53:10 -08:00
Masha Chizhova
07898b75d8 Use 2025-03-01 deqp levels for GLES and Vulkan
Bug: 392805030
Flag: EXEMPT version updates
Change-Id: I9b717e9785c7cf7d9fc05dd54d52a60109853bd9
2025-01-29 18:21:49 +00:00
Piotr Klasa
9668f01a21 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: I1a02046901f33f3a45f5dfda1568275503ae9c22
2025-01-23 03:36:23 -08:00
Piotr Klasa
ef8acb1d89 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: Iaa850d2793ec0fd3131f9c27af4d7448a4ea90eb
2025-01-21 01:27:04 -08:00
Enzo Liao
b3796e625d RamdumpService: Fix the SELinux errors from introducing Firebase Analytics.
Fix it by ag/31334770 and remove the tracking bug number.

Bug: 386148928
Flag: EXEMPT bugfix
Change-Id: Ia3dcc3eca550b8317101bbf1d0b3ddbaa8afb234
2025-01-21 14:15:57 +08:00
Yi-Yo Chiang
4f8e58d6c3 init-display-sh: Don't audit writing to kmsg am: 50f433731d am: bea0f029c2
Original change: https://android-review.googlesource.com/c/device/google/gs201-sepolicy/+/3444145

Change-Id: If45f455ca30ddcdf3a474605fd7da1b181926a4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-20 21:43:42 -08:00
Yi-Yo Chiang
d1e8b04c5d init-display-sh: Allow writing to kmsg am: 840c1c9e2f am: 51bcffcce8
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3442472

Change-Id: I50a3ad723fdd55964c69d7f70b4f5a449865d04c
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
bea0f029c2 init-display-sh: Don't audit writing to kmsg am: 50f433731d
Original change: https://android-review.googlesource.com/c/device/google/gs201-sepolicy/+/3444145

Change-Id: Ia1f1d860681badbbfd801f8f91be8da80eadac37
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
51bcffcce8 init-display-sh: Allow writing to kmsg am: 840c1c9e2f
Original change: https://android-review.googlesource.com/c/device/google/gs201/+/3442472

Change-Id: I87201721e71343f2a7a09edbc2748127e15539cf
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
50f433731d 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: Iaf1157a925e480ec3c8cdd00573f3d0a4ead355b
2025-01-20 01:37:20 -08:00
Piotr Klasa
987a1e0a99 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: I4b5ac2fb09533a87cf8dda9f2364d1fe8ab9acc9
2025-01-16 01:38:28 -08:00