Connecting 1-Stream_1.6 to Cockpit Panel Print

  • 0

This guide explains how to modify the 1-Stream Player Android application to connect it to your Cockpit Panel API using MT Manager.

Prerequisites

  • MT Manager installed (with premium features unlocked)
  • APK of 1-Stream Player
  • Your Cockpit Panel URL (e.g., https://yourdomain.com/api/1stream/)

Steps

  1. Open MT Manager on your device or emulator.
  2. Locate and open the 1-Stream Player APK file.
  3. Tap on the classes.dex file and select Dex Editor Plus.
  4. In Dex Editor Plus, tap the 3-dot menu and choose Select All to scan all packages.
  5. Navigate to the following class:
    com/vstroproject/RTX/mConfig.smali
  6. Scroll through the code to find the following line:
    const-string v0, "https://demo.cockpit.lol/api/1stream/"
  7. Replace the demo URL with your own Cockpit API URL, including the full path:
    const-string v0, "https://yourdomain.com/api/1stream/"

    Note: Make sure to include the trailing / at the end of the URL.

  8. After editing, tap the Save button in MT Manager and then choose Compile.
  9. Once compiled, choose Sign the APK using MT Manager’s built-in signer.
  10. Install the modified APK and launch the app.
  11. On the login screen, the service drop-down should now display all services added to your Cockpit Panel.

Troubleshooting

  • Ensure your Cockpit panel is set up correctly and has services assigned.
  • Check for typos in the URL string.
  • If services do not appear, inspect logcat logs for any API errors.

Reminder: Always back up the original APK before making modifications, and test the final APK on a safe environment like an emulator before deploying.


Was this answer helpful?

« Back