This guide will show you how to modify the S9H Store 2.0 (XC) APK to connect it to your Cockpit Panel API.
Prerequisites
- MT Manager installed
- The S9H Store 2.0 (XC) APK file
- Your Cockpit Panel URL (e.g.
https://yourdomain.com/api/s9hstore/)
Steps
1. Open the APK
- Launch MT Manager and open the S9H Store 2.0 (XC) APK.
2. Modify the API URLs
- Navigate to
com/infahash/InfaValidateLoginTask. - Find and replace:
const-string v4, "https://demo.cockpit.lol/api/s9hstore/dns.php"
- With:
const-string v4, "https://yourdomain.com/api/s9hstore/dns.php"
- Navigate to
com/s9h/royalstore/MainActivity. - Find and replace:
const-string v0, "https://demo.cockpit.lol/api/s9hstore/"
- With:
const-string v0, "https://yourdomain.com/api/s9hstore/"
3. 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.
4. 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 S9H Store 2.0 (XC) APK is now connected to your Cockpit Panel.