Skip to content

Commit

Permalink
Init: don't unmount modem firmware (fix adsp)
Browse files Browse the repository at this point in the history
* this stops ueventd from screaming in logcat for missing firmware
* it should also fix other firmware-related errors

E ueventd : firmware: could not find firmware for adsp.mdt

Signed-off-by: chickendrop89 <chickendrop89@gmail.com>
  • Loading branch information
chickendrop89 committed Jan 20, 2024
1 parent d12177d commit b9a793f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recovery/root/init.recovery.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ service unified-script /system/bin/unified-script.sh
# Set SELinux to Permissive
on early-init
write /sys/fs/selinux/enforce 0
write /proc/sys/kernel/firmware_config/force_sysfs_fallback 1

on early-fs
write /proc/sys/walt/sched_lib_name "recovery,magiskboot,Updater,updater,update_engine_sideload"
Expand All @@ -19,7 +20,6 @@ on init
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
write /proc/sys/kernel/firmware_config/force_sysfs_fallback 1

on fs
chmod 0660 /dev/qseecom
Expand All @@ -44,7 +44,6 @@ on property:twrp.modules.loaded=true
write /sys/kernel/boot_adsp/boot 1
wait /sys/class/power_supply/battery
start health-hal-2-1
umount /firmware

# Symlink Flashlight
on property:twrp.modules.loaded=true
Expand Down

0 comments on commit b9a793f

Please sign in to comment.