Skip to content
Guest Big Announcement

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

Featured Replies

Updated

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:

This is the hidden content, please

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

  • Replies 355
  • Views 82k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I hope this makes sense

  • 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

  • Does this require root? Looks nice!

  • Author
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 :)

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.