2020-09-09 18:53:54 +00:00
Table of Contents
=================
* [Alter Installation ](#alter-installation )
* [Configuration File ](#configuration-file )
* [Detailed Description ](#detailed-description )
* [nanodroid_microg ](#nanodroid_microg )
* [nanodroid_nlpbackend ](#nanodroid_nlpbackend )
* [nanodroid_mapsv1 ](#nanodroid_mapsv1 )
* [nanodroid_play ](#nanodroid_play )
* [nanodroid_fdroid ](#nanodroid_fdroid )
* [nanodroid_apps ](#nanodroid_apps )
* [nanodroid_overlay ](#nanodroid_overlay )
* [nanodroid_bash ](#nanodroid_bash )
* [nanodroid_init ](#nanodroid_init )
* [nanodroid_gsync ](#nanodroid_gsync )
* [nanodroid_swipe ](#nanodroid_swipe )
* [nanodroid_forcesystem ](#nanodroid_forcesystem )
Created by [gh-md-toc ](https://github.com/ekalinin/github-markdown-toc )
2018-01-23 20:11:52 +00:00
# Alter Installation
## Configuration File
2021-01-17 17:38:11 +00:00
To alter the installation you can create the file `.nanodroid-setup` on your device, in one of the following directories:
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
* `/data/media/0` (internal storage ** [TWRP]**)
* `/sdcard1` (internal storage ** [ORANGEFOX]**)
2018-01-23 20:11:52 +00:00
* `/external_sd` (TWRP path to SD Card (if any))
* `/data` (fallback)
2020-11-02 19:46:33 +00:00
* `/system/addon.d/` (fallback if TWRP can't mount `/data` )
* `/tmp` (fallback if TWRP can't mount `/data` )
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
You can use the [default configuration file ](.nanodroid-setup ) as a starting point. Below follows its detailed description. If a required entry is missing from your configuration file, the default setting will be added to your configuration file.
2018-01-23 20:11:52 +00:00
2020-09-08 18:28:26 +00:00
## Detailed Description
2018-01-23 20:11:52 +00:00
2020-09-08 18:28:26 +00:00
### nanodroid_microg
2020-08-19 06:55:58 +00:00
2021-01-17 17:38:11 +00:00
**microG** installation
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package* , *microG package*
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_microg=1` , value can be 0, 1 or 2:
2020-08-19 06:55:58 +00:00
2020-09-08 18:28:26 +00:00
* 0 = don't install microG at all (Note: does not effect NanoDroid-microG package)
2021-01-17 17:38:11 +00:00
* 1 = install microG GmsCore, GsfProxy, DroidGuard Helper and Nominatim Geocoder Backend
2020-09-08 18:28:26 +00:00
* 2 = install microG GmsCore and Nominatim Geocoder Backend only
2021-01-17 17:38:11 +00:00
* note: OpenSource purists setting; this will leave you without
* Push Messaging support through GCM
* SafetyNet attestation
2020-08-19 06:55:58 +00:00
2020-09-09 16:32:48 +00:00
### nanodroid_nlpbackend
what uNlp backends to install
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package* , *microG package*
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_nlpbackend=1000`
2020-09-09 16:32:48 +00:00
this setting is four digits long, each digit represents one uNlp backend:
2021-01-17 17:38:11 +00:00
* 0 = don't install the backend
* 1 = install the backend
2020-09-09 16:32:48 +00:00
digits represent the following backends:
2021-01-17 17:38:11 +00:00
* 1st digit = `Déjà Vu` backend
* 2nd digit = `Ichnaea` (Mozilla) backend
* 3rd digit = `Apple` backend
* 4th digit = `Radiocells.org` backend
2020-09-09 16:32:48 +00:00
examples:
2021-01-17 17:38:11 +00:00
* nanodroid_nlpbackend=1000 = install `Déjà Vu backend` only
* nanodroid_nlpbackend=1010 = install `Déjà Vu` and `Apple` backends
2020-09-09 16:32:48 +00:00
### nanodroid_mapsv1
2021-01-17 17:38:11 +00:00
**microG** Maps API v1 support
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package* , *microG package*
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_mapsv1=1`
2020-09-09 16:32:48 +00:00
* 0 = don't install Maps v1 API support
* 1 = install Maps v1 API support
### nanodroid_play
what app store to install
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package* , *microG package*
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_play=21` , the first digit declares the app store, the second whether to install Fake store alongside:
2020-09-09 16:32:48 +00:00
* 00 = install no app store
* 10 = install Google Play (patched with microG (in-)app-purchase support)
* 01 = install Fake Store
* 20 = install Aurora Store (alongside Aurora Services addon)
* 21 = install Aurora Store (alongside Aurora Services addon) and Fake Store
* 30 = install Google Play (patched with microG (in-)app-purchase support) and Aurora Store (alongside Aurora Services addon)
Note:
2021-01-17 17:38:11 +00:00
* if `nanodroid_play=11` or `nanodroid_play=31` it will be silently treated as `10` or `30`
2020-09-09 16:32:48 +00:00
* you can't install both Play Store and Fake Store at the same time
2020-09-08 18:28:26 +00:00
### nanodroid_fdroid
2020-02-11 19:29:20 +00:00
2021-01-17 17:38:11 +00:00
**F-Droid** installation
2020-02-11 19:29:20 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package* , *F-droid package*
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_fdroid=1` , value can be 0, 1, 2 or 3:
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
* 0 = don't install F-Droid at all (**Note:** does not effect NanoDroid-FDroid package)
2020-09-08 18:28:26 +00:00
* 1 = install official F-Droid client (alongside priviledged extension)
* 2 = install unofficial Aurora F-Droid client (alongside Aurora Services addon)
* 3 = install both official and Aurora F-Droid clients (alongside their addons)
2018-01-23 20:11:52 +00:00
2020-09-08 18:28:26 +00:00
### nanodroid_apps
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
Apps installation
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package*
2018-11-07 16:25:25 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_apps=1` , value can be 0 or 1:
2018-01-23 20:11:52 +00:00
2020-09-08 18:28:26 +00:00
* 0 = don't install applications
2021-01-17 17:38:11 +00:00
* 1 = install all applications listed in .nanodroid-apps file
2018-01-23 20:11:52 +00:00
2020-09-08 18:28:26 +00:00
see [> Applications ](Applications.md ) for detailed information
2020-09-09 16:32:48 +00:00
### nanodroid_overlay
2020-09-08 18:28:26 +00:00
2020-09-09 16:32:48 +00:00
whether to utilize the NanoDroid-Overlay to pseudo-debloat `/system` applications in Magisk Mode, or force-debloat on System Mode
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package* , *microG package*
**Syntax:** `nanodroid_overlay=1` , value can be 0 or 1:
2020-09-09 16:32:48 +00:00
* 0 = don't utilize NanoDroid-Overlay
* 1 = utilize NanoDroid-Overlay
see [> NanoDroid-Overlay ](NanoDroidOverlay.md ) for detailed information
### nanodroid_bash
2021-01-17 17:38:11 +00:00
GNU Bash (alongside the less pager) installation
2020-09-08 18:28:26 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package*
2020-09-08 18:28:26 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_bash=1` , value can be 0: 1:
2020-09-08 18:28:26 +00:00
2020-09-09 16:32:48 +00:00
* 0 = don't install GNU Bash
* 1 = install GNU Bash
2018-01-23 20:11:52 +00:00
2020-09-09 16:32:48 +00:00
### nanodroid_init
2021-01-17 17:38:11 +00:00
init scripts installation
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full package*
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_init="10_sqlite 20_fstrim"`
This setting is a list of init scripts, each listed item will be installed, possible values
2018-01-23 20:11:52 +00:00
2020-09-09 16:32:48 +00:00
```
10_sqlite
20_fstrim
30_logcat
40_external_sd
50_logscleaner
```
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
Leave an empty quote (`nanodroid_init=""`) to not install any init script
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
see [init-scripts ](../README.md#init-scripts ) for more information
2018-01-23 20:11:52 +00:00
2020-09-09 16:32:48 +00:00
### nanodroid_gsync
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
Google Sync Adapters installation
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Google*
2018-01-23 20:11:52 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_gsync=1` , value can be 0 or 1:
2018-01-23 20:11:52 +00:00
2020-09-09 16:32:48 +00:00
* 0 = don't install Google Sync Adapters
* 1 = install Google Sync Adapters
2018-01-23 20:11:52 +00:00
2020-09-09 16:32:48 +00:00
### nanodroid_swipe
2018-03-12 17:44:23 +00:00
2021-01-17 17:38:11 +00:00
Swipe libraries installation
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Google*
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_swipe=1` , value can be 0 or 1:
2020-09-09 16:32:48 +00:00
* 0 = don't install Swipe libraries
* 1 = install Swipe libraries
### nanodroid_forcesystem
2021-01-17 17:38:11 +00:00
Force `/system` installation instrad of Magisk Module installation (if Magisk available)
**Note:** You shouldn't touch this settings unless you really know what you are doing.
2020-09-09 16:32:48 +00:00
2021-01-17 17:38:11 +00:00
**supported packages:** *Full* , *miroG* , *F-Droid* , *Bromite System WebView* , *OSM Android* , *Google*
2018-03-12 17:44:23 +00:00
2021-01-17 17:38:11 +00:00
**Syntax:** `nanodroid_forcesystem=0` , value can be 0 or 1:
2018-03-12 17:44:23 +00:00
2021-01-17 17:38:11 +00:00
* 0 = auto detect installation mode (default)
2020-09-09 16:32:48 +00:00
* 1 = force /system installation