VENDOR_BOOT #3
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: | |
VENDOR_BOOT_URL: | |
description: 'VENDOR_BOOT 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.VENDOR_BOOT_URL }} | |
- 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-vendor_boot.tar vendor_boot.img | |
- name: Upload to Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: output/fastbootd-vendor_boot.tar | |
name: Patched VENDOR_BOOT's Recovery Ramdisk | |
tag_name: ${{ github.run_id }} | |
body: | | |
## PATCHED VENDOR_BOOT's RECOVERY RAMDISK |