Connecting LEGAZY SYSTEMS_6.0 to the Cockpit Panel Print

  • 0

This guide explains how to connect the LEGAZY SYSTEMS application (version 6.0) to your Cockpit Panel by modifying its API URLs to point to your server.

Prerequisites

  • MT Manager installed on your Android device
  • The LEGAZY SYSTEMS_6.0 APK file
  • Your Cockpit Panel URL (e.g. https://yourdomain.com/api/legazy/)

Steps to Modify the APK

1. Open the APK in MT Manager

  • Locate the APK using MT Manager and open it.
  • Navigate to classes.dex and open it using Dex Editor Plus.

2. Modify the API URLs

In com/legazy/systems/http/APIConstant

Find and change the following fields:

.field public static final SECURITY_BASE_URL:Ljava/lang/String; = "https://demo.cockpit.lol/api/legazy/validador.php?usera="
.field public static final UPDATE_API_URL:Ljava/lang/String; = "https://demo.cockpit.lol/api/legazy/version.php"

Replace them with your panel URL:

.field public static final SECURITY_BASE_URL:Ljava/lang/String; = "https://yourdomain.com/api/legazy/validador.php?usera="
.field public static final UPDATE_API_URL:Ljava/lang/String; = "https://yourdomain.com/api/legazy/version.php"
In com/legazy/systems/http/XtreamAPI

Locate and update these strings:

const-string v1, "https://demo.cockpit.lol/api/legazy/validador.php?usera="
const-string v0, "https://demo.cockpit.lol/api/legazy/version.php"

Replace with:

const-string v1, "https://yourdomain.com/api/legazy/validador.php?usera="
const-string v0, "https://yourdomain.com/api/legazy/version.php"

3. Save and Compile

After all changes, tap the Save button in MT Manager and then choose Compile to rebuild the APK.

4. Sign the APK

Sign the modified APK using MT Manager’s signature tool or your own signing method.

5. Testing

  • Install the signed APK on your device.
  • Open the app and verify that it connects to your Cockpit Panel and displays services as expected.

Was this answer helpful?

« Back