Skip to content

Latest commit

 

History

History
79 lines (66 loc) · 2.97 KB

File metadata and controls

79 lines (66 loc) · 2.97 KB

Compile Twrp Recovery with Github Actions

only Supports TWRP  (twrp-14 repo is not ready yet) / 12.1 / 11 / 9.0

twrp_jpg

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_<DEVICE_NAME>.mk from device tree) a05s
DEVICE_MAKEFILE Name of device-specific makefile from tree (format: <PREFIX>_<DEVICE_NAME>) 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


Reference and Credits