fastman92 Posted December 30, 2021 Share Posted December 30, 2021 (edited) fastman92 APK modifier This tool allows to decompile an application and make it better, adding certain functionality. This tool allows to decompile APK/APKM/APKS/XAPK/directory and make better package/bundle. Runs on Windows, uses NET Framework 4.6.2 Requires Java to be installed. Tested for: GTA III GTA VC GTA SA GTA III DE Rockstar Games GTA VC DE Rockstar Games GTA SA DE Rockstar Games GTA III DE Netflix GTA VC DE Netflix GTA SA DE Netflix GTA LCS GTA CTW Bully AE Max Payne iFruit Blood Strike Goat Simulator Luanti / Minetest Minecraft Skulls of the Shogun Stardew Valley Star Wars™: KOTOR EA SPORTS FC™ Mobile Football FIFA 14 FIFA 15 FIFA 16 Need for Speed™ No Limits Star Wars™: Galaxy of Heroes Android's services.jar It will work on many other applications as well, although this is not guaranteed. It's implemented in such a way that an unprotected functionality should work for most of packages. Allows to do the following: - set the package name. User can install multiple game versions of the same game on the device this way. Can be com.rockstargames.gtasa_1_08, com.rockstargames.gtasa_2_0 for example - set application and activity title - set default options for APK - provide launcher for an application. Launcher can also read some settings from {EXTERNAL_STORAGE}/Android(unprotected)/data/PACKAGE_NAME/files/launcher_settings.xml The option to use launcher_settings.xml must be enabled for this. - solves scoped storage problem, which was introduced in Android 10. It does so, by making the use of {EXTERNAL_STORAGE}/AndUnpr instead of default {EXTERNAL_STORAGE}/Android No more problem with GTA Img Tool not being able to access the application files. It can access {EXTERNAL_STORAGE}/AndUnpr Other files on the external storage also become accessible to the app (fopen). - changes path from /data/data/PACKAGE_NAME/files to {EXTERNAL_STORAGE}/AndUnpr/files/LAUNCHER_ANDROID_DATA_DIRECTORY, this is especially useful for applications where this is the problem: GTA LCS & GTA Definitive Edition games. private application directory is now moved into external file dir (getFilesDir returns the value of getExternalFilesDir) No need to have root to access files anymore. - set Android DATA directory - set Android OBB/assetpacks directory - supports APK/APKM/APKS/XAPK, can also read APKM/APKS/XAPK from directory - can convert from split APK (multiple APK files) into APK - allows to integrate assetpacks directory into generated package/bundle - shows an information about empty assetpacks/obb directory on the first run of application - can make APK debuggable, this way the APK will be debuggable, no need for ro.debuggable to be enabled in the system to debug it. - creates AndUnpr/data/DATA_DIRECTORY/files/UE4Game/Gameface/Engine/Content/Paks/~mods/ automatically - Problem of application's activity being killed when connecting/disconnecting the USB input device is going to be solved. - move SDCard directory to /mnt/windows/BstSharedFolder This is for Bluestacks users. Remember to create a file named use_as_sdcard.txt in this directory to enable the functionality. - choose to resign the package only and do nothing else - allow setting installerPackageName to any value, does not have to be signed by the same authority (Android's services.jar modification) - fixes resources, symbol names get fixed, APKTOOL_DUMMY_ changed to proper name Remember the newly generated package might be signed with a different private key than the one used in original package. If this is the case you will have to uninstall an old application in Android before you can install a modified one. - - - - - - - - - - - - - - - - - - See the project topic: https://gtaforums.com/topic/979211-fastman92-apk-modifier/ ***** Changes ** 17 April 2025 - implemented an option to integrate assetpacks directory into generated package/bundle ** 15 April 2025 - fixed merging of resources when converting from bundle into standalone APK - fixed AndUnpr for Bully AE - added an error, when compiling a package that can possibly extract asset packs from ZIP archives. Compiling it is unsupported. ** 10 April 2025 - fixed AndUnpr for GTA III, GTA VC, GTA SA and GTA CTW ** 6 April 2025 - added handling of android:appComponentFactory if found ** 5 April 2025 - now supporting multiple inheritance for <Application> class ** 4 April 2025 - fixed Android unprotected functionality in R* games ** 3 April 2025 - implemented proper exchanging of symbol names and resources between different APK files, when bundle is loaded Added option: |Only fix resources, don't add APK modifier's code" ** 28 March 2025 - added handling of APKTOOL_DUMMY_ items that may appear in bundles with split APKs, this is neccesary for proper conversion to standalone APK ** 15 March 2025 - activity-alias now takes a presedence over alias, when searching for an activity to launch - implemented handling of APKtool's additional DEX files properly (like assets/audience_network.dex), decompilation and compilation into proper place ** 11 March 2025 - important change: now the unprotected directory is {EXTERNAL_STORAGE}/AndUnpr this was a necessary change, with 'Android' being replaced into 'AndUnpr', string length is still the same. Needs to be this way for some applications. - added support for Star Wars™: Galaxy of Heroes - added support for FIFA 15 ** 3 March 2025 - now requesting for READ_EXTERNAL_STORAGE ** 2 March 2025 - improved error handling, showing more detailed information - added support for FIFA 14 and FIFA 16 - fixed a problem with null values from getExternalFilesDir not being handled properly ** 25 February 2025 - improved finding of an activity to launcher ** 15 February 2025 - added an additional code for file opening in GTA LCS - added merging of apktool.yml, when performing a conversion to standalone APK. ** 11 February 2025 - improved fixing of resources - strings.xml saving improved - added handling of 'layout' not being reference when using APPT2 - now working on multiple threads (Apktool) ** 5 February 2025 - fixed merging of resources, when performing a conversion to standalone APK. - APKM format implemented ** 2 February 2025 - now removing android:isSplitRequired attribute from <manifest> when performing a conversion to standalone APK. ** 25 January 2025 - when converting to APKS now it removes split types and required split types, verifying if required split types are there - added an altered context to service classes, this is necessary for some application like Luanti ** 23 January 2025 - added detection of some errors - supporting longer file paths now, this could be a problem, when working with some packages ** 15 January 2025 - showing app's icon now, does not work if an application uses adaptive-icon exclusively ** 14 January 2025 - detected signature verification in some cases, the recompilation the package will be stopped. ** 7 January 2025 - solved a problem of final super class of application being inherited - tested for EA SPORTS FC™ Mobile Football & Need for Speed™ No Limits - added native code patch for applications where it's necessary ** 3 January 2025 - fixed bug in method GetNewPackageQualifiedClassName ** 27 December 2024 - path to external storage may now be changed up (Environment.getExternalStorageDirectory) the new location, when using Bluestacks. - reading launcher_settings.xml properly now ** 24 December 2024 - DATA/OBB directory now gets the value of new package name in GUI properly, when Android_unprotected is disabled. - no longer throwing an exception when expansions are not available in XAPK's manifest.json - com.adjust.sdk: Change assert log to warning. Used in GTA LCS. ** 23 December 2024 - improved detection of OBB functionality (Helpers) ** 6 December 2024 - improved detection of OBB use (for GTA LCS and Blood Strike) ** 5 December 2024 - added a check for base APK file, when loading from directory. Prevents from copying the directory unnecessarily, when it does not contain the proper data. ** 4 December 2024 - added an information about empty assetpacks/obb directory on the first run of application (GTA games) ** 3 December 2024 - private application directory is now moved into external file dir (getFilesDir returns the value of getExternalFilesDir) - reading of directory of files (APKS/XAPK extracted) implemented - fixed problem with data directory not becoming Android_unprotected - conversion from APKS/XAPK/directory into APK implemented ** 20 November 2024 - added an information about zipalign.exe not supporting an APK file that has reached 2 GB in size. Modification of such a big APK is currently impossible. ** 11 November 2024 - file access on SDK of Android 10 (29) has been fixed. - XAPK format now supported. - APK modifier now working at the scope of application & activity. This provides a compatibility with most of packages. That's the most significiant change. Unprotected functionality now possible for most of applications. ** 13 October 2024 - increased size of certain fields in GUI - added the possibility of loading package without AndroidManifest.xml (such as JAR file for Android like services.jar) and other separate APK from APKS (with split attribute) - improved information about strings.xml titles and fields now enabled or disabled depending on the manifest value ** 12 October 2024 - improved information about APK modifier. ** 29 September 2024 - supported new games: (NetEase Games -> Blood Strike), (Open Source Softwares -> Minetest) ** 18 August 2024 - disabled an information about SettingsGenerated.smali missing if it's not found when loading APK/APKS ** 17 August 2024 - now showing a version of APK's modifier code, if found in existing APK/APKS package, in informations. ** 4 August 2024 - implemented handling of process death. This problem could be seen as "Cannot find storage. Is SDCard mounted?" on some applications. ** 23 June 2024 - implemented an error, Java is not found. Showing an error that tells user to install Java. ** 22 June 2024 - path to asset packs now showing properly in GUI at all times ** 21 June 2024 - fastman92 APK modifier while loading an APK file will read all properties from an already modified APK ** 10 June 2024 - assetpacks directory created only if asset packs can be used ** 15 May 2024 - fixed bug, application could not be started, when Android_unprotected directory was disabled. ** 5 May 2024 - creates Android_(unprotected)/data/DATA_DIRECTORY/files/UE4Game/Gameface/Engine/Content/Paks/~mods/ automatically - supports all GTA DE games - application and activity title, possible modification of strings.xml - allows setting installerPackageName to any value, does not have to be signed by the same authority (Android's services.jar modification) ** 24 Feb 2024 - added progress, when creating / extracting files from APKS. - improved compatibility with games, especially GTA DE ** 13 Feb 2024 - added handling of "elements require a sdk version of at least" error ** 12 Feb 2024 - now works properly with APK/APKS archives larger than 4 GB, using ZIP64 format. ** 30 Jan 2023 - now path to asset packs is {EXTERNAL_STORAGE}/Android_unprotected/data/LAUNCHER_ANDROID_DATA_DIRECTORY/files/assetpacks, if LAUNCHER_ANDROID_DATA_DIRECTORY == LAUNCHER_ANDROID_OBB_DIRECTORY, else {EXTERNAL_STORAGE}/Android_unprotected/obb/LAUNCHER_ANDROID_OBB_DIRECTORY It was a good decision to do, because this way game files can be in one place. Can put that path to FModel program then. - handles multi DEX now. Will no longer be a problem with an overly big method count. - creates Android_(unprotected)/data/DATA_DIRECTORY/files/UE4Game/Gameface/Engine/Content/Paks/~mods/ automatically - handles GTA Definitive Edition games better. - handling of activity-alias tag ** 20 Dec 2023 - - changes path from /data/data/PACKAGE_NAME/files to {EXTERNAL_STORAGE}/Android(_unprotected)/files/LAUNCHER_ANDROID_DATA_DIRECTORY for applications where this is the problem: GTA LCS & GTA Definitive Edition games - new applications supported: - GTA III DE - GTA VC DE - GTA SA DE - GTA III DE Netflix - GTA VC DE Netflix - GTA SA DE Netflix ** 3 Nov 2023 - now it's possible to load APK/APKS that has already been modified by APK modifier - added error handling of @null resource ** 27 August 2023 - added handling of /mnt/windows/BstSharedFolder. It can hold Android(_unprotected) directory. This is for Bluestacks users. Remember to create a file named use_as_sdcard.txt in this directory to enable the functionality. - target SDK is no longer changed. This turned out to be unnecessary. ** 4 August 2023 - SAI files now being updated. ** 7 Jul 2023, 17:31 - now extracting files from other APK archives only when necessary ** 7 Jul 2023 - assetpacks moved from private application's file directory to Android(_unprotected)/assetpacks/PACKAGE_NAME - added APKS format (split APKs), which is used by latest games. APK or APKS is supported now. ** 17 Jun 2023 - if target SDK is higher than 28, then it will be set to 28. This solves mprotect problem with PROT_EXEC for program segments. ** 11 Oct 2022 - native library extracted to directory ** 8 July 2022 - added message before asking for permissions ** 6 July 2022 - Scoped storage problem solved on target SDK 30 or higher. - Building new APK archive now compatible with SDK 30 or higher. Zip alignment and v2 signing scheme being used. ***** Third-party tools used: - Apksigner - Apktool - Zipalign Libraries: - DotNetZip - Mono.Cecil ---------------- I put a lot of effort making sure that my projects meet the high quality requirements. That takes a significiant amount of work. If you like any of my projects, please consider making a donation. And keep on looking for what projects the future might bring. Download: https://www.mediafire.com/file/v5jxyce01do1m58/fastman92_APK_modifier.rar/file Edited May 17, 2025 by fastman92 Frank.s Again, Grinch_, ketaminlovag and 11 others 12 2 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/ Share on other sites More sharing options...
breant55 Posted December 21, 2023 Share Posted December 21, 2023 Thank you Boss YOu Make a tool For Modify First In ALL Earth Thank you From GTa sa Devine Edten Mobile Earth Moders, Thank you From Own Heart. Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072320127 Share on other sites More sharing options...
breant55 Posted December 21, 2023 Share Posted December 21, 2023 Good Evining SIr First Thank you For your ALways GReat and amazing Work For Gta Histery, Thank you Boss Can we Make Mod Gta sa Devine editten Mobile Boss can we Update Dff Models in Gta sa Devine Edition Mobile Version, Boss i will wait your Reply ________ Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072320282 Share on other sites More sharing options...
geniusn8 Posted March 15, 2024 Share Posted March 15, 2024 (edited) Where do I download the apk modifier from? As far as I can see there's no download link on this post Edit- Just saw the "soon'' under download. Damn Edited March 15, 2024 by geniusn8 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072358627 Share on other sites More sharing options...
fastman92 Posted March 15, 2024 Author Share Posted March 15, 2024 Work in progress. geniusn8 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072358628 Share on other sites More sharing options...
geniusn8 Posted March 15, 2024 Share Posted March 15, 2024 2 minutes ago, fastman92 said: Work in progress. Good luck, appreciate what you do Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072358630 Share on other sites More sharing options...
fastman92 Posted June 23, 2024 Author Share Posted June 23, 2024 (edited) Updated. Now showing an error that tells user to install Java. ---------------------------------------------------------------------------------------------------------- Tutorial, how to make APK/APKS to use AndUnpr This solves a permission problem that Android directory comes with. Click Select and load. Select APK/APKS file. Wait a while until it loads. Click 'Select and save' Wait a while. Done. Edited March 11, 2025 by fastman92 FrankoU 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072396997 Share on other sites More sharing options...
trgb.8.99999 Posted July 10, 2024 Share Posted July 10, 2024 (edited) fastman i do need your help. We asked DYOM developer to increase the higher limit of spawns cars and actors in that mod. He would extend it to higher number. But Fastman Limit Adjuster not allow GTA SA spawns more than 50 cars. COuld u please extend w thing called "mission cleanup list" inside the game's code. Generally is stores references to all spawned actors, cars and some other elements like actor tasks. could u please extend "mission clean up list" to 200 or something. So we could spanws more cars in our mission. To be honest, this things demanded by a lot of people. So i hope u would help us. Because its very useful for DYOM and GTA SA community Thanks so much for your help. Cheers Edited July 11, 2024 by trgb.8.99999 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072406552 Share on other sites More sharing options...
trgb.8.99999 Posted July 21, 2024 Share Posted July 21, 2024 could u extend Fastman Limit Adjuster for PC so it can load 100 cars spawn in creating new mission with DYOM? to be honest , many guys demand this extension in DYOM Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072410941 Share on other sites More sharing options...
geniusn8 Posted July 27, 2024 Share Posted July 27, 2024 (edited) Thanks for making the apk modifier available fastman. I wanted to change my GTA LCS's save location from root folder to the standard android/data location. I saw the tutorial, I just don't understand what to do after pressing "select and save". Do I select the apk I selected initailly again? edit: I selected it, and after that I just waited and waited, my apk was lost. Please help if you can. edit2: I'm sorry, I was at fauklt for that since I used the incorrrect apk file. Your tool works amazing mate, thank you very much edit3: WHat's the other .idsig file created? Do I need to care about it or can I just delete it? Edited July 27, 2024 by geniusn8 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072413476 Share on other sites More sharing options...
fastman92 Posted August 4, 2024 Author Share Posted August 4, 2024 On 7/27/2024 at 8:11 AM, geniusn8 said: Thanks for making the apk modifier available fastman. I wanted to change my GTA LCS's save location from root folder to the standard android/data location. I saw the tutorial, I just don't understand what to do after pressing "select and save". Do I select the apk I selected initailly again? edit: I selected it, and after that I just waited and waited, my apk was lost. Please help if you can. edit2: I'm sorry, I was at fauklt for that since I used the incorrrect apk file. Your tool works amazing mate, thank you very much edit3: WHat's the other .idsig file created? Do I need to care about it or can I just delete it? .idsig file is not necessary. You can delete it. https://developer.android.com/tools/apksigner Here you can find some information about .idsig It's a file produced during signing of APK file. ---------------- New version has been released. Handling of process death got implemented. AshG7 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072416337 Share on other sites More sharing options...
ketaminlovag Posted October 26, 2024 Share Posted October 26, 2024 Hello! I've tried this stuff, but it doesnt really work with GTA VC DE apk . I awlways get this error message : Exception: System.InvalidOperationException: Unable to create aligned APK archive. a következő helyen: fastman92_APK_modifier.Form1.CompileNewUnsignedAPKfile(Boolean bUseAPKtool, String decompiledDirectory, String oldAPKpath, String newAPKpath, Boolean bIsBaseAPK) a következő helyen: fastman92_APK_modifier.Form1.<>c__DisplayClass94_0.<DoTheWork>b__0() if i use the netflix apk that's work but the ingame download doesnt start up. Can someone share GTA VC DE, SA DE modded apk? Or maybe is there someone who does know why i got this message ? thx Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072449018 Share on other sites More sharing options...
fastman92 Posted November 11, 2024 Author Share Posted November 11, 2024 (edited) New version is available for download An unprotected functionality now working on most of applications! Now implemented in such a way that it will work on most of applications. This means you can have Android_unprotected for almost any application. You still need to generate a new package, install it and check if it works for your chosen application. This provides an easy access to files. XAPK format has also been implemented. Changes: ** 11 November 2024 - file access on SDK of Android 10 (29) has been fixed. - XAPK format now supported. - APK modifier now working at the scope of application & activity. This provides a compatibility with most of packages. That's the most significiant change. Unprotected functionality now possible for most of applications. ----------------------------------------------------- On 10/26/2024 at 6:57 PM, ketaminlovag said: Hello! I've tried this stuff, but it doesnt really work with GTA VC DE apk . I awlways get this error message : Exception: System.InvalidOperationException: Unable to create aligned APK archive. a következő helyen: fastman92_APK_modifier.Form1.CompileNewUnsignedAPKfile(Boolean bUseAPKtool, String decompiledDirectory, String oldAPKpath, String newAPKpath, Boolean bIsBaseAPK) a következő helyen: fastman92_APK_modifier.Form1.<>c__DisplayClass94_0.<DoTheWork>b__0() if i use the netflix apk that's work but the ingame download doesnt start up. Can someone share GTA VC DE, SA DE modded apk? Or maybe is there someone who does know why i got this message ? thx Don't use a very big APK that has got asset packs packed into several ZIP archives inside of assets/ inside of APK. which also later would take twice as much space after unpacking (kept inside of APK + unpacked to internal memory). It's bad. Instead use a proper APK/APKS/XAPK. Downloading might start on proper APK that has been created from an original APK/APKS/XAPK, you may have got some modified APK where downloading functionality has been disabled. Application will use the following path for asset packs: {EXTERNAL_STORAGE}/Android_unprotected/data/{OBB_directory}/files/assetpacks Applications checks if files are available in that location. Edited November 11, 2024 by fastman92 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072457085 Share on other sites More sharing options...
yusuf0808 Posted November 25, 2024 Share Posted November 25, 2024 Hello, I was trying to do this with SA Netflix DE version but I get the "Failed to open descriptor file ../../../Gameface/Gameface.uproject" error when starting the game. Here's the steps I did: 1. Download the game from Play Store. 2. Do adb pull to get the base.apk and split_obsassets.apk 3. Merge these files into single apk using this tool: https://github.com/REAndroid/APKEditor (The same error still appears even when I don't do this step and just use the base apk.) 4. Run the apk through your application to get modified unprotected version. (I don't change any settings inside the application.) 5. Install the apk and start the game. Am I doing something wrong? Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072463731 Share on other sites More sharing options...
fastman92 Posted November 29, 2024 Author Share Posted November 29, 2024 (edited) Figured it out. assets/main.obb.zip must belong to asset pack that's named "obbassets". Normally this is specified by split attribute in split_obbassets.apk, within <manifest> element. split_obbassets.apk contains "obbassets" then. Now with APKEditor.jar there is no split_obbassets.apk, asset files instead were moved to base.apk. So how can an application be told that base.apk contains "obbassets"? Here's how: Open APK modifier. Enable this option: "Stop on loading." Decompile an APK with APK modifier. Open your_APK_modifier_path\tmp\decompiledBase\AndroidManifest.xml, add these lines within <application>: <meta-data android:name="com.android.stamp.type" android:value="STAMP_TYPE_STANDALONE_APK" /> <meta-data android:name="com.android.dynamic.apk.fused.modules" android:value="base,obbassets" /> This will essentially tell "obbassets" can be found inside of base.apk. Click "Resume" in APK modifier. Now save. APKEditor.jar is missing this step. APKEditor.jar should be improved. Maybe APK modifier can allow the possibility of converting APKS into APK later. Note that game might be unable to download the rest of files with modified APK, this is one problem that I haven't solved yet. APP_NOT_OWNED error might appear (application was not installed from Play Store, so it can't download files). It may be unsolvable. If that is the case, you need to put all asset packs in {EXTERNAL_STORAGE}/Android_unprotected/data/com.netflix.NGP.GTASanAndreasDefinitiveEdition/files/assetpacks If your device is rooted (you might want to get access to some rooted device for a while, maybe rooted Bluestacks), then install an original application from Play Store and backup files from /data/data/com.netflix.NGP.GTASanAndreasDefinitiveEdition/files/assetpacks Edited November 29, 2024 by fastman92 yusuf0808 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072465456 Share on other sites More sharing options...
MERS4D Posted December 18, 2024 Share Posted December 18, 2024 Awesome! Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072477482 Share on other sites More sharing options...
guyugta Posted December 23, 2024 Share Posted December 23, 2024 On 12/31/2021 at 1:51 AM, fastman92 said: fastman92 APK 修饰符 此工具允许反编译 APK/APKS/XAPK/目录并制作更好的 APK/APKS/XAPK 包。 此工具允许反编译 APK/APKS/XAPK/目录并制作更好的 APK/APKS/XAPK 包。 在 Windows 上运行,使用 NET Framework 4.6.2 需要安装 Java。 测试对象: GTA III GTA VC GTA SA GTA III DE Rockstar Games GTA VC DE Rockstar Games GTA SA DE Rockstar Games GTA III DE Netflix GTA VC DE Netflix GTA SA DE Netflix GTA LCS GTA CTW Bully SE Max Payne iFruit 血击 山羊模拟器 我的世界 Minetest 幕府将军的头骨 星露谷物 语 星球大战™:KOTOR Android 的services.jar 它也适用于许多其他应用程序,尽管这不能保证。 它的实现方式是,未受保护的功能应该适用于大多数包。 允许执行以下操作: - 设置包名称。用户可以通过这种方式在设备上安装同一游戏的多个游戏版本。 可以是com.rockstargames.gtasa_1_08,例如com.rockstargames.gtasa_2_0 - 设置应用程序和活动标题 - 设置 APK 的默认选项 - 为应用程序提供启动器。 启动器还可以从 {EXTERNAL_STORAGE}/Android/data/PACKAGE_NAME/files/launcher_settings.xml 读取一些设置。为此,必须启用使用 launcher_settings.xml 的选项。 - 解决了 Android 10 中引入的分区存储问题。 它通过使用 {EXTERNAL_STORAGE}/Android_unprotected 而不是默认的 {EXTERNAL_STORAGE}/Android 来做到这一点 GTA Img Tool 无法访问应用程序文件不再有问题。 它可以访问 {EXTERNAL_STORAGE}/Android_unprotected 外部存储上的 其他文件也可以被应用程序访问 (fopen)。 - 将路径从/data/data/PACKAGE_NAME/files更改为{EXTERNAL_STORAGE}/Android(_unprotected)/files/LAUNCHER_ANDROID_DATA_DIRECTORY,这对于存在此问题的应用程序特别有用:GTA LCS & GTA最终版游戏。 私有应用程序目录现在已移动到外部文件目录中(getFilesDir 返回 getExternalFilesDir 的值) 不再需要 root 来访问文件。 - set Android DATA directory - 设置 Android OBB/assetpacks 目录 - 支持 APK/APKS/XAPK,也可以从目录中读取 APKS/XAPK - 可以从拆分的 APK(多个 APK 文件)转换为 APK - 显示有关首次运行应用程序时空 assetPacks/OBB 目录的信息 - 可以使 APK 可调试,这样 APK 将是可调试的,不需要在系统中启用 ro.debuggable 来调试它。 - 自动创建 Android_(unprotected)/data/DATA_DIRECTORY/files/UE4Game/Gameface/Engine/Content/Paks/~mods/ - 解决了在连接/断开 USB 输入设备时应用程序活动被终止的问题。 - 将 SDCard 目录移动到 /mnt/windows/BstSharedFolder 这是为 Bluestacks 用户准备的。请记住在此目录中创建一个名为 use_as_sdcard.txt 的文件以启用该功能。 - 选择仅退出 APK / APK - 允许将 installerPackageName 设置为任何值,不必由同一颁发机构签名(Android 的 services.jar 修改) 请记住,新生成的 APK/APKS 程序包可能会使用与原始 APK/APK 中使用的私钥不同的私钥进行签名。如果是这种情况,您必须先在 Android 中卸载旧应用程序,然后才能安装修改后的应用程序。 - - - - - - - - - - - - - - - - - - 请参阅项目主题:https://gtaforums.com/topic/979211-fastman92-apk-modifier/ 变化 ** 2024 年 12 月 6 日 - 改进了 OBB 使用情况的检测(适用于 GTA LCS 和 Blood Strike) ** 2024 年 12 月 5 日 - 从目录加载时,添加了对基本 APK 文件的检查。防止在目录不包含正确数据时不必要地复制该目录。 ** 2024 年 12 月 4 日 - 添加了有关首次运行应用程序(GTA 游戏)时空 assetpacks/obb 目录的信息 ** 2024 年 12 月 3 日 - 私有应用程序目录现已移至外部文件目录(getFilesDir 返回 getExternalFilesDir 的值) - 已实施 文件目录读取(提取的 APKS/XAPK) - 修复了数据目录未变为Android_unprotected的问题 - 已实施从 APKS/XAPK/目录到 APK 的转换 ** 2024 年 11 月 20 日 - 添加了有关 zipalign.exe 不支持大小达到 2 GB 的 APK 文件的信息。目前不可能修改这么大的 APK。 ** 2024 年 11 月 11 日 - 修复了 Android 10 (29) SDK 上的文件访问问题。 - 现在支持 XAPK 格式。 - APK修饰符现在在应用程序和活动范围内工作。这提供了与大多数软件包的兼容性。 这是最重要的变化。现在,大多数应用程序都可以使用不受保护的功能。 ** 2024 年 10 月 13 日 - 增加了 GUI 中某些字段的大小 - 增加了加载不带AndroidManifest.xml包的可能性(例如 services.jar 等适用于 Android 的 JAR 文件)和来自 APK 的其他单独 APK(具有 split 属性) - 改进了strings.xml有关标题和字段的信息,现在根据清单值启用或禁用 ** 2024 年 10 月 12 日 - 改进了有关 APK 修饰符的信息。 ** 2024 年 9 月 29 日 - 支持的新游戏:(网易游戏 -> Blood Strike)、(开源软件 -> Minetest) ** 2024 年 8 月 18 日 - 如果在加载 APK/APK 时未找到 SettingsGenerated.smali 的信息,则会禁用该信息缺失 ** 2024 年 8 月 17 日 - 现在在信息中显示 APK 修饰符代码的版本(如果在现有 APK/APKS 包中找到)。 ** 2024 年 8 月 4 日 - 实施了进程终止的处理。此问题可视为 “找不到存储。是否挂载了 SDCard? ** 2024 年 6 月 23 日 - 实施错误,找不到 Java。显示告知用户安装 Java 的错误。 ** 2024 年 6 月 22 日 - 资源包的路径现在始终在 GUI 中正确显示 ** 2024 年 6 月 21 日 - 加载 APK 文件时,fastman92 APK 修饰符将从已修改的 APK 中读取所有属性 ** 2024 年 6 月 10 日 - 仅当可以使用资源包时,才创建 assetpacks 目录 ** 2024 年 5 月 15 日 - 修复了禁用目录时无法启动Android_unprotected 错误。 ** 2024 年 5 月 5 日 - 自动 创建 Android_(未受保护)/data/DATA_DIRECTORY/files/UE4Game/Gameface/Engine/Content/Paks/~mods/ - 支持所有 GTA DE 游戏 - 应用程序和活动标题,可以修改strings.xml - 允许将 installerPackageName 设置为任何值,不必由同一机构签名(Android 的 services.jar 修改) ** 2024 年 2 月 24 日 - 添加了从 APK 创建/提取文件时的进度。 - 改进了与游戏的兼容性,尤其是 GTA DE ** 2024 年 2 月 13 日 - 添加了对“元素至少需要 SDK 版本”错误的处理 ** 2024 年 2 月 12 日 - 现在可以正常处理大于 4 GB 的 APK/APK 档案,使用 ZIP64 格式。 ** 2023 年 1 月 30 日 - 现在资源包的路径是 {EXTERNAL_STORAGE}/Android_unprotected/data/LAUNCHER_ANDROID_DATA_DIRECTORY/files/assetpacks,如果 LAUNCHER_ANDROID_DATA_DIRECTORY == LAUNCHER_ANDROID_OBB_DIRECTORY,否则 {EXTERNAL_STORAGE}/Android_unprotected/obb/LAUNCHER_ANDROID_OBB_DIRECTORY 这是一个不错的决定,因为这样游戏文件就可以放在一个地方。然后可以将该路径放到 FModel 程序中。 - 现在处理多个 DEX。方法计数过大将不再是问题。 - 自动 创建 Android_(unprotected)/data/DATA_DIRECTORY/files/UE4Game/Gameface/Engine/Content/Paks/~mods/ - 更好地处理 GTA Definitive Edition 游戏。 - 处理 activity-alias 标记 ** 2023年12月20日 - - 将路径从/data/data/PACKAGE_NAME/files更改为{EXTERNAL_STORAGE}/Android(_unprotected)/files/LAUNCHER_ANDROID_DATA_DIRECTORY 对于存在此问题的应用程序:GTA LCS和GTA最终版游戏 - 支持的新应用程序: - GTA III DE - GTA VC DE - GTA SA DE - GTA III DE Netflix - GTA VC DE Netflix - GTA SA DE Netflix ** 2023 年 11 月 3 日 - 现在可以加载已被 APK 修饰符修改的 APK/APK - 添加了对 @null 资源的错误处理 ** 2023 年 8 月 27 日 - 添加了对 /mnt/windows/BstSharedFolder 的处理。它可以保存 Android(_unprotected) 目录。这是为 Bluestacks 用户准备的。 请记住在此目录中创建一个名为 use_as_sdcard.txt 的文件以启用该功能。 - 目标 SDK 不再更改。事实证明这是不必要的。 ** 2023 年 8 月 4 日 - SAI 文件正在更新中。 ** 7 7 Jul 2023, 17:31 - 现在仅在必要时从其他 APK 存档中提取文件 ** 2023 年 7 月 7 日 - 资源包从私有应用程序的文件目录移至 Android(_unprotected)/assetpacks/PACKAGE_NAME - 添加了最新游戏使用的 APK 格式(拆分 APK)。 现在支持 APK 或 APKS。 ** 2023 年 6 月 17 日 - 如果目标 SDK 高于 28,则将其设置为 28。这解决了程序段的 PROT_EXEC 的 mprotect 问题。 ** 2022 年 10 月 11 日 - 本机库已提取到目录 ** 2022 年 7 月 8 日 - 在请求权限之前添加了消息 ** 2022 年 7 月 6 日 - 解决了目标 SDK 30 或更高版本上的分区存储问题。 - 构建新的 APK 存档现在与 SDK 30 或更高版本兼容。正在使用 Zip 对齐方式和 v2 签名方案。 ***** 使用的第三方工具: - Apksigner - Apktool - ZIP ---------------- 我付出了很多努力,以确保我的项目满足高质量要求。 这需要大量的工作。 如果您喜欢我的任何项目,请考虑捐款。并继续寻找未来可能带来的项目。 下载: https://www.mediafire.com/file/v5jxyce01do1m58/fastman92_APK_modifier.rar/file 6 December 2024 - Improved detection of OBB use (for GTA LCS and Blood Strike). This time, the improvement of fastman92 APK modifier, using GTA:LCS 2.4 version to modify Android_unprotected/obb/, cannot recognize the obb file. The fastman92 APK modifier before the improvement did not have such a problem. Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072479834 Share on other sites More sharing options...
guyugta Posted December 23, 2024 Share Posted December 23, 2024 (edited) 于 2023 年 12 月 22 日 12:37 上午,breant55 说: Edited December 23, 2024 by guyugta Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072479835 Share on other sites More sharing options...
fastman92 Posted December 23, 2024 Author Share Posted December 23, 2024 (edited) 3 hours ago, guyugta said: Good. You might also want to try it for other games. It's not limited to GTA. Works on almost every application, although not all. Also, allows to install multiple versions of one applications (if you change the package name). Works even if other APK editors would have failed, updates the data that are dependant on the package name as well. Additionally, conversion into standalone APK is implemented. Edited December 23, 2024 by fastman92 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072479900 Share on other sites More sharing options...
guyugta Posted December 23, 2024 Share Posted December 23, 2024 12月 6, 2024 - 改进了对 OBB 使用情况的检测(适用于 GTA LCS 和 Blood Strike)。这一次,fastman92 APK 修饰符得到了改进。使用 GTA:LCS 2.4 修改 Android_unprotected/obb/ 中未受保护的 apk 时,无法识别 obb 文件。obb 文件必须同时放置在 Android_unprotected/obb 和 Android/obb/ 中才能进入游戏。如果它只被放置在 Android_unprotected/obb 中,游戏就无法读取它!改进之前的 fastman92 APK 修饰符没有这个问题。请修复它! fastman92 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072479916 Share on other sites More sharing options...
fastman92 Posted December 23, 2024 Author Share Posted December 23, 2024 (edited) 39 minutes ago, guyugta said: 12月 6, 2024 - 改进了对 OBB 使用情况的检测(适用于 GTA LCS 和 Blood Strike)。这一次,fastman92 APK 修饰符得到了改进。使用 GTA:LCS 2.4 修改 Android_unprotected/obb/ 中未受保护的 apk 时,无法识别 obb 文件。obb 文件必须同时放置在 Android_unprotected/obb 和 Android/obb/ 中才能进入游戏。如果它只被放置在 Android_unprotected/obb 中,游戏就无法读取它!改进之前的 fastman92 APK 修饰符没有这个问题。请修复它! 我要去检查一下。似乎可能存在问题。修复起来并不难。 ----------- 我已经找到问题所在了。我要去解决它。 Edited December 23, 2024 by fastman92 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072479919 Share on other sites More sharing options...
guyugta Posted December 23, 2024 Share Posted December 23, 2024 18 minutes ago, fastman92 said: 我要去检查一下。似乎可能存在问题。修复起来并不难。 ----------- 我已经找到问题所在了。我要去解决它。 Thank you, thank you very much for your efforts. Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072479923 Share on other sites More sharing options...
guyugta Posted December 23, 2024 Share Posted December 23, 2024 (edited) 3小时前, fastman92 说: 我要去检查一下。似乎可能存在问题。修复起来并不难。 ----------- 我已经找到问题所在了。我要去解决它。 感谢您第一时间处理了这个问题,现在使用 fastman92 APK 修改包名实现共存,未受保护 apk,obb读取不到的问题已经修复了,非常感谢! Edited December 23, 2024 by guyugta fastman92 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480027 Share on other sites More sharing options...
fastman92 Posted December 24, 2024 Author Share Posted December 24, 2024 (edited) 10 hours ago, guyugta said: 感谢您第一时间处理了这个问题,现在使用 fastman92 APK 修改包名实现共存,未受保护 apk,obb读取不到的问题已经修复了,非常感谢! 很高兴知道它有效。是的,你可以有多个版本。你决定是否希望它们使用相同的文件或不同的文件(DATA_DIRECTORY)。有几种可用的设置。 这也是开发 FLA 所必需的项目。在开发过程中,我需要在一部手机上安装多个版本的应用程序。 Edited December 24, 2024 by fastman92 guyugta 1 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480241 Share on other sites More sharing options...
guyugta Posted December 24, 2024 Share Posted December 24, 2024 56 minutes ago, fastman92 said: 很高兴知道它有效。是的,你可以有多个版本。你决定是否希望它们使用相同的文件或不同的文件(DATA_DIRECTORY)。有几种可用的设置。 这也是开发 FLA 所必需的项目。在开发过程中,我需要在一部手机上安装多个版本的应用程序。 Hello sir, I would like to ask. Not used Android_unprotected directory LAUNCHER_USE _ANDROID_UNPROTECTED_DIRECTORY, can the data directory be modified under the regular data path. For example: /Android/obb/com.rockstargames.gtalcs_2 and /Android/data/com.rockstargames.gtalcs_2, of course it would be great if this can be achieved, if not it doesn't matter Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480256 Share on other sites More sharing options...
fastman92 Posted December 24, 2024 Author Share Posted December 24, 2024 Just now, guyugta said: Hello sir, I would like to ask. Not used Android_unprotected directory LAUNCHER_USE _ANDROID_UNPROTECTED_DIRECTORY, can the data directory be modified under the regular data path. For example: /Android/obb/com.rockstargames.gtalcs_2 and /Android/data/com.rockstargames.gtalcs_2, of course it would be great if this can be achieved, if not it doesn't matter This is impossible. You can see it in APK modifier - it does not allow you to change these settings if you disable USE_ANDROID_UNPROTECTED_DIRECTORY. An application has only got an access to /Android/data/PACKAGE_NAME, it cannot access anything else inside of /Android/data. Use Android_unprotected, this gives you the possibility for any arbitrary setting. Android does not allow to access arbitrary directories inside of /Android/data or /Android/obb Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480263 Share on other sites More sharing options...
guyugta Posted December 24, 2024 Share Posted December 24, 2024 3 minutes ago, fastman92 said: 这是不可能的。您可以在 APK 修饰符中看到它 - 如果您禁用 USE_ANDROID_UNPROTECTED_DIRECTORY,它不允许您更改这些设置。 应用程序只能访问 /Android/data/PACKAGE_NAME,无法访问 /Android/data 中的其他任何内容。 使用 Android_unprotected,这为您提供了任意设置的可能性。 Android 不允许访问 /Android/data 或 /Android/obb 中的任意目录 OK, thank you for your reply Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480265 Share on other sites More sharing options...
fastman92 Posted December 24, 2024 Author Share Posted December 24, 2024 (edited) 6 hours ago, guyugta said: OK, thank you for your reply Updated just now. Quote ** 24 December 2024 - DATA/OBB directory now gets the value of new package name in GUI properly, when Android_unprotected is disabled. - no longer throwing an exception when expansions are not available in XAPK's manifest.json - com.adjust.sdk: Change assert log to warning. Used in GTA LCS. The GUI is made in such a way that it tells you what is possible and what is not. I have noticed DATA/OBB directory settings not being set up properly in the GUI, when Android_unprotected is disabled. Now it's fixed. Edited December 24, 2024 by fastman92 Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480333 Share on other sites More sharing options...
guyugta Posted December 25, 2024 Share Posted December 25, 2024 On 12/24/2024 at 6:05 PM, fastman92 said: Updated just now. The GUI is made in such a way that it tells you what is possible and what is not. I have noticed DATA/OBB directory settings not being set up properly in the GUI, when Android_unprotected is disabled. Now it's fixed. Okay, great Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072480804 Share on other sites More sharing options...
Hackeru Suprem Posted December 26, 2024 Share Posted December 26, 2024 How can i do it on android? Without the .exe? Or how to run the .exe on android i have tried exagear and the exe is too strong Link to comment https://gtaforums.com/topic/979211-fastman92-apk-modifier/?do=findComment&comment=1072481121 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now