ThermalHAL listens genl event, so we do not need to
modify the thermal zone policy to user_space
Bug: 204718864
Test: Confirm no selinux denied log, and thermal zone policy is not changed
Change-Id: I77119d79d65902f6ce5cb632349a8cf7aec1d664
... 'This way we don't need to guess when we need to chown.'
This is Tri's change to init.gs101.rc (http://go/a-g/15447093),
applied to init.<censored>.rc.
Under some circumstances (see bug), storageproxyd needs to access
/dev/sg1 but doesn't have permission, leading to other apps
blocking on storage.
Bug: 214910469
Test: Check that steps b/214910469#comment76 no longer gets stuck
Change-Id: I9e4133b6bb9ffab1e0044a16b3582436ccf5dd44
... 'And restart it after /data is mounted.'
This is Tri's change to init.gs101.rc (http://go/a-g/15447094),
applied to init.<censored>.rc.
Bug: 187105270
Test: boot device, secure storage test com.android.storage-unittest.td
Change-Id: I226181b35c59f4882e466d2b8a839d32750e93e0
init: change file owners of sysfs nodes min_vrefresh and
idle_delay_ms in order to grant permission for hwcomposer
Bug: 213299701
Test: use the following commands
adb shell "vndservice call Exynos.HWCService 1005 i32 0 i32 30"
adb shell "vndservice call Exynos.HWCService 1006 i32 0 i32 1000"
Change-Id: I57043afd6ac08740775680505ee6f3247d56a956
No longer need this script.
Bug: 207031989
Test: boot to home, make sure all f2fs partitions are mounted
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I882084fb3a7cf1771e146d7d950ee4a5106792fe
Change local hbm node ownership to allow framework to access.
Bug: 205640231
Test: check ownership after boot
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: Iba041a9cf8672682411f2167f8677b30e5979027
Add a file "fstab.gs201-fips" alongside the existing "fstab.gs201" in
order to specify different encryption settings in FIPS mode.
"androidboot.fstab_suffix=gs201-fips" on the kernel command line will be
used to select the FIPS fstab when needed.
As the two fstabs should be otherwise identical, generate them from a
template file so that they will stay in sync.
Note that generating the fstabs requires that they be installed as build
system modules rather than via PRODUCT_COPY_FILES, which results in the
vendor_ramdisk copy of the fstabs being installed to system/etc rather
than /. This shouldn't cause any problem, now that Android has been
updated to look for the fstab in this location too.
(cherry-pick from device/google/gs101)
Test: Boot to home screen with/without fips mode
Bug: 202417706
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I8fdc1c9a91399816fa2d4c53f282d63e988ce7d5
high-group is running on CPU 6-7.
mid-group is running on CPU 4-5.
mid-high-gropu is running on CPU 4-7.
Move camera tasks to CPU 4-7 for 1 seconds when AP launch.
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 194271751
Test: GCA
Change-Id: I8e13e9ad0057b8f42f8ed3958bf0c6d58a5a02bc
Prefer high cap will choose the mid / high cores when possible with
consideration of energy efficiency.
Running task on high cores with low clock is more efficient than running
at little core with high clock.
This hint also addresses CTS issues with keeping latency_sensitive = 1.
(equivalent to prefer idle)
This hint adds:
1) Enable prefer_high_cap of camera vendor group
2) Set high_capacity_start_cpu to 4
4) Set MemFreq floor
5) Change camera-daemon/cpu.uclamp.latency_sensitive owner to root
(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 186564130
Test:
android.hardware.camera2.cts.RobustnessTest#testAeAndAfCausality (5/5)
android.hardware.cts.CameraTest#testPreviewCallback (5/5)
android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRepeatingBurst (5/5)
android.hardware.cts.CameraTest#testFocusDistances (3/6). (3/6) without CL.
*****************************************************************
raven Camera CTS Test Results
*****************************************************************
Tests Passed: 217, Failed: 0, Not found: 0, Status unknown: 0
Change-Id: Ia2abb0eb9c57fa05c4db7bf1d02053e303301781
This is not needed in device-specific init.rc file, because it's
is superseded by commit https://r.android.com/1866693.
Bug: 203720638
Test: presubmit
Change-Id: I74cfa6f3aa0c9125559f3241ed8e23f8a8510616
Changed the ownership of gc segment info sysfs nodes for Pixelstats
to access these values.
Test: check the ownership of
/dev/sys/fs/by-name/userdata/<gc_segment_mode|gc_reclaimed_segments>
Bug: 201503046
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I827538be0801cd8abc26b095df56849fd2ff141a
Currently the persist partition is formatted as ext4. In order to
convert the partition to f2fs without losing data, add a script which
will copy the partition contents out, format the partition as f2fs and
then copy the contents back.
Bug: 202511062
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I89502694d1e02261902525c11ac875dd7756721b
Fix the error log:
init : Unable to read config file 'init.gs201.usb.rc'
Bug: 196523163
Test: USB works well in Android, bootloader fastboot and
flash station
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I7a30ab93477bb3a95cb44fa6f265b5e1d432b69c
This reverts commit 5294123ac1.
We can revert this workaround since USB driver and HAL get ready
Test: USB works well in Android, bootloader, fastbootd and
flash station
Change-Id: Icfec04d22c604937b92cd892f5d429aee35e8ce9
This is to expose a common path to runtime. This is the gs201 version of the WCH change ag/15100070. It alias /dev/janeiro to /dev/edgetpu. This is a temporary measure to make /dev/edgetpu work. Once the TPU kernel driver is refactored to produce /dev/edgetpu by default, we'll remove this symlink.
Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044
Change-Id: Icc70264c0c7d20ea7b6aa43903e109d9180dd022
This partially reverts commit 28140b7240.
USB will hold a wakelock preventing suspend to happen
Bug: 188796118
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Change-Id: Idc583a025e429a5b5f13a94b732717e9491e4e55
This is a workaround to get adb working while USB is being brought up.
(cherry-pick from device/google/cloudripper)
Bug: 188672439
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ie114c1f67198a10a6c0dda49d1ed2ee85c8b2bf5
Hold wakelock on boot to mitigate b/188796118
(cherry-pick from device/google/cloudripper)
Bug: 188796118
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Ia75d355eaed0d469f791f126aaed1c0059df0abd