Skip to content

Instantly share code, notes, and snippets.

@AndroiableDroid
Created November 10, 2020 08:25
Show Gist options
  • Save AndroiableDroid/cf5a04f80b6326c759a59be5d828434e to your computer and use it in GitHub Desktop.
Save AndroiableDroid/cf5a04f80b6326c759a59be5d828434e to your computer and use it in GitHub Desktop.
resyncapex.sh
#!/system/bin/sh
APEX_LIST=$(ls /apex/)
for APEX in ${APEX_LIST}
do
umount /apex/${APEX}
rm -rf /apex/${APEX} 2&>/dev/null
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment