Connecting LTQ_5.1.0.87 to the Cockpit Panel Print

  • 0

This guide walks you through updating LTQ (version 5.1.0.87) to use your Cockpit Panel by replacing all references to the default demo API URL.

Prerequisites

  • MT Manager installed on your Android device
  • The LTQ_5.1.0.87 APK file
  • Your Cockpit Panel URL (e.g. https://yourdomain.com/api/ltq2/)

Instructions

1. Open the APK

  • Open the APK in MT Manager.
  • Navigate to classes.dex and open it with Dex Editor Plus.

2. Modify All Required Strings

In com/topper865/ltq/activity/HomeActivity
const-string v3, "https://demo.cockpit.lol/api/ltq2/"

Change to:

const-string v3, "https://yourdomain.com/api/ltq2/"
In com/topper865/ltq/activity/SplashActivity$h
const-string v3, "https://demo.cockpit.lol/api/ltq2/"

Change to:

const-string v3, "https://yourdomain.com/api/ltq2/"
In com/topper865/ltq/b/h/k
const-string v1, "https://demo.cockpit.lol/api/ltq2/sports.php"

Change to:

const-string v1, "https://yourdomain.com/api/ltq2/sports.php"
In com/topper865/ltq/b/k/b
const-string v4, "https://demo.cockpit.lol/api/ltq2/"

Change to:

const-string v4, "https://yourdomain.com/api/ltq2/"
In com/topper865/ltq/b/k/c
const-string v4, "https://demo.cockpit.lol/api/ltq2/"

Change to:

const-string v4, "https://yourdomain.com/api/ltq2/"
In com/topper865/ltq/d/d

Update the following lines:

.field private static a:Ljava/lang/String; = "https://demo.cockpit.lol/api/ltq2/"
const-string v1, "https://demo.cockpit.lol/api/ltq2/"
const-string v1, "https://demo.cockpit.lol/api/ltq2/vpn.php"

Change to:

.field private static a:Ljava/lang/String; = "https://yourdomain.com/api/ltq2/"
const-string v1, "https://yourdomain.com/api/ltq2/"
const-string v1, "https://yourdomain.com/api/ltq2/vpn.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 compiled APK using MT Manager’s signature tool or your own.

5. Final Test

  • Install the signed APK.
  • Launch LTQ and confirm it connects to your Cockpit Panel and displays content as expected.

Was this answer helpful?

« Back