34 lines
831 B
Text
34 lines
831 B
Text
#
|
|
# Copyright (C) 2024 The Android Open Source Project
|
|
# Copyright (C) 2024 SebaUbuntu's TWRP Device Tree Generator
|
|
# Copyright (C) 2019-Present A-Team Digital Solutions
|
|
# Copyright (C) 2024 sosRR
|
|
#
|
|
|
|
import /init.recovery.usb.rc
|
|
import /init.recovery.qcom_decrypt.rc
|
|
|
|
on fs
|
|
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
|
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
|
|
|
# Load kernel modules and ADSP firmware for PMIC
|
|
wait /sys/kernel/boot_adsp/boot
|
|
start runatboot
|
|
wait /sys/class/power_supply/battery
|
|
|
|
# FastbootD Touchscreen Fix
|
|
on property:init.svc.fastbootd=running
|
|
start runatboot
|
|
|
|
on post-fs
|
|
start boot-hal-1-2
|
|
|
|
on boot
|
|
start health-hal-2-1
|
|
|
|
service runatboot /system/bin/runatboot.sh
|
|
user root
|
|
group root
|
|
oneshot
|
|
seclabel u:r:recovery:s0
|