Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation #49

Open
abdulhameed446 opened this issue Jul 8, 2024 · 0 comments
Open

Installation #49

abdulhameed446 opened this issue Jul 8, 2024 · 0 comments

Comments

@abdulhameed446
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant