diff options
Diffstat (limited to '')
-rw-r--r-- | etc/init.recovery.service22.rc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/init.recovery.service22.rc b/etc/init.recovery.service22.rc new file mode 100644 index 000000000..43a3374b4 --- /dev/null +++ b/etc/init.recovery.service22.rc @@ -0,0 +1,11 @@ +on boot + export LD_CONFIG_FILE /sbin/ld.config.txt + +# For starting recovery on 5.0 and newer +service recovery /sbin/recovery + seclabel u:r:recovery:s0 + +# This helps fix ld.config.txt errors from the linker on Android 8.1 +service ldconfigtxt /sbin/touch /sbin/ld.config.txt + oneshot + seclabel u:r:recovery:s0 |