Jump to content

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


353 posts in this topic

Recommended Posts

Posted
On 7/4/2018 at 11:40 AM, TheArmKing said:

 

Alright so now that main activity goes under /androidinject right. And Also i noticed that its written /lib/libil2cpp.so but under /lib there is no il2cpp.so, there are folders like armv7 and x86 so should it be /lib/armv7/il2cpp.so

No, the path is relative to the phone's internal data, not to the apk and  it's correct.

On 7/4/2018 at 1:47 AM, AlphaSpark said:

@Sbenny@TheArmKing I built the missing file (MainActivity) from the source. Gonna have to put it on pastebin >>> https://pastebin.com/NDt798RY

So kind of you, thank you so much!

Posted
Just now, Sbenny said:

No, the path is relative to the phone's internal data, not to the apk and  it's correct.

Ah cool. I will try it with the main activity now

Posted (edited)

We're close. 

 

On my side, the game launches, but I can easily notice from the logs that something went wrong as it didn't inject anything.

 

java.io.FileNotFoundException: /data/app-lib/com.example/libexample.so: open failed: EACCES (Permission denied)

 

It looks like the game doesn't have the required permissions to write to that path, (I replaced the folder and the file name in the example above, but the path is correct) so the game simply runs without injecting into the lib.

 

Once again, thanks to @AlphaSpark for his help which helped us a lot. Hopefully we'll soon make this script work properly!

Updated by Sbenny
Posted
On 7/5/2018 at 8:25 PM, Sbenny said:

We're close. 

 

On my side, the game launches, but I can easily notice from the logs that something went wrong as it didn't inject anything.

 

java.io.FileNotFoundException: /data/app-lib/com.example/libexample.so: open failed: EACCES (Permission denied)

 

It looks like the game doesn't have the required permissions to write to that path, (I replaced the folder and the file name in the example above, but the path is correct) so the game simply runs without injecting into the lib.

 

Once again, thanks to @AlphaSpark for his help which helped us a lot. Hopefully we'll soon make this script work properly!

Try adding this to manifest.xml:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

 

Probably useless, but hey.

Posted
10 hours ago, Ted2 said:

Try adding this to manifest.xml:


<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

 

Probably useless, but hey.

most games have that in the manifest tho

Posted
On 7/7/2018 at 10:43 PM, Ted2 said:

Try adding this to manifest.xml:


<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

 

Probably useless, but hey.

Thanks for the help, but I spent over 48 hours try to find a solution and this has been one of the first ideas I had, unfortunately it didn't work. (the concept is right, as WRITE_EXTERNAL_STORAGE gives the app permissions to write also in the Internal Storage, as soon as the files you're dealing with are app's internal files, but unfortunately this doesn't seem to fix the issue for some reasons)

 

I guess the smali code is lacking some kind of permissions check before executing the commands which probably caused the issue I experienced.

Posted
4 minutes ago, Sbenny said:

Thanks for the help, but I spent over 48 hours try to find a solution and this has been one of the first ideas I had, unfortunately it didn't work. (the concept is right, as WRITE_EXTERNAL_STORAGE gives the app permissions to write also in the Internal Storage, as soon as the files you're dealing with are app's internal files, but unfortunately this doesn't seem to fix the issue for some reasons)

 

I guess the smali code is lacking some kind of permissions check before executing the commands which probably caused the issue I experienced.

The thing is, you shouldn't be able to access data folder without root. HOWEVER if you access it from your own app, you shoul be able to. His code, is pasted inside the original app, so it SHOULD work. But f*** knows why it doesn't. I've tried it too, with my own code. But without any luck.

  • Like 1
Posted

I'm glad to see many people interested in this thread, hopefully the author will "enlighten" us soon as it looks like I'm not the only one having issues :)

 

Thanks for the help, @Ted2 and good luck!

Posted
21 minutes ago, Sbenny said:

I'm glad to see many people interested in this thread, hopefully the author will "enlighten" us soon as it looks like I'm not the only one having issues :)

 

Thanks for the help, @Ted2 and good luck!

He said he had to fix it to me, but he never said if he was gonna fix it or when he will :p

  • Like 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
  • Our picks

    • Dream Master-Match Buster v5.11 [ +3 APK MOD ] Auto Win
      Mod APK Game Name: Dream Master-Travel Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.match.busters.free.gp&hl=en

      🤩 Hack Features

      - Auto Win
      - Unlimited Coins / Disable After Hack
      - Lives 0 Play Unlimited
      • 1 reply
    • Chum Chum Blast! v1.13.796 [ +9 APK MOD ] Auto Win
      Mod APK Game Name: Chum Chum Blast!
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ritzdeligames.eraserblast&hl=en

      🤩 Hack Features

      - Auto Win
      - ADS Ticket
      - Coins / Golden Pass To Get
      - Unlimited Stars
      - Unlimited Booster
      - Lives Inf
      - Moves Unlimited
      - Golden Pass
      - Free & Golden Pass / Claim Unlimited 
      • 1 reply
    • Merge Cruise: Mystery Puzzle v0.37.510 [ +2 APK MOD ] Currency Max
      Mod APK Game Name: Merge Cruise: Mystery Puzzle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.peerplay.megamerge&hl=en

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Energy
      • 1 reply
    • Dragon Wings: RPG Shoot em up v3.3.1 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=rpg.arcade.space.shooter.dragon.wings&hl=en

      🤩 Hack Features

      - Super Card Active
      - Unlimited Gems
      - Unlimited Gold
      - Never Die
      - ATK
      • 3 replies
    • Swamp Attack 2 v1.0.88 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Swamp Attack 2
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.hyperdotstudios.swampattack2&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Card EXP
      - Monster ATK NO
      • 1 reply
    • Chef Treat v1.0.9 [ +1 APK MOD ] Auto Win
      Mod APK Game Name: Chef Treat
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.match.cheftreat.android&hl=en

      🤩 Hack Features

      - Auto Win / Before Match ON
      • 1 reply
    • Space Quest: Alien Invasion v2.4.16 [ +3 APK MOD ] ADS NO
      Mod APK Game Name: Space Quest: Alien Invasion
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.tryagaingamestudio.spacelanders&hl=en
      🤩 Hack Features

      - ADS Free / Rewards Free
      - HP / Hero Status Check
      - ATK / Hero Status Check
      • 0 replies
    • Candy Pop Story : Match 3 v7.71.1216 [ +3 APK MOD ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4

       

      Mod APK Game Name: 
      Rooted Device: Not Required.
      Google Play Store Link: 

       

      🤩 Hack Features

      - Auto Win
      - Unlimited Coins
      - Unlimited Moves

       

      ⬇️ Android Mod APK Download Link


      Hidden Content

      Download Modded APK







       

      📖 Android Installation Instructions

      STEP 1: Download the modded APK file from the link above using your preferred Android browser or download manager.
      STEP 2: Once the download is complete, open your file manager and locate the downloaded .apk file (usually in the Downloads folder).
      STEP 3: Tap the APK file, then select Install. If prompted, enable Install from Unknown Sources in your device settings.
      STEP 3A: If the mod includes an OBB file, extract it if it’s inside an archive. Then move the folder to: /Android/obb/
      STEP 3B: If the mod includes a DATA file, extract it if it’s archived. Then move the folder to: /Android/data/
      STEP 4: Once installed, open the game and toggle your desired cheats & features through the APK mod menu. Enjoy!

       

      NOTE: If you have any questions or issues, read our Frequently Asked Questions topic. If you still need help, post your issue below and we’ll assist you as soon as possible. If the mod works for you, please share your feedback to help other members!

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

       iOS & iPadOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.
      • 1 reply
    • Merge Crime: Mystery & Romance v1.8.4 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Merge Crime: Mystery & Romance
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.standegg.mergecrime&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      • 1 reply
    • Castle Crush v2.36.0 [ +6 APK MOD  ] Auto Win
      Mod APK Game Name: Castle Crush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.mibo.CastleCrush&hl=en

      🤩 Hack Features

      - Auto Win / Just Hit Target
      - Unlimited Coins / Visual But Works
      - Unlimited Stars / Visual But Works / Earn 1 Then Use For All Task
      - Unlimited Lives / Visual But Works
      - Unlimited Booster / Visual Butt Works / Earn 1 Then Use Inf
      - Moves Freeze
      • 1 reply
    • Soccer Journey: Champion Squad v1.0.11 [ +12 APK MOD ] Currency Max
      Mod APK Game Name: Soccer Journey: Champion Squad By KONG SOFTWARE JOINT STOCK
      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Player Energy
      - Unlimited Match Energy
      - Unlimited Tokens
      - Unlimited EXP User
      - Unlimited Scout Ticket +3
      - Unlimited Standard Scout +4
      - Unlimited Cube +4
      - Unlimited Training +3
      - Upgrade Cost All Building [ Earn Cash Unlimited ]
      - Speed UP Cost All Building [ Earn Cash Unlimited ]
      • 2 replies
    • Darkest Hero! v0.0.93 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Darkest Hero! By MINIDRAGON LTD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.minidragon.randomdungeon&hl=en_US

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Agree
      • 8 replies
×
  • 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