How to Install eGate Guide

This guide will walk you through installing and activating eGate on your Android device using ADB.

What You’ll Need

  1. Android Device: Running Android 6.0 or later.
  2. eGate APK: Download the latest version from the GitHub repository.
  3. ADB Tools:
  4. Activation License Key: Purchase from PayHip or use one you got from a reseller.
  5. USB Debugging Enabled:
    • Enable Developer Options on your device by going to:
      • Settings > About Phone > Tap “Build Number” 7 times.
    • Enable USB Debugging in Developer Options.

Installation Steps

Step 1: Install the APK via ADB

Option 1: Local ADB Installation

  1. Connect your Android device to your computer via USB.
  2. Open a terminal/command prompt on your computer and navigate to the folder containing ADB tools.
  3. Place the eGate APK in the same folder for easier access.
  4. Run the following command to install the APK:
    adb install app-general-release.apk
    
    Replace app-general-release.apk with the exact name of the APK file.
    If this is the first time you are connecting this device to your computer, a popup may come up on the device asking you to Allow permission. Press allow and run the command again.

Option 2: Install via WebADB

  1. Go to WebADB in your browser.
  2. Connect your Android device via USB or Wi-Fi following the on-screen instructions.
  3. Select the Install APK option, upload the eGate APK file, and install it.
    If this is the first time you are connecting this device to your computer, a popup may come up on the device asking you to Allow permission. Press allow and run the command again.

Step 2: Set eGate as the Device Owner

  1. Ensure the eGate app is installed.

  2. Run the following command to set eGate as the device owner:

    adb shell dpm set-device-owner com.oss.egate/.a
    

    If the device is the LG Classic, run the following ADB command instead:

    dpm set-device-owner com.android.cts.egate/com.oss.egate.a
    

This grants the app device management permissions, necessary for full functionality.
Read more about setting the device owner and how to fix issues setting the device owner at this topic I wrote:

Step 3: Grant Accessibility Permissions

  1. To allow eGate to set soem features like blocking WebView and other app-related settings, run this ADB command:
    adb shell pm grant com.oss.egate android.permission.WRITE_SECURE_SETTINGS
    

Step 4: Activate the App

  1. Open the eGate app on your device.
  2. Enter the license key you received at the time of purchase.

Step 5: Configure eGate Settings

View all the settings and what each does at this topic that I wrote:

I hope this helps you installing eGate! Feel free to let me know if any modifications/changes should be made to add/correct information.

3 Likes