RECOVERY #29
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
name: VENDOR_BOOT | |
on: | |
workflow_dispatch: | |
inputs: | |
RECOVERY_URL: | |
description: 'RECOVERY URL' | |
required: true | |
default: 'https://gitlab.com/thenoobdevs2024/android_dump_samsung_a55x/-/raw/UP1A.231005.007/vendor_boot.img' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out | |
uses: actions/checkout@v4 | |
- name: Prepare the environment | |
run: | | |
sudo apt install git wget lz4 tar openssl python3 -y | |
- name: Fetch image from URL | |
run: | | |
wget ${{ github.event.inputs.RECOVERY_URL }} | |
ls | |
pwd | |
file vendor_boot.img | |
- name: Patch Process-1 | |
run: | | |
chmod a+x script1.sh | |
chmod a+x magiskboot | |
./script1.sh || true | |
- name: Patch Process-2 | |
run: | | |
chmod a+x script2.sh | |
./script2.sh || true | |
mkdir output && cd output | |
mv ../vendor_boot-patched.img vendor_boot.img | |
tar cvf fastbootd-recovery.tar vendor_boot.img | |
- name: Upload to Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: output/fastbootd-recovery.tar | |
name: Patched-Recovery | |
tag_name: ${{ github.run_id }} | |
body: | | |
## PATCHED RECOVERY |