Commit graph

458 commits

Author SHA1 Message Date
Petri Gynther
e951022d5b Remove extra copy of fstab.gs101
vendor_ramdisk.img is assembled from two directories:
$(PRODUCT_OUT)/vendor_ramdisk
$(PRODUCT_OUT)/recovery/root

Eliminate extra copy of fstab.gs101, so that there are no duplicate
files in vendor_ramdisk.img. This is a must-have for toybox cpio,
which is used to extract the archive in kernel build (build/build.sh).

Bug: 182309216
Test: build + inspect vendor_ramdisk.img
Test: prebuilts/build-tools/path/linux-x86/cpio -id
Test: verify install + boot to home + boot to recovery
Change-Id: Ib7c5e9d2535e97945fb90b1e749e2bb33b75329b
2021-03-09 16:09:13 -08:00
Benjamin Schwartz
0d6392efa6 Remove power stats HAL 1.0 service
Bug: 179527556
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: device boot and examined logs to make sure no errors related to
missing power stats 1.0

Change-Id: Ib8cc394f9968edaf948a2d9700e9f7fcaa5b9dc0
2021-03-09 10:27:55 -08:00
TreeHugger Robot
d287e223f4 Merge "gs101: Use FUSE passthrough by default" into sc-dev 2021-03-09 14:55:44 +00:00
Eric Biggers
93b740b0b0 gs101: remove unused fstabs for eMMC storage
These devices will only use UFS, so remove the emmc and sdboot fstab
files which are unused and outdated.

Bug: 181883233
Change-Id: Ia94682eecca4d792c2a50d2336cd6a542ed282db
2021-03-08 10:17:55 -08:00
Eric Biggers
3014832d9a gs101: remove unneeded crypto properties
It is unnessary to set ro.crypto.dm_default_key.options_format.version=2
or ro.crypto.volume.filenames_mode=aes-256-cts on devices with
PRODUCT_SHIPPING_API_LEVEL >= 30, since in that case these settings are
already the default.

Bug: 181883233
Change-Id: I4da3ce857a45c479e5efcee481f74031093234d8
2021-03-08 10:17:55 -08:00
Alessio Balsini
eb39490266 gs101: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the P21 device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2021-03-08 12:05:36 +00:00
Zhijun He
b14c4e1920 camera: add more camera permissions
Bug: 182043664
Test: CTS
Change-Id: Ibc4d7300c81e9826ccaf6900d8a847a8192d1823
2021-03-07 23:44:26 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00