Skip to content

Recovery-image-patche  #69

@Edward-af

Description

@Edward-af

steps:

1. Check out the repository to access scripts

  • name: Check out repository
    uses: actions/checkout@v4

2. Fetch necessary packages

  • name: Install required packages
    run: |
    sudo apt update
    sudo apt install git wget lz4 tar openssl python3 -y

3. Download recovery image from the provided URL

4. Make patching scripts executable

  • name: Make scripts executable
    run: |
    chmod +x magiskboot
    chmod +x patcher-minimal

5. Run the patching script

  • name: Patch the recovery image
    run: ./patcher-minimal

6. Upload the patched image as an artifact

  • name: Upload patched image
    uses: actions/upload-artifact@v4
    with:
    path: ./patched-recovery.img
    name: Patched Recovery Image
    retention-days: 15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions