In hostapd, there have hostapd.android.rc and make /data/vendor/wifi
with permission 770 when the device boots up.
It will overwrite the permission from slider specific rc,
which makes this folder without "+x" permission.
In order to make Pixel Logger can write config files in this folder.
This change will make sure "/data/vendor/wifi" have +x permission
Bug: 159650456
Test: wifi is workable
data/vendor/wifi with 771 permission
Change-Id: I5b396fc41a4eddefc04d43f8e3d276787d722726
Set the permission for the two dma heap.
They are used for mmap audio in exclusive mode.
/dev/dma_heap/aaudio_playback_heap
/dev/dma_heap/aaudio_capture_heap
Bug: 165737390
Test: make
Change-Id: Ie8d35d59fb3bde10915dd0e0746852849acbad8c
For the 1st boot with efs erased, we need to relabel efs first to chown
for rfsd and cbd to access.
Bug: 184221482
Test: Check rfsd and cbd could access efs w/wo erasing.
Change-Id: Ib186cf5c9375ebef177081a612d5486c35fc20f4
Changed the ownership of compression sysfs nodes for Pixelstats to reset
these values after reading them.
Test: check the ownership of /dev/sys/fs/by-name/userdata/compr_*
Bug: 173399386
Bug: 170789472
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I25bd80fb4b3db855de3c536084cf4b3c14bc8d74
Give dimming_on node sutiable permission to allow
hwcomposer to set dimming_on to display driver.
Bug: 177141990
test: check file node permission
Change-Id: I1f78b77884d619f1e48a63ac11c4201089010a0d
Bug: 183174452
Test: run ./system/update_engine/scripts/update_device.py path/to/oriole-ota-*.zip
exit with status 0
Change-Id: I21a1cfcdf29eae1e06ed922cc44c1ff5b2916144
Set /dev/acd-audio_dcdoff_ref as 0660 system audio
crw-rw---- 1 system audio u:object_r:aoc_device:s0 500, 29 2021-03-18 22:19 /dev/acd-audio_dcdoff_ref
Bug: 180984363
Bug: 165719427
Test: make -j128
Test: ls -alZ /dev/acd-audio_dcdoff_ref
Change-Id: I4720349eccd5e3b797ff8e964329fe6352d5bba0
We found the '-X' of chmod may not work properly.
Add chmod 0771 command to make sure the camera calibration folders have
right permission.
impact folders:
1. /mnt/vendor/persist/camera
2. /mnt/vendor/persist/camera/OTP_calibration
3. /mnt/vendor/persist/camera/pdaf_calibration_data
4. /mnt/vendor/persist/camera/rear
Test: build pass, gca
Bug: 181520309
Change-Id: Ib43b457764d0a700cd6fe413f07731621fa6753c
Route a debug system property to a persist system property to control
the touch driver attribute file glove_mode.
0: default sensitivity mode (default)
1: high sensitivity mode
Bug: 173330977
Bug: 174189638
Bug: 174191024
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Ia54ea2b84340c34943809373b87c31604d2ae478
Certain vendor kernel modules were previously stored in the vendor
partition. With this change, we create a new separate partition named
vendor_dlkm for these vendor modules.
Bug: 173653839
Change-Id: I1fc887bdfac958d3a65fb48a4bf7a398e756733e
Revert of the following changes:
I70af757f5 conf: change a group about dma_heap for video codec
Id4fc2f04b uses dmabufheap on codec2
I090f0491f disable to use BLOB allocator
Bug: 182312949
Test: boot without DMABUF failures
Change-Id: Ibeb05a1341c15a206b8c1d2b9c9765769f6472e1
Turned off slice_idling during booting to increase total throughput
for faster boot time.
Test: cat /sys/block/sda/queue/iosched/slice_idle
Bug: 171739280
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: Id6bb4af2582f40557afaa69c72fdf20d036da4cd
This path cannot be used by camera HAL because it would be a
Treble violation.
Bug: 181300165
Test: build, boot, camera preview on a gs101 device
Change-Id: I90f81b5c50e61c501c5f509814368189562a4256
The path "/data/log/abox" violates Android treble rule. Pixel uses
google audio HAL but not vendor one. Remove the path.
Bug: 177186257
Change-Id: Ie53be71f31e0d673592457b88304136d4d616780
Certain vendor kernel modules were previously stored in the vendor
partition. With this change, we create a new separate partition named
vendor_dlkm for these vendor modules.
Bug: 173653839
Change-Id: I6e3b20ada58ffea05de3df8e7eae9fc59a6019e0
Make better use of the new hardware by using wrapped keys via the KDN
(Key Distribution Network), rather than standard keys. Wrapped keys are
slightly better protected against being compromised.
When this change is submitted, a factory reset will be required.
Bug: 149360056
Test: Booted Android and verified via the kernel log and
'dmctl table userdata' that both FBE and metadata encryption are
using wrapped keys. Also ran vts_kernel_encryption_test.
Also storage-qa and reboot stress testing (b/178650615).
Change-Id: Iab6f4199306de02b5846062e7499783b7aedf901
These devices will only use UFS, so remove the emmc and sdboot fstab
files which are unused and outdated.
Bug: 181883233
Change-Id: Ia94682eecca4d792c2a50d2336cd6a542ed282db
Give atc nodes sutiable permission to allow hwcomposer to set
atc config to display driver.
Bug: 168848203
test: check file node permission
Change-Id: I6b1b90d0951aa844d19bd68b9020e501d0e359de