Skip to content

Commit

Permalink
Merge pull request #3 from kelexine/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
kelexine committed Jul 30, 2023
2 parents 254255c + b4f84b5 commit 92338b2
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/Dump.yml
Expand Up @@ -5,7 +5,7 @@ on:
DOWNLOAD_URL:
description: 'DOWNLOAD_URL'
required: true
default: 'https://mor1.androidfilehost.com/dl/W5UfOIBdwP2JoP0F_XTFDA/1690214000/4279422670115710165/%5BHovatek%5D_Tecno_KG5J_%28KG5j-H6126ABC-RGo-OP-221028V431%29.zip'
default: 'https://mva2.androidfilehost.com/dl/QZOc_Pt3uqoT1PhQUDUC_A/1690810658/4279422670115710164/%5BHovatek%5D_Tecno_KG5J_%28KG5j-H6126ABC-RGo-OP-220929V405%29.zip.zip'
DEVICE_NAME:
description: 'DEVICE_NAME'
required: true
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Prepare the environment
run: |
sudo apt install git aria2 wget tar simg2img -y
sudo apt install git aria2 wget tar simg2img python3 -y
# Add a step to download the archive that contains the files you want to publish
- name: Download Archive
Expand All @@ -54,7 +54,17 @@ jobs:
#unzips the archive
cd ${{ github.event.inputs.DIR_NAME }}
unzip -j ${{ github.event.inputs.ARCHIVE_NAME }} -d .
xz -z super.img
wget http://newandroidbook.com/tools/imjtool.tgz && tar xzvf imjtool.tgz
simg2img super.img super.ext.img
./imjtool.ELF64 super.ext.img extract
ls -lh *
mv extracted/*.img .
xz -z system_a.img
xz -z system_ext_a.img
xz -z product_a.img
xz -z vendor_a.img
rm super.ext.img
rm super.img
rm ${{ github.event.inputs.ARCHIVE_NAME }}
- name: Upload to Release
Expand Down

0 comments on commit 92338b2

Please sign in to comment.