Skip to content

cat658011/json_ota_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

OTA JSON Generator

A simple script to generate OTA JSON for LineageOS-based ROMs.

Usage

Step 1: Clone the Repository

git clone https://github.com/cat658011/json_ota_generator vendor/lineage/OTA

Step 2: Update the Download Link

Change the ChangeToYourOwnServer in script to your download link.

Step 3: Integrate the Script

Insert the following line into the vendor/lineage/build/tasks/bacon.mk file, prior to generating the SHA256 hash:

$(hide) ./vendor/lineage/OTA/generate_ota_json.sh $(LINEAGE_TARGET_PACKAGE)

Final Steps

Once you've made the changes, start building your ROM. The script will display a message indicating the location of the OTA JSON file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages