This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
wget https://mirrorbits.lineageos.org/full/lavender/20220308/lineage-18.1-20220308-nightly-lavender-signed.zip | |
unzip lineage-18.1-20220308-nightly-lavender-signed.zip -d extracted | |
cd extracted | |
brotli -d system.new.dat.br | |
brotli -d vendor.new.dat.br | |
wget https://raw.githubusercontent.com/xpirt/sdat2img/master/sdat2img.py | |
echo "35c39baf6f7e700e4cbebf70b86d602e312e3146e58ec1e8b08c1baf046edeb9 sdat2img.py" | sha256sum -c | |
python sdat2img.py system.transfer.list system.new.dat system.img | |
python sdat2img.py vendor.transfer.list vendor.new.dat vendor.img | |
mkdir mount | |
sudo mount -o loop system.img mount/ | |
sudo mount -o loop vendor.img mount/vendor | |
sudo find . -iname recovery-from-boot.p #./mount/vendor/recovery-from-boot.p! | |
sudo find . -iname install-recovery.sh #no matches! | |
sudo umount -R mount | |
repeat with another similar target such as lmi, and you'll find both files! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment