This file format is used to define the properties and configurations for tracks, typically in custom software installations or modules. Below is a detailed explanation of each field within the track.json
file, with properties marked as required.
.json
.yaml
(recommended for specific root solutions)
The following fields are required for the track to be valid and functional:
id
update_to
source
enable
A unique identifier for the track. This helps differentiate between various tracks.
id: "unique-track-id"
A flag to enable or disable the track. Set to true
to enable the track.
enable: true
Indicates whether the track has been verified.
verified: true
The version to which the track should be updated.
For those modules that provide updateJson.
id: zygisk_lsposed
update_to: https://lsposed.github.io/LSPosed/release/zygisk.json
license: GPL-3.0
update_to
requires a relative directory of local.
id: zygisk_lsposed
update_to: zygisk.json
license: GPL-3.0
For those have a same url to release new modules.
id: zygisk_lsposed
update_to: https://github.com/LSPosed/LSPosed/releases/download/v1.8.6/LSPosed-v1.8.6-6712-zygisk-release.zip
license: GPL-3.0
changelog: https://lsposed.github.io/LSPosed/release/changelog.md
For those we can get module by packaging all files in the repository
id: busybox-ndk
update_to: https://github.com/Magisk-Modules-Repo/busybox-ndk.git
update_to
and changelog requires a relative directory of local.
id: zygisk_lsposed
update_to: LSPosed-v1.8.6-6712-zygisk-release.zip
license: GPL-3.0
changelog: changelog.md
A string that contains details of the updates or changes made to the track.
changelog: "Bug fixes and performance improvements."
The license under which the track is released (e.g., GPL, MIT, etc.).
license: "MIT"
A URL to the official homepage for the track.
homepage: "https://example.com"
The URL or path to the source code repository for the track.
source: "https://github.com/owner/track-source"
The URL or contact information for support related to the track.
support: "https://github.com/owner/project/issues"
A URL to the donation page for supporting the track.
donate: "https://example.com/donate"
The maximum number of users or instances the track can handle.
max_num: 100
The maximum supported API level for the track.
maxApi: 30
The minimum required API level for the track to function.
minApi: 21
The primary category the track belongs to.
category: "Utility"
A list of additional categories the track can be classified under.
categories:
- "Tools"
- "Performance"
The URL or path to an icon image for the track.
icon: "https://example.com/icon.png"
The URL or path to a cover image for the track.
cover: "https://example.com/cover.png"
A list of URLs or paths to screenshots of the track.
screenshots:
- "https://example.com/screenshot1.png"
- "https://example.com/screenshot2.png"
A URL to the README file, which contains details about the track.
readme: "https://github.com/owner/project#readme"
A list of dependencies or other tracks that the current track requires.
require:
- "track1"
- "track2"
Additional notes about the track, with optional color
, title
, and message
.
note:
color: "red"
title: "Important Update"
message: "This track requires an update to version 2.0."
Flags indicating which features the track supports:
features:
service: true
post_fs_data: true
resetprop: true
sepolicy: true
zygisk: true
apks: true
webroot: true
post_mount: true
boot_completed: true
modconf: true
Configurations for different package managers required for the track, such as Magisk, KernelSU, etc. Each entry defines:
min
: The minimum version of the manager required.devices
: A list of supported devices.arch
: A list of supported architectures.require
: Additional dependencies for the specific manager.
manager:
magisk:
min: 25200
devices:
- "device1"
arch:
- "arm64-v8a"
require:
- "module1"
kernelsu:
min: 10000
devices:
- "device2"
arch:
- "x86_64"
require:
- "module2"
A list of anti-features, specifying features that the track intentionally does not support.
antifeatures:
- "feature1"
- "feature2"
Configuration options for the track, such as archive compression and remote metadata handling.
options:
archive:
compression: "gzip"
disableRemoteMetadata: true
A list of device architectures that the track supports. This is typically defined by the CPU architecture.
arch:
- "arm64-v8a"
- "x86_64"
A list of supported device model IDs for the track. This helps to limit compatibility to specific devices.
devices:
- "SM-A705FN"
- "SM-G960F"