Created by gh-md-toc
You can create snapshots from this repository using the build-package script.
On GNU/Linux, MacOS or xBSD clone this repository and use the provided build-package script like
download required files:
build-package pullto 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-microgto update microGbuild-package u-fdroidto update F-Droidbuild-package u-appsto update applicationsbuild-package u-swipeto update swipe librariesbuild-package u-gsyncto update Google Sync Adaptersbuild-package u-bromiteto update Bromite WebViewbuild-package u-osmandto update OpenStreetMap (OsmAnd)build-package u-patchto update Haystack patches- currently disabled as NanoDroid uses new patches from this pull request
build-package pullto update/re-download everything
build packages:
build-package fullto create the Full packagebuild-package microgto create the microG only packagebuild-package fdroidto create the F-Droid only packagebuild-package patcherto create the on-device framework-patcher packagebuild-package uninstallerto create the uninstaller packagebuild-package bromitewebviewto create the Bromite WebView packagebuild-package osmandfor the OpenStreetMap (OsmAnd) packagebuild-package systestto create the SysTest packagebuild-package googleto create the Google (Sync Adapters & Swipe libraries) packagebuild-package allto create all packages at once
The build-package script additionally supports the following parameters:
checkcheck if all files were properly downloadedreportcreate a package reportcleanremove 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 given99999999will be used)bumpincrement Magisk module version by 1
If you want to use custom APKs in your build, place them into the local directory in the root of the NanoDroid tree.
The name of your APK must match the targetname in the NanoDroid package, e. g. GmsCore for a custom microG build or Phonesky for a custom Play Store build.
See the file_database in build-package.database.
Note: sideloading libraries is currently not supported!
export BP_DEBUG=1allows seeing debug messages when repos are fetched and APKs are downloadedexport BP_USE_WGET=1tells the script to use wget for downloading indices and APks