https://github.com/kinguser981/twrp-recovery-builder-2024
Github Actions TWRP Recovery Builder 2024
https://github.com/kinguser981/twrp-recovery-builder-2024
2024 action actions build builder github new recovery twrp twrp-14 with
Last synced: 14 days ago
JSON representation
Github Actions TWRP Recovery Builder 2024
- Host: GitHub
- URL: https://github.com/kinguser981/twrp-recovery-builder-2024
- Owner: kinguser981
- Created: 2024-09-06T17:50:58.000Z (8 months ago)
- Default Branch: TWRP
- Last Pushed: 2025-03-23T09:07:43.000Z (about 1 month ago)
- Last Synced: 2025-04-02T04:09:13.965Z (21 days ago)
- Topics: 2024, action, actions, build, builder, github, new, recovery, twrp, twrp-14, with
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 11
- Watchers: 1
- Forks: 91
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compile Twrp Recovery with Github Actions
```
only Supports TWRP 14 / 12.1 / 11 / 9.0
```
---

## Release Notes
```
= 2024-10-07
- fix some errors
- Optimize codes
- fix problems with vendor_boot
- fix Release issue= 2024-09-22
- Now Supports TWRP 14= 2024-09-05
- Include Recovery to tar for Samsung devices
- Include recovery installer zip
- LDCheck for checking missing dependencies.
- TWRP Allow non-Github/Gitlab remotes for device trees
- Clarify options in README
- Increase swap size for kernel inline builds
- Remove common tree input fields (not needed)
- Fix build with Omni manifests
- Update to ubuntu-20.04
- Updated to work with Android 12.1 AOSP minimal TWRP manifest
- Completely reconstruct the use logic to reduce the difficulty of use
- Optimize the parameter transfer part, now you can run multiple Workers at the same time
- TWRP compilation test passed```
-----
## Output will be like this
## Parameter Description
| Name | Description | Example |
| ------------ | -------------------- | ------------ |
| `MANIFEST_BRANCH` | Source branch | twrp-14 |
| `DEVICE_TREE_URL` | Device tree address | https://github.com/kinguser981/android_device_samsung_a05s.git |
| `DEVICE_TREE_BRANCH` | Device branch that you want to use for build (typically corresponds to the manifest branch) | android-14 |
| `DEVICE_PATH` | Device tree location for syncing, relative to workspace root (usually listed as "LOCAL_PATH" or "DEVICE_PATH" in BoardConfig.mk) | device/samsung/a05s |
| `DEVICE_NAME` | Model name (same as twrp_``.mk from device tree) | a05s |
| `DEVICE_MAKEFILE` | Name of device-specific makefile from tree (format: `_`) | twrp_a05s
| `BUILD_TARGET` | Build Target Partition (boot/recovery/vendor_boot) | recovery |
| `RECOVERY_INSTALLER` | Include recovery installer zip | Optional |
| `RECOVERY_TAR` | Recovery to tar for Samsung devices | Optional |-----
## Usage Instructions
#### 1. Click 'Fork' in the upper right corner of this repo

#### 2. After waiting for the automatic redirection, you will see your own username
## Building the Recovery
#### 3. Click on 'Actions' then Click no 'TWRP Recovery Builder 2024'

#### 4. Click 'Run workflow', choose the branch for the recovery that you want to build, and fill in according to the above 'Parameter Description'

#### 5. After filling in, click 'Run workflow' to start running-----
## Compilation results
Can be downloaded at [Release](../../releases)-----
## Reference and Credits
- https://github.com/that1
- https://github.com/TeamWin
- https://github.com/cd-Crypton
- https://github.com/azwhikaru
- And to all Contributors in every repositories and scripts I used.