Loading process:
- rootdir/init.rc
|- /vendor/etc/init/hw/init.${ro.hardware}.rc
|- /vendor/etc/init/hw/init.${ro.hardware}.usb.rc
|- /vendor/etc/init/hw/init.wahoo.usb.rc
This CL moves init.hardware.rc, init.wahoo.usb.rc to /vendor/
etc/init/hw/, and import /vendor/etc/init/hw/init.${ro.hardware}
.usb.rc from init.hardware.rc.
Test: Build with related CLs and USB File Transfer works
Bug: 38301110
Change-Id: I4808a117994374bceac324c60cc47225a8df5970
Signed-off-by: Yueyao Zhu <yueyao@google.com>
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram
Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
This change applies uprev of configstore to init.hardware.rc and
manifest.xml
Bug: 37727469
Test: Built and tested on sailfish
Change-Id: I64930ca7dfceb66a1cf7a52b43fd378810ff8dad
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.
Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.
Also the following two make file variables need to be set:
- BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
- PRODUCT_ENFORCE_RRO_TARGETS := framework-res
Change path (to /vendor/bin) for init.*.sh, and add
path (to /vendor/etc) for fstab.* in init.hardware.rc.
Bug: 37927875
Test: These files are under /vendor instead of / or /system,
paths (in rc files) are changed to vendor accordingly,
and the resulted system/vendor images work on the device.
Change-Id: I64c8a899ab1c6837d51853e289160e35910b5b9a
Access to /sys/class/graphics/fb0/msm_fb_persist_mode is needed for light HAL.
Bug: 36660424
Test: display is going into low persistence mode in daydream
Change-Id: Ie54120ee70b2b3e4acb4d9d5f1ec1c0d75d93a81
Moving folio_daemon out of group/user of root and into group/user of
system to fix the dac_override selinux denial it was generating when
trying to access /dev/uinput
Bug: 38031432
Test: The phone boots and folio daemon encounters no denials
Change-Id: I48feab07eeffc90b73fabce46394c53a2278e5ca
Permission settings that are required by HAL services need to be moved
to early-boot to avoid race.
Bug: 38043660
Bug: 36571736
Change-Id: I1397816a162e8ef4ed557e6eea3539201dc57e3b
Signed-off-by: David Lin <dtwlin@google.com>
surfaceflinger no longer depends on vr_wm starting early, so remove it
from here.
Bug: 36051907
Test: Compiled
Change-Id: I12e5d32a7a4525da67b06d59d239cdd0948f7ec7
* changes:
init.hardware.rc: start qseecomd on fs
manifest.xml: add gatekeeper and keymaster definitions
Add sepolicies for binderized QCOM KM 3.0 and GK 1.0 HAL
device: don't use generic GK and KM HALs
device: add frp prop
Retention is leading to increased rendering time, and has not been
measured to provide any power benefit. This Cl is to remove that.
Bug: 37287554
Test: muskie boot and check retention disabled after boot
Change-Id: Id6162070220b792958dce91758660c0d2aed0195
init.rc already set cpuset to all core during boot
Bug: 36576280
Test: marlin boot fast and checked cpuset during early boot
Change-Id: Ib91275361c8f8a1744f99b2da0b2f1769f31072c
EAS v1.2 uses different search ordering in the wakeup-path. Now cores 4
and 5 will be searched first for top-app, update the cpusets accordingly:
Littles Bigs
0 1 2 3 4 5 6 7
T T T T T T T T (top-app)
F F F F F F (foreground)
S S S S (system background)
B B (background)
Bug: 36367381
Change-Id: I7f70493ff45779d1c17f19465bf3eeeb8905e05b
Signed-off-by: Joel Fernandes <joelaf@google.com>
Recent CL make VR services hard-fail (crash) on failed attempt to
create PDX sockets. Wahoo-based devices don't have socket directories
under /dev/socket/pdx/... to create those sockets, so they now crash
at boot (which includes surfaceflinger). This prevents the device from
even booting. Add init script to create those socket directories.
Also, create necessary cpusets used by VR services, similar to what
was done for marlin/sailfish (see this commit in device/google/marlin:
1cc612c4ee646e8fc6ae69e8837b9b0d0b2119ce).
Bug: 36977281
Test: `lunch walleye-eng && m -j32 && flash` - build succeeds, device boots
Change-Id: Ic458ceabb16917bcf574f6d8e2de864d41a44d96
This adds the vibrator HAL that implements the new setAmplitude and
perform(Effect) API.
Test done: vibrator_hidl_hal_test
Bug: 36782452
Change-Id: If9988434277790becb469d4dd928e75f7e6af41a
Signed-off-by: David Lin <dtwlin@google.com>
1) separate fstab mount
2) launch bootanim early
3) boottime cpuset/io tune
4) parallel slow init operations: write sysfs and insmod
After CL:
Boot time saved 330ms, bootanim triggered early before data/ mounted
Bug: 36780513
Test: walleye boots
Change-Id: I02803179746710413f4b1e2372f3550cd95d1581
Test: flash build, confirm CHRE daemon starts, SLPI does not crash, no
SELinux denials, and context hub HAL connects to it and works
normally
Change-Id: I7af26548ed6e5b0544db621468a8cb8839f878ed
Test: NFC powers up without any denials
Bug: 36686703
Change-Id: Ib33a0042c5d03d2b9ee8a02dac143da9c8c216a9
Signed-off-by: Ruchi Kandoi<kandoiruchi@google.com>