Closed stylemessiah closed 2 years ago
issuing: i=grep -lr 'security.wsm' /vendor/etc/vintf && [ ! -z $i ] && sed -i "$((awk '/security.wsm/ {print FNR}' $i-1)),/<\/hal>/d" $i
grep -lr 'security.wsm' /vendor/etc/vintf
awk '/security.wsm/ {print FNR}' $i
ends with sed: no temp file error
since i dont understand what the line is trying to do, ive no way of knowing if its completed successfully and just throwing up a non critical error
Resolved...looked like with adb shell opened from PC while booted despite having a root shell /vendor was still read-only
Rebooted to TWRP, ticked vendor and ran the command
Rebooted
issuing: i=
grep -lr 'security.wsm' /vendor/etc/vintf
&& [ ! -z $i ] && sed -i "$((awk '/security.wsm/ {print FNR}' $i
-1)),/<\/hal>/d" $iends with sed: no temp file error
since i dont understand what the line is trying to do, ive no way of knowing if its completed successfully and just throwing up a non critical error