Compile your first custom recovery via Github Actions.
This repo comes from a long chain of forks and finally ended up with working shrp and some revamping of the workflow files to work for older android devices (tested with 9.0).
It uses github noreply account (if u dont know what that is, read the last section in notes).
If there are any issues relating the build tree info (not the workflow file config entries), feel free to open a pull request.
-
Fork this repository.
-
Go to
Action
tab >All workflows
> Pick which Build you need (TWRP or PBRP or OFRP or SHRP
) >Run workflow
, then pick required information from each drop-down list:
- Manifest Branch (*12.1, *11.0, *10.0, *9.0, *8.1, *7.1, *6.0, 4.4 only for twrp, etc.)
- Device Tree (Your device tree repository link)
- Device Tree Branch (Your device tree repository branch)
- Build Target (boot, reecovery, vendorboot)
You can use LDCHECK to get info about dependencies or drivers that are missing for encryption, and help in looking about which drivers would be needed from your root folders. You can check out the wiki (Currently WIP, planning to BoardConfig flags based on manifest-branch, ways to debug (like finding .xml files), ) where you can add a path to a LDCHECK file,, as well as your device, processor info (might make it more specific later)
- LDCHECK (path to your target binary file, ie.
system/bin/qseecomd
)- If you are building manually/locally and you want to use ldcheck for checking dependencies, visit THIS this for guide.
- Some of PBRP's branches have missing pb_build.sh files (like 9.0), so the build will fail, but you can still flash the recovery.img and it will be uploaded to releases. For the .zips, you can go to PBRP's vendor utils repo and find them there in PBRP/tools (location might wary).
- Why ubuntu-20.04 for some workflows? Because python-is-python2 is replaced with python-is-python3 past 20.04.
- If you created your account on github.com after July 18, 2017, your noreply email address for GitHub is an ID number and your username in the form of ID+USERNAME@users.noreply.github.com. If you created your account on github.com prior to July 18, 2017, and enabled Keep my email address private prior to that date, your noreply email address from GitHub is USERNAME@users.noreply.github.com. You can get an ID-based noreply email address for GitHub by selecting (or deselecting and reselecting) Keep my email address private in your email settings.
- CaptainThrowback
- azwhikaru
- cd-Crypton
- that1
- carlodandan
- And to all Contributors in every repositories and scripts I used.
- Recovery builder (derived from) and lazycodebuilder
- ZH-XiJun - android 4.4 support