This is the AMP version of this page.
If you want to load the real page instead, click this text.

Tutorial Creating a Key System for Games and APK Mods

bexiu

Platinian

1. Files Provided for Implementation

This project code is free to use, and you can incorporate it into any of your projects.
Credit: LGLTeam, Classified,nullcoderback, foxcheats,duymmo,thkr247 & many others.
To help you implement the key system, the following files are provided:

  1. Test APK File:
    • app-test.apk: A sample APK connected to the actual key system for testing.
  2. Source Key File:
    • source-key-login-1-device: The full source code to embed key login functionality into your mod.
  3. Server Panel File:
  • pannel-server-setup.zip: A server panel for managing keys, including key creation, assignment, and account management.
These files can be customized according to your requirements and serve as the foundation for the key system.

2. Introduction and Objectives​

This guide helps you:

  • Generate keys to control access to games or APK mods.
  • Connect your APK to a server for key management.
  • Integrate an API for automatic key link shortening.
  • Customize buttons or internal features to fit your needs.
You can modify the server, customize the key input interface, or manage the key system as required.

3. Enabling and Customizing Key Input​

Enable Key Input​

  1. Open the file MainActivity.java:
    Bash:
    /sources login key 1 device /app/src/main/java/com/android/support/MainActivity.java
  2. Fix the following code:
Java:
thkr247.Init(this);
//Main.Start(this);

Disable Key Input​

  1. Use the following code instead:
Java:
//thkr247.Init(this);
Main.Start(this);

4. Customizing the Server Connection​

  1. Open the file:
    CSS:
    main.cpp
  2. Locate this line:
  3. Replace 1.thkr.fun/connect with your real server address.
  4. To rename the package, modify this line:
    CSS:
    Java_com_android_support_thkr247_Check
    Update it with your new package name, but keep _thkr247_Check with new name
  5. In the same file, I have marked the start and end of the key input section for mods with the following symbols for easier navigation:
  • Start of key input section:
  • Bash:
    --██████Start entering key for mod██████
  • End of key input section:
Bash:
--██████End of key entry for mod██████

Step 4: Additional Updates and Features

1. API Link Shortening Integration

If you want to shorten links for your keys, integrate an API as follows.
  • Use the example API link below:
Perl:
https://yeumoney.com/QL_api.php?token=API_TOKEN&format=json&url=LINK_TO_SHORTEN
  • Example code to integrate it:
Use the provided API link to automatically shorten key URLs. For example:
PHP:
$link_goc = urlencode("https://1.thkr.fun/key1.php?key=$key");
$api_token = '23df354968b449926a83e4ebca380f1e40d2982d';
$api_url = "https://yeumoney.com/QL_api.php?token={$api_token}&url={$link_goc}&format=json";
  • After integration, your shortened link will look like this:
PHP:
https://1.thkr.fun/getkey.php

2. Button and Feature Customization

This file allows you to adjust buttons or internal features to fit your needs.
You can edit the file:
Java:
/app/src/main/java/com/android/support/thkr247.java

Step 5: Testing the System with the Demo

Demo Server Information

There are two types of accounts: the admin account and the reseller partner agent account.
You can access the server to see the detailed operation according to the information below.
  • Server Address: 1.thkr.fun
  • Test Key Connection: thkr247 is the key to test test.apk.

Demo Account Credentials

  • Admin Account
    • Username: admin
    • Password: admin123
  • Reseller Account
    • Username: demo
    • Password: admin123

Step 6: Final Notes and Support

  • If you encounter any issues with the APK or server integration, feel free to reach out for help.
  • Text here or @Tele for further responses.
  • I am also open to sharing this system with those who want to use it.
Feel free to leave your questions or feedback in this thread!
3 file source for this project attach in this link
app test.apk key connect to server
file full source for project
file panel set up server
 

Attachments

  • IMG_20241230_153722_913.jpg
    52 KB · Views: 1
Last edited: