Help! Please tell me how to add modmenu to xapk. xapk convert to apk failed HELP ME

Ze6

Platinian
I am getting an error that I don't understand. Please tell me how to add modmenu to xapk
スクリーンショット 2024-09-23 231337.png
 
What what??
How add modmenu to xapk?

Hmm

1. Dowload app "MT Manager"
2. Open "MT Manager"
3. Select your .xapk file
4. Touch and press"Open" not INSTALL
5. After open you will see 2 or 3 files (base.apk, armv7.apk..)
6. Did you see the files? Open the one you need, for example, in base.apk the path to .dex, and in armv7 or armv8 etc. the folder "lib"
7. After editing just save and close everything, and click again on your .xapk, and install
 
Use AntiSplit-M.v1.6.6.2 to combine XAPK, then you have the normal APK to work with. Way easier
That does not work. To test I got xapk of survior io from apkpure.net. I tried many ways to convert to apk via Antisplit and even through APKTookkit. But it never works. The generated file installs but crashes or shows black screen on launch.
 
Also bluestack sucks. Now using MUMU ( not memu ) emulator. MT manger mod works fine

Next challenge is when I try to copy mod menu files in classes.dex ( under com.android.support ) getting error " Cannot generate dex as the number of methods in a single dex exceeds 65536. Please try using the DEX redivide function to process the apk file in advance.
 
Please tell me how to add modmenu to xapk

Do you know how to do it on a PC?

APK Toolkit is a PC app that can add a mod-menu to an app easily by decompiling both the app and the mod-menu, merging them and automatically doing all the required edits to load the mod-menu which is a huge time saver when modding / adding mod-menus

You can convert an xapk to apk with APK Toolkit

You can also add a mod-menu to an app, either directly to an xapk or an apk with a single mouse click

You should receive no problems with decompiling or compiling but if your newly created installed xapk / apk crashes then it probably has some type of protection like a signature and / or CRC check
 
APK Toolkit is a PC app that can add a mod-menu to an app easily by decompiling both the app and the mod-menu, merging them and automatically doing all the required edits to load the mod-menu which is a huge time saver when modding / adding mod-menus

You can convert an xapk to apk with APK Toolkit

You can also add a mod-menu to an app, either directly to an xapk or an apk with a single mouse click

You should receive no problems with decompiling or compiling but if your newly created installed xapk / apk crashes then it probably has some type of protection like a signature and / or CRC check
Totally Agree. It's a great tool . I guess the particular app I'm trying has some kind of protection which is why it fails.

I have a request - App like MT manager offer on the fly editing an APK, without explicit decompile-compile cycle. Is it viable to include to such a functionality in apktookit ?
 
App like MT manager offer on the fly editing an APK, without explicit decompile-compile cycle. Is it viable to include to such a functionality in apktookit ?

If you mean editing any files or resources then yes you can either extract to edit files or tick "Don't disassemble classes.dex" in settings and none of the dex are then decompiled, just the resources

If you mean editing code (smali) then that is decompiled code. Apks contain COMPILED Java Dalvik Virtual Machine bytecode (DEX)and there is no way of editing without decompiling. All apps need to decompile to edit the smali and if you believe MT or others do it without the decompiling / compiling cycle then you are mistaken. MT even shows a box stating when it is decompiling or compiling
 
If you mean editing any files or resources then yes you can either extract to edit files or tick "Don't disassemble classes.dex" in settings and none of the dex are then decompiled, just the resources

If you mean editing code (smali) then that is decompiled code. Apks contain COMPILED Java Dalvik Virtual Machine bytecode (DEX)and there is no way of editing without decompiling. All apps need to decompile to edit the smali and if you believe MT or others do it without the decompiling / compiling cycle then you are mistaken. MT even shows a box stating when it is decompiling or compiling
My bad. I mixed up and was not clear.

Editing files :
- I did not try direct editing of files. Have always decompiled.
- And did not notice there was an option to Don't disassemble classes.dex"

MT and editing Smali
- Here I mixed up. I wanted to refer to DEX Editor plus and thought of asking if we have / can have similar options.
But I guess, when in PC it's easier to decompile and search.

Sorry for noob queries. Still learning.
 
is a PC app that can add a mod-menu to an app easily by decompiling both the app and the mod-menu, merging them and automatically doing all the required edits to load the mod-menu which is a huge time saver when modding / adding mod-menus

You can convert an xapk to apk with APK Toolkit

You can also add a mod-menu to an app, either directly to an xapk or an apk with a single mouse click

You should receive no problems with decompiling or compiling but if your newly created installed xapk / apk crashes then it probably has some type of protection like a signature and / or CRC check
Hello,

I'm currently experiencing the same issue. I tried converting the XAPK file to APK and installed it, but it closed immediately afterward (I only converted the XAPK to APK and didn't make any changes to the original file). Could you please let me know if there's a way to handle such cases? I'm a beginner. Thank you very much
 
Back
Top Bottom