3arthur6 / BluetoothLibraryPatcher

95 stars 9 forks source link

sed: no temp file error (magisk method) #3

Closed stylemessiah closed 2 years ago

stylemessiah commented 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

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

stylemessiah commented 2 years ago

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