APK (Game) Modder v1.0 Beta

Search This thread

Thunder07

Inactive RC / RD
Sep 22, 2007
1,541
2,415
Please Avoid Quoting This Post Into This Thread
Lets hope you can all put it into good use.

This App Will Read A Mod Configuration File & Patch Your Game's APK to increase/decrease graphics Quality to make the game more playable.


wwg9hj.png


Download Link V1.0b
Download Link V1.0c

Requirement
Java
.Net Framework 3.5(Only need this if you get .NET framework initialization error)
System.Xml.Linq.DLL (This should be part of .Net 3.5)
Ionic.Zip.DLL (This is embedded in the exe itself)
^^While the 2 DLL are essential you SHOULDN'T need to download them, unless you're getting an error regarding missing "Blah assembly" or something to that extent^^
^^If you needed to download the DLLs place them in the same folder as the exe^^

Instructions
  • Run The App :p
  • If You Don't Have The Mod Downloaded, Download Them Below & PLACE them into the Mods Folder
  • Choose The Mod In The App
  • Browse For The APK & Patch
  • Once patched you can find the new apk inside the signed folder
  • Install Tt Over Your Game & Enjoy

Notes
This Thread Is For The App & Not Mods Discussions, Please Keep Those In The Games Mods Thread
As I'm Extremely Busy, PM'ing Me Isn't Wise, As I Check XDA Once Or Twice A Day,
Posting Your Problem Here Or The Mods Thread Is Better For You.... As More People Will See It, Thus More Can Help You.
Unless It's Something You Can't Post On The Thread For Some Reason.


Check Out The Next Few Posts For
  • Mods
  • How To Create Mods
  • How To Extract Your APK For Patching Non/Rooted

Feature Updates
I Hope To Make The Process Of Creating Mods Much Easier
1) By Creating An Archive That Would Contain All Of The Patch Details, Author, Cover Picture
2) By Making The Creating A Method To Create The Archive For You
 
Last edited:

Thunder07

Inactive RC / RD
Sep 22, 2007
1,541
2,415
Please Don't Quote This Entire Post
Ok So You're Hooked And Want To Mod Your APK but can't get it....
well it should be simple enough,

Method 1,
Get ES File Explorer File Manager & Run It
Click On The AppMgr Which Is The 2nd Icon To The Right Top Hand,
Look For The App You Want To Retrieve,
Long Click On It & Choose Backup,
That Would Cause The APK to be copied to /sdcard/backups/apps/
Find It There And Copy It To Your Pc.

Method 2,
Let Take Modern Combat 4: Zero Hour As an Example;
Open The Play Store Through Your PC
Look At The Link https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftM4HM&feature=featured-apps
that Highlighted part should be the name of the APK...
So Try This
Code:
adb pull /data/app/com.gameloft.android.ANMP.GloftM4HM-1.apk com.gameloft.android.ANMP.GloftM4HM-1.apk
Should That Fail try replacing the -1.apk with -2.apk and that should do the trick

Method 3,
If You're Rooted, Use Any File Explorer And Navigate To /data/app/
Locate The APK and copy it to the SDcard then onto your computer,
Even faster Still Once You Know The Exact Name Use
Code:
adb pull /data/app/gamename.apk gamename.apk
 
Last edited:

Thunder07

Inactive RC / RD
Sep 22, 2007
1,541
2,415
Quick Run Down of how this works
Mode1, will decompile the APK, Copy The Modded Smali Code, Recompile, Sign & ZipAlign
Mode2,will decompile the APK, Find & Replace A Section Of The Smali Code, Recompile, Sign & ZipAlign

To Create Your Own Mods, Use One Of The Mods In The Mods List As A Sample For The Structure,
And Due Note that the MC4.XML can be called whateveryoulike.xml and it will still work

Samples Based On MC4, Mode1
Code:
<?xml version="1.0"?>
	<Game>
		<Name>Modern Combat 4 v1.0.1 Mode 1</Name>
		<Description>This Mod Increases Effects
		Tested on Version: 1.0.1
		Mod Credit: Hamdir
		Patch Mode: 1
		</Description>
		<Cover>mc4_cover.jpg</Cover>
     
		<Patch ID="1">
			<Mode>1</Mode>
			<OldF>com/gameloft/android/ANMP/GloftM4HM/MC4.smali</OldF>
			<NewF>MC4/MC4.smali</NewF>
		</Patch>
		
	</Game>
OldF= File To Be Replaced
NewF=Modded File Found in App Directory (Smali/MC4/MC4.smali)

Mode2
Code:
<?xml version="1.0"?>
	<Game>
		<Name>Modern Combat 4 v1.0.1 Mode 2</Name>
		<Description>This Mod Increases Effects
		Tested on Version: 1.0.1
		Mod Credit: Hamdir
		Patch Mode: 2
		</Description>
		<Cover>mc4_cover.jpg</Cover>
     
		<Patch ID="1">
			<Mode>2</Mode>
			<SmaliF>com/gameloft/android/ANMP/GloftM4HM/MC4.smali</SmaliF>
			<Find>.method public static getGeneration()I
    .registers 7

    const/4 v2, 0x1

    const/4 v1, 0x0</Find>
			<Replace>.method public static getGeneration()I
    .registers 7
	
	const/4 v0, 0x2
	
	move-result v0

    const/4 v2, 0x1

    const/4 v1, 0x0</Replace>
		</Patch>
		
	</Game>
SmaliF, Smali File To Be Edited
Find, Line To Be Replaced
Repace, Line To Be Replaced With

OFC, You Can Have Multiple Patches With Multiple Modes Applying To the Same/Difference Smali Files
Once You Run The App, it will create the necessary Folders which you'll extract the mods into
 
Last edited:

ShyamSasi

Senior Member
Dec 10, 2010
3,031
1,914
CLASSIFIED
Great initiative mate! I'm glad you have decided to make this application. I'm sure this will help a lot of HOX users.
 

joewong1991

Senior Member
Aug 2, 2012
1,531
1,092
Thunder you are the man another wicked tool thanks carnt wait to try when I get back from work thanks again man

skydragon team
 

AppReviewBros

Senior Member
Feb 27, 2012
219
65
Do the patched .apk files work for other phones too? I would really like to try upping the graphics to max on my Nexus 4.


Sent from my Nexus 4 using Tapatalk 2
 

mnomaanw

Senior Member
Jul 29, 2011
1,036
533
Awesome, thanks thunder. I have tried many ways to getfull effects on MC4 on my EVO 3D but everything failed. Chanifire, file edits etc none worked. But this tool did the job. My MC4 graphics mode was 1 by default. I changed it to 3 ( yes 3) and its working great. Thank you.

But most wanted didnt change for me :( . Do you know any fix? i have the same version as you.

---------- Post added at 08:24 PM ---------- Previous post was at 08:22 PM ----------

yes it might work for other devices
hey hamdir, do you know of any fix for NFS MW ? You had helped me on evo 3d section, but your app didnt changed nything :( . Thank you.
 

Thunder07

Inactive RC / RD
Sep 22, 2007
1,541
2,415
@Everyone,
Thanks For The Support, I Didn't expect so many people would be interested in this app :)

@tessut,
Telling me it doesn't work wont make it work,
if you're getting an error, report it,
the mod list is empty, download them from the mod post,
if the new apk is no different, could be because you're reinstalling the same APK and not the new one in the "signed" folder,
if the new APK is not working, well let hope it does because i can't think of anything else at this moment.

also making a video would take time.... i really dont have any,
i want to make few updates to the app but still dont have time to do that aswell.

@MeLViN-oNe,
i can see Ionic.Zip in the error, try downloading that DLL from the 1st post.
 
Last edited:
  • Like
Reactions: ShyamSasi

TDO

Senior Member
Feb 15, 2006
339
37
Not working.

File not found error.

Win 7 64bit

on win 7 32 bit it worked.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 57
    Please Avoid Quoting This Post Into This Thread
    Lets hope you can all put it into good use.

    This App Will Read A Mod Configuration File & Patch Your Game's APK to increase/decrease graphics Quality to make the game more playable.


    wwg9hj.png


    Download Link V1.0b
    Download Link V1.0c

    Requirement
    Java
    .Net Framework 3.5(Only need this if you get .NET framework initialization error)
    System.Xml.Linq.DLL (This should be part of .Net 3.5)
    Ionic.Zip.DLL (This is embedded in the exe itself)
    ^^While the 2 DLL are essential you SHOULDN'T need to download them, unless you're getting an error regarding missing "Blah assembly" or something to that extent^^
    ^^If you needed to download the DLLs place them in the same folder as the exe^^

    Instructions
    • Run The App :p
    • If You Don't Have The Mod Downloaded, Download Them Below & PLACE them into the Mods Folder
    • Choose The Mod In The App
    • Browse For The APK & Patch
    • Once patched you can find the new apk inside the signed folder
    • Install Tt Over Your Game & Enjoy

    Notes
    This Thread Is For The App & Not Mods Discussions, Please Keep Those In The Games Mods Thread
    As I'm Extremely Busy, PM'ing Me Isn't Wise, As I Check XDA Once Or Twice A Day,
    Posting Your Problem Here Or The Mods Thread Is Better For You.... As More People Will See It, Thus More Can Help You.
    Unless It's Something You Can't Post On The Thread For Some Reason.


    Check Out The Next Few Posts For
    • Mods
    • How To Create Mods
    • How To Extract Your APK For Patching Non/Rooted

    Feature Updates
    I Hope To Make The Process Of Creating Mods Much Easier
    1) By Creating An Archive That Would Contain All Of The Patch Details, Author, Cover Picture
    2) By Making The Creating A Method To Create The Archive For You
    12
    Download & Place These Archives(Zip) into the Mods Folder Without Extracting Them
    Please, Keep All Mods discussions (it's Working/Not Working) on the Mods Thread

    Need For Speed Most Wanted v1.0.28 - Gamer Modder Pack By Hamdir
    Need For Speed Most Wanted v1.0.46 - Gamer Modder Pack By Hamdir
    Modern Combat 4 v1.0.1 - Gamer Modder Pack By Hamdir
    6
    Please Don't Quote This Entire Post
    Ok So You're Hooked And Want To Mod Your APK but can't get it....
    well it should be simple enough,

    Method 1,
    Get ES File Explorer File Manager & Run It
    Click On The AppMgr Which Is The 2nd Icon To The Right Top Hand,
    Look For The App You Want To Retrieve,
    Long Click On It & Choose Backup,
    That Would Cause The APK to be copied to /sdcard/backups/apps/
    Find It There And Copy It To Your Pc.

    Method 2,
    Let Take Modern Combat 4: Zero Hour As an Example;
    Open The Play Store Through Your PC
    Look At The Link https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftM4HM&feature=featured-apps
    that Highlighted part should be the name of the APK...
    So Try This
    Code:
    adb pull /data/app/com.gameloft.android.ANMP.GloftM4HM-1.apk com.gameloft.android.ANMP.GloftM4HM-1.apk
    Should That Fail try replacing the -1.apk with -2.apk and that should do the trick

    Method 3,
    If You're Rooted, Use Any File Explorer And Navigate To /data/app/
    Locate The APK and copy it to the SDcard then onto your computer,
    Even faster Still Once You Know The Exact Name Use
    Code:
    adb pull /data/app/gamename.apk gamename.apk
    6
    Quick Run Down of how this works
    Mode1, will decompile the APK, Copy The Modded Smali Code, Recompile, Sign & ZipAlign
    Mode2,will decompile the APK, Find & Replace A Section Of The Smali Code, Recompile, Sign & ZipAlign

    To Create Your Own Mods, Use One Of The Mods In The Mods List As A Sample For The Structure,
    And Due Note that the MC4.XML can be called whateveryoulike.xml and it will still work

    Samples Based On MC4, Mode1
    Code:
    <?xml version="1.0"?>
    	<Game>
    		<Name>Modern Combat 4 v1.0.1 Mode 1</Name>
    		<Description>This Mod Increases Effects
    		Tested on Version: 1.0.1
    		Mod Credit: Hamdir
    		Patch Mode: 1
    		</Description>
    		<Cover>mc4_cover.jpg</Cover>
         
    		<Patch ID="1">
    			<Mode>1</Mode>
    			<OldF>com/gameloft/android/ANMP/GloftM4HM/MC4.smali</OldF>
    			<NewF>MC4/MC4.smali</NewF>
    		</Patch>
    		
    	</Game>
    OldF= File To Be Replaced
    NewF=Modded File Found in App Directory (Smali/MC4/MC4.smali)

    Mode2
    Code:
    <?xml version="1.0"?>
    	<Game>
    		<Name>Modern Combat 4 v1.0.1 Mode 2</Name>
    		<Description>This Mod Increases Effects
    		Tested on Version: 1.0.1
    		Mod Credit: Hamdir
    		Patch Mode: 2
    		</Description>
    		<Cover>mc4_cover.jpg</Cover>
         
    		<Patch ID="1">
    			<Mode>2</Mode>
    			<SmaliF>com/gameloft/android/ANMP/GloftM4HM/MC4.smali</SmaliF>
    			<Find>.method public static getGeneration()I
        .registers 7
    
        const/4 v2, 0x1
    
        const/4 v1, 0x0</Find>
    			<Replace>.method public static getGeneration()I
        .registers 7
    	
    	const/4 v0, 0x2
    	
    	move-result v0
    
        const/4 v2, 0x1
    
        const/4 v1, 0x0</Replace>
    		</Patch>
    		
    	</Game>
    SmaliF, Smali File To Be Edited
    Find, Line To Be Replaced
    Repace, Line To Be Replaced With

    OFC, You Can Have Multiple Patches With Multiple Modes Applying To the Same/Difference Smali Files
    Once You Run The App, it will create the necessary Folders which you'll extract the mods into
    3
    Awesome work dude.

    PS. I reckon you should keep it as zip but give clear instructions not to extract the archive. ;)

    Done & Uploaded

    Update 1.0a
    -Direct Archive support

    Check 1st Post for update