Commit 0cedf2bf authored by Christopher Roy Bratusek's avatar Christopher Roy Bratusek
Browse files

Merge branch 'master' into 'master'

Documentation improvement + minor corrections from shellcheck

See merge request !35
parents 5deac13c dfa0c863
......@@ -53,8 +53,8 @@ EOF
}
ui_print () {
echo -n -e "ui_print ${1}\n" >> /proc/self/fd/${OUTFD}
echo -n -e "ui_print\n" >> /proc/self/fd/${OUTFD}
echo -e "ui_print ${1}" >> /proc/self/fd/${OUTFD}
echo -e "ui_print" >> /proc/self/fd/${OUTFD}
}
detect_outfd () {
......
......@@ -77,16 +77,16 @@ print_info () {
echo "${@}"
decho "${@}"
else
echo -n -e "ui_print ${@}\n" >> /proc/self/fd/${OUTFD}
echo -n -e "ui_print\n" >> /proc/self/fd/${OUTFD}
echo -e "ui_print ${@}" >> /proc/self/fd/${OUTFD}
echo -e "ui_print" >> /proc/self/fd/${OUTFD}
fi
}
show_progress() {
show_progress () {
${BOOTMODE} || echo "progress ${1} ${2}" >> /proc/self/fd/${OUTFD}
}
set_progress() {
set_progress () {
${BOOTMODE} || echo "set_progress ${1}" >> /proc/self/fd/${OUTFD}
}
......@@ -161,11 +161,11 @@ detect_bootmode () {
# Taken from Magisk, grep build_props / /proc/cmdline for value
##########################################################################################
grep_prop() {
grep_prop () {
sed -n "s/^${1}=//p" /system/build.prop ${2} | head -n 1
}
grep_cmdline() {
grep_cmdline () {
local REGEX="s/^${1}=//p"
sed -E 's/ +/\n/g' /proc/cmdline | \
sed -n "${REGEX}" 2>/dev/null
......@@ -185,7 +185,7 @@ set_perm () {
fi
}
set_perm_recursive() {
set_perm_recursive () {
find ${1} -type d 2>/dev/null | while read dir; do
set_perm ${dir} ${2} ${3} ${4} ${6}
done
......@@ -234,13 +234,13 @@ toupper() {
}
find_block () {
local block tmp partname devname device
local block partname devname device
block=${1}${SLOT}
device=$(find /dev/block \( -type b -o -type c -o -type l \) -name ${block} | head -n 1)
if [ ! -z ${device} ]; then
readlink -f ${device}
if [ -n "$device" ]; then
readlink -f "$device"
return 0
fi
......@@ -254,8 +254,8 @@ find_block () {
done
device=$(find /dev \( -type b -o -type c -o -type l \) -maxdepth 1 -iname ${block} | head -n 1)
if [ ! -z ${device} ]; then
readlink -f ${device}
if [ -n "$device" ]; then
readlink -f "$device"
return 0
fi
......@@ -1505,8 +1505,8 @@ install_addond () {
installinfo_add () {
if [ "${MODE}" = "SYSTEM" ]; then
for file in ${@}; do
echo ${file} >> ${NANODROID_LIST}
for file in "${@}"; do
echo "${file}" >> ${NANODROID_LIST}
done
fi
}
......@@ -1530,7 +1530,7 @@ nanodroid_install_file () {
[ -z "${source}" ] && error "file: ${file} not found"
# strip off .${BIN_ARCH} from final filename (if any)
xfile=$(basename ${file} .${BIN_ARCH})
xfile=$(basename "${file}" .${BIN_ARCH})
decho " installing file: ${xfile}"
......@@ -1627,7 +1627,7 @@ nanodroid_install_apk () {
nanodroid_install_lib "${dest}/${dest_apk}" "${2}"
[ "${dir}" == "system/priv-app" ] && create_privapp_permissions_whitelist ${app}
[ "${dir}" = "system/priv-app" ] && create_privapp_permissions_whitelist "$app"
set_perm_data -r "${dest}"
}
......@@ -1638,7 +1638,7 @@ nanodroid_install_apk () {
nanodroid_install_lib () {
apk="${1}"
dest="$(dirname ${1})"
dest="$(dirname "$1")"
multilib="${2}"
unset libd
......
......@@ -28,13 +28,13 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
# NanoDroid
NanoDroid is a installer for various OpenSource related things, most noticably microG and F-Droid. It supports direct /system installation, both devices with or without A/B partition scheme or system-as-root, aswell as Magisk Mode (module) installation. It also includes several tools (eg. GNU Bash, tools from util-linux/bsdmainutils and more) and additional features (system debloating, init scripts, automatic logcat creation), aswell as a companion F-Droid Repository.
NanoDroid is an installer for various OpenSource projects, most noticably [microG](https://microg.org/) and [F-Droid](https://f-droid.org/). It supports all Android 4.4+ phones and all partition layouts (System-as-root, A/B) and can be installed as a Magisk module. NanoDroid also includes several tools (eg. GNU Bash, tools from util-linux/bsdmainutils and more) and additional features (system debloating, init scripts, automatic logcat creation), aswell as a companion F-Droid Repository.
Furthermore it allows the user to do fine-graded installations using configuration files, which allow to choose what to install, or if several alternatives are available, which of them, see [Installation](#installation) below.
Furthermore it allows the user to do fine-graded installations using configuration files to choose what to install, or if several alternatives are available, which of them. See [Installation](#installation) below.
In order for full microG experience NanoDroid contains a modified Play Store which allows (in-)app-purchases with microG, which would normally not be possible. It also tries to remove all previously installed GApps on it's own. For ROMs without builtin signature spoofing support NanoDroid includes an on-device Patcher which tries to patch your ROM from either TWRP or Magisk Manager.
The full microG experience NanoDroid contains a modified Play Store allowing (in-)app-purchases with microG, which would normally not be possible. It also tries to remove all previously installed GApps on its own. For ROMs without builtin signature spoofing support, NanoDroid includes an on-device Patcher which tries to patch your ROM from either TWRP or Magisk Manager.
Versions until 15.1 were called **NanoMod**, starting with 16.0 they're called **NanoDroid**.
**NanoDroid** was previously called **NanoMod** (before version 16.0).
## Current Release
......@@ -45,30 +45,29 @@ Versions until 15.1 were called **NanoMod**, starting with 16.0 they're called *
### Primary Mirror
On Nanolx the latest stable and current beta releases are available, no previous releases.
Only the latest stable and beta releases are maintained and are available on Nanolx:
* Stable Downloads [> Nanolx](https://downloads.nanolx.org/NanoDroid/Stable)
* Beta Downloads [> Nanolx](https://downloads.nanolx.org/NanoDroid/Beta)
### SHA256 Checksum and GPG Signature
Since version 18.3.1 all releases hosted on nanolx.org contain a SHA256 checksum and GPG signature to check their validity. AFH does provide the SHA256 checksum on the downloads summary page, but does not allow to upload a GPG signature.
Since version 18.3.1 all releases hosted on *nanolx.org* contain a SHA256 checksum and GPG signature to check their validity. AFH does provide the SHA256 checksum on the downloads summary page, but does not allow to upload a GPG signature.
You can obtain the public part of my GPG key from:
You can verify the checksum with the public GPG key:
* download the public key from [photonic.asc](https://downloads.nanolx.org/NanoDroid/Stable/photonic.asc)
* import it using `gpg --import photonic.asc`
* download and import using `gpg` from pgp.mit.edu:
* `gpg --keyserver pgp.mit.edu --recv B0ABCE622A077B584B81339E340FD70EFFC52B26`
You can verify the checksum and signature like:
```
```bash
gpg --verify NanoDroid-19.0.20181027.zip.sha256.sig
sha256sum -c NanoDroid-19.0.20181027.zip.sha256
```
Additionally you may want to ensure the signing date is close to the release date.
Additionally, you may want to ensure the signing date is close to the release date.
### Snapshots
......@@ -115,7 +114,7 @@ Earlier versions will never officially be supported (you may still report bugs,
## Recommended Thirdparty Projects
* [busybox](https://forum.xda-developers.com/showthread.php?t=2239421) by Osm0sis (highly recommended for all NanoDroid scripts properly working)
* [Busybox](https://forum.xda-developers.com/showthread.php?t=2239421) by Osm0sis (highly recommended for all NanoDroid scripts properly working)
* [GNU Nano editor](https://forum.xda-developers.com/showthread.php?t=2239421) by Osm0sis (simple, powerful commandline editor)
## Support
......@@ -128,13 +127,13 @@ Full, user-readible [> ChangeLog](ChangeLog.md)
## Summary
**NanoDroid** can be installed as a Magisk Module or directly to /system, most functionality is available, in System Mode, too.
**NanoDroid** can be installed as a Magisk Module or directly to `/system`, most of the functionalities are available, in System Mode too.
More information about Magisk [> XDA](https://forum.xda-developers.com/apps/magisk)
NanoDroid includes
* microG and it's companions
* microG and its companions
* GApps are auto-removed during installation
* using [> NanoDroid-Overlay](doc/NanoDroidOverlay.md)
* the Uninstaller will restore them in System Mode (or re-flash the ROM)
......@@ -172,7 +171,7 @@ See the [Packages](doc/Packages.md) summary for information about the available
### F-Droid Repository
In order to ease updating NanoDroid's custom application builds you can use it's companion [F-Droid Repository](https://www.nanolx.org/fdroid/repo)
In order to ease updating NanoDroid's custom application builds, you can use its companion [F-Droid Repository](https://www.nanolx.org/fdroid/repo).
## Details
......@@ -180,11 +179,11 @@ See the [> Detail information](doc/Details.md) for full details on microG, F-Dro
## Installation
See the [Installation](doc/Installation.md) docs for instructions
See the [Installation](doc/Installation.md) docs for instructions.
## microG Setup
See the [microG setup](doc/microGsetup.md) documentation
See the [microG setup](doc/microGsetup.md) documentation.
## Issues
......@@ -192,7 +191,7 @@ See [the list of known issues](doc/Issues.md) and their respective fixes or work
## License & Credits
My own work (NanoDroid itself) is licensed under the GNU General Public License version 3 or newer [> GNU](https://www.gnu.org/licenses/gpl-3.0.txt)
My own work (NanoDroid itself) is licensed under the GNU General Public License version 3 or newer [> GNU](https://www.gnu.org/licenses/gpl-3.0.txt).
For more details (including authors and license) on every provided application or Software press the link next to it.
......@@ -226,7 +225,7 @@ Special Thanks to the contributors (starting with most recent contribution)
* fixes for x86_64 support
* Vavun
* OsmAnd package
* several contributions to NanoDroid (and it's former microG GmsCore fork)
* several contributions to NanoDroid (and its former microG GmsCore fork)
Special Thanks to the beta testers
......@@ -238,12 +237,12 @@ Special Thanks to the beta testers
## FAQ
```
Q: will there be a GApps version, instead of microG?
A: no. but you can choose not to populate microG.
Q: Will there be a GApps version, instead of microG?
A: No. But you can choose not to populate microG.
Q: what devices is this tested on?
Q: What devices is this tested on?
A: OnePlus 5T, OnePlus 3T, Nexus 6
Q: what ROMs was this tested on?
A: AICP, OmniROM, NitrogenOS; should work on any LineageOS / AOSP based ROM and most Stock ROMs.
Q: What ROMs was this tested on?
A: AICP, OmniROM, NitrogenOS. It should work on any LineageOS / AOSP based ROM and on most Stock ROMs.
```
......@@ -47,7 +47,7 @@ done
[[ -z ${1} ]] && show_help
for opt in ${@}; do
for opt in "$@"; do
case ${opt} in
full)
check_nanodroid || error "run 'build-package pull' first!"
......
......@@ -13,38 +13,38 @@
#
##########################################################################################
# nanodroid_microg: whether to install microG
# supported packages: Full, microG
# nanodroid_microg: microG installation
# supported packages: Full, microG
# supported values:
# 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
# 0 = do not install microG microG (note: does not effect NanoDroid-microG package)
# 1 = install microG GmsCore, GsfProxy, DroidGuard Helper and Nominatim Geocoder Backend
# 2 = install microG GmsCore and Nominatim Geocoder Backend only
nanodroid_microg=1
# nanodroid_nlpbackend: what uNlp backends to install
# supported packages: Full, microG
# 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
# supported packages: Full, microG
# this setting is 4 digits long, each digit represents one uNlp backend:
# 0 = don't install the backend
# 1 = 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=1000 = install Déjà Vu backend only
# nanodroid_nlpbackend=1010 = install Déjà Vu and Apple backends
nanodroid_nlpbackend=1000
# nanodroid_mapsv1: whether to install Google Maps version 1 API support
# supported packages: Full, microG
# nanodroid_mapsv1: Google Maps version 1 API support
# supported packages: Full, microG
# supported values:
# 0 = don't install Maps v1 API support
# 1 = install Maps v1 API support
nanodroid_mapsv1=1
# nanodroid_play: what app store to install
# supported packages: Full, microG
# nanodroid_play: App store installation
# supported packages: Full, microG
# supported values:
# 00 = install no app store
# 10 = install Google Play (patched with microG (in-)app-purchase support)
......@@ -54,8 +54,8 @@ nanodroid_mapsv1=1
# 30 = install Google Play (patched with microG (in-)app-purchase support) and Aurora Store (alongside Aurora Services addon)
nanodroid_play=21
# nanodroid_fdroid: whether to install F-Droid
# supported packages: Full, F-Droid
# nanodroid_fdroid: F-droid installation
# supported packages: Full, F-Droid
# supported values:
# 0 = don't install F-Droid at all (Note: does not effect NanoDroid-FDroid package)
# 1 = install official F-Droid client (alongside priviledged extension)
......@@ -63,30 +63,31 @@ nanodroid_play=21
# 3 = install both official and Aurora F-Droid clients (alongside their addons)
nanodroid_fdroid=1
# nanodroid_apps: whether to install appliations
# supported packages: Full
# nanodroid_apps: Apps installation
# supported packages: Full
# supported values:
# 0 = don't install applications
# 1 = install applications
# 0 = don't install any applications
# 1 = install all applications listed in .nanodroid-apps file
# see: https://gitlab.com/Nanolx/NanoDroid/-/blob/master/doc/Applications.md
nanodroid_apps=1
# nanodroid_overlay: whether to utilize NanoDroid-Overlay
# supported packages: Full, microG
# nanodroid_overlay: use NanoDroid-Overlay
# supported packages: Full, microG
# NanoDroid-Overlay can be used to pseudo-debloat `/system` applications in Magisk Mode, or force-debloat on System Mode
# for more information: https://gitlab.com/Nanolx/NanoDroid/-/blob/master/doc/NanoDroidOverlay.md
# supported values:
# 0 = don't utilize NanoDroid-Overlay
# 1 = utilize NanoDroid-Overlay
# 0 = don't use NanoDroid-Overlay
# 1 = use NanoDroid-Overlay
nanodroid_overlay=1
# nanodroid_bash: whether to install GNU Bash (alongside the less pager)
# supported packages: Full
# nanodroid_bash: GNU Bash installation
# supported packages: Full
# supported values:
# 0 = don't install GNU Bash
# 1 = install GNU Bash
nanodroid_bash=1
# nanodroid_init: whether and what init scripts to install
# nanodroid_init: init scripts installation
# supported packages: Full
# for more information: https://gitlab.com/Nanolx/NanoDroid#init-scripts
# this setting is a list of init scripts, each listed item will be installed, possible values
......@@ -95,26 +96,27 @@ nanodroid_bash=1
# 30_logcat
# 40_external_sd
# 50_logscleaner
# leave empty (nanodroid_init="") to install no init scipts, "" are mandatory in any case
# Empty quotes (nanodroid_init="") to not install any init scipts.
nanodroid_init="10_sqlite 20_fstrim 30_logcat 40_external_sd 50_logscleaner"
# nanodroid_gsync: whether to install Google Sync Adapters
# supported packages: Google
# nanodroid_gsync: Google Sync Adapters installation
# supported packages: Google
# supported values:
# 0 = don't install Google Sync Adapters
# 1 = install Google Sync Adapters
nanodroid_gsync=1
# nanodroid_swipe: whether to install Swipe libraries
# supported packages: Google
# nanodroid_swipe: Swipe libraries installation
# supported packages: Google
# supported values:
# 0 = don't install Swipe libraries
# 1 = install Swipe libraries
nanodroid_swipe=0
# nanodroid_forcesystem: force direct /system installation (else NanoDroid will
# autodetect whether Magisk is installed and will prefer Magisk Module installation)
# supported packages: Full, miroG, F-Droid, Bromite System WebView, OSM Android, Google
# nanodroid_forcesystem: force direct /system installation
# If not set to 1, if Magisk is installed, NanoDroid will prefer Magisk Module installation)
# Note: You should keep this setting to 0 unless you really know what you are doing.
# supported packages: Full, miroG, F-Droid, Bromite System WebView, OSM Android, Google
# supported values:
# 0 = auto detect installation mode
# 1 = force /system installation
......
......@@ -23,73 +23,63 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
## Configuration File
To alter the installation you can create the file
To alter the installation you can create the file `.nanodroid-setup` on your device, in one of the following directories:
`.nanodroid-setup`
on your device, in one of the following directories
* `/data/media/0` (internal storage (TWRP))
* `/sdcard1` (internal storage (ORANGEFOX))
* `/data/media/0` (internal storage **[TWRP]**)
* `/sdcard1` (internal storage **[ORANGEFOX]**)
* `/external_sd` (TWRP path to SD Card (if any))
* `/data` (fallback)
* `/system/addon.d/` (fallback if TWRP can't mount `/data`)
* `/tmp` (fallback if TWRP can't mount `/data`)
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.
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.
## Detailed Description
### nanodroid_microg
whether to install **microG**
**microG** installation
* supported packages
* Full package
* microG package
**supported packages:** *Full package*, *microG package*
Syntax: `nanodroid_microg=1`, value can be 0, 1 or 2:
**Syntax:** `nanodroid_microg=1`, value can be 0, 1 or 2:
* 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
* 1 = install microG GmsCore, GsfProxy, 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
* note: OpenSource purists setting; this will leave you without
* Push Messaging support through GCM
* SafetyNet attestation
### nanodroid_nlpbackend
what uNlp backends to install
* supported packages
* Full package
* microG package
**supported packages:** *Full package*, *microG package*
Syntax: `nanodroid_nlpbackend=1000`
**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
* 0 = don't install the backend
* 1 = 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
* 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_nlpbackend=1000 = install `Déjà Vu backend` only
* nanodroid_nlpbackend=1010 = install `Déjà Vu` and `Apple` backends
### nanodroid_mapsv1
whether to provide **microG** Maps API v1
**microG** Maps API v1 support
* supported packages
* Full package
* microG package
**supported packages:** *Full package*, *microG package*
Syntax: `nanodroid_mapsv1=1`, value can be or 1:
**Syntax:** `nanodroid_mapsv1=1`
* 0 = don't install Maps v1 API support
* 1 = install Maps v1 API support
......@@ -98,11 +88,9 @@ Syntax: `nanodroid_mapsv1=1`, value can be or 1:
what app store to install
* supported packages
* Full package
* microG package
**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:
**Syntax:** `nanodroid_play=21`, 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)
......@@ -112,35 +100,32 @@ Syntax: `nanodroid_play=21`, this setting is value pair, the first digit declare
* 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`
* 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**
**F-Droid** installation
* supported packages
* Full package
* F-Droid package
**supported packages:** *Full package*, *F-droid package*
Syntax: `nanodroid_fdroid=1`, value can be 0, 1, 2 or 3:
**Syntax:** `nanodroid_fdroid=1`, value can be 0, 1, 2 or 3:
* 0 = don't install F-Droid at all (Note: does not effect NanoDroid-FDroid package)
* 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)
### nanodroid_apps
whether to install applications
Apps installation
* supported packages
* Full package
**supported packages:** *Full package*
Syntax: `nanodroid_apps=1`, value can be 0 or 1:
**Syntax:** `nanodroid_apps=1`, value can be 0 or 1:
* 0 = don't install applications
* 1 = install applications
* 1 = install all applications listed in .nanodroid-apps file
see [> Applications](Applications.md) for detailed information
......@@ -148,7 +133,9 @@ see [> Applications](Applications.md) for detailed information
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:
**supported packages:** *Full package*, *microG package*
**Syntax:** `nanodroid_overlay=1`, value can be 0 or 1:
* 0 = don't utilize NanoDroid-Overlay
* 1 = utilize NanoDroid-Overlay
......@@ -157,24 +144,24 @@ see [> NanoDroid-Overlay](NanoDroidOverlay.md) for detailed information
### nanodroid_bash
whether to install GNU Bash (alongside the less pager)
GNU Bash (alongside the less pager) installation
* supported packages
* Full package
**supported packages:** *Full package*
Syntax: `nanodroid_bash=1`, value can be 0: 1:
**Syntax:** `nanodroid_bash=1`, value can be 0: 1:
* 0 = don't install GNU Bash
* 1 = install GNU Bash
### nanodroid_init
whether and what init scripts to install
init scripts installation
* supported packages
* Full package
**supported packages:** *Full package*
this setting is a list of init scripts, each listed item will be installed, possible values
**Syntax:** `nanodroid_init="10_sqlite 20_fstrim"`
This setting is a list of init scripts, each listed item will be installed, possible values
```
10_sqlite
......@@ -184,47 +171,41 @@ this setting is a list of init scripts, each listed item will be installed, poss
50_logscleaner
```
to install no init scripts, leave empty (`nanodroid_init=""`), the `""` are mandatory in any case
Leave an empty quote (`nanodroid_init=""`) to not install any init script
see [here for more information](../README.md#init-scripts)
see [init-scripts](../README.md#init-scripts) for more information
### nanodroid_gsync
whether to install Google Sync Adapters
Google Sync Adapters installation
* supported packages
* Google
**supported packages:** *Google*
Syntax: `nanodroid_gsync=1`, value can be 0 or 1:
**Syntax:** `nanodroid_gsync=1`, value can be 0 or 1:
* 0 = don't install Google Sync Adapters
* 1 = install Google Sync Adapters
### nanodroid_swipe
whether to install Swipe libraries
Swipe libraries installation
* supported packages
* Google
**supported packages:** *Google*
Syntax: `nanodroid_swipe=1`, value can be 0 or 1:
**Syntax:** `nanodroid_swipe=1`, value can be 0 or 1:
* 0 = don't install Swipe libraries