Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- rom_fp="$(date +%y%m%d)"
- mkdir -p release/$rom_fp/
- git clone https://github.com/aclegg2011/img2sdat.git
- cp system.img img2sdat
- cd img2sdat
- ./img2sdat.py system.img -o tmp -v 4
- cd ..
- cp img2sdat/tmp/* twrp_flashables/arm64a
- cd twrp_flashables/arm64a
- 7za a -tzip arm64a.zip *
- cp arm64a.zip ~/Android/bliss-los/release/$rom_fp/arm64a.zip
- rm -rfv img2sdat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement