2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00
NanoDroid/doc/AlterInstallation.md

150 lines
3.7 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))
* directory containing the zip file
* `/data` (fallback)
create it manually with the following content for the **full** package
```
nanodroid_microg=1
nanodroid_fdroid=1
nanodroid_apps=1
2019-05-05 10:09:39 +00:00
nanodroid_play=31
2018-01-23 20:11:52 +00:00
nanodroid_overlay=1
nanodroid_zelda=1
nanodroid_mapsv1=1
nanodroid_init=1
nanodroid_gsync=0
nanodroid_swipe=0
nanodroid_forcesystem=0
2019-01-05 23:04:17 +00:00
nanodroid_nlpbackend=1000
2018-03-12 17:44:23 +00:00
nanodroid_bash=1
nanodroid_nano=1
nanodroid_utils=1
2018-03-17 16:19:26 +00:00
nanodroid_fonts=1
2018-01-23 20:11:52 +00:00
```
the **microG** package supports the following options (nanodroid_microg is always 1)
2018-01-23 20:11:52 +00:00
```
2018-11-29 16:39:28 +00:00
nanodroid_play=10
2018-01-23 20:11:52 +00:00
nanodroid_overlay=0
nanodroid_mapsv1=1
nanodroid_gsync=0
nanodroid_swipe=0
nanodroid_forcesystem=0
2019-01-05 23:04:17 +00:00
nanodroid_nlpbackend=1000
2018-01-23 20:11:52 +00:00
```
the **F-Droid** (nanodroid_fdroid is always 1) and **Bromite WebView** pckage supports the following options
2018-01-23 20:11:52 +00:00
```
nanodroid_forcesystem=0
```
where `1` means `on` and `0` means `off`. If no `.nanodroid-setup` is found, the [default settings](.nanodroid-setup) will be used (equals to the example above), if your `.nanodroid-setup` file exists, but is missing entries, those entries will be added, using the default values.
Alternatively you can also use the NanoDroid-SetupWizard package instead of manual creation of the configuration file.
## Detailed Description
`nanodroid_microg=[0|1|2]`
2018-01-23 20:11:52 +00:00
whether to provide **microG**
2019-08-02 17:30:28 +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
2018-11-07 16:32:00 +00:00
* note: OpenSource purists setting; this will leave you
* without Push Messaging support through GCM
* without the ability to pass SafetyNet attestation
2019-08-02 17:30:28 +00:00
`nanodroid_fdroid=[0|1|2]`
2018-01-23 20:11:52 +00:00
whether to provide **F-Droid**
2019-08-02 17:30:28 +00:00
* 0 = don't install F-Droid at all (Note: does not effect NanoDroid-FDroid package)
* 1 = install official F-Droid client
* 2 = install unofficial Aurora F-Droid client
* alongside Aurora Services addon
2018-01-23 20:11:52 +00:00
`nanodroid_apps=[0|1]`
whether to provide included applications [> Details](doc/Applications.md)
`nanodroid_play=[0|1|2|3][0|1]`
2018-01-23 20:11:52 +00:00
what app store to use:
* 1st item
* 0 = No App Store
* 1 = Play Store
* 2 = Yalp Store
* 3 = Aurora Store
2019-08-02 17:30:28 +00:00
* alongside Aurora Services addon
* 2nd item
* 0 = without Fake Store
* 1 = with Fake Store
2018-01-23 20:11:52 +00:00
`nanodroid_overlay=[0|1]`
whether to populate the overlay to pseudo-debloat `/system` applications (Magisk-only)
`nanodroid_zelda=[0|1]`
whether to provide The Legend of Zelda ringtones and sounds
`nanodroid_mapsv1=[0|1]`
whether to provide **microG** Maps API v1
`nanodroid_init=[0|1]`
whether to provide init scripts
`nanodroid_gsync=[0|1]`
whether to provide Google Sync Adapters
`nanodroid_swipe=[0|1]`
whether to provide Swipe libraries
`nanodroid_forcesystem=[0|1]`
whether to force system mode installation, regardless whether Magisk is installed
2019-01-05 23:04:17 +00:00
`nanodroid_nlpbackend=[0|1][0|1][0|1][0|1]`
2018-01-23 20:11:52 +00:00
what location backends for microG to install
* 1st element 0|1 = Déjà Vu location backend
* 2nd element 0|1 = Ichnaea (Mozilla) location backend
* 3rd element 0|1 = Apple location backend
2019-01-05 23:04:17 +00:00
* 4th element 0|1 = Radiocells.org location backend
2018-01-23 20:11:52 +00:00
2018-03-12 17:44:23 +00:00
`nanodroid_bash=[0|1]`
whether to install GNU Bash Shell
`nanoroid_nano=[0|1]`
whether to install GNU Nano Editor
`nanodroid_utils=[0|1]`
whether to install Shell Utils from util-linux and bsdmainutils
2018-03-17 16:19:26 +00:00
`nanodroid_fonts=[0|1]`
whether to install [NanoDroid-Font](NanoDroidFont.md) script and Nintendo Fonts