Menu

Tree [fd8283] master /
 History

HTTPS access


File Date Author Commit
 .github 2021-05-18 Alex Marcel Alex Marcel [581d30] Add config to add extra arguments to url2GSI.sh...
 .git-ftp-include 2021-05-18 Alex Marcel Alex Marcel [02d23c] First Commit
 README.md 2021-05-18 Alex Marcel Alex Marcel [581d30] Add config to add extra arguments to url2GSI.sh...
 config.env 2021-05-18 rohan338 rohan338 [fd8283] Update config.env

Read Me

Port OEM ROMs to project treble using github actions and ErfanGSIs then upload to sourceforge.

Requirements

  • A little understanding on how to use ErfanGSIs tool.
  • A SourceForge account and project.
  • A little understanding on how SourceForge works and how to use it with sftp.

How To Use

  • Fork the repo.
  • Setup ErfanGSIs configuration in config.env. See ErfanGSIs Configuration.
  • Setup SourceForge credentials in github secrets. See SourceForge Configuration.
  • Go to actions tab, enable workflows.
  • Go to Actions tab again, click and run workflow manually.
  • It should take around 30 minutes, 1 hour to succesfully build and upload your builds to sourceforge.com.

How to update

  • Change ErfanGSIs configuration in config.env. ErfanGSIs Configuration.
  • Go to actions tab, click and run workflow manually.
  • It should take around 30 minutes, 1 hour to succesfully build and upload your builds to sourceforge.com.

ErfanGSIs Configuration

All the settings for Erfan's tool is available by editing the config.env file.

Name Description
TOOL_REPO Repository from where to clone ErfanGSIs tool. Only change this if you are using a custom one.
URL Firmware download link or path on the repo.
FIRMWARE_TYPE Firmware type (eg: Pixel).
OUTPUT_TYPE Build type. Can be: "all" to build AB and AOnly; "ab" to build just AB; "a" to build just AOnly.
SOURCEFORGE_DIR The directory on sourceforge. See: https://sourceforge.net/p/forge/documentation/SFTP/#for-managing-file-releases
EXTRA_ARGS Extra arguments to pass to url2GSI.sh script.

SourceForge Configuration

In order to connect to source forge you need some extra configuration variables in your repo secrets. See here.

Name Description
USERNAME your SourceForge username.
PASSWORD your SourceForge password.

Donate

Remember that all the credits for the gsi porting tool belong to Erfan so if your GSI booted succesfully all of this is because of him. But if you wish to thank me for creating this github workflow and you find it helpfull you can also help me with a donation.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.