- Install
xmlstarlet
sudo apt install xmlstarlet
,sudo pacman -S xmlstarlet
, etc. depending on your distribution.
- Install
apktool
, make sure its available in PATH- https://ibotpeaches.github.io/Apktool/install/
- Run
apktool if framework-res.apk
,apktool if SystemUIGoogle.apk
to install framework for apktool.
This is necessary for proper extracting.
(generally found in /system/framework/, /system_ext/priv-app/)
Basically the same as regular extract-files
./extract-files.sh /path/to/a/dump
- If certain overlays are not required, you can simply add them to
exclude-tag.txt
, those will be removed from the extracted overlays.
- The main changes here are the addition of
apktool
andxmlstarlet
, to allow us to extract the necessary overlays from some RROs. - Since the process does take a while, to speed it up, all extraction is done in the background.
This might not be suitable for weaker systems if there is a very high number of overlays to be extracted.