Tutorial Understanding different APK structures and how to mod them

DVAツ

Solid & Active Platinian
Original poster
Dec 8, 2020
87
8,789
183
APK
Hello guys,
Today we gonna talk about the main topic about APKs so anyone who reads it tries to read it to the end to understand the information about this tutorial.

Before reading!
If you are a guest to platinmods I say to sign up to platinmods because you can get help from a very supportive staff and get any mods without viruses and dangerous websites!



So let's jump to the topic!
In the Android world, there are different kinds of Apk files so many people are tucked in modding bcz they are unable to mod bcz they don't know the structure of the APK.


Types of Apk.

1)Apk files end with .apk (normal apk)
2)XApk files
3)Xapk file with the splited library
4)Apks files


_______________________________________________________________________________________________________________________________________________________________________________________________

1)Apk files end with .apk (normal apk)

So in (.Apk) files we can again divide it to some parts they are

1) Games with open dlls (mostly Unity games)
2) Gams with Il2cpp lib (Protected Unity games)
3) Games without metadata (Only the lib)
4) Games with libUe4 (Unreal engine games {Harder to mod})


So let's talk about the first subtopic

1) Games with open dlls (mostly Unity games)

So if you open an apk and if you find .dll files in "assets/bin/Data/Managed" like shown in this picture that game belongs to this type.
These games (99%) are made using unity games so this kind of games are really easy to mod!

1.png


there is a tutorial about modding these types of games so you can find it there.



2) Gams with Il2cpp lib (Protected Unity games)

So later unity decided to protect their game libs from hackers and modders and improve their security they made a new inception method called Il2cpp so as a result of day most of the games contain these kinds of libs.

If you go to "assets/bin/Data/Managed" you can't find dlls instead of that you will find 3 folders.
So these kinds of games are il2cpp games.

2.png


There is a tutorial made by me and pmt modder with a video tutorial so you can learn how to mod these kinds of games.



3) Games without metadata (Only the lib)

So these kinds of games are made from their own game engines or some are unity.
So this kind of games doesn't use a metadata file but use only the library file.

You can see there is no bin folder or sometimes there's no assets folder also.
(Inside the assets folder)
3.png


So these type of games you need to use IDA to mod.


4) Games with libUe4 (Unreal engine games {Harder to mod})

So this kind of games are really hard to mod because unreal games have it's own security so it's harder to mod. You can identify the unreal games like this.
Goto "lib/armeabi-v7a/" there you can find a lib called "libue4.so"

4.png


Still,I don't have a tutorial for this so sorry for that!

_______________________________________________________________________________________________________________________________________________________________________________________________

2)XApk files

So today many games are above 150 Mb. So in apk size maximum is 150mb because when the size of the apk gets bigger and bigger the time that takes to the installation is very high so many games content with an "obb" file.
In your mobile phone,u can see it
Goto the file manager and chose "internal storage/Android/Obb"
you can see a couple of folders there so the obb file contains the games resources and its files to run the game.

An XAPK file is a package used to install Android apps on mobile devices. It is similar to the standard .APK format, but may contain other assets used by the app, such as an .OBB file, which stores graphics, media files, and other app data. XAPK files are used for distributing apps on third-party Android app download websites. They are not supported by Google Play.

If you have a xapk file open it then you can see like this!

5.png


so install this kind of file rename the xapk file to .zip (ex:- pubg.xapk to pubg.zip)

So now copy the android folder to "Device storage" and install the apk.
Now you can see this is not hard to install xapk files.

_______________________________________________________________________________________________________________________________________________________________________________________________

3)Xapk file with the splited library.

So some xapk file does not contain a Android folder instead of that it contains 2 apk files like this.

6.png


so these types of games are splited the library and the apk if you open the base apk there is no lib folder but if you open the library apk there will only the lib folder.

So there is a tutorial about modding these types of games in platinmods.


_______________________________________________________________________________________________________________________________________________________________________________________________

4)Apks files


An APKS file is an APK set archive generated by bundletool, a utility used for creating and managing Android App Bundles (.AAB files). The archive, which is compressed .ZIP file, contains a set of .APK files that are split based on device characteristics such as architecture, language, screen density, and other device features. bundletool uses the files to install optimized versions of the app on devices based on the device profile.

for example
these kinds of apks use different languages so if you open an apks file like a zip you can see it contain different kinds of language files.games are not coming with this extinction but some apps come with this extension.


So how u guys get enough knowledge of APK and continue modding!

Still,have questions?
Join my discord for more information
 

kr4141860

Rookie
Jul 2, 2021
1
0
1
29
India
Google is mandating .aab files for newer apps from August 2021. Do anyone have an idea on how it will affect modding android apps?