Here's a streamlined process to ensure you get everything right:
-
Clone the Repository on Your Laptop:
- Open a terminal on your laptop.
- Run the following commands:
git clone https://github.com/theappbusiness/android-proxy-toggle.git
cd android-proxy-toggle
-
Find the APK:
- The
proxy-toggle.apk file is already in the cloned repository. You don't need to download it separately.
-
Connect Your Android Device:
- Connect your Android phone to your laptop using a USB cable.
- Enable USB debugging on your phone by going to
Settings > Developer options > USB debugging.
-
Install the APK:
- From your terminal on your laptop, navigate to the directory where
proxy-toggle.apk is located (it should be in the root of the cloned repository).
- Run the following command to install the APK:
adb install -t -r proxy-toggle.apk
-
Grant Permissions:
- After the APK is installed, grant the necessary permissions by running:
adb shell pm grant com.kinandcarta.create.proxytoggle android.permission.WRITE_SECURE_SETTINGS
Alternatively, you can use the provided script to install the APK and grant permissions in one go:
- While still in the
android-proxy-toggle directory on your laptop, run:
./installAndGrantPermission.sh
This script will handle both the installation and the permission granting.
Summary
- Clone the repository on your laptop.
- Connect your phone to your laptop and enable USB debugging.
- Install the APK using
adb install -t -r proxy-toggle.apk.
- Grant the necessary permissions using
adb shell pm grant com.kinandcarta.create.proxytoggle android.permission.WRITE_SECURE_SETTINGS.
- Alternatively, use the
./installAndGrantPermission.sh script to do both steps automatically.
This should ensure the android-proxy-toggle app is properly installed and configured on your phone.
Here's a streamlined process to ensure you get everything right:
Clone the Repository on Your Laptop:
git clone https://github.com/theappbusiness/android-proxy-toggle.git cd android-proxy-toggleFind the APK:
proxy-toggle.apkfile is already in the cloned repository. You don't need to download it separately.Connect Your Android Device:
Settings > Developer options > USB debugging.Install the APK:
proxy-toggle.apkis located (it should be in the root of the cloned repository).Grant Permissions:
Alternatively, you can use the provided script to install the APK and grant permissions in one go:
android-proxy-toggledirectory on your laptop, run:This script will handle both the installation and the permission granting.
Summary
adb install -t -r proxy-toggle.apk.adb shell pm grant com.kinandcarta.create.proxytoggle android.permission.WRITE_SECURE_SETTINGS../installAndGrantPermission.shscript to do both steps automatically.This should ensure the
android-proxy-toggleapp is properly installed and configured on your phone.