mirror of https://gitlab.com/Nanolx/NanoDroid
update documentation
parent
e898ba7936
commit
1d1f70e318
@ -0,0 +1,21 @@
|
|||||||
|
# NanoDroid-Perm Script
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
|
||||||
|
The `nanodroid-perm` Script, respectively it's shortcut `npem` is used by NanoDroid to grant signature spoofing permissions to microG GmsCore / Play Store
|
||||||
|
|
||||||
|
* on pre-patched ROMs that is
|
||||||
|
|
||||||
|
and also required permissions to the Google Sync Adapters (if installed).
|
||||||
|
|
||||||
|
## Invocation
|
||||||
|
|
||||||
|
From within a terminal on your device, for example `adb shell` or `Termux` invoke the script using either
|
||||||
|
|
||||||
|
`nanodroid-perm`
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
`npem`
|
||||||
|
|
||||||
|
there are no switch or parameters
|
@ -0,0 +1,33 @@
|
|||||||
|
# NanoDroid-Prop Script
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
|
||||||
|
The `nanodroid-prop` Script, respectively it's shortcut `nprp` is used by NanoDroid to utilize Magisk's `resetprop` feature for on-the-fly and permanently adjusting system properties. Properties set by this script survive NanoDroid updates
|
||||||
|
|
||||||
|
## Invocation
|
||||||
|
|
||||||
|
From within a terminal on your device, for example `adb shell` or `Termux` invoke the script using either
|
||||||
|
|
||||||
|
`nanodroid-prop [switch] [parameter(s)]`
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
`nprp [switch] [parameter(s)]`
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
|
||||||
|
`-C`, `--cast`
|
||||||
|
|
||||||
|
set properties required to enable the cast feature on some custom ROMs
|
||||||
|
|
||||||
|
`-A`, `--add-prop` [prop] [value]
|
||||||
|
|
||||||
|
add a system property both on-the-fly and permanently by adding it to NanoDroid's `system.prop` file
|
||||||
|
|
||||||
|
`-R`, `--remove-prop` [prop]
|
||||||
|
|
||||||
|
remove a system property from NanoDroid's `system.prop` file
|
||||||
|
|
||||||
|
`-L`, `--list-prop`
|
||||||
|
|
||||||
|
list all properties from NanoDroid's `system.prop` file
|
@ -0,0 +1,25 @@
|
|||||||
|
# NanoDroid-UPD Script
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
|
||||||
|
The `nanodroid-upd` Script, respectively it's shortcut `nupd` is used by NanoDroid to update NanoDroid's custom apks
|
||||||
|
|
||||||
|
* Fake Store
|
||||||
|
* Play Store
|
||||||
|
* OpenLauncher
|
||||||
|
|
||||||
|
Applications are only updated if they are installed already during NanoDroid installation
|
||||||
|
|
||||||
|
## Invocation
|
||||||
|
|
||||||
|
From within a terminal on your device, for example `adb shell` or `Termux` invoke the script using either
|
||||||
|
|
||||||
|
`nanodroid-upd [apk]`
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
`nupd [apk]`
|
||||||
|
|
||||||
|
where **apk** can be
|
||||||
|
|
||||||
|
`ps`, `playstore`, `fs`, `fakestore`, `ol`, `openlauncher`
|
@ -0,0 +1,56 @@
|
|||||||
|
# NanoDroid-Util Script
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
|
||||||
|
The `nanodroid-util` Script, respectively it's shortcut `nutl` is used by NanoDroid to perform various actions:
|
||||||
|
|
||||||
|
* fix navigation bar, status bar or lock screen issues after OTA update
|
||||||
|
* change Airplane Mode radio settings
|
||||||
|
* prevent applications from stealing audio focus
|
||||||
|
* prevent applications from reading the clipboard
|
||||||
|
* display device's boot count
|
||||||
|
* requires Android 7.0 or newer
|
||||||
|
|
||||||
|
## Invocation
|
||||||
|
|
||||||
|
From within a terminal on your device, for example `adb shell` or `Termux` invoke the script using either
|
||||||
|
|
||||||
|
`nanodroid-util [switch] [parameter(s)]`
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
`nutl [switch] [parameter(s)]`
|
||||||
|
|
||||||
|
## Feature overview
|
||||||
|
|
||||||
|
### Fix OTA-Update issues
|
||||||
|
|
||||||
|
`-f`, `--fix-update`
|
||||||
|
|
||||||
|
fix issues with the navigation bar, status bar or lock screen after applying an OTA update; for a detailed description about this check [> XDA](https://www.xda-developers.com/broken-navigation-bar-lock-screen-ota-update/)
|
||||||
|
|
||||||
|
### Airplane Mode settings
|
||||||
|
|
||||||
|
`-P`, `--airplane-mode`
|
||||||
|
|
||||||
|
change Airplane Mode settings, this is interactive, user will be given instructions what to do. This allows to change which radios are disabled by Airplane Mode **and additionally** it instructs Android that it does **not** allow re-activation of **those** radios until Airplane Mode is switched off
|
||||||
|
|
||||||
|
### Prevent audio focus stealing
|
||||||
|
|
||||||
|
`-F`, `--audio-focus` [app]
|
||||||
|
|
||||||
|
some apps stop audio playback of other apps, when you bring them in foreground (or activate them in multi window mode), with this you can prevent Android from allowing this; [app] is the application name in `com.organisation.application` format, for example `com.xda.labs`
|
||||||
|
|
||||||
|
### Prevent clipboard reading
|
||||||
|
|
||||||
|
`-B`, `--read-clipboard` [app]
|
||||||
|
|
||||||
|
many apps have the permission to read the clipboard for no reason, with this you can prevent Android from allowing this; [app] is the application name in `com.organisation.application` format, for example `com.xda.labs`
|
||||||
|
|
||||||
|
**Note:** don't do this in applications like Browsers or the-like, as you'll disable the whole copy-paste feature for those app(s) with this feature
|
||||||
|
|
||||||
|
### Read boot count
|
||||||
|
|
||||||
|
`-b`, `--boot-count`
|
||||||
|
|
||||||
|
show how often the device was booted; requires Anroid 7.0 or newer
|
Loading…
Reference in New Issue