Connecting CinemaHD-v3_3.0.3 to the Cockpit Panel Print

  • 0

This guide covers modifying CinemaHD-v3_3.0.3 to use your custom Cockpit API by editing hardcoded URLs using MT Manager.

Prerequisites

  • MT Manager installed on your device
  • CinemaHD-v3_3.0.3 APK file
  • Your custom Cockpit Panel URL (e.g. https://yourdomain.com/api/cinemahd/)

Steps to Modify the APK

  1. Open the APK using MT Manager.
  2. Navigate to the classes.dex file and open with Dex Editor Plus.
  3. Select All classes for decompilation.

Modify: com/infahash/InfaGetPremiumizeKeyTask

  • Find:
    • const-string v11, "https://demo.cockpit.lol/api/cinemahd/get-pre-key.php"
  • Replace with:
    • const-string v11, "https://yourdomain.com/api/cinemahd/get-pre-key.php"

Modify: com/infahash/InfaValidateLoginTask

  • Find:
    • const-string v3, "https://demo.cockpit.lol/api/cinemahd/index.php"
  • Replace with:
    • const-string v3, "https://yourdomain.com/api/cinemahd/index.php"

Compile, Sign, and Test

  1. After all changes, tap the Save button in MT Manager and then choose Compile.
  2. Wait for compilation to complete, then use the built-in APK Signer in MT Manager.
  3. Install the APK on your emulator or device.
  4. Test the application to ensure content loads from your new API URL.

Tip: You may need to uninstall the old version and clear app cache/data for changes to take effect.


Was this answer helpful?

« Back