-
Notifications
You must be signed in to change notification settings - Fork 14
1) Installation
In a root shell, type this comamnd to clone the latest ChArch shell commands into your /usr/bin/
folder.
curl -L -s https://gist.github.com/tytydraco/9646be559a9fac02b2e6aa1a1a99faaf/raw | sh
You can install ChArch to an external drive (e.g. USB flash drive). This is beneficial for those who take their ChArch with them and do not want to install ChArch to the host machine.
Navigate to your external drive and type the following command:
curl -L -s https://gist.github.com/tytydraco/934b057d12c64f59fa81ea5b5d7b1840/raw > wrapper.sh
Now enter a root shell with sudo su
or a similar command, and type source wrapper.sh
. This will pull the latest ChArch repository locally, add the local scripts to your PATH, and alias the ChArch commands to use the external drive as the ChArch directory. Instead of typing charch -d <path-to-external-drive> [OPTIONS]
, the wrapper only needs charch [OPTIONS]
.
Download the most recent Magisk Module release on the releases page and install the zip file as a Magisk Module.
Clone the latest ChArch repository to an executable directory on your Android device (i.e. /data/local/tmp). Extract it and enter the new directory. Then, add it to your PATH
variable with the following command: export PATH="$PATH:$(pwd)"
.