DroidScript 2.68 Premium Mod Tutorial (DIY) 2024
DroidScript is a powerful coding tool that streamlines the process of mobile app development. It empowers you to create native Android apps using JavaScript, one of the most popular programming languages. Additionally, it supports the creation of HTML5 apps, allowing you to utilize your preferred web libraries.
Designed with portability and ease-of-use in mind, DroidScript is an excellent choice for both novice and seasoned developers. A standout feature of DroidScript is its ability to significantly expedite the development process. In fact, it can enhance productivity by up to 10 times compared to conventional development tools.
The premium features of DroidScript further augment its capabilities and provide more sophisticated options for app development. These premium features include:
- Material Component Support (MUI): This feature provides built-in material component support through the MUI object.
- Game Configuration: This feature allows your app to run immediately in GameView mode, enabling you to write your game code directly in the main script without having to create a GameView container.
- Transparent Mode: This mode allows your app to run transparently on the HomeScreen and stay on top of everything, even if the user launches another app.
These premium features not only offer more flexibility and control in app development but also contribute to DroidScript’s ongoing development. Please note that these features are part of the premium subscription.
In this tutorial, we will explore a method to activate the premium features of DroidScript using simple reverse engineering techniques.
1. Exploring how DroidScript is built: After unpacking the DroidScript APK, we notice the presence of a folder named ‘assets’.
This folder contains some .JS files, indicating that the DroidScript IDE itself is built with DroidScript (JavaScript). Upon opening the DroidScript.js file, we find a variable named ‘premium’. However, modifying anything inside of the DroidScript code breaks the app completely due to some signature or license verification on runtime.
2. Bypassing the License Verification of DroidScript: Now comes the real work! First, we need to backsmali the .dex files to extract the .smali files. To do this, we use ApkTool. Next, we decompile the DroidScript .apk file using the command:
apktool d DroidScript.apk
.
This creates a folder where you can find the smali folder with smali files.
Navigate to smali\com\smartphoneremote\ioioscript
where you can find the ChromeClient.smali. Open it and go to line 5615. Change
if-eq p2, v4, :cond_7
toif-eq v4, v4, :cond_7
to make the condition always true. For recompilation, I prefer the simple method of the APKLab Extension for Visual Studio Code. All you have to do is right-click the apktool.yml from the folder and click ‘Rebuild’. This should put the recompiled APK with the signature inside the ‘dist’ folder.