Jump to content

[Android] LibInjector (Write Mods To An App At Runtime)


351 posts in this topic

Recommended Posts

Updated (edited)

I have been talking about this for awhile... HERE WE GO!!!

I apologize if you do not understand a part of this, I am bad at explaining things... xD :cry:

Features:

  • Write hex to a specific lib.so (libil2cpp.so or others) at runtime.
  • Mixed with CPAnitDumper it is harder for leechers to L E E C H
  • Works on all types of android games (Unity etc)

To Do:

  • Video tutorial
  • Write to multiple lib.so's
  • Make instructions easier to understand

Download:

Hidden Content

Reply to this topic to see the hidden content & download link. 👀

Beginning Tutorial:

If you have not read @ZahirSher's tutorial on how to "How to add a Toast/Popup to your Android Mods" then read instructions 1 - 11.

Once you have done this to your apk continue below.

  1.  Download Code Above ^^^
  2.  Read the file "README.txt" in the zip file downloaded.
  3.  In OnCreate inside the smali file paste the code said inside of the txt file downloaded (its inside of the two big lines).
  4. Change the text "/lib/libil2cpp.so" to your specific lib you want to write to.  Unity is going to always be "/lib/libil2cpp.so".   Others might be "/lib/libTerraria.so" or "/lib/libgameidk.so".
  5. Paste Inject.smali inside of the apps smali directory like this (create new folders if needed) - /smali/com/jbro129/androidinject/Inject.smali

Writing To The Lib:

Here is the base smali code to put inside Inject.smali from what you downloaded. 

    const/16 v1, 0x1234  // the offset

    const-string/jumbo v2, "1EFF2FE1"  // the hex

    invoke-static {v1, v2}, Lcom/jbro129/androidinject/Inject;->write(ILjava/lang/String;)V  // write
  1. Inside of Inject.smali paste that code as many times as needed with your own offsets and hex.

Rebuilding APK:

"How to add a Toast/Popup to your Android Mods"  instructions 13 - 17.

 

Video Tutorial:

Coming Soon!

Credits:

- @Jbro129 (me)

Updated by Jbro129
Fixed Download
  • Like 137
  • Winner 13
  • Thanks 45
  • Haha 7
  • Agree 16
  • Informative 10
Posted
2 minutes ago, DiDA said:

Does this require root?

Looks nice!

No, this can be added to the games files when used with APKTool.

As long as the apk is compiled and signed afterwards it shouldnt need root :)

  • Like 3
  • Informative 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines