what's the diffirent to its predecessor? This is a workaround so it can work also by logging in with devspace and check your build in there. Workfolder will be the same as in the base projects i use in workflow
Editing my code that make loopholes in devspace is prohibited, I will only allow changes in input default,what to pull in the in your build like .img .zip .json (pull.sh) and how you want to upload your files (upload.sh) default upload is in github repo release page where this action is running (file for upload is .zip and the recovery image you can adjust the pull.sh if you want to pull boot.img and other files)
foss.crave.io account
- Download crave.conf from API Keys of foss.crave.io dashboard
- Fork this repo
- Create a Personal access tokens (classic) https://github.com/settings/tokens Check all options except with the delete options, its your choice how to long you want the code to work, you can update it afterward on GH_TOKEN everytime it expire or you can choose no expiration
- after doing that you will get like
- save it for later
- Now Go to (repo) Settings -> Security -> Secrets and Variables -> Actions
- Create a Repository Secret called CONF, copy whole code from crave.conf and paste it
- Create a Repository Secret called GH_TOKEN, now paste the code you get in Personal access tokens (classic) you save earlier
- Follow the above steps
- On the top menu bar of the repository, click on Actions
- Self-Hosted Runner -> New Runner
- Created Seperate Action to Setup runner, just input the command
- These are the projects everyone can build, with a foss.crave.io account
- These are the ones officially added
- This is only for when you are initializing another ROM. When doing this, ensure you are initializing on top of closest cousin base project
- Don't initialize android 14 on top of android 13 projects
- Incase you are building more that 2 android 14 projects and you want to keep projects intact without deleting them, you can use other base project to work with, i prebuild it do delete a folder in prebuilt folder so sync wont have a problem
- When we resync another ROM on top, we are bound to get "cannot checkout" errors. To fix this, we add that folder to the Removals tab
- Add a space after .repo/local_manifests and add these folders. Don't change if you don't need to
- Here you enter the git repo and branch for your local manifests, containing device specific repositories. These will be cloned to .repo/local_manifests
- Enter the device codename you want to build for inside DEVICE_NAME
- Enter the makefile name(without the .mk) inside MAKEFILE_NAME
- e.g lineage_h872
- eg. m updatepackage, mka bacon, make recoveryimage
- Choose the build type
-
user: Limited access; suited for production
-
userdebug: Like user but with root access and debug capability; very close to production performance
-
eng: Development configuration with faster build time; most suited for day-to-day development
If you need to delete folder or do git clone or any command you need to run after repo sync eg.
rf device/lge/msm8996-common;git clone https://github.com/xc112lg/android_device_lge_msm8996-common -b evo4 device/lge/msm8996-common
- Uses fresh Base Project sources without any of our changes(use only for testing/debugging)
- Selecting Yes here will reset the data to its default state removing any of your work, Ask in discord if you dont understand this option, If i see builders spamming yes on this option i will cancel their build
- Since there is 4 base projects that can be use, i suggest only maintain 4 diffirent roms to work with only, my script is prebuilt to work on any project if you every build any roms, eg. crdroid bananadroid evox
- You Tell Me :)
- For scheduled builds, it's better to remove the workflow dispatch stuff.
- This Repo is a spiritual successor to azwhikaru's Action-TWRP-Builder
- AntoninoScordino sounddrill31 Cause im too lazy to make my own readme and their idea how to build the workflow
- azwhikaru's Action-TWRP-Builder Which sounddrill31 use as reference
- Other contributors
- The crave team for the build servers and helping us out when we get stuck
- And OpenAi for help whomever it steals the code without crediting them XD
- Work of xc112lg (re H872) discord https://discord.gg/7XUGszkVHz / xc112@xda