This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_oneplus_avicii-Droidx/init/init.oplus.rc
Alexander Koskovich 6ba455d610 sm8250-common: Add oplus_sensor_fb
Change-Id: I289d5e3270fe0b3e8b185b4bf22f1d9c59209f48
2022-08-19 21:59:19 +02:00

24 lines
682 B
Plaintext

#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
on boot
# Display
chown system system /dev/oplus_display
chown system system /sys/kernel/oplus_display/dimlayer_bl_en
chown system system /sys/kernel/oplus_display/dynamic_osc_clock
chown system system /sys/kernel/oplus_display/hbm
chown system system /sys/kernel/oplus_display/notify_fppress
chown system system /sys/kernel/oplus_display/panel_serial_number
# Sensors
chown system system /sys/devices/platform/soc/soc:sensor_fb/adsp_notify
service oplus_sensor_fb /odm/bin/oplus_sensor_fb
user system
group system
class late_start
oneshot