I am not sure if this is supposed to happen when i run these commands for the Galaxy Watch devices support
Since i haven't bought one yet i can't test it, but looking at the results it looks not as expected.
$ su
$ mount -o remount,rw /vendor
$ for i in `grep -lr 'security.wsm' /vendor/etc/vintf`; do [ ! -z $i ] && sed -i "$((`awk '/security.wsm/ {print FNR}' $i`-1)),/<\/hal>/d" $i; done
$ mount -o remount,ro /vendor
Before running script:
for i in grep -lr 'security.wsm' /vendor/etc/vintf; do echo $i;done
/vendor/etc/vintf/manifest.xml
I am not sure if this is supposed to happen when i run these commands for the Galaxy Watch devices support Since i haven't bought one yet i can't test it, but looking at the results it looks not as expected.
Before running script: for i in
grep -lr 'security.wsm' /vendor/etc/vintf
; do echo $i;done /vendor/etc/vintf/manifest.xmlgrep 'vendor.samsung.hardware' /vendor/etc/vintf/manifest.xml
After running the script it seems the line is removed grep 'vendor.samsung.hardware' /vendor/etc/vintf/manifest.xml