2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00
NanoDroid/doc/AlterInstallation.md

238 lines
6.0 KiB
Markdown
Raw Normal View History

2018-01-23 20:11:52 +00:00
# Alter Installation
## Configuration File
To alter the installation you can create the file
`.nanodroid-setup`
on your device, in one of the following directories
2019-07-01 17:13:09 +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)
You can use the [default configuration file](.nanodroid-setup) as a starting point. Below follows the detailed information on what each setting does (also described in the file itself); also which setting is support by what package. If an 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
## Detailed Description
2018-01-23 20:11:52 +00:00
### nanodroid_microg
2020-08-19 06:55:58 +00:00
whether to install **microG**
2018-01-23 20:11:52 +00:00
* supported packages
* Full package
* microG package
2018-01-23 20:11:52 +00:00
Syntax: `nanodroid_microg=1`, value can be 0, 1 or 2:
2020-08-19 06:55:58 +00:00
* 0 = don't install microG at all (Note: does not effect NanoDroid-microG package)
* 1 = install microG GmsCore, GsfProxy and DroidGuard Helper and Nominatim Geocoder Backend
* 2 = install microG GmsCore and Nominatim Geocoder Backend only
* note: OpenSource purists setting; this will leave you
* without Push Messaging support through GCM
* without the ability to pass SafetyNet attestation
2020-08-19 06:55:58 +00:00
### nanodroid_nlpbackend
what uNlp backends to install
* supported packages
* Full package
* microG package
Syntax: `nanodroid_nlpbackend=1000`
this setting is four digits long, each digit represents one uNlp backend:
* 0 = for each digit means don't install the backend
* 1 = for each digit means install the backend
digits represent the following backends:
* 1st digit = Déjà Vu backend
* 2nd digit = Ichnaea (Mozilla) backend
* 3rd digit = Apple backend
* 4th digit = Radiocells.org backend
examples:
* nanodroid_nlpbackend=1000 = install Déjà Vu backend
* nanodroid_nlpbackend=1010 = install Déjà Vu and Apple backends
### nanodroid_mapsv1
whether to provide **microG** Maps API v1
* supported packages
* Full package
* microG package
Syntax: `nanodroid_mapsv1=1`, value can be or 1:
* 0 = don't install Maps v1 API support
* 1 = install Maps v1 API support
### nanodroid_play
what app store to install
* supported packages
* Full package
* microG package
Syntax: `nanodroid_play=21`, this setting is value pair, the first digit declares the app store, the second whether to install Fake store alongside:
* 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:
* if `nanodroid_play=11` or `nanodroid_play=31` it will be silently treated as `10` or `30`
* you can't install both Play Store and Fake Store at the same time
### nanodroid_fdroid
whether to install **F-Droid**
* supported packages
* Full package
* F-Droid package
2018-01-23 20:11:52 +00:00
Syntax: `nanodroid_fdroid=1`, value can be 0, 1, 2 or 3:
2018-01-23 20:11:52 +00:00
* 0 = don't install F-Droid at all (Note: does not effect NanoDroid-FDroid package)
* 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
### nanodroid_apps
2018-01-23 20:11:52 +00:00
whether to install applications
2018-01-23 20:11:52 +00:00
* supported packages
* Full package
Syntax: `nanodroid_apps=1`, value can be 0 or 1:
2018-01-23 20:11:52 +00:00
* 0 = don't install applications
* 1 = install applications
2018-01-23 20:11:52 +00:00
see [> Applications](Applications.md) for detailed information
### nanodroid_overlay
whether to utilize the NanoDroid-Overlay to pseudo-debloat `/system` applications in Magisk Mode, or force-debloat on System Mode
Syntax: `nanodroid_overlay=1`, value can be 0 or 1:
* 0 = don't utilize NanoDroid-Overlay
* 1 = utilize NanoDroid-Overlay
see [> NanoDroid-Overlay](NanoDroidOverlay.md) for detailed information
### nanodroid_bash
whether to install GNU Bash (alongside the less pager)
* supported packages
* Full package
Syntax: `nanodroid_bash=1`, value can be 0: 1:
* 0 = don't install GNU Bash
* 1 = install GNU Bash
2018-01-23 20:11:52 +00:00
### nanodroid_utils
2020-08-19 06:55:58 +00:00
whether and what shell utils to install
* supported packages
* Full package
2018-01-23 20:11:52 +00:00
Syntax: `nanodroid_utils="findfs findmnt hexdump lessecho lesskey lsblk lscpu lsipc lslocks lsns ncal whereis"`
2018-01-23 20:11:52 +00:00
this setting is a list of utils, each listed item will be installed, possible values are
2018-01-23 20:11:52 +00:00
```
findfs
findmnt
hexdump
lessecho
lesskey
lsblk
lscpu
lsipc
lslocks
lsns
ncal
whereis
```
to install no utils, leave empty (`nanodroid_utils=""`), the `""` are mandatory in any case
see [here for more information](../README.md#shell-utilities)
### nanodroid_init
whether and what init scripts to install
2018-01-23 20:11:52 +00:00
* supported packages
* Full package
2018-01-23 20:11:52 +00:00
this setting is a list of init scripts, each listed item will be installed, possible values
2018-01-23 20:11:52 +00:00
```
10_sqlite
20_fstrim
30_logcat
40_external_sd
50_logscleaner
```
2018-01-23 20:11:52 +00:00
to install no init scripts, leave empty (`nanodroid_init=""`), the `""` are mandatory in any case
2018-01-23 20:11:52 +00:00
see [here for more information](../README.md#init-scripts)
2018-01-23 20:11:52 +00:00
### nanodroid_gsync
2018-01-23 20:11:52 +00:00
whether to install Google Sync Adapters
2018-01-23 20:11:52 +00:00
* supported packages
* Google
2018-01-23 20:11:52 +00:00
Syntax: `nanodroid_gsync=1`, value can be 0 or 1:
2018-01-23 20:11:52 +00:00
* 0 = don't install Google Sync Adapters
* 1 = install Google Sync Adapters
2018-01-23 20:11:52 +00:00
### nanodroid_swipe
2018-03-12 17:44:23 +00:00
whether to install Swipe libraries
* supported packages
* Google
Syntax: `nanodroid_swipe=1`, value can be 0 or 1:
* 0 = don't install Swipe libraries
* 1 = install Swipe libraries
### nanodroid_forcesystem
force direct /system installation (else NanoDroid will autodetect whether Magisk is installed and will prefer Magisk Module installation)
* supported packages
* Full package
* microG package
* F-Droid package
* Bromite System WebView package
* OSM Android
* Google package
2018-03-12 17:44:23 +00:00
Syntax: `nanodroid_forcesystem=0`, value can be 0 or 1:
2018-03-12 17:44:23 +00:00
* 0 = auto detect installation mode
* 1 = force /system installation