Connecting IPTV Smarters Pro 4.0.3 to the Cockpit Panel Print

  • 1

This guide will show you how to modify the IPTV Smarters Pro 4.0.3 APK to connect it to your Cockpit Panel API.

Prerequisites

  • MT Manager installed
  • The IPTV Smarters Pro 4.0.3 APK file
  • Your Cockpit Panel URL (e.g. https://yourdomain.com/api/smarterspro/)

Steps

1. Open the APK

  • Launch MT Manager and open the IPTV Smarters Pro 4.0.3 APK.

2. Modify the GraphQL Endpoint URL

  • Navigate to com/amazonaws/mobileconnectors/appsync/AWSAppSyncClient$Builder.
  • Find and replace:
const-string v6, "https://demo.cockpit.lol/api/smarterspro/graphql"
  • With:
const-string v6, "https://yourdomain.com/api/smarterspro/graphql"
  • Also, find and replace:
const-string p1, "https://demo.cockpit.lol/api/smarterspro/graphql"
  • With:
const-string p1, "https://yourdomain.com/api/smarterspro/graphql"

3. Modify the Domain Regex

  • Navigate to com/amazonaws/mobileconnectors/appsync/DomainType.
  • Find and replace:
.field private static final STANDARD_ENDPOINT_REGEX:Ljava/lang/String; = "^https://demo.cockpit.lol/api/smarterspro/graphql$"
  • With:
.field private static final STANDARD_ENDPOINT_REGEX:Ljava/lang/String; = "^https://yourdomain.com/api/smarterspro/graphql$"
  • Also, find and replace:
const-string v0, "^https://demo.cockpit.lol/api/smarterspro/graphql$"
  • With:
const-string v0, "^https://yourdomain.com/api/smarterspro/graphql$"

4. Modify the API Base URL

  • Navigate to hi/a.
  • Find and replace:
const-string v5, "https://demo.cockpit.lol/api/smarterspro/"
  • With:
const-string v5, "https://yourdomain.com/api/smarterspro/"
  • Navigate to wh/g$a.
  • Find and replace:
.field public static a:Ljava/lang/String; = "https://demo.cockpit.lol/api/smarterspro/"
  • With:
.field public static a:Ljava/lang/String; = "https://yourdomain.com/api/smarterspro/"

5. Save, Compile, and Sign

  • After making the changes, tap the Save button in MT Manager and then choose Compile.
  • Once the app is compiled, sign the APK using your preferred signing method.

6. Test the APK

  • Install the modified APK on your device and test it to ensure the connection to your Cockpit Panel is working properly.

That's it! The IPTV Smarters Pro 4.0.3 APK is now connected to your Cockpit Panel.


Was this answer helpful?

« Back