hiphi: recovery/root: Load ADSP firmware

* Required for USB to work properly

Co-authored-by: Andrew Hexen <SyberHexen@gmail.com>
Co-authored-by: Captain Throwback <captainthrowback@hotmail.com>
Co-authored-by: nebrassy <nebras30@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
s4704 2023-04-24 21:42:28 +03:00 committed by 7Soldier
commit a0da322eab
2 changed files with 18 additions and 0 deletions

View file

@ -32,6 +32,10 @@ on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
# Load ADSP firmware for PMIC
start runatboot
wait /sys/class/power_supply/battery
on post-fs
start boot-hal-1-2
@ -44,3 +48,10 @@ service set_permissive /system/bin/set_permissive.sh
disabled
oneshot
seclabel u:r:recovery:s0
service runatboot /system/bin/runatboot.sh
user root
group root
disabled
oneshot
seclabel u:r:recovery:s0