mirror of https://gitlab.com/Nanolx/NanoDroid
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.7 KiB
2.7 KiB
Table of Contents
Created by gh-md-toc
build-package
You can create snapshots from this repository using the build-package
script.
Basic Instructions
On GNU/Linux, MacOS or xBSD clone this repository and use the provided build-package
script like
download required files:
build-package pull
to download all required apks and libraries for the Full, microG and F-Droid packages
for apks downloaded from F-Droid repositories or from APK Mirror, build-package
checks the SHA256 hash.
update required files:
build-package u-microg
to update microGbuild-package u-fdroid
to update F-Droidbuild-package u-apps
to update applicationsbuild-package u-swipe
to update swipe librariesbuild-package u-gsync
to update Google Sync Adaptersbuild-package u-bromite
to update Bromite WebViewbuild-package u-osmand
to update OpenStreetMap (OsmAnd)build-package u-patch
to update Haystack patches- currently disabled as NanoDroid uses new patches from this pull request
build-package pull
to update/re-download everything
build packages:
build-package full
to create the Full packagebuild-package microg
to create the microG only packagebuild-package fdroid
to create the F-Droid only packagebuild-package patcher
to create the on-device framework-patcher packagebuild-package uninstaller
to create the uninstaller packagebuild-package bromitewebview
to create the Bromite WebView packagebuild-package osmand
for the OpenStreetMap (OsmAnd) packagebuild-package systest
to create the SysTest packagebuild-package google
to create the Google (Sync Adapters & Swipe libraries) packagebuild-package all
to create all packages at once
Additional Features
The build-package
script additionally supports the following parameters:
check
check if all files were properly downloadedreport
create a package reportclean
remove any untracked files from the repo (e. g. frombuild-package pull
)dalvik [.jar]
prepare a jar file for use with DalvikVM (requires Android SDK)ver [version] [date]
change project version (if no date is given99999999
will be used)bump
increment Magisk module version by 1
"Secret" parameters
export BP_DEBUG=1
allows seeing debug messages when repos are fetched and APKs are downloadedexport BP_USE_WGET=1
tells the script to use wget for downloading indices and APks