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
- Open the APK using MT Manager.
- Navigate to the classes.dex file and open with Dex Editor Plus.
- 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
- After all changes, tap the Save button in MT Manager and then choose Compile.
- Wait for compilation to complete, then use the built-in APK Signer in MT Manager.
- Install the APK on your emulator or device.
- 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.