I am using a popular game using Cocos2d-X for testing.
Download link
Game name: 放开那三国
Package name : com.sincetimes.fknsg
a. Install downloaded apk file to your Android device, and start frida server on your Android device.How to setup your Android device with frida server . And besure your android device have a good Intenet connection, or the app will not start.
export NDKPATH=<your ndk path for android-ndk-r15c>
cd frida
make # this command will compile frida agent code, and push .so to your android device
cd web
npm i
cd web
npm run dev
Now you can see the web interface in your browser. Visit http://localhost:3000
The web interface will enumerate all assets within the game. This process may take some time due to the extensive number of assets and is dependent on the performance of your Android device. Once the asset list is populated, you can search for assets by name; the search function is case-insensitive. Clicking on an asset will display its details in the right panel. If the asset is an image, you can click on the image to view it in a new tab. If the asset is a text file, clicking on the text will also open it in a new tab. For all other types of assets, a hexdump will be displayed in the right panel.
- If you see error message like this:
error while loading shared libraries: libncurses.so.5 : cannot open shared object file: No such file or directory
This is because your machine has no libncurses.so.5
file, you can install it by apt install ncurses-dev
in termux, or apt install libncurses5
in ubuntu.
Or just link libncurses.so.5
to libncurses.so
just link libtinfo.so.5
to libtinfo.so
You can find these files in your linux system at /usr/lib/x86_64-linux-gnu