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
modprobe would log errors to /dev/kmsg, need to explicit allow this.
Bug: 388717752
Test: DeviceBootTest#SELinuxUncheckedDenialBootTest
Change-Id: I142a20b0af9008956ad2325caef70e85b1463f41
For multi-window foreground app group.
Bug: 200769420
Change-Id: I2d9cd9d90e9011593c53facf5fd47a4414e3f1cf
Test: build pass
Flag: NONE vendor init file does not support flag
Bug: 335874870
Test: Checked that permissions and values for all affected files are correct (ls -l, cat)
Flag: EXEMPT not supported by this component yet
Change-Id: I018b7b564bcc533212d2ada0dda85678c41feead
Add task profiles and set permissions.
Bug: 355612114
Flag: NONE init rc file does not support flag
Test: build pass
Change-Id: I04d2f7af89fe3b1425962a5a5ab01e42f09fc19d
Since pixel performance has a shared configuration,
we need to move override values into late init.
Bug: 381100494
Test: Boot
Flag: EXEMPT bug fix
Change-Id: Ia0ec769ff8996d66a4355f20de884fcb05728c3f
LDAF sensor device filename changed after kernel upgrade
from v5.10 to v6.1 in some of our in-market devices.
We need to update the device filename to access the LDAF
with this new kernel version.
Bug: 378045567
Test: Open camera, and observe available LDAF sensor in logs
Flag: EXEMPT bugfix
Change-Id: I9ecdeb73e6787409e02eae3c699d2d9817249bc4
On userdebug & eng builds, change permission of SJTAG writable sysfs files that need to be written to 'system'. This became necessary after HSUM separated main user from the SYSTEM user
Bug: 374645181
Flag: EXEMPT bugfix
Test: Ensure that there is "Privileged Debugging" item in BetterBug settings.
Signed-off-by: Kostya Yarmash <kyarmash@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cfde8e50cc66c22ca44da58f4a35c0b3e055646f)
Change-Id: I12857abcb94b4a7e6a068ea712c7f21c3de205ff
The I/O scheduler was changed to mq-deadline in ag/29073420,
making the previous BFQ configuration obsolete.
This commit removes the following lines which no longer
have any effect.
Bug: 186902601
Test: forrest build
Change-Id: I5d662e9762809f2d0598a7e980ef0468ac8aff38
Bug: 347122505
Test: check the priority and latency of input thread in Perffeto
Flag: NONE early device setting updates
Change-Id: Ia05fc4592ebe3946a52e10e435bc8f8cef7becc9
The mq-deadline I/O scheduler is more stable than BFQ. Additionally, the
boot time is shorter with the mq-deadline I/O scheduler. It only changes the scheduler on new kernel.
Bug: 186902601
Test: forrest build
Change-Id: I5d336b3f146ca673c83c03304773d0ccf4c01e77
Signed-off-by: Ocean Chen <oceanchen@google.com>
system/core/init/init.cpp SetUsbController picks the first udc device if
there're multiple udc devices present on the system to populate
sys.usb.controller system property.
CONFIG_USB_DUMMY_HCD enabled in kernel-5.10 GKI would introduce a
dummy udc device named "dummy_udc.0". Depends on timing, the dummy
device might be picked up by the init process and incorrectly populate
sys.usb.controller.
This issue only applies to devices on kernel-5.10 GKI, the WAR is to
overwrite the sysprop if it's incorrectly populated by the dummy udc.
Bug: 333778731
Test: tested on Cheetah
Flag: EXEMPT bugfix
Change-Id: I7555dda7f0bb436200ef7cd8a46b785232187cfd
Remove irrelevant copy and paste content. None of the gs201
devices ever included these services and these sockets are
not doing anything.
Bug: 234559097
Test: presubmit
Flag: EXEMPT dead code removal
Change-Id: I60698b026c2e456296943adc8c2a2f03fe3dd867
move the rfkill permission setting from post-fs-data to early_boot
stage because the kernel/net/rfkill/rfkill.ko may not be loaded on
post-fs-data stage and cause the permission setting failed.
Test: m
Bug: 323377234
Change-Id: Ibf3862a5e0f4554e8df5c2ed1c76d460bbd5e543
Set GPU LIGHT clk divider ratios to /2.
Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Signed-off-by: George Lee <geolee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:43d42739b57713f7e41df147e6372d1ccce6243f)
Merged-In: I4b62b33c0b72e5a053f477943379727d58f7298e
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
Set GPU LIGHT clk divider ratios to /2.
Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
Signed-off-by: George Lee <geolee@google.com>
Revert GPU clk divider ratios.
Bug: 324534203
Test: Confirm no DATA_INVALID_FAULT while running GFXBench under stress
Change-Id: I84682b476af162eff904ed5bec66ae2e6fa6449a
Signed-off-by: George Lee <geolee@google.com>
Update i2c device paths with static bus numbers.
Also remove some redundant paths.
Bug: 323447554
Test: Boot to home
Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
Setting the owner of /dev/logbuffer_cpif as system to allow the
dump_modem script to read the logs as part of bugreport
Test: Tested bugreport on device
Bug: 305600375
Change-Id: Ic7c64f942985596d9a5d919dfd3ca2127de881d0
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
After USB enumeration, some SD card readers do not send signals to the
device when the SD card is inserted or removed.
To support SD card hotplugging, this patch enables in-kernel
media-presence polling, which will check the SD card status every 2
seconds after a SD card reader is attached.
Bug: 186479576
Test: SD card insertion/removal and data copy (see b/301566595)
Change-Id: Ibd7816b717d2fbcb038a7c0ff703b7fab7d2a46c
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
Set `avb_keys=no_such_key` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel. This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Note: we are using "no_such_key" to ensure an AVB keys file doesn't
accidentally get created.
Test: Flash CI build. Then flash custom kernel on top.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
This reverts commit c13cd03ccf.
Reason for revert: Let's go through a proper security review for this.
Bug: 306264015
Change-Id: I51fe3f32f8a4ec92cb2d38869568a51dc2522bb4
Set `avb_keys=/avb` for dynamic kernel partitions to allow booting
unlocked devices with a custom kernel that is signed using a test key.
This allows a few things:
1) Dogfooders can flash a custom kernel without wiping their device.
This can help developers track down hard-to-reproduce bugs without
rolling out a patch to the whole dogfooder population.
2) Developers can uprev their device's kernel without wiping their
device or packaging the kernel with an Android platform build.
Test: flash production userdebug build, then flash custom kernel.
Bug: 274825778
Change-Id: I11edf6e50411a05c6723f7523f3672a9a8116d7a
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in init rc file and task profiles to match the change.
Bug: 289151587
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
-t com.google.android.perfwbs.pts.SchedulerTest
Change-Id: I94f17627f913e20323f9fe111a34fcc666f38a72
Change the owner and group of the DRM module debug file to system to
grant permission for hwcomposer.
Bug: 301599195
Test: check HWC can access it
Change-Id: Ife250a1a4984f94cc52bc1b3e52deeffbc5b5410
Many host applications expect and ask for lower resolution streams when
streaming from a USB webcam. To support those applications, this CL
adds support for 640x480 and 640x360 streams.
Bug: 301170431
Test: Manually tested that the resolution is advertised and streamed.
Change-Id: I0bb6e2073554de4e5ce8fe472dae6a77e69aeb54