android-proxy-toggle icon indicating copy to clipboard operation
android-proxy-toggle copied to clipboard

Installation

Open abdulhameed446 opened this issue 1 year ago • 0 comments

Here's a streamlined process to ensure you get everything right:

  1. 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
      
  2. Find the APK:

    • The proxy-toggle.apk file is already in the cloned repository. You don't need to download it separately.
  3. 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.
  4. 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
      
  5. 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.

abdulhameed446 avatar Jul 08 '24 15:07 abdulhameed446