mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-10-31 09:20:23 +00:00
34 lines
885 B
Markdown
34 lines
885 B
Markdown
|
# 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
|