2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00
NanoDroid/doc/Details.md
2020-10-08 22:21:18 +02:00

5.9 KiB

Table of Contents

Created by gh-md-toc

NanoDroid

This lists features unique to NanoDroid.

NanoDroid-Overlay

The nanodroid-overlay script handles the debloat feature

  • pseudo-debloat applications in Magisk Mode
  • force-debloat applications in System Mode
  • show the list of debloated apps
  • show the list of non-debloated apps
  • add or remove apps from the list of debloated apps

Full details on the NanoDroid-Overlay Script > Details

NanoDroid-Prop

The nanodroid-prop script utilizes Magisk's resetprop to alter system properties

  • add system properties (Magisk-only)
    • both on-the-fly and permanently
  • properties set by this script survive NanoDroid updates

Full details on the NanoDroid-Prop Script > Details

NanoDroid-Perm

The nanodroid-perm script grants microG and Co. required permissions, if lacking

Full details on the NanoDroid-Perm Script > Details

NanoDroid-Util

The nanodroid-util script contains the following features

  • show boot count
  • fix OTA update issues (like non-working navbar)
  • handle Audio Focus permission
    • prevent apps from stealing audio output, for example listen to Music while playing Pokémon Go
  • handle Read Clipboard permission
  • modify Airplane Mode settings
    • choose which radios are on or off in Airplane mode

Full details on the NanoDroid-Util Script > Details

init scripts

The following init scripts are bundled with NanoDroid

  • external_sd
    • symlink SD Card mount point to /external_sd
    • SD Card needs to be inserted upon boot
  • fstrim
    • trim file systems (may increase speed)
  • logcat
    • store logcat in /data/adb/logcats
      • logs older than 7 days are deleted on every reboot
  • logscleaner
    • clean up system log files older than 7 days
  • sqlite
    • clean up sqlite databases

When in Magisk Mode the init scripts create their log files in

/magisk/NanoDroid/logs/${script}.log.${date}

When installed to /system your ROM needs to support running scripts in

/system/etc/init.d

or you can use Kernel Adiutor's init.d emulation.

GNU Bash

NanoDroid includes GNU Bash shell.

The > less Pager will be installed alongside.

microG

microG is an Open Source replacement for Google Services, full details can be found at the microG homepage > Website

NanoDroid includes microG as follows

  • microG GmsCore > GitHub
  • with optional Déjà Vu location provider backend > F-Droid
  • with optional Mozilla location provider backend > F-Droid
  • with optional Apple location provider backend > F-Droid
  • with optional Radiocells location provider backend > F-Droid
  • with Nominatim adress provider backend > F-Droid
  • with microG GsfProxy > GitHub
  • with microG DroidGuard Helper > GitHub
    • required for SafetyNet support
  • support for Maps API version 1
  • support for Google Calendar and Contacts Sync Adapter
    • disabled by default
  • optional Swipe libraries
    • disabled by default
  • choose between modified Play Store > APK Mirror or Aurora Store > F-Droid
    • Aurora Store can use system permissions to install packages, so you don't need to enable Unknown Sources
      • go to Aurora Store Settings > Installation Method > Using system permissions
    • Play Store is modified to allow (in-)app-purchases with microG
  • GApps and several location services conflict with microG and unified Nlp. Thus they are removed during NanoDroid installation

F-Droid

F-Droid > Website is an app store for OpenSource applications.

NanoDroid includes both F-Droid and it's Privileged Extension > F-Droid, so you don't need to enable Unknown Sources. Alternatively (or additionally) you can install Aurora Droid > F-Droid.

Furthermore NanoDroid tells F-Droid to activate the following additional repositories by default:

  • NanoDroid companion F-Droid repository > Link
  • BromiteWebView F-Droid repository > Link
  • official microG F-Droid repository > Link

Google Sync/Swipe Libraries

Google Sync adapters and Swipe Libraries are optionally installable through the NanoDroid-Google package.

Applications

NanoDroid includes a variety of OpenSource applications, check full > list of applications.